-
Notifications
You must be signed in to change notification settings - Fork 93
Comparing changes
Open a pull request
base repository: TYPO3/Fluid
base: 2.10.1
head repository: TYPO3/Fluid
compare: 2.11.0
- 10 commits
- 21 files changed
- 6 contributors
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db88127 - Browse repository at this point
Copy the full SHA db88127View commit details -
[DOCS] Document and add tests for not (!) operator (#852)
Co-authored-by: Simon Praetorius <simon@praetorius.me>
Configuration menu - View commit details
-
Copy full SHA for aa81073 - Browse repository at this point
Copy the full SHA aa81073View commit details
Commits on Jan 17, 2024
-
[DOCS] Make IfViewHelper usage documentation clearer (#855)
We can't easily link to [1] due to versioning, so the auto-generated code is updated to reflect some more implementation details. Also some rephrasing to make things easier to read. [1] https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/Fluid/Syntax.html
Configuration menu - View commit details
-
Copy full SHA for fbcf1ad - Browse repository at this point
Copy the full SHA fbcf1adView commit details
Commits on Mar 11, 2024
-
[BUGFIX] Prevent php warning when passing array as tag attribute (#858)
TagBuilder::addAttribute() allows both strings and array/traversables as attribute value. However, in the implementation only "data" and "aria" are properly handled as arrays. For other attribute names, this leads to a type conversion warning. With this patch, that edge case is properly handled with an exception. Also, test coverage is added both for data/aria and the exception. Resolves: #857
Configuration menu - View commit details
-
Copy full SHA for 53cea02 - Browse repository at this point
Copy the full SHA 53cea02View commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bfb3544 - Browse repository at this point
Copy the full SHA bfb3544View commit details
Commits on Mar 15, 2024
-
[FEATURE] SplitViewHelper (#856)
The SplitViewHelper splits a string by the specified separator, which results in an array. The number of values in the resulting array can be limited with the limit parameter, which results in an array where the last item contains the remaining unsplit string. This ViewHelper mimicks PHP's :php:`explode()` function. Split with a separator: ```xml <f:split value="1,5,8" separator="," /> <!-- Output: {0: '1', 1: '5', 2: '8'} --> ``` Split using tag content as value: ```xml <f:split separator="-">1-5-8</f:split> <!-- Output: {0: '1', 1: '5', 2: '8'} --> ``` Split with a limit: ```xml <f:split value="1,5,8" separator="," limit="2" /> <!-- Output: {0: '1', 1: '5,8'} --> ```
Configuration menu - View commit details
-
Copy full SHA for b30e29c - Browse repository at this point
Copy the full SHA b30e29cView commit details
Commits on Mar 20, 2024
-
[TASK] Raise php-cs-fixer:^3.52.1 (#864)
Fix array indention findings. > composer req --dev friendsofphp/php-cs-fixer:^3.52.1
Configuration menu - View commit details
-
Copy full SHA for 736101a - Browse repository at this point
Copy the full SHA 736101aView commit details -
[FEATURE] ReplaceViewHelper (#863)
The ReplaceViewHelper replaces one or multiple strings with other strings. This ViewHelper mimicks PHP's :php:`str_replace()` function. However, it's also possible to provide replace pairs as associative array via the "replace" argument. Replace a single string: ```xml <f:replace value="Hello World" search="World" replace="Fluid" /> <!-- Output: Hello Fluid --> ``` Replace multiple strings: ```xml <f:replace value="Hello World" search="{0: 'World', 1: 'Hello'}" replace="{0: 'Fluid', 1: 'Hi'}" /> <!-- Output: Hi Fluid --> ``` Replace multiple strings using associative array: ```xml <f:replace value="Hello World" replace="{'World': 'Fluid', 'Hello': 'Hi'}" /> <!-- Output: Hi Fluid --> ```
Configuration menu - View commit details
-
Copy full SHA for 37dbc0d - Browse repository at this point
Copy the full SHA 37dbc0dView commit details
Commits on Apr 4, 2024
-
[FEATURE] JoinViewHelper (#861)
* [FEATURE] JoinViewHelper The JoinViewHelper combines elements from an array into a single string. You can specify both a general separator and a special one for the last element that is rendered between the elements. ```html <f:join value="{0: '1', 1: '2', 2: '3'}" /> ``` Results in the output: ```html 123 ``` ```html <f:join value="{0: '1', 1: '2', 2: '3'}" separator=", " /> ``` Results in the output: ```html 1, 2, 3 ``` ```html <f:join value="{0: '1', 1: '2', 2: '3'}" separator=", " separatorLast=" and " /> ``` Results in the output: ```html 1, 2 and 3 ``` * [TASK] Improve handling of iterable objects * [TASK] Check exception type in test * [TASK] Improve code for edge case * [TASK] Add test case for single item --------- Co-authored-by: Simon Praetorius <simon@praetorius.me>
Configuration menu - View commit details
-
Copy full SHA for 2038523 - Browse repository at this point
Copy the full SHA 2038523View commit details
Commits on Apr 5, 2024
-
[FEATURE] ViewHelpers to return first/last item of an array (#866)
The FirstViewHelper and LastViewHelper return the first or last item of a specified array, respectively. ## Examples ```xml <f:first value="{0: 'first', 1: 'second', 2: 'third'}" /> <!-- Outputs "first" --> <f:last value="{0: 'first', 1: 'second', 2: 'third'}" /> <!-- Outputs "third" --> ```
Configuration menu - View commit details
-
Copy full SHA for 392c7d5 - Browse repository at this point
Copy the full SHA 392c7d5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.10.1...2.11.0