Skip to content

Commit

Permalink
Update release notes wrt #388
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 27, 2023
1 parent e73ab58 commit 7a43b17
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,9 @@ Shauni Arima (ShauniArima@github)
Matteo Giordano (malteo@github)
* Contributed fix for #352: Disabling `CsvParser.Feature.FAIL_ON_MISSING_HEADER_COLUMNS` has no effect
(2.14.1)

Axel Niklasson (axelniklasson@github)

* Contributed #388: (yaml) Add `YAMLParser.Feature.PARSE_BOOLEAN_LIKE_WORDS_AS_STRINGS`
to allow parsing "boolean" words as strings instead of booleans
(2.15.0)
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Active Maintainers:
#373: (yaml) Positive numbers with plus sign not quoted correctly with
`ALWAYS_QUOTE_NUMBERS_AS_STRINGS`
(requested by @dyadyaJora)
#388: (yaml) Add `YAMLParser.Feature.PARSE_BOOLEAN_LIKE_WORDS_AS_STRINGS`
to allow parsing "boolean" words as strings instead of booleans
(contributed by Axel N)
#390: (yaml) Upgrade to Snakeyaml 2.0 (resolves CVE-2022-1471)
(contributed by @pjfanning)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ public enum Feature implements FormatFeature // in 2.9
/**
* Feature that determines whether to parse boolean-like words as strings instead of booleans.
* When enabled, the following words will be parsed as strings instead of booleans: yes, no, on, off.
*
*<p>
* Feature is disabled by default for backwards-compatibility: works the
* same as YAML specification default and previous Jackson versions.
*
* @since 2.15
*/
PARSE_BOOLEAN_LIKE_WORDS_AS_STRINGS(false),
Expand Down

0 comments on commit 7a43b17

Please sign in to comment.