silverstripe-framework/docs/en/04_Changelogs/rc/4.4.0-rc1.md
2019-05-06 15:01:01 +12:00

41 KiB
Raw Blame History

4.4.0-rc1

Change Log

Security

  • 2018-11-07 74698af40 Ensure that table names are escaped to prevent possible SQL injection (Robbie Averill) - See ss-2018-020
  • 2018-10-24 88d9131 CSRF protection (Aaron Carlino) - See ss-2018-007

API Changes

  • 2019-05-06 8ee50d2ba Remove DataObjectSchema::getFieldMap() (#8960) (Maxime Rainville)
  • 2019-05-03 5337e6d04 Replace FormActions with anchors to enable panel-based loading in GridField navigation buttons (#8953) (Robbie Averill)
  • 2019-04-30 d325b8a Mark the FlysystemAssetStore FileResolutionStrategy getters and setters as internal (#255) (Maxime Rainville)
  • 2019-04-16 3c6357d Add an extension to the regular AssetStore interface (Maxime Rainville)
  • 2019-04-12 c3739d3 Allow FileIDHelper::build() to accept a ParsedFiledID (Maxime Rainville)
  • 2019-04-10 27f6165 Rename ParseFileID, add generateVariantFileID, add stripVariant on FileResolutionStrategy (Maxime Rainville)
  • 2019-04-09 ab01ac99 Deprecated CMSMain->publishall() (Ingo Schommer)
  • 2019-04-09 7be48e8 Add a resolveFileID method to FileResolutionStrategy (Maxime Rainville)
  • 2019-03-28 77fc163 Add immutable setters to ParsedFileID (Maxime Rainville)
  • 2019-03-26 3f38c77 Add logic to find variants based on the FileID scheme. (Maxime Rainville)
  • 2019-03-21 e919291 Define a new FileResolutionStrategy API. (Maxime Rainville)
  • 2019-03-20 c123b64 Deprecate parseFileID, getFileID, getOriginalFilename and getVariant on FlysystemAssetStore (Maxime Rainville)
  • 2019-03-20 19e51a3 Add a LegacyPathFileIDHelperTest (Maxime Rainville)
  • 2019-03-19 6b450395c Allow empty arraylists to be typed (#8866) (Damian Mooyman)
  • 2019-03-14 e708e58 Move FileID parsing logic to dedicated helper class (Maxime Rainville)
  • 2018-11-13 580214cc3 Add PHP deprecation notices to setLogger and getLogger (Robbie Averill)
  • 2018-11-05 ebfab45e2 LoginForm::authentiator_class is now deprecated, use getters or setters instead (Robbie Averill)
  • 2018-10-31 0703c1a94 Deprecating Permission::$declared_permissions and related methods/props (Maxime Rainville)
  • 2018-10-28 9724d1dd7 Convert JSON methods are now deprecated, use json_encode or decode instead (Robbie Averill)
  • 2018-10-23 2773e9c0 Deprecate CMSPageHistoryController (#2298) (Maxime Rainville)
  • 2018-07-03 a8853504b API MonologErrorHandler::setLogger is deprecated, use MonologErrorHandler::pushLogger instead (Robbie Averill)

Features and Enhancements

  • 2019-05-02 1f78e8ae8 Clean up secureassets module artefacts (#8948) (Ingo Schommer)
  • 2019-05-02 236094c FixFilePermissionsTask to fix secureassets permissions (#250) (Andre Kiste)
  • 2019-05-02 48db515fb Fix folder permissions (#8950) (Andre Kiste)
  • 2019-05-01 0696045e5 Legacy thumbnail migration task (#8924) (Ingo Schommer)
  • 2019-05-01 30e7fe2 Migrate legacy thumbnails (fixes #235) (#242) (Ingo Schommer)
  • 2019-04-30 06f84d2 Clean up secureassets module artefacts (fixes #231) (Ingo Schommer)
  • 2019-04-24 43bde65 Update FileMigrationHelper to normalise existing files (Maxime Rainville)
  • 2019-04-24 cfa36b7 improve visibility of insert file button (#934) (Aaron Carlino)
  • 2019-04-23 bb0ae72 Use natural paths for public files to support permalinks (#223) (Maxime Rainville)
  • 2019-04-18 80ad336e9 Add API to create a generator from a DataList (#8931) (Guy Marriott)
  • 2019-04-15 b1339f0d7 Update FieldList::replaceField API to match removeByName (#8876) (Guy Marriott)
  • 2019-03-25 ca6a343 Add search params, filtering service for queries (#220) (Aaron Carlino)
  • 2019-03-11 25f1b17 Operation descriptions (#210) (Ingo Schommer)
  • 2019-03-05 39a29fa2f has_extension() should allow injector overrides (Aaron Carlino)
  • 2019-02-22 12512e84 BrokenLinksReport now uses injector for fields, uses short array syntax and single quotes (Robbie Averill)
  • 2019-02-03 8267623 Add getter for ModelAdmin::$modelClass (jcarter)
  • 2019-02-01 bbace74 Add to Campaign button in SiteTree now lives in campaign-admin (Robbie Averill)
  • 2019-01-29 c4bf06f60 Add new execmetric debug URL parameter to print out exection time and peak memory usage (Maxime Rainville)
  • 2019-01-23 13b8475 add a memory limit to the ImageThumbnailHelper (Maxime Rainville)
  • 2019-01-16 6689db1b Convert drag handle and dropdown caret to use font-icons in site tree (Sacha Judd)
  • 2019-01-16 e665820 Convert drag handle and dropdown caret to use font-icons in site tree (Sacha Judd)
  • 2019-01-14 e0dc7ad Add font-icon for site tree error page (Sacha Judd)
  • 2019-01-14 1f1f4496 Add font-icon support for site tree (Sacha Judd)
  • 2019-01-14 17ff5cf Add font-icon support for site tree (Sacha Judd)
  • 2019-01-09 1e01deea3 Make resources dir configurable (#8519) (Maxime Rainville)
  • 2019-01-07 394dd4765 Scaffolded field labels now only have an uppercased first word (Robbie Averill)
  • 2019-01-01 a302acf Add Roave Security advisories to composer (Simon Erkelens)
  • 2018-11-23 dbb24f9 Persist query support (#179) (Aaron Carlino)
  • 2018-11-20 52a23441 Extracting out the method to determine parameters (filters) for update the report sourceRecords (Guy Marriott)
  • 2018-11-18 d6b1c071 Adding tests for new report breadcrumbs feature (Guy Marriott)
  • 2018-11-18 cc712892a Port betterbuttons to framework (#8569) (Andre Kiste)
  • 2018-11-16 edecbabe Allow reports to specify breadcrumbs for child reports (Guy Marriott)
  • 2018-11-12 acf4b3a MoveFormFactory::getForm is now extensible and no longer uses divider lines (Robbie Averill)
  • 2018-11-09 0f2eebe5d Change to variadic calls in ListDecorator and add unit tests (Robbie Averill)
  • 2018-11-01 2ff7ee675 Deprecate RandomGenerator::generateEntropy in favour of using random_bytes directly (Guy Marriott)
  • 2018-10-20 c418ee291 Add getters and setters for public properties in ConfirmPasswordField, add tests (Robbie Averill)
  • 2018-10-20 3cdb73bd4 Add getLogger() to MonologErrorHandler and add test for exception without one (Robbie Averill)
  • 2018-09-25 12907271 Add update extension hooks for LinkFormFactory subclasses (Robbie Averill)
  • 2018-09-25 4415655 Add update extension hooks for LinkFormFactory subclasses (Robbie Averill)
  • 2018-09-13 0a64b07b2 Use Bootstrap alerts throughout the CMS (Robbie Averill)
  • 2018-09-13 05486897 Use Bootstrap alerts throughout the CMS (Robbie Averill)
  • 2018-09-13 2fe58f8a Use Bootstrap alerts throughout the CMS (Robbie Averill)
  • 2018-09-13 f11cd44 Use Bootstrap alerts throughout the CMS (Robbie Averill)
  • 2018-07-15 e20be929 Meta tag components (Jonathon Menz)
  • 2018-07-03 1cb23178e Separate core error logging from standard LoggerInterface (Robbie Averill)
  • 2018-07-03 d37551de3 Setters in DebugViewFreindlyErrorFormatter are now chainable (Robbie Averill)

Bugfixes

  • 2019-05-06 856e84195 Ensuring pagination buttons have a consistent state to work off of (#8957) (Guy Marriott)
  • 2019-05-03 768bee1 Fix linting (Maxime Rainville)
  • 2019-05-03 2a91b777c Rewrite deprecation notice for declared_permissions (Maxime Rainville)
  • 2019-05-03 65b9465 Remove duplicate FileMigrationHelper class by aliaising it to the proper one (Maxime Rainville)
  • 2019-05-03 7cfa7716 Use Bootstrap 4 alert for page type restriction message when adding a page (Robbie Averill)
  • 2019-05-02 7ec9937 Fix broken test (Maxime Rainville)
  • 2019-05-02 100a298 Fix invalic file variant (bergice)
  • 2019-05-02 5fa823a Fix more tests (bergice)
  • 2019-05-02 8f5fa41 Fix tests, linting (Aaron Carlino)
  • 2019-05-02 0c3a7de Fix tests (bergice)
  • 2019-05-01 ecfe039e7 Don't add "better buttons" previous and next without a paginator (Guy Marriott)
  • 2019-05-01 b335c68 Split the new content unit test. (Maxime Rainville)
  • 2019-04-30 efaaa86 Add more complicated tests for the TagsToShortcodeHelper (Maxime Rainville)
  • 2019-04-29 87db65f Set correct COMPOSER_ROOT_VERSION value (Maxime Rainville)
  • 2019-04-29 5d237b0 Fix getQueryParam() on null error (Sheila Bañez)
  • 2019-04-28 71c72f0 Fix minor linting issue (Maxime Rainville)
  • 2019-04-28 31a9fcb Ditch ExtendedAssetStore interface. (Maxime Rainville)
  • 2019-04-26 346b7e3 Tweak FileMigrationHelper to not skip files and make it a bit more performant (Maxime Rainville)
  • 2019-04-26 03d38f2 Unload the Intervention Image resource so it can be garbaged collected (Maxime Rainville)
  • 2019-04-24 3a86fa2 Adjsut unit test to work with new natural paths (#932) (Maxime Rainville)
  • 2019-04-23 c0a8886 Adapt FileMigrationHelper to normalise location of files (Maxime Rainville)
  • 2019-04-23 04c1bbf Get current Migration task working with permalink (Maxime Rainville)
  • 2019-04-22 fe4d7c4 Make sure we don't override existing files when performing operations on a file and all its variants (Maxime Rainville)
  • 2019-04-18 c63c8b0 Return a permanent redirect when a file has been published under its normal path (Maxime Rainville)
  • 2019-04-18 e6c1061 folders always go first when ordering (#936) (Serge Latyntsev)
  • 2019-04-18 353f2b5 Implement feedback from peer review (Maxime Rainville)
  • 2019-04-18 bfa7021 Fix typos from code review (Maxime Rainville)
  • 2019-04-17 e1234a5 Fix typo to fetch a dynamic field rather than always assume it's called content. (Maxime Rainville)
  • 2019-04-17 da1af3d8b Postgres booleans should return as int for consistency (Guy Marriott)
  • 2019-04-16 2e5467a TinyMCE not updating form state (Aaron Carlino)
  • 2019-04-16 0d43492 Add methods to normalise file path to confirm with the default file ID of the strategy. (Maxime Rainville)
  • 2019-04-16 9d6b5048a Table aliases are retained on base tables in queries built using SQLConditionalExpression (#8918) (Guy Marriott)
  • 2019-04-15 63360f804 Replace substr with mb_substr to get the correct position (Sheila Bañez)
  • 2019-04-15 4fbe0fd6 Fix linking anchor on the same page (#2388) (Will Rossiter)
  • 2019-04-15 0b56a563 Fixes #2110 added default Title value for saved pages. (#2366) (ttunua)
  • 2019-04-15 4302fb1 Tweak findVariants to not return null, because in 5.6 yield and return can not be used in the same method (Maxime Rainville)
  • 2019-04-14 a48beac84 Calculate threshold condition with SQL rather than PHP (Guy Marriott)
  • 2019-04-13 e561d06 Tweak FileID helper to handle stack variant (Maxime Rainville)
  • 2019-04-12 ade7c9d Add test to make sure we write the variants next to the main file (Maxime Rainville)
  • 2019-04-12 64e9560 Write some unit test for stripVariant and generateVariantFileID on FileIDHelperResolutionStrategy (Maxime Rainville)
  • 2019-04-12 23d55f1 Deprecate legacy filename usage and add extra unit tests (Maxime Rainville)
  • 2019-04-12 91ea306 Tweak FileIDResolutionStrategy to better handle hashless tuple (Maxime Rainville)
  • 2019-04-11 bf1dbec Provide a strategy for legacu_filenames (Maxime Rainville)
  • 2019-04-11 24c72c1 Add explicit test to make sure files are written to the expected store (Maxime Rainville)
  • 2019-04-11 0b6e5d3 Update setFromString and setFromLocalFile to wrap data around stream and call setFromStream (Maxime Rainville)
  • 2019-04-11 6baf400 Add some swapPublish logic to publish to store that don't support hash paths and add extra validation around hashes (Maxime Rainville)
  • 2019-04-11 07cc061 Add some extra logic to read the hash from the file content when it can't be picked up from the file id (Maxime Rainville)
  • 2019-04-10 4b0d5c8 #8916 Prevent session generation on file_link shortcode handling (micmania1)
  • 2019-04-10 cd5fdca FInish converting all the methods on FlysystemAssetStore (Maxime Rainville)
  • 2019-04-10 12ae61d Tweak the NaturalFileIDHelper so it doesn't accept legacy style variant file ids (Maxime Rainville)
  • 2019-04-09 661a27e Fix hash redirection logic on PostreSQL and add PostreSQL to the travis matrix (#237) (Serge Latyntsev)
  • 2019-04-09 9a4395238 Fix formatting (Al)
  • 2019-04-09 956b268 Fix hash redirection logic on PostreSQL and add PostreSQL to the travis matrix (Maxime Rainville)
  • 2019-04-09 a61cb1de9 Fix reference to webconfig.php, an invalid file (Matt Peel)
  • 2019-04-09 7ca4ee5 Fix unit tests (Maxime Rainville)
  • 2019-04-08 f12fa62ad Better error message when GridFieldLevelup passed bad record details (Sam Minnee)
  • 2019-04-05 594af7713 prevent unnecessary field alterations for enums with empty defaults (Loz Calver)
  • 2019-04-05 1cfc4c7 Still fixing unit tests (Maxime Rainville)
  • 2019-04-05 f0b61bd Hard fail when trying to build a Hash file ID without prvoding a hash (Maxime Rainville)
  • 2019-04-05 4cdaae9 Explicitely set hash when returning variant parsed ID (Maxime Rainville)
  • 2019-04-04 759968bbe Fix Undefined variable: result when catch Exception (Ian Patel)
  • 2019-04-04 a3c61e5 Long site names now display correctly in CMS menu with equal margins and alignment (Robbie Averill)
  • 2019-04-04 b542585 Convert more of FlyAssetStore to use new format (Maxime Rainville)
  • 2019-04-04 4be41a8 Define and test a softResolveFileID method on FileResolutionStrategy (Maxime Rainville)
  • 2019-04-04 ad5d379 Show RightTitle on CheckboxField in React forms (Sam Minnee)
  • 2019-04-04 a17e1de Show RightTitle on CheckboxField (Sam Minnee)
  • 2019-04-04 8a098d637 Show RightTitle on CheckboxField (Sam Minnee)
  • 2019-04-03 c767d81 Adjust test to work with new asset structure (Maxime Rainville)
  • 2019-04-03 fbf385a Adjust writting logic to work with file resolution strategies (Maxime Rainville)
  • 2019-04-03 ad828a4 Validate hash when looking for variant (Maxime Rainville)
  • 2019-03-29 c84ad4278 Update installer to create the assets folder if its missing (Maxime Rainville)
  • 2019-03-28 2b386e6 Fix the exist and delete logic when working (Maxime Rainville)
  • 2019-03-26 83ec0b69f Resolve issue where schema changes between enum / non-enum types (Damian Mooyman)
  • 2019-03-25 fae19c16b has_one File form scaffolding (Jonathon Menz)
  • 2019-03-22 95344a6 Re-instate assuming redux knows best with more specific checks (See #922) (Guy Marriott)
  • 2019-03-22 cb670f4 TinyMCE editor.scss now applies to the correct body class, and has correct broken link colours (Robbie Averill)
  • 2019-03-22 db6e105 ReadVersions now uses public accessors for private dataObjectClass property (Robbie Averill)
  • 2019-03-21 595d8ec UploadField now ensures that file data is copied to redux store of value updates (Guy Marriott)
  • 2019-03-21 e1190e33d Fix PDOConnector GeneratedID return type (Johannes Hammersen)
  • 2019-03-20 388baa01b Fix linting (Aaron Carlino)
  • 2019-03-19 aa491d929 Fix tests (Aaron Carlino)
  • 2019-03-18 7f5ae1c Increment bootstrap requirements (Maxime Rainville)
  • 2019-03-14 fd98212 Bump bootstrap and merge js dependency (Maxime Rainville)
  • 2019-03-13 4d35ba3 Bump JS dependencies for merge and bootstrap (Maxime Rainville)
  • 2019-03-13 c7b3b307 Bump JS dependencies for merge and bootstrap (Maxime Rainville)
  • 2019-03-13 11bcf3e Bump JS depednencies for merge and bootstrap (Maxime Rainville)
  • 2019-03-13 a43593b Upgrade merge and bootstrap JS dependencies (Maxime Rainville)
  • 2019-03-11 ca781c684 RequestHandler::__construct() should run after middlewares (fixes #8848) (Loz Calver)
  • 2019-02-26 252397d8d Fix #8829: mention get_one does not escape field names (Nicola Fontana)
  • 2019-02-26 d1fa6e40d Fix some minor typos (Andre Kiste)
  • 2019-02-25 49c05ce Update font-icon hover for site tree 'Add new page here' (Sacha Judd)
  • 2019-02-25 a0aaf050 Deprecate creatableChildren and add new function to support font-icon classes for allowedChildren (Sacha Judd)
  • 2019-02-02 1a7b23a2 URL segment generation tests for resources dir are now accurate (Robbie Averill)
  • 2019-02-01 f9aeeb1d Remove coupling from SiteTree to campaign admin module (Robbie Averill)
  • 2019-01-31 7c5b73881 Prevent null->null being flagged as a value change (fixes #8774) (Loz Calver)
  • 2019-01-11 bbffe055 Fixing linting error. (Maxime Rainville)
  • 2019-01-10 f05afac Fix case difference in form field label assertion failure (Robbie Averill)
  • 2019-01-08 50837b4 Fix duplicated class import declarations from merge up (Robbie Averill)
  • 2018-12-22 33854ce do not pass SourceLocation to createLocatedError (Nicola Fontana)
  • 2018-12-18 0397c54b5 Fixes #8459 (Russell Michell)
  • 2018-12-10 3d403f2 Ensure httpMethod context is applied to all controller actions (#194) (Aaron Carlino)
  • 2018-12-02 0692a30 PopoverOptionSet now explicitly sets an auto height for its search field (Robbie Averill)
  • 2018-11-30 cc7aa7b68 incorrect composer module type (Ed Linklater)
  • 2018-11-30 0c17ffc94 Manifest should ignore vendor folders within packages contained in vendor (Sam Minnee)
  • 2018-11-26 f22a4b980 getComponentByType can return null - prevent null pointer errors (Robbie Averill)
  • 2018-11-26 efa427fc4 Remove redundant "rightGroup" logic and increase getRightGroupField to protected (Robbie Averill)
  • 2018-11-21 b8796be Downgrade to @storybook/addon-notes to 3.4 to allow pattern lib to build (Maxime Rainville)
  • 2018-11-16 c9c7c0c82 Fix PDO cached statement column coercion (Sam Minnee)
  • 2018-11-13 8854f053c Fix rebase conflicts (Robbie Averill)
  • 2018-11-11 45e1fcaf3 Correct type coercion of MySQL (Sam Minnee)
  • 2018-11-11 adb6e9eb8 Perform type coercion on PDO-based MySQL and SQLite connections (Sam Minnee)
  • 2018-11-09 a8d3b9517 Make test work with utf8mb4 (Sam Minnee)
  • 2018-11-05 7775f8258 Handle falsy return value when setting form field value in setAuthenticatorClass() (Robbie Averill)
  • 2018-11-01 7086f2ea3 many many through not sorting by join table (#8534) (Michael Strong)
  • 2018-10-30 ba9ccb0 Update gridfield sorted icon and border colours (Sacha Judd)
  • 2018-10-30 d8f9162 Remove incorrect modal close icon hover colour (Sacha Judd)
  • 2018-10-29 1c6e22239 Fix the GitHub issue template (Serge Latyntcev)
  • 2018-10-28 3425005 Replace usage of Convert JSON methods with json_encode and json_decode (Robbie Averill)
  • 2018-10-28 ab739c7f Replace usage of Convert JSON methods with json_encode and json_decode (Robbie Averill)
  • 2018-10-28 87ee897 Replace usage of Convert JSON methods with json_encode and json_decode (Robbie Averill)
  • 2018-10-28 4a06f52 Replace usage of Convert JSON methods with json_encode and json_decode (Robbie Averill)
  • 2018-10-28 89c5abe Replace usage of Convert JSON methods with json_encode and json_decode (Robbie Averill)
  • 2018-10-28 b02a6fa02 Replace usage of Convert JSON methods with json_encode (Robbie Averill)
  • 2018-10-25 bed1906f7 Fix typo (Andre Kiste)
  • 2018-10-24 f635a2d Fix typo (bergice)
  • 2018-10-20 c06cf4820 Readonly and disabled CurrencyFields no longer always returns dollar currency sign, now respect config (Robbie Averill)
  • 2018-10-18 76255c9fb CheckboxSetField can now save into DBMultiEnum (Sam Minnee)
  • 2018-10-18 5531baa87 Introduce readonly transaction test to all database. (Sam Minnee)
  • 2018-10-18 1e83dff4e #828 optimised query in graphql asset admin (micmania1)
  • 2018-10-16 b4201fcf7 Fix example code (DorsetDigital)
  • 2018-10-15 d4d9cbf allow base path of / (Sam Minnee)
  • 2018-10-08 bd5a81590 Make all enums non-destructive, not just ClassName (Sam Minnee)
  • 2018-10-08 67fe41d00 Ensure that repeated setting/unsetting doesnt corrode forceChange() (Sam Minnee)
  • 2018-10-04 5bb2d9484 Update “original” DataObject data to be the content of the last write (Sam Minnee)
  • 2018-10-04 a7b5de5de ensure that there are PGSQL builds both with and without PDO (Sam Minnee)
  • 2018-10-04 261539953 Use PDOs built-in transaction support in MySQLDatabase. (Sam Minnee)
  • 2018-10-04 0111b98b1 Ensure that types are preserved fetching from database (Sam Minnee)
  • 2018-09-14 274657f4f Add support in "I should see a message" step definition for Bootstrap alerts (Robbie Averill)
  • 2018-07-04 18293f7af Rename pushHandler to pushLogger (Robbie Averill)