mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
12 KiB
12 KiB
2.4.2-rc1
Changelog
Features and Enhancements
- [rev:110757] added the ability to toggle the use draft site setting
- [rev:110467] #5977 Added optional argument to !ClassInfo::getValidSubClasses() and removed harcoded !SiteTree
- [rev:110211] disable basic auth by default, tests run on the assumption it is disabled.
- [rev:109104] Added -v / --verbose option to dev/tests/*, to make it output every single test name before it starts that test.
- [rev:109101] Session::set_cookie_path() and Session::set_cookie_domain() are now possible. This is useful for sharing cookies across all subdomains, for example.
- [rev:108942] make !RestfulService support PUT method.
- [rev:108663] ErrorDocument in default .htaccess so Apache serves default 404 and 500 server error pages
- [rev:108644] #3828 500 server error page is created by default on dev/build
- [rev:108499] New Member records are populated with the currently set default through i18n::set_locale()
- [rev:108437] Restful service returns cached response on http and curl errors
- [rev:108428] #2856 Limiting of relative URLs for Director::forceSSL() using a map of PCRE regular expressions
- [rev:108418] Added argument to SQLQuery->leftJoin()/innerJoin() (#5802, thanks stojg)
- [rev:108417] Full-text search with double quotes returns too many results. ticket #5733. Thanks ktauber.
API Changes
- [rev:110856] Member->canEdit() returns false if the editing member has lower permissions than the edited member, for example if a member with CMS_ACCESS_!SecurityAdmin permissions tries to edit an ADMIN (fixes #5651)
- [rev:109156] #5873 !DataObjectSet::shift() now performs a proper shift instead of unshift (wrong). Please use !DataObjectSet::unshift($item) if unshifting was intended!
- [rev:109156] Added !DataObjectSet::pop()
- [rev:109103] Member::set_session_regenerate_id() can now be used to disable Member::session_regenerate_id() which can break setting session cookies across all subdomains of a site
Bugfixes
- [rev:110901] delete orphaned records from versioned tables when updating. #5936
- [rev:110894] Protect !MemberTest from side effects caused by auth_openid and forum modules
- [rev:110889] Respecting field specific locale settings in !DatetimeField and !DateField when validating and saving values (fixes #5931, thanks Tjofras)
- [rev:110859] Disallow addition of members to groups with !MemberTableField->addtogroup() when the editing member doesn't have permissions on the added member
- [rev:110858] Don't suggest members in !SecurityAdmin->autocomplete() that the current user doesn't have rights to edit (fixes #5651)
- [rev:110857] Enforcing canEdit() checks in !ComplexTableField_Popup - making form readonly if the current user can't edit
- [rev:110838] Case insensitive !DateField value navigation (fixes #5990, thanks gw0(
- [rev:110835] Passing $name in !MoneyField->!FieldCurrency() (fixes #5982, thanks andersw)
- [rev:110809] Removing "typography" class from HTMLEditorField container (should just apply to the contained