Skip to content

Commit 8b58291

Browse files
committed
minor #16654 [Yaml] sync changelog and upgrade files (xabbuh)
This PR was merged into the 2.8 branch. Discussion ---------- [Yaml] sync changelog and upgrade files | Q | A | ------------- | --- | Fixed tickets | #16433 | License | MIT Commits ------- 062d707 [Yaml] sync changelog and upgrade files
2 parents 9042dc5 + 062d707 commit 8b58291

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

UPGRADE-2.8.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,3 +505,11 @@ Config
505505
Additionally, if you have implemented cache validation strategies *using* `isFresh()`
506506
yourself, you should have a look at the new cache validation system based on
507507
`ResourceChecker`s.
508+
509+
Yaml
510+
----
511+
512+
* Deprecated usage of a colon in an unquoted mapping value
513+
* Deprecated usage of `@`, `` ` ``, `|`, and `>` at the beginning of an unquoted string
514+
* Deprecated non-escaped \ in double-quoted strings when parsing Yaml
515+
("Foo\Var" is not valid whereas "Foo\\Var" is)

UPGRADE-3.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,11 @@ UPGRADE FROM 2.x to 3.0
12281228

12291229
### Yaml
12301230

1231+
* Using a colon in an unquoted mapping value leads to a `ParseException`.
1232+
* Starting an unquoted string with `@`, `` ` ``, `|`, or `>` leads to a `ParseException`.
1233+
* Deprecated non-escaped \ in double-quoted strings when parsing Yaml
1234+
("Foo\Var" is not valid whereas "Foo\\Var" is)
1235+
12311236
* The ability to pass file names to `Yaml::parse()` has been removed.
12321237

12331238
Before:

src/Symfony/Component/Yaml/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ CHANGELOG
44
2.8.0
55
-----
66

7-
* Deprecated usage of @ and \` at the beginning of an unquoted string
7+
* Deprecated usage of a colon in an unquoted mapping value
8+
* Deprecated usage of @, \`, | and > at the beginning of an unquoted string
89
* Deprecated non-escaped \ in double-quoted strings when parsing Yaml
910
("Foo\Var" is not valid whereas "Foo\\Var" is)
1011

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy