diff --git a/README.md b/README.md index 5328dc7..afc524b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,17 @@ Alternatively, you can install the extension from TER: After that, proceed with [Getting Started](#getting-started) +## Updating from 1.x + +There is only one breaking change: It isn't possible anymore to use Fluid variables in default values +for component parameters. This will **NOT WORK ANYMORE**: + +```xml + +``` + +As this was a pretty esoteric feature, you shouldn't have any problems when updating to 2.x! + ## What does it do? Fluid templates usually consist of three parts: @@ -107,7 +118,8 @@ The result is the following HTML: * Components encourage **markup reusage and refactoring**. Only the component knows about its implementation details. As long as the interface stays compatible, the implementation can change. * Components can be a tool to **enforce design guidelines**. If the component's implementation respects the -guidelines, they are respected everywhere the component is used. +guidelines, they are respected everywhere the component is used. A helpful tool to accomplish that is the corresponding +living styleguide: [Fluid Styleguide](https://github.com/sitegeist/fluid-styleguide). * Components **formalize and improve communication**. Frontend developers and integrators agree on a clearly defined interface instead of debating implementation details. * Components **reduce dependencies**. Frontend developers can work independent of integrators and backend developers. @@ -138,6 +150,8 @@ the [ViewHelper Reference](Documentation/ViewHelperReference.md). ``` +6. Check out [Fluid Styleguide](https://github.com/sitegeist/fluid-styleguide), a living styleguide for Fluid Components + ## Extended Documentation * [ViewHelper Reference](Documentation/ViewHelperReference.md) diff --git a/composer.json b/composer.json index 82dfe98..2508473 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,9 @@ "issues": "https://github.com/sitegeist/fluid-components/issues" }, "require": { + "php": ">=7.2.0 <8", "typo3/cms-core": "^9.5 || ^10.2", - "php": ">=7.2.0 <8" + "typo3fluid/fluid": "^2" }, "require-dev": { "typo3/testing-framework": "^4.0",