Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

 

Shining bright: SilverStripe 4.0 Alpha 2 is released

SilverStripe 4.0 Alpha2 is out. See the updates and get a copy of the release now!

Read post

We’ve been working hard to refine SilverStripe 4 since the release of Alpha1. The second alpha release gives you a better preview of the new features that will be coming to SilverStripe 4.0. We have added more features, squashed bugs and extended our libraries to support more functions.

As with any alpha releases, this is not a standard release and we would not recommend using this build for any production websites. You are, however, welcome to give this release a try, tell us what goes wrong, what breaks, and... how spectacularly it breaks. With your assistance, we will be able to release our code as bug-free as possible.

So if you’re keen to try it out, check out our downloads section to get a head start!

Themes

Cascadable admin themes

Conflicting/Overriding templates across different modules can be a thing of the (recent) past!

It used to be that in order to remove or extend a theme styling, you needed to recreate or copy every template, which is counter productive with any updates that may come.

We welcome the Cascadable themes feature. With this feature, you’re able to define an ordered list of themes to use at once, so themes only need to worry about a small number of templates.

Any module could act as a theme with this feature.

Bootstrap and BEM themed admin area

There have been whispers that our admin area will be powered by Bootstrap. Now it’s official.

We’ve created a “cms-forms” theme, which provides Bootstrap4 compatible form templates for the CMS. While we were at it, we refactored a lot of the Admin CSS to be based on BEM and Bootstrap4.

themedadminarea

React improvements

FormBuilder component

For developers who have been itching to use React in our framework, we have improved the API for our React components and FormBuilder, making it more robust and capable of handling complex situations than before.

This is entirely optional—if you’re a developer who is more comfortable with PHP, you can leave the React work to our FormBuilder to handle many things.

formbuilder

The Schema for FormBuilder

React router

We’ve integrated React router to our Admin URL handling. This has improved stability drastically from Alpha1.

Improved Files and Images admin section

We’ve been working to make this section fully functional with File and Folder editing features. It has worked so well that we’ve ended up removing the old Files admin section that was brought over from SS3.

This section is responsive and works with mobiles and desktop computers alike, allowing you to edit Files, Images or Folders with a quick click.

desktoppreview

Desktop preview

mobilepreview

Mobile preview

Other significant changes made

Namespaces are here

All classes have been namespaced, which will allow SilverStripe and SilverStripe modules to work together and use external libraries without the worry of clashes in class names.

Class files have also been renamed so they are loadable by PSR-4 auto-loader.

Once the modules have been updated with namespaces as well, you could potentially have two different Blog modules installed for fun. (Fun only, we do not recommend it.)

Webpack are go!

We’ve switched our bundler from Browserify to Webpack, which means faster development build times and easier to execute all the builds. More improvements to come in this area— we’ve only just begun.

Upgrader

We have upgraded our upgrade tool to help with all those class renames.

Admin URL is now customisable

You no longer have to be stuck with the `/admin` in the URL when accessing the admin area. You can customise it to something else if you’d like.

Conclusion

The release of SilverStripe 4.0 Alpha2 presents many features and updates. There are many smaller changes that we have not included in this article. If you would like more juicy details about everything that has happened, jump to our change logs.

This release brings us one step closer to a beta and then a stable release for SilverStripe 4.0, which will be a massive achievement, thanks to all contributors involved.

About the author
Christopher Joe

Chris is a senior developer at SilverStripe. He loves innovative ideas, especially in the web technologies space, and is constantly looking out for the next challenge. Currently working on his tan in the Javascript entangled space.

Post your comment

Comments

  • Hi Florence,

    Versioning documents are available.
    Currently Campaigns allow for publishing sets of documents and pages at the same time.

    The ability to schedule a document to be published will be available when a module with that feature is updated for SS4, for example setting up and installing the advanced-workflow module when it is updated for SS4.

    I hope that answers your question.

    Posted by Christopher Joe, 25/11/2016 3:33pm (8 years ago)

  • Thanks a lot for the update.
    In an earlier post about SS4, I read there would be versioning for documents. We are definitely interested in it for our future and existing websites, and in particular the ability to schedule publishing for documents. Is that part of what is possible with SS4?
    I can't try it to answer my question, as I don't have a dev environment to install the alpha2 in.

    Posted by Florence Liger, 24/11/2016 10:01am (8 years ago)

  • Thank you very very much for release Silverstripe 4.
    This CMS is very good for launch website.

    Posted by sitevision, 28/10/2016 4:07am (8 years ago)

  • A few things/suggestions:

    1.) Moving files between folders in Assets is missing.
    2.) Replacing file without changing the name/url would be great. (For example when a new version of PDF file needs to be uploaded and we don't want to worry about fixing/changing it everywhere where it is linked.)

    Do you plan to implement these?

    Posted by Filip Likavčan, 12/10/2016 10:00pm (8 years ago)

  • Awesome! Can't wait for the release :D

    Posted by Tobias Genberg, 09/10/2016 2:39am (8 years ago)

  • @Aurélien A stable release? We aim to release before the end of the year, but cannot promise anything just yet :)

    Posted by Vinh Nguyen, 29/09/2016 10:49am (8 years ago)

  • That's terrific to finally have the namespacing and PSR-4 auto-loading! :)

    Posted by Todd Hossack, 28/09/2016 3:19pm (8 years ago)

  • Nice! Loving all these new features and 'future' thinking.

    Posted by Cameron, 28/09/2016 8:05am (8 years ago)

  • Great new! When do you plan the release ?

    Posted by Aurélien Chappard, 26/09/2016 5:48pm (8 years ago)

RSS feed for comments on this page | RSS feed for all comments