Skip to content

Commit 7ca0231

Browse files
committed
Add note for cakephp/cakephp#17676
1 parent f9061df commit 7ca0231

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

en/appendices/5-1-migration-guide.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,22 @@ removed in 6.0.0.
88
Behavior Changes
99
================
1010

11-
- Connection now creats unique read and write drivers if the keys ``read`` or
11+
- Connection now creates unique read and write drivers if the keys ``read`` or
1212
``write`` are present in the config regardless of values.
1313
- FormHelper no longer generates ``aria-required`` attributes on input elements
1414
that also have the ``required`` attribute set. The ``aria-required`` attribute
1515
is redundant on these elements and generates HTML validation warnings. If you
1616
are using ``aria-required`` attribute in styling or scripting you'll need to
1717
update your application.
18-
18+
- Adding associations with duplicate names will now raise exceptions. You can
19+
use ``$table->associations()->has()`` to conditionally define associations if
20+
required.
1921
- Text Utility and TextHelper methods around truncation and maximum length are using
2022
a UTF-8 character for ``ellipsis`` instead of ``...`` legacy characters.
21-
2223
- ``TableSchema::setColumnType()`` now throws an exception if the specified column
2324
does not exist.
24-
2525
- ``PluginCollection::addPlugin()`` now throws an exception if a plugin of the same
2626
name is already added.
27-
2827
- ``TestCase::loadPlugins()`` will now clear out any previously loaded plugins. So
2928
you must specify all plugins required for any subsequent tests.
3029

0 commit comments

Comments
 (0)