Node properties automatically available in Fluid templates?

I upgraded a project from Neos 3.3 (via 4.0, 4.1, 4.2 and 4.3) to 5.0 and have the impression that in Neos 4 node properties were automatically available in Fluid templates. In Neos 3.3 and 5.0 it seems to be necessary to assign node properties via Fusion like this:

prototype(Foo.Bar:Baz) < prototype(Neos.Neos:Content) {
    bam = ${q(node).property('bam')}
}

Is my observation correct or do I miss something here? Is it possible in Neos 5.0 to have all node properties automatically be available in Fluid templates?

Hey Mark,

your observation is correct. Before Neos 5.0 there have been magic prototype generators that secretly built fusion code - code that assigned all properties to the prototype and with that made them available in a template, see https://docs.neos.io/cms/references/upgrade-instructions/upgrade-instructions-4-3-5-0#neos

If you like to have it back, you can add it to your project, that is what has been removed https://github.com/neos/neos-development-collection/pull/2487/files

Thank you for your useful explanation! :slightly_smiling_face: