Message of the day:
Security release 4.4.4 is out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/04_Changelogs/4.4.4.md
SilverStripe 4 related information and questions.
- $liveRecords = Versioned::get_by_stage('SiteTree', 'Live');
Any idea how to get a list of all published pages in the sitetree? I have this from SS3:
of course that only works if you already installed the SS4 packages to your project
yes. If the new classes are provided in a "upgrade.yml" like https://github.com/tractorcow-farm/silverstripe-fluent/blob/4.4/.upgrade.yml upgrader should upgrade your code and inject the classes.
(I am trying to upgrade a module)
The upgrader adds
For example, I have
class MyObject extends DataObject
Anyone know if the upgrader module should be automatically finding namespaces of required modules?
@mcrupert onrejas has joined the channel