Skip to content

Conversation

bwaidelich
Copy link
Member

No description provided.

mhsdesign and others added 30 commits October 26, 2022 17:06
starting with PHP 7.4 it's not cool to do offset access on integers (which returns null always)

I did a little digging, and we have this skip keys logic 3 times in the runtime (probably not extracted for performance reasons)

2 times this logic needs to be adjusted to only operate on strings. Those two snippets where introduced with #2738

And 1 time this logic already has an is_string check. https://github.com/neos/neos-development-collection/blob/046e5d02750af0ebf33cc52663799ce09683ba37/Neos.Fusion/Classes/Core/Runtime.php#L667
This was adjusted when 7.4 compatibility was introduced via #2804 but the other two references where not adjusted
Add NPM configuration and enable just security fixes.
strongly inspired by this pattern:
```
root = Neos.Fusion:Component {
  text = "foo"
  [email protected] = Neos.Fusion:DataStructure {
    foo = ${props.text + "!"}
  }
  renderer = ${props.text + private.foo}
}
```

I present to you the pattern of @computed props:
```
root = Neos.Fusion:Component {
  text = "foo"
  @computed {
    foo = ${props.text + "!"}
  }
  renderer = ${props.text + computed.foo}
}
```
if (trim($sourceCode) === '') throw Error

We cant do that, as its currently allowed to have an empty Root.fusion

https://github.com/neos/neos-development-collection/pull/3839/files#r1002435846
The goal was not to violate our @api guideline so no public @api methods are changed.

The FusionService is now partly deprecated.

Fixes #3985
Currently translated at 100.0% (322 of 322 strings)

Co-authored-by: Anonymous <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/neos/neos-neos-modules-82/nl/
Translation: Neos/Neos.Neos - Modules - 8.2
crydotsnake and others added 8 commits April 4, 2023 15:42
This is expected to fail in cases where count is not implemented.
…`Neos.Fusion:Loop` and `Neos.Fusion:Reduce`

This leads to `isLast` never beeing true which is fair if we cannot count the items.
…rate-command

FEATURE: Introduce node:migrationcreate command
…terablesThatDoNotImplementCount

FEATURE: Support `iterables` that do not implement `countable` in `Neos.Fusion:Map`, `Neos.Fusion:Loop` and `Neos.Fusion:Reduce`
@bwaidelich
Copy link
Member Author

@bwaidelich bwaidelich added the 9.0 label Apr 5, 2023
@bwaidelich bwaidelich changed the title Task/upmerge TASK: Upmerges Apr 5, 2023
@mhsdesign mhsdesign self-assigned this Apr 5, 2023
…nService #4089

- remove the setting "Neos.EventSourcedNeosAdjustments.fusion.enableObjectTreeCache",
we use Neos.Neos as namespace as in 8.3

- set enableObjectTreeCache to true and solve todo of enableObjectTreeCache

> TODO: re-enable cache!!!

and (really outdated since context was not used anymore since nov 2020 in the neos.neos aspect)

> we need to disable the fusion object tree cache by now because it relies on the context; we replace it with our own FusionCachingAspect.
@mhsdesign
Copy link
Member

mhsdesign commented Apr 5, 2023

I did now upmerge the FusionService and friends of #3839 correctly.

At the same time (as it was easier to do) i also remove super uncritical deprecated code from the FusionService and made it a singleton see #4089

also the FusionCachingAspect was not really up to date as it seems in the 9.0 branch and dindt use this fix #3191

edit: locally untested - and the ci is sleeping?

@mhsdesign mhsdesign marked this pull request as ready for review April 5, 2023 14:56
will be handled separately in #4089 otherwise this is not cool to handle in a merge commit
@mhsdesign mhsdesign removed their assignment Apr 6, 2023
@bwaidelich bwaidelich merged commit 0a0b327 into 9.0 Apr 12, 2023
@bwaidelich bwaidelich deleted the task/upmerge branch April 12, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.