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.

 

Better than a trilogy: SilverStripe 4.0.0 alpha4 released with new GraphQL API

The latest release of SilverStripe 4 is now available to download. New features include the addition of a GraphQL API, improved file management and an update to use SwiftMailer. 

Read post

SilverStripe 4.0 Alpha4 is now out. Get a copy in the 'pre releases' section of our download page and tell us what you think about it!

The Open Sourcerers team has been hard at work (and partying hard for the Christmas break) to get 4.0.0 alpha4 out to you. Many things have changed since the release of 4.0.0 alpha3. We’re proud to present the new features and APIs that have been added to help make development easier and user experience more fluent.

As an alpha release we would not recommend using this build for production websites, but it’s getting close to ready. You are, however, welcome to give this release a try, check out the changelog, and let us know if you encounter any issues. With your input we will be able to release our code as bug-free as possible.

GraphQL
The most exciting development of alpha4 has been the addition of a GraphQL API through the silverstripe/graphql module. This is now actively used in the “Files” area to browse and update files. The API is still new and continually being improved on. It offers a different paradigm and yet much more powerful API than what REST offers, particularly for rich front-end apps such as React apps. We’re all very excited to present this as part of alpha4, and we hope that you are too!

pic1

Files area

Search functionality
You are now able to find files easily through a quick search bar, which can be expanded to refine your search.

pic2

New list view type
Want to see your files more clearly in columns, alongside sortable properties like their modification dates? That’s exactly what the new list view is for!

pic3

History for a file
We’ve brought the history view for pages over for files, so now you can see what changes have been made to a file and when the changes happened.

pic4

Replace existing file
We’ve added the ability to replace a file, so if you’ve cropped an image or taken a better photo but you want it to use the same file link rather than a new link. This feature will add a new history entry against your file, so you can still view the older image – maybe for nostalgic reasons?


Inserting images for WYSIWYG
You can now use the shiny new “Files” interface when inserting images and documents into your page content as well.

pic5

New upload field changes
The upload field got shifted to the asset-admin module, and gave it a facelift while we’re at it.

pic6

Mailer to SwiftMailer
The aged Mailer class has been upgraded to the much more popular SwiftMailer. This means that sending emails with SilverStripe is now easier than ever when using different services by utilising the list of “Transports” available for SwiftMailer.

Refresh button styles to Bootstrap 4
We say goodbye (mostly) to gradient styled buttons of the noughties and welcome the cleaner flat colour look of the modern age (the tenties?!?)!

What's coming next?

Overall, 4.0.0 alpha4 is a lot like previous alphas – lots more cleanup for the code side and even more additions to the feature side. We do recommend trying it out yourself and tell us what you think!

There is still more work to be done, and we can’t wait to show it all to you. Some of the upcoming features include:

  • An improved config system bringing increased performance
  • A new translation backend
  • Separating forms from controllers

Stay tuned for more releases to come, and please let us know of any bugs you may find so we can squash them together!

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

  • Thank you for the hard work. GraphQL and the new Kickassets-inspired assets versioned asset manager feats are very exciting additions. Also, the facelift to the admin area helps a lot communicating the modernity of the CMS.

    Posted by Giancarlo, 19/01/2017 2:30am (7 years ago)

  • Thank you for the hard work. GraphQL and the new Kickassets-inspired assets versioned asset manager feats are very exciting additions. Also, the facelift to the admin area helps a lot communicating the modernity of the CMS.

    Posted by Giancarlo, 19/01/2017 2:11am (7 years ago)

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