6.0.0-beta1
Pre-release
Pre-release
What's Changed
- DEP Dependencies for CMS 6 by @emteknetnz in #11152
- fix: by default CanonicalURLMiddleware should run in all environments by @wilr in #11154
- NEW Allow skipping validation on write by @GuySartorelli in #11202
- API Add onBeforeManipulate extension hook by @emteknetnz in #11209
- API Strongly type Fieldlist by @emteknetnz in #11235
- API Set extension hook implementation visibility to protected by @emteknetnz in #11245
- API Set extension hook implementation visibility to protected by @emteknetnz in #11252
- ENH Looping through arrays in templates by @GuySartorelli in #11244
- FIX Respect explicit casting before casting arrays by @GuySartorelli in #11271
- API Remove references to non-existent installation tool by @GuySartorelli in #11274
- ENH Auto-scaffold Member and Group with appropriate form fields by @GuySartorelli in #11285
- ENH Do not require _config dir or _config.php for modules by @emteknetnz in #11296
- FIX Ensure cache is shared between CLI and webserver by @GuySartorelli in #11300
- FIX Use valid values for APCu version by @GuySartorelli in #11304
- ENH Various changes to support SiteTree form field scaffolding by @GuySartorelli in #11327
- API Remove IPUtils by @emteknetnz in #11346
- DEP Limit PHP support for CMS 6 by @GuySartorelli in #11345
- NEW Provide a standardised CMSEditLink method by @GuySartorelli in #11338
- API Standardise extension hooks by @GuySartorelli in #11339
- API Strong typing for the view layer by @GuySartorelli in #11351
- DEP Remove support for MySQL 5 by @emteknetnz in #11354
- API Replace Extension subclasses by @emteknetnz in #11348
- API Remove GraphQL by @emteknetnz in #11316
- DEP Upgrade to symfony 7 by @emteknetnz in #11356
- NEW Create DBClassNameVarchar by @emteknetnz in #11359
- API Made the GridFieldDeleteAction method getRemoveAction() protected by @mooror in #11369
- FIX Use correct constructors arguments by @emteknetnz in #11374
- API Add back strong typing that got removed in a merge-up by @GuySartorelli in #11372
- API Deprecate classes which will be renamed by @GuySartorelli in #11375
- FIX Import Deprecation class by @emteknetnz in #11378
- API Deprecate SSListExporter by @emteknetnz in #11376
- Various deprecations and a few features by @GuySartorelli in #11365
- DEP Use PHPUnit 11 by @emteknetnz in #11361
- feat: support defining MySQLi flags by @wilr in #11383
- API Rename Deprecation::withNoReplacement by @GuySartorelli in #11390
- API Move various classes to more appropriate namespaces by @GuySartorelli in #11370
- FIX Use correct contructor for HTTPOutputHandler by @emteknetnz in #11393
- DEP Deprecate API that will be removed or renamed by @GuySartorelli in #11401
- FIX Return null error solved for DBQueryBuilder::shouldBuildTraceComment by @Ofthemasses in #11241
- NEW Refactor CLI interaction with Silverstripe app by @GuySartorelli in #11353
- MNT Update phpunit xml file for phpunit 11 by @emteknetnz in #11407
- FIX Fix NavigateCommandTest and don't try to write null by @GuySartorelli in #11412
- ENH Use symfony/validation logic by @GuySartorelli in #11399
- FIX Get array values, not keys by @GuySartorelli in #11414
- NEW Allow database read-only replicas by @emteknetnz in #11379
- ENH Allow overriding GridFieldFilterHeader placeholder by @GuySartorelli in #11418
- API Improve type safety for Controller::join_links() by @GuySartorelli in #11426
- API Add deprecation by @emteknetnz in #11427
- ENH Default DB settings to use 4 bytes to store UTF8 characters by @maxime-rainville in #11431
- ENH Do not output core code deprecation messages by default by @emteknetnz in #11429
- API Deprecations for template layer by @GuySartorelli in #11420
- MNT Fix unit tests by @emteknetnz in #11432
- ENH Do not rely on flush variable by @emteknetnz in #11440
- MNT Fix unit test by @emteknetnz in #11442
- API Deprecate FlushMiddelware by @GuySartorelli in #11444
- FIX Ensure everything gets flushed when flushing from sake by @GuySartorelli in #11436
- API Combine Sortable, Filterable and Limitable into SS_List by @emteknetnz in #11433
- API List interface deprecations by @emteknetnz in #11448
- API Refactor template layer by @GuySartorelli in #11405
- TLN Update translations by @emteknetnz in #11452
- API Deprecate API which is moving into its own module by @GuySartorelli in #11454
- NEW Validate DBFields by @emteknetnz in #11408
- API Remove API which is now in silverstripe/silverstripe-template-engine by @GuySartorelli in #11451
- ENH Remove code that doesn't belong here by @GuySartorelli in #11430
- API Deprecate FormField API by @emteknetnz in #11464
- New BC-safe API to support CMSMain refactoring by @GuySartorelli in #11461
- DEP Set minimum version of symfony/cache to 7.1.5 by @emteknetnz in #11466
- ENH Update code to reflect changes in silverstripe/admin by @GuySartorelli in #11463
- ENH prevent default type in script tag by @lerni in #11446
- FIX Ensure schema data includes attributes by @GuySartorelli in #11469
- API Change default password strength from strong to medium by @emteknetnz in #11476
- API Deprecation notice for FormField::validate() by @emteknetnz in #11472
- API Move logic from silverstripe/cms into central place by @GuySartorelli in #11460
- FIX Do not mark changed when setting value in constructor by @emteknetnz in #11478
- FIX Don't swallow relevant BadMethodCallExceptions from ViewLayerData by @GuySartorelli in #11482
- ENH Use FieldValidators for FormField validation by @emteknetnz in #11449
- FIX Allow __call() to trigger __call() in other classes by @GuySartorelli in #11487
- MNT Don't expect class when its module isn't installed by @GuySartorelli in #11488
- FIX Don't use call_user_func in __call() by @GuySartorelli in #11489
- ENH PHP 8.4 support by @emteknetnz in #11480
- ENH Config to toggle allowing whitespace only in Requiredfields by @emteknetnz in #11491
- API Deprecate renamed validators by @emteknetnz in #11490
- DEP Update minimum composer versions by @emteknetnz in #11498
- API Rename validator classes by @emteknetnz in #11486
- API Deprecate code that will be removed in CMS 6 by @GuySartorelli in #11501
- DEP Require psr/http-message ^2.0 by @emteknetnz in #11505
- ENH Use updated league/csv api by @emteknetnz in #11508
- ENH Call validate on form fields within form by @emteknetnz in #11506
- API Move logic from silverstripe/cms into central place by @GuySartorelli in #11500
- API Make validator param nullable by @emteknetnz in #11512
- API Add ValidationInterface to DataObject by @emteknetnz in #11513
- API Use validate method instead of validationResult by @emteknetnz in #11515
- FIX Apply raw2xml before extension hook by @emteknetnz in #11517
- API Add ValidationInterface to Form by @emteknetnz in #11518
- MNT Fix unit test by @emteknetnz in #11519
- FIX Don't log to the error handler by @GuySartorelli in #11523
- API Deprecate API which will be removed in CMS 6 by @GuySartorelli in #11526
- API Remove deprecated API by @GuySartorelli in #11524
- DEP Update constraint for vendor-plugin dependency by @GuySartorelli in #11527
- FIX Finish removing deprecated i18n functionality. by @GuySartorelli in #11528
- ENH Align ArrayList case sensitivity with other lists by @GuySartorelli in #11529
- FIX Apply correct typing to $limit in BasicSearchContext by @GuySartorelli in #11535
- API Add strong-typing to SearchContext::getQuery() $limit param by @GuySartorelli in #11534
- DOC Remove "deprecated" note from PHPDoc for not-deprecated method by @GuySartorelli in #11537
- API Remove ALC renewal, tweak extension point by @Cheddam in #11355
- API Remove deprecated parameter from DataObject::get() by @GuySartorelli in #11536
- API Deprecate getCMSValidator() method. by @GuySartorelli in #11539
- API Deprecate passing bool to Form::loadDataFrom() by @GuySartorelli in #11542
- API Remove deprecation notice from method we're not removing by @GuySartorelli in #11540
- API Stop supporting getCMSValidator by @GuySartorelli in #11538
- ENH Remove code that had been retained for backwards compatibility by @GuySartorelli in #11541
- A few deprecation fixes by @GuySartorelli in #11544
- MNT Fix unit test by @emteknetnz in #11549
- API Deprecate unused configuration property by @GuySartorelli in #11552
- MNT Make data providers static by @emteknetnz in #11557
- ENH Remove unused properties and deprecation notices by @GuySartorelli in #11543
- MNT Remove unit test for removed method by @emteknetnz in #11559
- NEW Provide clear UX validation errors when violating unique index by @GuySartorelli in #11558
- DEP Conflict older versions of egulias/email-validator by @emteknetnz in #11561
- Updates example to use current code by @davejtoews in #11573
- MNT Ensure default_locale to en_US by @emteknetnz in #11570
- FIX Update HTML markup for bootstrap 5 by @GuySartorelli in #11560
- MNT Handle LogicExceptions when calling setI18nLocale() by @emteknetnz in #11576
- FEAT support variables as second and third argument by @lekoala in #11521
- ENH: Scaffold GridFieldFilterHeader filters for ArrayList based GridFields. by @mfendeksilverstripe in #11575
- MNT Use attributes for DataProviders by @emteknetnz in #11581
- MNT Fix unit test by @emteknetnz in #11585
- API Deprecate FormField Value by @emteknetnz in #11551
- API Deprecate passing null paramters for Form and ValidationResult methods by @emteknetnz in #11564
- FIX Import missing class by @emteknetnz in #11586
- FEAT add sortByField and remove mysql specific code from DataList by @lekoala in #11588
- FIX don't count records twice on a GridField if there is a GridFieldPaginator by @lekoala in #11593
- DOC Remove simple theme reference from PHPDoc comment by @GuySartorelli in #11594
- NEW Show more information in ValidationException message by @emteknetnz in #11562
- API Deprecate DBInt::Times() by @emteknetnz in #11600
- API Remove deprecated DBInt::Times() by @emteknetnz in #11604
- FIX Avoid double escaping values when printing a gridfield by @GuySartorelli in #11598
- API Rename FormField Value to getFormattedValue by @emteknetnz in #11550
- FIX Prevent invalid i18n sources from being collected by @emteknetnz in #11603
- TLN Update translations by @emteknetnz in #11608
- API Deprecate Controller::has_curr() by @emteknetnz in #11614
- MNT Fix unit test providers by @GuySartorelli in #11615
- API Do not raise user_error from Controller::curr() by @emteknetnz in #11613
- ENH Add a warning if allowed hosts is not set. by @GuySartorelli in #11612
- NEW Handle WithinRangeFilter in searchable_fields and SearchContext by @GuySartorelli in #11602
- NEW Form sudo mode by @emteknetnz in #11582
- API Define deactivate() on SudoModeServiceInterface by @emteknetnz in #11618
- MNT Fix unit tests by @emteknetnz in #11619
- API Deprecate API being removed in CMS 6 by @GuySartorelli in #11623
- Various changes to support refactoring CMS search filter functionality by @GuySartorelli in #11587
- API Change defaults of cookie secure and samesite by @emteknetnz in #11629
- API Deprecate API that will be removed in CMS 6 by @GuySartorelli in #11630
- API Deprecate TotalItems() by @GuySartorelli in #11633
- FIX Fix bug in NumericField caused by bad merge-up by @GuySartorelli in #11635
- FIX Make PageinatedList::count() give the number of items in the current page by @GuySartorelli in #11634
- NEW Allow setting "samesite" attribute for individual cookies. by @GuySartorelli in #11632
- API Remove code which is being migrated to a new TinyMCE module by @GuySartorelli in #11617
- MNT Fix PHP linting in test class by @GuySartorelli in #11637
- NEW Add GridFieldSudoMode component by @emteknetnz in #11631
- FIX Fix use statement for ArrayData by @GuySartorelli in #11638
- FIX Remove non-readonly components from sudo mode gridfield by @emteknetnz in #11639
Full Changelog: 5.3.17...6.0.0-beta1