mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Move MySQL 8 changelog note to 4.9.0 changelog
This commit is contained in:
parent
13357c33df
commit
eb5dc731a8
@ -113,16 +113,6 @@ remove the new collation configuration to default back to the previous default c
|
|||||||
|
|
||||||
In MySQL versions >=5.7.5, the `ANSI` sql_mode setting behaves differently and includes the `ONLY_FULL_GROUP_BY` setting. It is generally recommended to leave this setting as-is because it results in deterministic SQL. However, for some advanced cases, the sql_mode can now be configured on the database connection via the configuration API (see `MySQLDatabase::$sql_mode` for more details.)
|
In MySQL versions >=5.7.5, the `ANSI` sql_mode setting behaves differently and includes the `ONLY_FULL_GROUP_BY` setting. It is generally recommended to leave this setting as-is because it results in deterministic SQL. However, for some advanced cases, the sql_mode can now be configured on the database connection via the configuration API (see `MySQLDatabase::$sql_mode` for more details.)
|
||||||
|
|
||||||
### MySQL/MariaDB Int width in schema
|
|
||||||
MySQL 8.0.17 stopped reporting the width attribute for integers while MariaDB did not change its behaviour.
|
|
||||||
This results in constant rebuilding the schema when MySQLSchemaManager expects a field to look like i.e.
|
|
||||||
`INT(8)` and MySQL server reports it simply as `INT`. MySQLSchemaManager has been updated to detect the MySQL
|
|
||||||
server implementation and act accordingly. In cases when auto-detection fails, you can force the desired behaviour like this:
|
|
||||||
```yml
|
|
||||||
SilverStripe\ORM\Connect\MySQLSchemaManager:
|
|
||||||
schema_use_int_width: true # or false when INT widths should be ignored
|
|
||||||
```
|
|
||||||
|
|
||||||
### Flysystem dependency shifted
|
### Flysystem dependency shifted
|
||||||
|
|
||||||
Previously the Flysystem package was pulled in via the `silverstripe/framework` module, but only
|
Previously the Flysystem package was pulled in via the `silverstripe/framework` module, but only
|
||||||
|
@ -249,6 +249,16 @@ New Silverstripe CMS project created from `silverstripe/installer` 4.9.0 or grea
|
|||||||
|
|
||||||
It's highly recommended that existing Silverstripe CMS installation using `Swift_MailTransport` upgrade to `Swift_SendmailTransport` or another available transport, such as `Swift_SmtpTransport`. Details on how to use these classes are available in the [email section](https://docs.silverstripe.org/en/4/developer_guides/email/) of the developer docs.
|
It's highly recommended that existing Silverstripe CMS installation using `Swift_MailTransport` upgrade to `Swift_SendmailTransport` or another available transport, such as `Swift_SmtpTransport`. Details on how to use these classes are available in the [email section](https://docs.silverstripe.org/en/4/developer_guides/email/) of the developer docs.
|
||||||
|
|
||||||
|
### MySQL/MariaDB Int width in schema
|
||||||
|
MySQL 8.0.17 stopped reporting the width attribute for integers while MariaDB did not change its behaviour.
|
||||||
|
This results in constant rebuilding the schema when MySQLSchemaManager expects a field to look like i.e.
|
||||||
|
`INT(8)` and MySQL server reports it simply as `INT`. MySQLSchemaManager has been updated to detect the MySQL
|
||||||
|
server implementation and act accordingly. In cases when auto-detection fails, you can force the desired behaviour like this:
|
||||||
|
```yml
|
||||||
|
SilverStripe\ORM\Connect\MySQLSchemaManager:
|
||||||
|
schema_use_int_width: true # or false when INT widths should be ignored
|
||||||
|
```
|
||||||
|
|
||||||
### Other new features
|
### Other new features
|
||||||
|
|
||||||
* [New title tip component](https://silverstripe.github.io/silverstripe-pattern-lib/?knob-Content=Example%20tip%20contents&selectedKind=Admin%2FTip&selectedStory=Title%20tip&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Fnotes%2Fpanel) allowing you to provide extra context on the purpose of a field
|
* [New title tip component](https://silverstripe.github.io/silverstripe-pattern-lib/?knob-Content=Example%20tip%20contents&selectedKind=Admin%2FTip&selectedStory=Title%20tip&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Fnotes%2Fpanel) allowing you to provide extra context on the purpose of a field
|
||||||
|
Loading…
Reference in New Issue
Block a user