You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the 7.1 branch.
Discussion
----------
Proofread UPGRADE guide
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
Feature-freeze is upon us, so here is a new proofread of the UPGRADE guide. It seems like we didn't introduce many deprecations this time. I've scanned all CHANGELOG files to find missing items.
Commits
-------
3f7c344 Proofread UPGRADE guide
Copy file name to clipboardExpand all lines: UPGRADE-7.1.md
+84-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,38 @@
1
1
UPGRADE FROM 7.0 to 7.1
2
2
=======================
3
3
4
+
Symfony 7.1 is a minor release. According to the Symfony release process, there should be no significant
5
+
backward compatibility breaks. Minor backward compatibility breaks are prefixed in this document with
6
+
`[BC BREAK]`, make sure your code is compatible with these entries before upgrading.
7
+
Read more about this in the [Symfony documentation](https://symfony.com/doc/7.1/setup/upgrade_minor.html).
8
+
9
+
If you're upgrading from a version below 7.0, follow the [7.0 upgrade guide](UPGRADE-7.0.md) first.
10
+
11
+
Table of Contents
12
+
-----------------
13
+
14
+
Bundles
15
+
16
+
*[FrameworkBundle](#FrameworkBundle)
17
+
*[SecurityBundle](#SecurityBundle)
18
+
*[TwigBundle](#TwigBundle)
19
+
20
+
Bridges
21
+
22
+
*[DoctrineBridge](#DoctrineBridge)
23
+
24
+
Components
25
+
26
+
*[AssetMapper](#AssetMapper)
27
+
*[Cache](#Cache)
28
+
*[DependencyInjection](#DependencyInjection)
29
+
*[ExpressionLanguage](#ExpressionLanguage)
30
+
*[Form](#Form)
31
+
*[Intl](#Intl)
32
+
*[PropertyInfo](#PropertyInfo)
33
+
*[Translation](#Translation)
34
+
*[Workflow](#Workflow)
35
+
4
36
AssetMapper
5
37
-----------
6
38
@@ -9,7 +41,7 @@ AssetMapper
9
41
Cache
10
42
-----
11
43
12
-
* Deprecate `CouchbaseBucketAdapter`, use `CouchbaseCollectionAdapter` instead
44
+
* Deprecate `CouchbaseBucketAdapter`, use `CouchbaseCollectionAdapter`with Couchbase 3 instead
13
45
14
46
DependencyInjection
15
47
-------------------
@@ -27,14 +59,65 @@ ExpressionLanguage
27
59
* Deprecate passing `null` as the allowed variable names to `ExpressionLanguage::lint()` and `Parser::lint()`,
28
60
pass the `IGNORE_UNKNOWN_VARIABLES` flag instead to ignore unknown variables during linting
29
61
62
+
Form
63
+
----
64
+
65
+
* Deprecate not configuring the `default_protocol` option of the `UrlType`, it will default to `null` in 8.0 (the current default is `'http'`)
66
+
30
67
FrameworkBundle
31
68
---------------
32
69
33
70
* Mark classes `ConfigBuilderCacheWarmer`, `Router`, `SerializerCacheWarmer`, `TranslationsCacheWarmer`, `Translator` and `ValidatorCacheWarmer` as `final`
71
+
* Deprecate the `router.cache_dir` config option, the Router will always use the `kernel.build_dir` parameter
72
+
73
+
Intl
74
+
----
75
+
76
+
*[BC BREAK] Extracted `EmojiTransliterator` to a separate `symfony/emoji` component, the new FQCN is `Symfony\Component\Emoji\EmojiTransliterator`.
77
+
You must install the `symfony/emoji` component if you're using the old `EmojiTransliterator` class in the Intl component.
78
+
79
+
Mailer
80
+
------
81
+
82
+
* Postmark's "406 - Inactive recipient" API error code now results in a `PostmarkDeliveryEvent` instead of throwing a `HttpTransportException`
34
83
35
84
PropertyInfo
36
85
------------
37
86
87
+
* Deprecate the `Type` class, use `Symfony\Component\TypeInfo\Type` class of `symfony/type-info` component instead
88
+
89
+
*Before*
90
+
```php
91
+
use Symfony\Component\PropertyInfo\Type;
92
+
93
+
// bool
94
+
$boolType = new Type(LegacyType::BUILTIN_TYPE_BOOL);
95
+
// bool|null
96
+
$nullableType = new Type(LegacyType::BUILTIN_TYPE_BOOL, nullable: true);
97
+
// array<int,string|null>
98
+
$arrayType = new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, new Type(Type::BUILTIN_TYPE_INT), new Type(Type::BUILTIN_TYPE_STRING, true));
99
+
100
+
$arrayType->getBuiltinType(); // returns "array"
101
+
$arrayType->getCollectionKeyTypes(); // returns an array with an "int" Type instance
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ CHANGELOG
5
5
---
6
6
7
7
* Add option `separator` to `ChoiceType` to use a custom separator after preferred choices (use the new `separator_html` option to display the separator text as HTML)
8
-
* Deprecate not configuring the `default_protocol` option of the `UrlType`, it will default to `null` in 8.0
8
+
* Deprecate not configuring the `default_protocol` option of the `UrlType`, it will default to `null` in 8.0 (the current default is `'http'`)
9
9
* Add a `keep_as_list` option to `CollectionType`
10
10
* Add a new `model_type` option to `MoneyType`, to be able to cast the transformed value to `integer`
0 commit comments