Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 242e47c

Browse files
committed
[Yaml] sync changelog and upgrade files
1 parent e0f5ffc commit 242e47c

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)