minor #16662 [Yaml] more fixes to changelog and upgrade files (Christian Flothmann)
This PR was merged into the 2.8 branch.
Discussion
----------
[Yaml] more fixes to changelog and upgrade files
| Q | A
| ------------- | ---
| Fixed tickets | #16433, #16654
| License | MIT
Commits
-------
273ed25
[Yaml] more fixes to changelog and upgrade files
This commit is contained in:
commit
06279791c5
@ -491,5 +491,17 @@ Yaml
|
|||||||
|
|
||||||
* Deprecated usage of a colon in an unquoted mapping value
|
* Deprecated usage of a colon in an unquoted mapping value
|
||||||
* Deprecated usage of `@`, `` ` ``, `|`, and `>` at the beginning of an unquoted string
|
* Deprecated usage of `@`, `` ` ``, `|`, and `>` at the beginning of an unquoted string
|
||||||
* Deprecated non-escaped \ in double-quoted strings when parsing Yaml
|
* When surrounding strings with double-quotes, you must now escape `\` characters. Not
|
||||||
("Foo\Var" is not valid whereas "Foo\\Var" is)
|
escaping those characters (when surrounded by double-quotes) is deprecated.
|
||||||
|
|
||||||
|
Before:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
class: "Foo\Var"
|
||||||
|
```
|
||||||
|
|
||||||
|
After:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
class: "Foo\\Var"
|
||||||
|
```
|
||||||
|
@ -1236,8 +1236,21 @@ UPGRADE FROM 2.x to 3.0
|
|||||||
|
|
||||||
* Using a colon in an unquoted mapping value leads to a `ParseException`.
|
* Using a colon in an unquoted mapping value leads to a `ParseException`.
|
||||||
* Starting an unquoted string with `@`, `` ` ``, `|`, or `>` leads to a `ParseException`.
|
* Starting an unquoted string with `@`, `` ` ``, `|`, or `>` leads to a `ParseException`.
|
||||||
* Deprecated non-escaped \ in double-quoted strings when parsing Yaml
|
* When surrounding strings with double-quotes, you must now escape `\` characters. Not
|
||||||
("Foo\Var" is not valid whereas "Foo\\Var" is)
|
escaping those characters (when surrounded by double-quotes) leads to a `ParseException`.
|
||||||
|
|
||||||
|
Before:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
class: "Foo\Var"
|
||||||
|
```
|
||||||
|
|
||||||
|
After:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
class: "Foo\\Var"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
* The ability to pass file names to `Yaml::parse()` has been removed.
|
* The ability to pass file names to `Yaml::parse()` has been removed.
|
||||||
|
|
||||||
|
@ -6,8 +6,20 @@ CHANGELOG
|
|||||||
|
|
||||||
* Deprecated usage of a colon in an unquoted mapping value
|
* Deprecated usage of a colon in an unquoted mapping value
|
||||||
* Deprecated usage of @, \`, | and > at the beginning of an unquoted string
|
* Deprecated usage of @, \`, | and > at the beginning of an unquoted string
|
||||||
* Deprecated non-escaped \ in double-quoted strings when parsing Yaml
|
* When surrounding strings with double-quotes, you must now escape `\` characters. Not
|
||||||
("Foo\Var" is not valid whereas "Foo\\Var" is)
|
escaping those characters (when surrounded by double-quotes) is deprecated.
|
||||||
|
|
||||||
|
Before:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
class: "Foo\Var"
|
||||||
|
```
|
||||||
|
|
||||||
|
After:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
class: "Foo\\Var"
|
||||||
|
```
|
||||||
|
|
||||||
2.1.0
|
2.1.0
|
||||||
-----
|
-----
|
||||||
|
Reference in New Issue
Block a user