Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from original repo #1

Closed
wants to merge 563 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
563 commits
Select commit Hold shift + click to select a range
acce4c4
BUG Remove old boostrap 3 CSS class
Sep 15, 2020
5d38e24
Merge pull request #9692 from open-sausages/pulls/4/remove-boostrap3-…
sachajudd Sep 15, 2020
a712000
Merge pull request #9682 from silverstripe-terraformers/feature/parti…
Sep 16, 2020
0746230
DOC Add process for releasing individual module patches (#9626)
Sep 17, 2020
ff18dec
API Add new behat method for interacting with toasts (#9695)
Sep 17, 2020
0d7c5a9
NEW Add/remove callbacks on RelationList
Jul 2, 2020
ecb0356
Merge pull request #9572 from sminnee/pulls/manymanylist-add-callback
chillu Sep 18, 2020
86702f0
Updated 00_Unit_Testing.md (#9699)
Michael-HEIW Sep 18, 2020
8959212
Merge pull request #9700 from Michael-HEIW/unit-test-doc
dhensby Sep 18, 2020
ae0ece2
Merge pull request #9665 from creative-commoners/pulls/4/php8-fqcn-token
dhensby Sep 18, 2020
9247bc8
NEW: Add Symfony 4 support alongside Symfony 3
Sep 18, 2020
8b3ef8f
FIX: recipe-testing is only needed for behat.
Sep 18, 2020
4e22277
Add namespacing to YAML example
Sep 25, 2020
9753d83
Merge pull request #9708 from RuthAdele/patch-3
robbieaverill Sep 25, 2020
27bd5d1
ENH Replace E_USER_ERROR errors with exceptions
robbieaverill Sep 25, 2020
ae1e17e
Update exception assertions in tests and remove deprecated annotations
robbieaverill Sep 25, 2020
effe5c2
#9706: Updated doc for case-sensitive filter (#9710)
dylangrech92 Sep 25, 2020
2042d1c
MINOR: Allow DevelopmentAdmin to have subclasses (#9702)
Sep 26, 2020
8ad4c4e
FIX Fix namespace parsing under PHP 8, tweak readability of parser
Sep 30, 2020
887b7d8
Merge pull request #9714 from creative-commoners/pulls/4/did-not-have…
Sep 30, 2020
fe45655
Merge pull request #9698 from sminnee/pulls/symfony4
dhensby Sep 30, 2020
478d487
Merge pull request #9707 from robbieaverill/pulls/4.7/exceptions
ScopeyNZ Oct 2, 2020
4d54a21
Update spaces in syntax, single quotes, early returns where possible
robbieaverill Oct 2, 2020
7184703
Merge pull request #9516 from alessandromarotta/isLockectOut-call-Log…
robbieaverill Oct 2, 2020
4ab36ac
Merge pull request #9717 from robbieaverill/pulls/4.7/improve-stuff
Oct 2, 2020
c2d8d27
DOC Document partial template caching aggregates recommendation
dnsl48 Oct 4, 2020
a6529dd
Merge pull request #9719 from creative-commoners/pulls/4/doc-partial-…
ScopeyNZ Oct 4, 2020
8053bc7
Merge branch '4.5' into 4.6
Oct 5, 2020
544b137
Merge branch '4.6' into 4
Oct 5, 2020
198b25c
FIX Hardcode PasswordValidator config in VersionedMemberAuthenticator…
Oct 6, 2020
bb7cf17
Merge pull request #9722 from creative-commoners/pulls/4/fix-versione…
robbieaverill Oct 6, 2020
c5d676f
FIX Avoid test failure on use of narrow-NBSP (#9725)
Oct 8, 2020
9a19596
DOC RFC-9687 Commit Prefixes conventions
dnsl48 Oct 8, 2020
1837c19
DOC Add note about creating provisional changelogs following minor re…
Oct 9, 2020
d8b725d
DOC Add provisional 4.7.0 changelog [ci skip]
Oct 9, 2020
ce3e642
Merge pull request #9729 from creative-commoners/pulls/4/provisional-…
Oct 12, 2020
034bace
FIX TinyMCEConfig image size presets handle incorrect values
dnsl48 Oct 12, 2020
e7d52d3
Merge pull request #9732 from creative-commoners/pulls/4/fix-tinymce-…
dnsl48 Oct 12, 2020
58ed426
FIX TinyMCEConfig image size presets handle incorrect values
dnsl48 Oct 12, 2020
01b5551
Merge pull request #9733 from creative-commoners/pulls/4.6/fix-tinymc…
dnsl48 Oct 12, 2020
941df19
ENH Improve YamlReader exception message (#9731)
wernerkrauss Oct 12, 2020
256bd53
DEP Remove unused league/flysystem requirement
Oct 8, 2020
b71b605
Merge pull request #9730 from creative-commoners/pulls/4/provisional-…
dnsl48 Oct 13, 2020
79a03b2
DOC Add upgrade note about Flysystem dependency shift
Oct 12, 2020
7278c43
MNT Expand Composer requirements to support PHP 8
Oct 14, 2020
fee31c2
DOCS Recommend moving .protected out of webroot
chillu Oct 15, 2020
758e60c
MNT Update Behat config to support Symfony 4
Oct 15, 2020
3620ecc
Merge pull request #9728 from creative-commoners/pulls/4/docs-rfc-968…
bergice Oct 15, 2020
45d0f1d
Merge pull request #9737 from creative-commoners/pulls/4/php-8-support
Oct 16, 2020
4670cd3
Merge pull request #9726 from creative-commoners/pulls/4/fly-er-system
Oct 19, 2020
c1cda2b
WIP: Add new graphql 4 docs (#9652)
Oct 19, 2020
b24dc73
BUG Escape % symbole for Symphony 4
Oct 20, 2020
ed8bbd2
Merge pull request #9738 from open-sausages/pulls/4/fix-symfony-yml
emteknetnz Oct 20, 2020
8c0ff67
Merge branch '4.6' into 4
Oct 21, 2020
f00f641
NEW Allow setting sql_mode via config (#9721)
blueo Oct 22, 2020
0e06430
ENH Add disabled attribute to SelectionGroup
emteknetnz Oct 22, 2020
bc92b52
Remove useless requirement
stof Oct 22, 2020
91f831c
ENH Improve scalar response handling
Oct 23, 2020
e89ae93
FIX Harden hasMethod() against invalid values
Oct 23, 2020
cf79be8
Merge pull request #9744 from creative-commoners/pulls/4/improve-scal…
emteknetnz Oct 28, 2020
6e77d5e
NEW DataObject related objects service
emteknetnz Oct 28, 2020
773145d
Merge pull request #9735 from creative-commoners/pulls/4/dataobject-u…
Oct 28, 2020
51b4a76
Graphql doc fix
Nov 1, 2020
a8d9bea
ENH Update translations
Nov 2, 2020
044a6ea
MNT Added 4.7.0-beta1 changelog
Nov 2, 2020
6c27138
DOC Tweak 4.7.0-beta1 changelog
Nov 2, 2020
3cde64a
DOC Document the file usage table
emteknetnz Nov 3, 2020
a8aa072
DOC Tweak file usage changelog item, add to stable changelog
Nov 3, 2020
e5a55a9
Merge pull request #9747 from creative-commoners/pulls/4/usedontable-…
Nov 3, 2020
bf6a52b
DOC Add some extra details to the changelog about toast notification …
Nov 3, 2020
4d0dc91
DOC Document nullable DataObject in used on table extension guide (#9…
emteknetnz Nov 3, 2020
37a5c9a
01_Error_Handling: % wrapped in quotes
purplespider Nov 6, 2020
743e641
Merge pull request #9758 from purplespider/patch-4
robbieaverill Nov 6, 2020
924d0cc
Link to the PHPCS standard used for framework
andrewandante Nov 9, 2020
1e87528
Update 14_PHP_Coding_Conventions.md
andrewandante Nov 9, 2020
77bf211
Merge pull request #9760 from andrewandante/patch-9
robbieaverill Nov 9, 2020
e02540c
DOCS GraphQL v4 changelog note (#9762)
chillu Nov 11, 2020
b271d9d
FIX Don't swallow app init errors in test setup
chillu Nov 12, 2020
6306d2e
More specific "database missing" error message
chillu Nov 12, 2020
f21515e
Merge branch '4.7' into 4
emteknetnz Nov 12, 2020
a3ae492
Brand naming
chillu Nov 12, 2020
405a1f7
ENHANCEMENT Better optimised class name migration with substantially …
tractorcow Nov 12, 2020
2753516
Fail over if calling deprecated method
tractorcow Nov 12, 2020
5d45bbd
Update src/ORM/DatabaseAdmin.php
tractorcow Nov 12, 2020
b023ab7
Merge pull request #9741 from creative-commoners/pulls/4.6/selection-…
bergice Nov 14, 2020
f673996
DOCS Fix classname reference in SearchContext docs (#9771)
wernerkrauss Nov 15, 2020
b6e4747
DOCS: Add blurb about _legacy to changelog
Nov 15, 2020
ad839fd
Merge branch '4.6' into 4.7
emteknetnz Nov 15, 2020
36590e2
Merge branch '4.7' into 4
emteknetnz Nov 15, 2020
6c57790
Merge pull request #9772 from unclecheese/pulls/4/legacy-warning
chillu Nov 16, 2020
7292c32
MNT Added 4.7.0-rc1 changelog
Nov 16, 2020
95f5449
Changelog tweaks
Nov 16, 2020
490ac6e
ENH Update translations
Nov 16, 2020
cb3a05b
MNT Added 4.7.0-rc1 changelog
Nov 16, 2020
25a78a5
Manual tweak to changelog
Nov 16, 2020
19af9cf
Merge branch '4.7' into 4
Nov 16, 2020
bdb2deb
DOCS Update HistoryViewerField to require javascript more consistentl…
scott1702 Nov 16, 2020
4607151
Merge pull request #9190 from open-sausages/pulls/4/test-state
bergice Nov 17, 2020
6a5cee6
Merge pull request #9766 from tractorcow/pulls/4.6/faster-dev-build
ScopeyNZ Nov 17, 2020
b076259
Merge branch '4.6' into 4.7
ScopeyNZ Nov 17, 2020
d76dd25
Merge branch '4.7' into 4
ScopeyNZ Nov 17, 2020
e69cfd1
DOCS: Document new stateless plugins
Nov 19, 2020
154fb70
DOCS replace broken Director link to Routing
christopherdarling Nov 19, 2020
40d19d0
DOCS Filesystem capacity issue potential on caches
chillu Nov 25, 2020
2a99b82
Fixing links
patricknelson Nov 25, 2020
ddd8e6d
Revert translation updates
emteknetnz Nov 26, 2020
e908b68
Revert "Update 09_Core_committers.md"
Nov 27, 2020
9100816
Merge pull request #9785 from scott1702/pulls/4/first-out-2k20
robbieaverill Nov 27, 2020
af933e8
MNT Double quote yaml string, fix phpcs warnings
emteknetnz Nov 29, 2020
551fa27
Merge pull request #9786 from creative-commoners/pulls/4.7/quote-yaml…
dnsl48 Dec 1, 2020
91c4411
Merge branch '4.7' into 4
emteknetnz Dec 1, 2020
fe972d6
DOCS: Document new schema config, change to resolver discovery patter…
Dec 1, 2020
a25e82f
Merge pull request #9784 from creative-commoners/pulls/4/update-trans…
Dec 6, 2020
61afab2
fix indentation
lerni Dec 7, 2020
a9f9de1
Merge pull request #9777 from unclecheese/pulls/4/plugin-away
chillu Dec 7, 2020
835284f
DOCS GraphQL filter plugin
chillu Dec 8, 2020
63e33cf
MNT Added 4.7.0 changelog
Dec 14, 2020
43dbcfd
Merge pull request #9799 from creative-commoners/pulls/4.7/470-changelog
Dec 14, 2020
72282d0
Merge branch '4.7' into 4
Dec 14, 2020
5be045f
FIX Bug when specifying 0 in ArrayList::offsetSet
emteknetnz Dec 15, 2020
a8d121d
Merge pull request #9800 from creative-commoners/pulls/4.7/arraylist-…
Dec 16, 2020
c932d7e
Fix the phpdoc blocks
williamdes Dec 21, 2020
51fabf2
MNT Travis shared config
emteknetnz Dec 21, 2020
d2b3114
Merge pull request #9789 from creative-commoners/pulls/4.7/travis-shared
Dec 22, 2020
5dfe0e9
Merge branch '4.7' into 4
Dec 22, 2020
869aaa7
DOC Fix `FlysystemAssetStore` reference (#9807)
martinduparc Dec 22, 2020
43777d1
FIX Update .gitattributes and some http:// links (#9805)
williamdes Dec 22, 2020
157d426
FIX: URL to Symfony cache adapters
patricknelson Dec 28, 2020
3b74c25
Fix DataQuery::exists() not working correctly
3Dgoo Dec 29, 2020
20686e4
Merge pull request #9813 from 3Dgoo/patch-1
ScopeyNZ Dec 29, 2020
70d5b6b
Merge pull request #9812 from patricknelson/patch-6
emteknetnz Dec 31, 2020
e3d0dd7
FIX: URL to Symfony cache adapters
patricknelson Dec 28, 2020
55b3abb
Merge pull request #9783 from patricknelson/patch-5
emteknetnz Dec 31, 2020
8438e74
Merge pull request #9814 from creative-commoners/pulls/4.7/cache-adap…
ScopeyNZ Jan 4, 2021
2f64667
FIX DBComposite getIndexSpecs method using self API to get the list o…
dnsl48 Jan 7, 2021
76ae5bc
FIX Type checking in objectForKey() to fix postgres bug
emteknetnz Jan 8, 2021
6763530
DOCS Clarified Core vs. Supported Modules
chillu Jan 12, 2021
99b15ce
DOCS New "Triage" role for Silverstripe Core
chillu Jan 12, 2021
aec0822
DOCS Adjust 4.7.0 collation docs to describe opt-in issue
Jan 12, 2021
f7b9f3a
Merge pull request #9821 from creative-commoners/pulls/4.7/tweak-coll…
dhensby Jan 12, 2021
ea5b8bd
Merge pull request #9820 from open-sausages/pulls/4/docs-clarify-core…
chillu Jan 12, 2021
599e054
Merge branch '4.7' into 4
Jan 12, 2021
ebce0cc
Merge pull request #9793 from open-sausages/pulls/4/docs-graphql-getb…
chillu Jan 13, 2021
87cff9c
Merge pull request #9792 from lerni/patch-1
chillu Jan 13, 2021
f029680
Merge pull request #9782 from open-sausages/pulls/4/docs-caching-file…
chillu Jan 13, 2021
5f7239f
Merge pull request #9765 from open-sausages/pulls/4/test-setup-confusion
chillu Jan 13, 2021
51a8245
Merge pull request #9742 from stof/patch-1
chillu Jan 13, 2021
d308bb0
DOCS GraphQL blacklisted fields (#9768)
chillu Jan 13, 2021
fe2027e
PHPDoc in PEG parser
chillu Jan 13, 2021
6153f44
Merge branch 'phpdoc-fixes' into 4
chillu Jan 13, 2021
315e8f5
Merge pull request #9736 from open-sausages/pulls/4/docs-protected-fo…
chillu Jan 13, 2021
070e950
Merge pull request #9778 from christopherdarling/patch-18
chillu Jan 13, 2021
ed5c148
Merge pull request #9817 from creative-commoners/pulls/4/fix-dbcompos…
emteknetnz Jan 16, 2021
92af6b3
FIX Update behat toast logic so it works with quotes
Nov 15, 2020
1a75efa
Merge pull request #9770 from creative-commoners/pulls/4/allows-test-…
Jan 19, 2021
0da15f0
Merge branch '4.7' into 4
Jan 19, 2021
17c6f98
BUG Fix PostgreSQL issue in TreeMultiselectField where field would tr…
Jan 19, 2021
d13d3a1
Merge pull request #9818 from creative-commoners/pulls/4.7/check-obje…
Jan 19, 2021
54bdabd
Merge branch '4.7' into 4
Jan 19, 2021
c82f5ee
DOC Add Maintainer Guidelines to the Contributing section
dnsl48 Jan 14, 2021
0dd59a1
BUG Reset GridFieldFilterHeader grid state when search is cleared (#9…
Jan 21, 2021
d1cca0f
Fix DataQuery::exists() not working correctly
3Dgoo Dec 29, 2020
0dabdbf
Merge branch '4.7' into 4
ScopeyNZ Jan 21, 2021
9ca3395
API Add a CREATE_MEMORY_HYDRATED option to DataObject constructor (#9…
Jan 21, 2021
a2d7dd0
Update build status badge
emteknetnz Jan 21, 2021
7a1a1dc
Update index.md
lars-lemon8 Jan 21, 2021
f7fab13
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
chillu Jan 21, 2021
b394778
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
chillu Jan 21, 2021
d5eb321
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
chillu Jan 21, 2021
11440c0
MNT Added 4.7.1 changelog
Jan 26, 2021
53a1577
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
dnsl48 Jan 26, 2021
d6a8557
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
dnsl48 Jan 26, 2021
7d0152e
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
dnsl48 Jan 26, 2021
136c835
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
dnsl48 Jan 26, 2021
452f507
Update docs/en/05_Contributing/16_Maintainer_Guidelines.md
dnsl48 Jan 26, 2021
fd99d50
DOC Maintainer Guidelines updates
dnsl48 Jan 26, 2021
57bd76e
Merge branch '4.7' into 4
Jan 26, 2021
f0ae5e9
Merge pull request #9823 from creative-commoners/pulls/4/docs-maintai…
chillu Jan 27, 2021
caa224e
DOCS: Remove BuildState documentation
Jan 19, 2021
24ca170
Docs for GraphQL 4 changes
Jan 27, 2021
09dc4ff
Merge pull request #9833 from lars-lemon8/patch-1
chillu Jan 28, 2021
062656d
DOC Add "Defining the ModelAdmin models" section
Jan 30, 2021
629f2ed
Merge pull request #9837 from creative-commoners/pulls/4/improve-mode…
Jan 30, 2021
296e417
DOC fix the 'Server Requirements' url
edwilde Jan 31, 2021
ac90ec7
DOC remove the version number from docs urls
edwilde Feb 1, 2021
2f5d976
Merge pull request #9838 from edwilde/patch-1
chillu Feb 2, 2021
8c2a9ba
Document edge case for non-assets install
Feb 3, 2021
1be5f47
DOCS Resolver signature and context provider examples
chillu Feb 4, 2021
33365b9
Bug Fix - Ensure DataQuery::exists() SQL is both valid MySQL and T-SQL
HARVS1789UK Feb 8, 2021
77ecbd8
Updated TreeDropdownField.php documentation
AntonyThorpe Feb 9, 2021
ec1ebc0
Merge pull request #9846 from AntonyThorpe/patch-1
kinglozzer Feb 9, 2021
eaadd40
Merge pull request #9845 from HARVS1789UK/dataquery-exists-sql-portab…
ScopeyNZ Feb 10, 2021
95a142a
DOC complete first sentence describing middleware
edwilde Feb 10, 2021
c3499d2
DOC add a callout to the deprecation notice
edwilde Feb 10, 2021
cf50aa7
DOC: fix missing closing backtick for code display, add required alt …
edwilde Feb 10, 2021
095a3b7
NEW: Provide helpers for isDev/isTest/isLive in templates
kinglozzer Feb 11, 2021
391c2c9
Merge pull request #9850 from edwilde/patch-4
Feb 11, 2021
54f439a
Merge pull request #9848 from edwilde/patch-2
Feb 11, 2021
651e5e2
MNT Added 4.7.2 changelog
Feb 12, 2021
25094fc
Merge branch '4.7' into 4
Feb 12, 2021
300cef2
Merge branch '4' into patch-3
edwilde Feb 12, 2021
da56fa7
DOC: fix invalid syntax on link
edwilde Feb 12, 2021
3a214a2
DOC: fix broken heading
edwilde Feb 14, 2021
01eedff
DOC: fix api link syntax and a couple of typos
edwilde Feb 14, 2021
12943d0
DOC: fix typo
edwilde Feb 14, 2021
e60a25c
DOC: fix typo
edwilde Feb 14, 2021
845e623
Merge pull request #9857 from edwilde/patch-8
stevie-mayhew Feb 14, 2021
f3ff7b7
Merge pull request #9858 from edwilde/patch-9
stevie-mayhew Feb 14, 2021
97df972
Merge pull request #9852 from edwilde/patch-5
stevie-mayhew Feb 14, 2021
63073f7
Merge pull request #9854 from edwilde/patch-6
stevie-mayhew Feb 14, 2021
4583046
Merge pull request #9855 from edwilde/patch-7
stevie-mayhew Feb 14, 2021
38a6242
Merge pull request #9849 from edwilde/patch-3
stevie-mayhew Feb 14, 2021
8a8f5e6
DOC: fix code block not closed
edwilde Feb 15, 2021
7d67760
DOC: fix link syntax
edwilde Feb 15, 2021
ea136a5
Merge pull request #9861 from edwilde/patch-10
stevie-mayhew Feb 15, 2021
eca656f
DOC: fix accidentally nested info box
edwilde Feb 15, 2021
3c185d1
Merge pull request #9862 from edwilde/patch-11
stevie-mayhew Feb 15, 2021
15c0621
Merge pull request #9863 from edwilde/patch-12
stevie-mayhew Feb 15, 2021
d023f46
Update upgrading docs to refactoring
Feb 16, 2021
68eeef6
DOCS GraphQL build requirement changes
chillu Feb 16, 2021
c6d6358
Merge pull request #9835 from unclecheese/pulls/4/nuclear-refactor
chillu Feb 17, 2021
5a4641d
DOCS Disable versioning on GraphQL (#9769)
chillu Feb 19, 2021
34bc080
DOCS Add guide on new MySQL collation to Server Reqs
Feb 24, 2021
6f0bb9e
Merge pull request #9871 from creative-commoners/pulls/4/add-mysql-co…
kinglozzer Feb 24, 2021
e9c5a50
Merge pull request #9851 from kinglozzer/director-template-provider
Feb 24, 2021
028c4fd
BUG Tweak shortcode parser so it properly parse empty attributes
Feb 25, 2021
07dea64
DOCS: Document removal of exclude directive
Feb 23, 2021
229672a
Merge pull request #9870 from unclecheese/pulls/4/x-clood
chillu Feb 25, 2021
705b746
Merge pull request #9872 from creative-commoners/pulls/4.7/empty-shor…
emteknetnz Feb 27, 2021
2c54a3f
Merge branch '4.7' into 4
Mar 1, 2021
d2fa64b
BUG Allow Email to re-render when data changes (#9876)
NikxDa Mar 3, 2021
9f9ff01
Update 02_cors.md
jchenevey Mar 4, 2021
4ee92da
DOC Clarify return value for CompositeValidator::getValidatorsByType()
Mar 10, 2021
7a04090
Merge branch '4.7' into 4
Mar 15, 2021
77c85da
MNT Added 4.7.3 changelog
Mar 15, 2021
7db8913
Merge branch '4.7' into 4
Mar 15, 2021
9e766db
DOCS: Fix incorrect CSRF graphql documentation
Mar 18, 2021
358efdb
Merge pull request #9879 from jchenevey/patch-1
emteknetnz Mar 18, 2021
daa9060
remove unused class import Convert
christopherdarling Mar 22, 2021
2f62688
Merge pull request #9891 from christopherdarling/patch-19
dhensby Mar 22, 2021
47855e3
Merge pull request #9579 from scttw/patch-1
emteknetnz Mar 22, 2021
504e203
Update DBBoolean.php (#9893)
sunnysideup Mar 23, 2021
66fa597
FIX Better handling of remember me token when login across devices is…
Mar 30, 2021
2ecd8b3
adding use SilverStripe\Security\Member; to make sure linting works
sunnysideup Apr 1, 2021
5872dce
Merge pull request #9907 from sunnysideup/patch-14
emteknetnz Apr 1, 2021
b75860b
PATCH: fix param in docblock ... add \ to FormField::__construct
sunnysideup Apr 5, 2021
1c7fd28
ENH Reduce default token period from 90 to 30 days
emteknetnz Apr 6, 2021
160ed6f
Merge pull request #9882 from creative-commoners/pulls/4/doc-composit…
emteknetnz Apr 6, 2021
7ec838f
Merge pull request #9908 from sunnysideup/patch-15
emteknetnz Apr 6, 2021
dcdc255
Merge pull request #9909 from creative-commoners/pulls/4/remember-thirty
bergice Apr 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions docs/en/04_Changelogs/4.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# 4.7.0 (Unreleased)

## Overview

- [Experimental support for PHP 8](#experimental-support-for-php-8)
- [Support for Symfony 4 Components](#support-for-symfony-4-components)
- [Default MySQL collation updated](#default-mysql-collation-updated)

## New features

### Experimental support for PHP 8

You can now run Silverstripe CMS on PHP 8, which is due for release in November 2020. PHP 8 includes
many exciting new features like named parameters, attributes, and union types. There are a few
important caveats to keep in mind if you plan to adopt PHP 8 at release.

Upgrading to PHP 8 on projects using `SapphireTest` for unit testing requires adoption of the
[`sminnee/phpunit`](https://packagist.org/packages/sminnee/phpunit) fork, and Prophecy is not
currently supported. Prophecy tests can be fairly trivially ported to PHPUnit Mock Objects. We hope
to give you better support for choosing your own testing tools, including newer versions of PHPUnit,
in a future release.

Support for PHP 8 does not yet extend to non-core modules, and PHP 8 itself is not yet stable, so
compatibility issues could arise in future PHP builds. This extends to dependencies of core, many of
which have not yet declared support for PHP 8, so you will need to run Composer with the
`--ignore-platform-reqs` flag for the time being.

Finally, support for the new JIT functionality has not yet been tested.

We encourage early adopters to report any issues running CMS Recipe 4.7.0 against PHP 8 on the
relevant GitHub repository.

### Support for Symfony 4 Components

Symfony 3 will become unsupported early next year, so Silverstripe CMS is now forwards-compatible
with Symfony 4 components. This is a largely transparent upgrade, but you may encounter errors
related to strings starting with `%` in YML files, which can be easily rectified by wrapping all
affected strings in quotes.

If you'd rather retain the previous YAML parser for the time being, you can run
`composer require symfony/yaml:^3` on your project to prevent the update to version 4.

### Default MySQL collation updated

New projects based on `silverstripe/installer` will default to the `utf8mb4_unicode_ci` collation.
This change will not affect existing projects, but developers are encouraged to adopt this collation
as it provides better support for multi-byte characters such as emojis.

Depending on the version of MySQL you are running, you may encounter issues with `Varchar` fields
exceeding the maximum indexable size:

- MySQL 5.5 and lower cannot support indexes larger than 768 bytes (192 characters)
- MySQL 5.6 supports larger indexes (3072 bytes) if the `innodb_large_prefix` setting is enabled (not by default)
- MySQL 5.7 and newer have `innodb_large_prefix` enabled by default
- MariaDB ~10.1 matches MySQL 5.6's behaviour, >10.2 matches 5.7's.

You can rectify this by upgrading MySQL, enabling the `innodb_large_prefix` setting if present, or
reducing the size of affected fields. If none of these solutions are currently suitable, you can
remove the new collation configuration to default back to the previous default collation.