Movatterモバイル変換


[0]ホーム

URL:


4.5.0

Overview

PHP 7.1 is the minimum supported version

Starting with this release we do not support PHP 5.6 and 7.0 anymore.As such, 7.1 is the lowest supported version. The prior releases willkeep supporting older PHP versions for their lifetime.

Apache >=2.4 is now recommended

The CMS recipes for new application installations and some of our asset migration scriptsare now generating ".htaccess" using the Apache 2.4 syntax. This does not affect any existing".htaccess" files, but only auto-generated ones.Apache 2.2 has reached its EOL in 2017, so we do not proactively support it anymore.You also may amend any auto-generated ".htaccess" files manually in case you want torun CMS on a different software.

Installer UI has been removed

Until now, core releases of Silverstripe CMS would put aninstall.php file in thepublic root that, when accessed with a browser, would offer an installationUI prompting the user for all the necessary configuration of your projectand environment, and validating it before performing the installation.

While this may be an important part of the onboarding experience for newcomersto Silverstripe, it is an unnecessary artefact and potential security riskfor the vast majority of developers who install Silverstripe with composerand their own environment files.

The installer UI will continue to live on under the name "installer-wizard" in aseparate package, whichcan be added incrementally to core recipe installation, usingcomposer require silverstripe/installer-wizard.It is no longer a commercially supported module.

Archive downloads have been removed

Silverstripe CMS has gradually switched from using file archivesto installation viaComposer.This enabled a much more diverse module ecosystem,with clear dependency management and greater ability tocheck and enforce constraints and semantic versioning.

Starting with this release, we are no longer publishingsilverstripe/installeras a file archive download onsilverstripe.org.If your workflow relied on these downloads, please switch to using Composer.See#9232 for details.

Generic login form styling

Login forms in Silverstripe CMS are traditionally embedded in your page template.This often requires style adjustments in your website, for example, to cover variationssuch as error messages and validation feedback. It also complicatesmore advanced login flows such as multi-factor authentication.

Starting with this release, you could installsilverstripe/login-formsmodule. It provides generic styles which look great without any adjustments.You can choose to add your own logo or customise the templates.The URLs to login functionality have not changed (e.g.Security/login).

Existing Silverstripe CMS websites upgrading to this release can opt into usinglogin forms via composer:

composer require silverstripe/login-forms

Note that any customisations you might have inPage.ss orLayout/Security.ssno longer apply when this module is installed. If you have customised the login processby adding form fields, or through custom handlers such as SAML or LDAP,you'll need to review those before starting to use the module.

Starting withSilverstripe CMS 4.6 this module will be included in new installations by default.

NewPasswordExpirationMiddleware now proactively invalidates members with expired passwords

A newPasswordExpirationMiddleware has been implemented.It checks passwords of authenticated users for expiration and either enforce a redirectionto a change password form, or resets the user for a request being processed (sets the current user to null).

This is considered to be a security enhancement, but potentially might interfere with some custom logicaround password expiration, if you have it implemented.

Ideally, you should test your setup when upgrading if you use the password expiration functionality.

If you'd like to deactivate the middleware, you can unregister it in your application config like this:

---Name: disable-passwordExpirationMiddlewareAfter:-'#coresecurity'---SilverStripe\Core\Injector\Injector:SilverStripe\Control\Director:properties:Middlewares:PasswordExpirationMiddleware:null

Deprecation

  • PasswordValidator methodsminLength,characterStrength, andcheckHistoricalPasswords are now deprecated from4.5.0 onwards (previously 5.0).

Change log

API changes

  • 2019-10-31e2bea6b41 AddwithConfig method (#9011) (Mojmir Fendek)
  • 2019-10-09e236ce5 Add onBlur and onFocus handlers to Input field (Maxime Rainville)
  • 2019-08-064380d7d15 Add option to disable user-agent header session validation (Maxime Rainville)
  • 2019-06-1883661c7 Add deprecation warnings to Versioned::VersionsList() and allVersions() (Robbie Averill)
  • 2019-05-300520d7746 checkHistoricalPasswords(), characterStrength() and minLength() are now correctly deprecated from 4.5.0 onwards (#9008) (Guy Marriott)
  • 2019-05-279bfce8c1a Add extension points to MigrateFileTask (#8994) (Maxime Rainville)
  • 2019-05-24d87377995 checkHistoricalPasswords(), characterStrength() and minLength() are now correctly deprecated from 4.5.0 onwards (Robbie Averill)
  • 2019-05-235184cb9 Bump minimum PHP version to 7.1 (Robbie Averill)
  • 2019-05-23c262dd3 Bump minimum PHP version to 7.1 (Robbie Averill)
  • 2019-05-23002cb6b Bump minimum PHP version to 7.1 (Robbie Averill)
  • 2019-05-23ac3534404 Drop PHP 5.6 and PHP 7.0 support in SS 4.5 (Sam Minnee)

Features and enhancements

  • 2019-11-13fbc5ca2 Tweak attribute filter logic to allow 'falsey' values (Garion Herman)
  • 2019-10-240173abc Add Injector.init callback (#974) (Aaron Carlino)
  • 2019-10-22bed3f2b3c Add type declarations to Tip API, add TippableFieldInterface (Garion Herman)
  • 2019-10-22195417b06 Extract Tip from TextField, add test coverage (Garion Herman)
  • 2019-10-21e0f919d Add HTML editor button to switch to image size preset (#1018) (Maxime Rainville)
  • 2019-10-21e59625fe5 Add ability to define image size preset for the TinyMCE editor. (#9276) (Maxime Rainville)
  • 2019-10-21530b86e Add tip to Alt Text field in Insert Media dialog (Garion Herman)
  • 2019-10-17ce97ec1 Add tests for Tip component, fix proptypes and story (Garion Herman)
  • 2019-10-153c7ba6d Extract Tip UI to independent component, add knobs to TextField (Garion Herman)
  • 2019-10-11bbc6854 Tweak Tip UI render methods, remove autoOpen, add importance prop (Garion Herman)
  • 2019-10-11efc7ba952 Tweak TextField Tip API to match changes to component (Garion Herman)
  • 2019-10-09b4d2b92 Add Tip UI to InputField component, document on TextField (Garion Herman)
  • 2019-10-0908a0811 Update icon font with new lamp, flag and ticket icons (Garion Herman)
  • 2019-10-0974c350a AddDownload file action to file meatballs button (#1011) (Andre Kiste)
  • 2019-10-084bb83ee Add Markdown loader to Pattern Library for advanced docs (Garion Herman)
  • 2019-10-06a44bc5bcf Add support for Tip UI in TextField (Garion Herman)
  • 2019-10-02c437316 UploadField dropzone validates filesize before uploading (Serge Latyntcev)
  • 2019-10-01904b677 Enable 'upload_folder_id' config to set dialog folderid (#1009) (Damian Mooyman)
  • 2019-09-2958c080db5 Option placeholder for upload folder id (#9262) (Damian Mooyman)
  • 2019-09-16bcbf90a83 Introduce supported database transaction mode check (Michal Kleiner)
  • 2019-09-12233e0e7aa PasswordExpirationMiddleware implementation (#9207) (Serge Latyntsev)
  • 2019-09-11da6582f59 Remove web installer, move to separate package (#9231) (Aaron Carlino)
  • 2019-09-0622a6a5b1e Add getLastName() method to Member.php (#9222) (Hels666)
  • 2019-08-20c6f2070 Add acanMove callback which makes it possible to add conditional logic before moving nodes around the tree (bergice)
  • 2019-08-19759601741 Use templates to render embed shortcodes (closes #8762) (Loz Calver)
  • 2019-08-027533ac709 HTTPRequest now has hasSession() to determine whether a ses… (#9159) (Guy Marriott)
  • 2019-08-010672f8b76 HTTPRequest now has hasSession() to determine whether a session exists for it (Robbie Averill)
  • 2019-07-26be4ff49 Enhancement / Update travis config to use Xenial (Serge Latyntcev)
  • 2019-07-22dd21ce2 Add universal permission checking for queries (#222) (Aaron Carlino)
  • 2019-07-21cb91f5fa0 Added SRI support for Requirements::CSS, Requirements::JavaScript (#9139) (Chee Wai)
  • 2019-07-08ec66d366d Deprecated PDO in favour of native drivers (#9052) (Guy Marriott)
  • 2019-07-056c9c6cd Large thumbnails fallback on URL (#964) (Aaron Carlino)
  • 2019-07-05844d2ef13 DBDate and DBDatetime now support modify() with a strtotime() style adjustment string (#9105) (Robbie Averill)
  • 2019-07-02571a4d9ac Added support for config condition if PHP extension is loaded (UndefinedOffset)
  • 2019-06-11a968e7a Change .env.example to default to MySQL native driver (Sam Minnee)
  • 2019-06-1127ace0327 Deprecated PDO in favour of native drivers (Sam Minnee)
  • 2019-05-28b7c2491 Allow error pages for 402 and 451 status codes (Elliot Sawyer)
  • 2019-05-27a7f0b5a Add technical message to error page on dev environments (Sam Minnee)
  • 2019-05-15350888bf5 Adding a shuffle method to ArrayList (#8984) (Guy Marriott)
  • 2019-05-0943b8000 Disable legacy resolution for new projects (#253) (Maxime Rainville)
  • 2019-05-025dc57518c Filter out authenticators that are falsy (Indy Griffiths)
  • 2019-04-30fec0b4c Added ability to disable type caching on flush (Guy Marriott)
  • 2019-04-172d298d4 Add VersionedBadge for displaying versioning states in the CMS (Robbie Averill)
  • 2019-03-123a6a6e485 Add PHP 7.4’s daily snapshot to the travis suite. (Sam Minnee)

Bugfixes

  • 2019-11-26ed5dbc725 Fix extra blank Group being created when creating a new Group (#9325) (Andre Kiste)
  • 2019-11-188be36604 Linting failure (Garion Herman)
  • 2019-11-13ea2a2b478 Adjust HTMLEditorField tests to support alt attr changes in assets (Garion Herman)
  • 2019-11-129648801 Gracefully handle lack of actions in HistoryViewer (Serge Latyntcev)
  • 2019-11-127045082a Cache page icons (#2493) (Adrian Humphreys)
  • 2019-11-073a00ecc Lowercase PHPUnit in composer.json to allow packagist to resolve 1.2.x-dev (Maxime Rainville)
  • 2019-11-05c4c688f Do not include moment locales in bundle (Maxime Rainville)
  • 2019-10-31f47ff4c Fix toast popping up forever (bergice)
  • 2019-10-28f03b3a0 fixed creating multiple duplicate data objects (#961) (Guy Marriott)
  • 2019-10-2315b21fc Remove deprecated uppercase characters from composer.json (#982) (Garion Herman)
  • 2019-10-235fc94b9 Revert scope change of TreeDropdownField hack and suppress linter (Garion Herman)
  • 2019-10-22c96b7be Use arrow syntax to avoid unnamed function linting error (Garion Herman)
  • 2019-10-21626d7c9 Update changelog template location config (Garion Herman)
  • 2019-10-202496de6 Fix ModelAdmin ignoring page_length (Damian Mooyman)
  • 2019-10-209004b50 Tidy variable use, shift padding out of example in Tip story (Garion Herman)
  • 2019-10-207a54920 Translate Tip aria-label, add docs, improve knobs (Garion Herman)
  • 2019-10-0957e481f Add support for disabling the smallfield holder label on react FieldGroup (Maxime Rainville)
  • 2019-10-09eb369ed Gracefully handle lack of versions in HistoryViewer (Serge Latyntcev)
  • 2019-10-083a3705d archive relationships, not related objects (Dylan Wagstaff)
  • 2019-10-07d182f06 Minor code formatting improvement. (Maxime Rainville)
  • 2019-10-03f1594fd99 Ensure that canCreate() context matches that respected by GridFieldAddNewButton (Damian Mooyman)
  • 2019-10-03b3ccd48 Remove buggy code from LeftAndMain Breadcrumb (Maxime Rainville)
  • 2019-10-027db524bd9 DebugViewFrendlyErrorFormatter handle of admin_email (Serge Latyntcev)
  • 2019-09-30be44178 fixed creating multiple duplicate data object by locking out save button on submit (Makreig)
  • 2019-09-30daf995da6 Fix syntax error in DataList docs (Loz Calver)
  • 2019-09-292799265 Honour AssetAdminFile insert dimensions when inserting a new image (#1015) (Maxime Rainville)
  • 2019-09-29f475826 Fix inlinting issue (Maxime Rainville)
  • 2019-09-2930d816e Flush cache before every test in Sha1FileHashingServiceTest (Maxime Rainville)
  • 2019-09-2952b2b3a Fix minor typos in the comments (Maxime Rainville)
  • 2019-09-26959da81 Store the timestamp in the cache (Maxime Rainville)
  • 2019-09-25255bf2f JSTree error if callback isn't passed (fixes #958) (Loz Calver)
  • 2019-09-24fb36e03 Search for both Save and Apply change when running behat tests (Maxime Rainville)
  • 2019-09-24f110bec Force alt attribute to render, remove fallback to image Title (Garion Herman)
  • 2019-09-23aa7c05742 Don't force-add view button to readonly GridField (fixes #… (#9254) (Guy Marriott)
  • 2019-09-23190b2f284 run member CMS validator when editing via groups (fixes #9… (#9255) (Guy Marriott)
  • 2019-09-23efdb9cc71 run member CMS validator when editing via groups (fixes #9184) (Loz Calver)
  • 2019-09-23d85ff3bc4 Don't force-add view button to readonly GridField (fixes #9249) (Loz Calver)
  • 2019-09-23a2ddef0 Fix build (Maxime Rainville)
  • 2019-09-23a6a108b Fix bad description for bulk delete actions (Maxime Rainville)
  • 2019-09-23f177606 Update Apache .htaccess for new access directives (Dylan Wagstaff)
  • 2019-09-233f96b28 Fix broken existing tests (Maxime Rainville)
  • 2019-09-1151f05c0 Fix Used On tab showing file links (bergice)
  • 2019-09-103510cc0 Add a status column to the table view (#980) (Maxime Rainville)
  • 2019-09-08c16556158 Fix typos (Maxime Rainville)
  • 2019-09-06f788a8a92 Member::getLastName() now correctly returns the Member surn… (#9226) (Guy Marriott)
  • 2019-09-06e8c2f963f Member::getLastName() now correctly returns the Member surname (Robbie Averill)
  • 2019-08-2810c10d5 When using the esc key to exist a popover, refocus to the target element (Maxime Rainville)
  • 2019-08-228e307292 Disable caching on page previews (CMSPreviews or stage=Stage) (Garion Herman)
  • 2019-08-19cddd423 Sort action menus using numeric valuesrather than boolean (Maxime Rainville)
  • 2019-08-169d44a3b Optimise AssetAdminFile::nestedFolderIDs (Guy Marriott)
  • 2019-08-13f8506c1 re-enable ability to insert anchors (Dylan Wagstaff)
  • 2019-08-12d9cc265 Set better order for insert link menu (Maxime Rainville)
  • 2019-08-124960cc35 Set better order for insert link menu (Maxime Rainville)
  • 2019-08-12d0f94b3 Set better order for insert link menu (Maxime Rainville)
  • 2019-08-026ec02da57 Allow multi-line content in grid field cells (Sam Minnee)
  • 2019-08-02d088354f4 Write relations when saving in grid-field item edit form (Sam Minnee)
  • 2019-07-2689eb6c88b Do not try and load fixtures from directories, fixes PHP 7.4 build errors (Robbie Averill)
  • 2019-07-24d1c927ff2 Remove curly brace access to string offsets, deprecated in PHP 7.4 (Robbie Averill)
  • 2019-07-1979fa61edf Type safety on nullable argument, fixes PHP 7.4 test (Robbie Averill)
  • 2019-07-182287da9 Fix ambiguous UploadField labels (Jonathon Menz)
  • 2019-07-17c11d0f3 Resolving an issue where no .stories.js file would error (Guy Marriott)
  • 2019-07-10f4913c5 Refresh icons (#905) (Guy Marriott)
  • 2019-07-1004077d6 Refresh icons. (Maxime Rainville)
  • 2019-06-30a638651 Fix some inconsistencies in the GraphQL docs. (bergice)
  • 2019-06-268917545 /NEW: Stories are now fetched dynamically from related modules (Guy Marriott)
  • 2019-06-236425852 Fix theTagsToShortcodeTask segment so it matches the class name, like every other BuildTask we have. (#297) (Andre Kiste)
  • 2019-06-18e652b3e42 fix #9075 log example yml-config in docs (lerni)
  • 2019-06-17093c3cf Hide iframe while loading in preview component (Guy Marriott)
  • 2019-06-141ee03da65 Fix PHPUnit operation on PHP 7.4 (Sam Minnee)
  • 2019-06-14ea04c8c Remove unused gzip tinemce third party lib (Maxime Rainville)
  • 2019-06-14abce98886 Temporarily allow PHP 7.4 build to fail without failing the entire build (Maxime Rainville)
  • 2019-06-13b3093b7a1 Allow state to be shared across nested GridFields (Aaron Carlino)
  • 2019-06-10654156d46 Fix bug when confirmed password is changed but not the password. (#9012) (Sam Minnée)
  • 2019-06-05acfb84e Update modal designs to match design pattern library (Guy Marriott)
  • 2019-05-28469e7ca0 Make test comparison less brittle in MigrateSiteTreeLinkingTaskTest (Sam Minnee)
  • 2019-05-277ef604807 Enable file hash caching when running the file migration task (#8993) (Maxime Rainville)
  • 2019-05-27983d36b7e Better message when form action handler not found. (Sam Minnee)
  • 2019-05-277407096e9 List default items in the readonly view of ListboxField (Sam Minnee)
  • 2019-05-203142b35 #42: Remove excess RewriteCond and clean up comments to reflect current functionality. (Patrick Nelson)
  • 2019-05-171b3a4aea Page Type listed in Page Type dropdown when $can_be_root is false (Nic Horstmeier)
  • 2019-05-14368c88d59 Fix link to related lesson (Federico Jaramillo Martínez)
  • 2019-05-14207cf75dc Fix link to npmjs (Federico Jaramillo Martínez)
  • 2019-05-1408e08160c Fix link to es6features (Federico Jaramillo Martínez)
  • 2019-05-10ce9f6e3 Add offending class to exception message (Guy Marriott)
  • 2019-05-10db5b2f8 Fix OptionField component title generation (Serge Latyntcev)
  • 2019-05-088a7327b Fix travis dependencies (Aaron Carlino)
  • 2019-05-064d21f34 Fix composer.json merge (Aaron Carlino)
  • 2019-04-29cfba4cb Fixed core dependency to 4.x-dev (Ingo Schommer)
  • 2019-04-29f02c756 Remove unused variable (Guy Marriott)
  • 2019-04-15f63973f Disable unneeded File ID Helper on new project (Maxime Rainville)
  • 2019-04-0991f168955 Fix reference to webconfig.php, an invalid file (Matt Peel)
  • 2019-02-01031740e Scrolling out of auto-selected edit mode not switches back to split mode (Robbie Averill)

[8]ページ先頭

©2009-2025 Movatter.jp