Releases: VirtusLab/scala-yaml
Releases · VirtusLab/scala-yaml
v0.3.0
What's Changed
-
Fix YamlDecoder and NaN tag by @sideeffffect in #330
This reverts the change where parsing toAny
will always yieldDouble
for decimal numbers to previous behaviour of yieldingFloat
if the precision is not lost. -
Scala-yaml will now preserve order of keys when parsing and printing yaml by @lbialy in #334
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- Fixed a bug (#314) where decoding as Any lost precision due to preference of Float over Double. Side effect of this change is that this is a breaking change as all decimal numbers in range of double precision will be parsed as Double instead of Float.
- Fixed a bug (#313) where an ellipsis was parsed as a document end marker even when it was a part of a value in a mapping.
- Fixed a bug (#281) where newlines were escaped in literal scalar blocks.
- Fixed a bug (#258) where backslashes were escaped in single-quoted strings.
- Fixed a build configuration bug (#228) which caused publishing of scaladocs for integration tests module.
- Fixed a bug (#222) where some valid numeric values were not parsed as numeric types.
- Fixed a bug (#216) where non-printable characters were not escaped into their readable form when printing yaml.
- Provided an improved error message for #120 which occurs when a !!null tag is encountered where a non-optional type is expected in target structure.
- Fixed a bug (#86) where mapping without a value was not parsed correctly.
- Fixed parsing of folded scalar values reported as bug #60, now folded scalars are parsed according to the spec.
- Added a new feature allowing to use default parameter values in deserialization to case classes for which YamlCodec or YamlDecoder is derived (#215).
New Contributors
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
- README: improve link to guide by @Flowdalic in #237
- Update scala-library to 2.13.13 by @scala-steward in #267
- Minor readme adjustments by @SethTisue in #273
- Update sbt-scalafix to 0.12.0 by @scala-steward in #268
- Update munit to 1.0.0-M11 by @scala-steward in #263
- Update os-lib to 0.9.3 by @scala-steward in #260
- Update sbt-scalafmt to 2.5.2 by @scala-steward in #244
- Update sbt-ci-release to 1.5.12 by @scala-steward in #223
- Update sbt to 1.8.3 by @scala-steward in #225
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @scala-steward in #235
- Update sbt-scala-native-crossproject, ... to 1.3.2 by @scala-steward in #236
- Bump actions/checkout from 3 to 4 by @dependabot in #241
- Update nscplugin, sbt-scala-native, ... to 0.4.17 by @scala-steward in #262
- Update sbt-scalajs, scalajs-compiler, ... to 1.15.0 by @scala-steward in #277
- Update sbt to 1.9.9 by @scala-steward in #278
- Bump release-drafter/release-drafter from 5 to 6 by @dependabot in #280
- Bump actions/setup-java from 3 to 4 by @dependabot in #279
- Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 by @scala-steward in #282
- Update os-lib to 0.10.0 by @scala-steward in #285
- Update nscplugin, sbt-scala-native to 0.5.0 by @scala-steward in #284
- Update pprint to 0.9.0 by @scala-steward in #286
- Update auxlib, clib, javalib, nativelib, ... to 0.5.1 by @scala-steward in #287
- Update munit to 1.0.0-M12 by @scala-steward in #288
- Update sbt-typelevel-no-publish to 0.7.0 by @scala-steward in #289
- Update munit to 1.0.0-RC1 by @scala-steward in #290
- Update sbt to 1.10.0 by @scala-steward in #293
- Update scala-library to 2.13.14 by @scala-steward in #292
- Update sbt-scalafix to 0.12.1 by @scala-steward in #291
- Update sbt-typelevel-no-publish to 0.7.1 by @scala-steward in #294
- Update scala3-library, ... to 3.3.3 by @scala-steward in #269
- Bump peaceiris/actions-gh-pages from 3 to 4 by @dependabot in #283
- Update os-lib to 0.10.1 by @scala-steward in #297
- Update munit to 1.0.0 by @scala-steward in #298
- Fix parsing numbers by @sideeffffect in #299
- Update auxlib, clib, javalib, nativelib, ... to 0.5.2 by @scala-steward in #302
- Reuse the existing decoders by @sideeffffect in #301
- Make YamlError an Exception, makes for easier interop by @sideeffffect in #300
New Contributors
- @Flowdalic made their first contribution in #237
- @SethTisue made their first contribution in #273
- @sideeffffect made their first contribution in #299
Full Changelog: v0.0.8...v0.1.0
v0.0.8
What's Changed
- Update scala3-library, ... to 3.3.0 by @scala-steward in #227
- Parses a nonexistent key as None by @andrelfpinto in #234
New Contributors
- @andrelfpinto made their first contribution in #234
Full Changelog: v0.0.7...v0.0.8
v0.0.7
_____ _ __ __ _
/ ____| | | \ \ / / | |
| (___ ___ __ _| | __ _ \ \_/ /_ _ _ __ ___ | |
\___ \ / __/ _` | |/ _` | \ / _` | '_ ` _ \| |
____) | (_| (_| | | (_| | | | (_| | | | | | | |
|_____/ \___\__,_|_|\__,_| |_|\__,_|_| |_| |_|_|
What's Changed
- Issue #220 - do not convert quoted strings into other primitive types by @winitzki in #221
- Update sbt to 1.7.3 by @scala-steward in #190
- Bump coursier/cache-action from 6.3 to 6.4 by @dependabot in #187
- Update scala-library to 2.13.10 by @scala-steward in #183
- Update sbt-scalafix to 0.10.4 by @scala-steward in #180
- Update sbt-scalajs, scalajs-compiler, ... to 1.11.0 by @scala-steward in #182
- Update sbt-ci-release to 1.5.11 by @scala-steward in #186
- Update sbt-typelevel-no-publish to 0.4.16 by @scala-steward in #185
- Update pprint to 0.8.0 by @scala-steward in #181
- Update sbt to 1.8.0 by @scala-steward in #193
- Do not accept invalid sequence as mapping value by @kpodsiad in #194
- small tweaks in tokenizer by @kpodsiad in #195
- Update scala3-library, ... to 3.2.1 by @scala-steward in #191
- Update sbt-scalafmt to 2.5.0 by @scala-steward in #196
- Update sbt-typelevel-no-publish to 0.4.17 by @scala-steward in #197
- Update sbt-typelevel-no-publish to 0.4.20 by @scala-steward in #219
- Update sbt-scala-native-crossproject, ... to 1.3.1 by @scala-steward in #218
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.1 by @scala-steward in #217
- Update nscplugin, sbt-scala-native, ... to 0.4.12 by @scala-steward in #213
- Update os-lib to 0.9.1 by @scala-steward in #211
- Update scala3-library, ... to 3.2.2 by @scala-steward in #209
- Update sbt to 1.8.2 by @scala-steward in #204
- Update pprint to 0.8.1 by @scala-steward in #202
- Update munit to 1.0.0-M7 by @scala-steward in #198
New Contributors
Full Changelog: v0.0.6...v0.0.7
v0.0.6
_____ _ __ __ _
/ ____| | | \ \ / / | |
| (___ ___ __ _| | __ _ \ \_/ /_ _ _ __ ___ | |
\___ \ / __/ _` | |/ _` | \ / _` | '_ ` _ \| |
____) | (_| (_| | | (_| | | | (_| | | | | | | |
|_____/ \___\__,_|_|\__,_| |_|\__,_|_| |_| |_|_|
What's Changed
This release consists only minor fix with publishing empty jar to maven. Fixed by @armanbilge in #178, thanks to him!
🐛 Bug Fixes
- Build: minor tweaks @kpodsiad (#174)
- No-publish the root @armanbilge (#178)
Full Changelog: v0.0.5...v0.0.6
v0.0.5
_____ _ __ __ _
/ ____| | | \ \ / / | |
| (___ ___ __ _| | __ _ \ \_/ /_ _ _ __ ___ | |
\___ \ / __/ _` | |/ _` | \ / _` | '_ ` _ \| |
____) | (_| (_| | | (_| | | | (_| | | | | | | |
|_____/ \___\__,_|_|\__,_| |_|\__,_|_| |_| |_|_|
What's Changed
🚀 Features
- Cross-build for Scala 2.13 @armanbilge (#162)
- Reenable Scala 3 Native build, drop to Scala 3.1.3 @keynmol (#169)
- Cross compile to native @kpodsiad (#125)
🐛 Bug Fixes
- Fix
Option
parsing @kpodsiad (#128) - Do not publish for 2.12 @kpodsiad (#124)
- Remove node using modify API @lwronski (#126)
📖 Docs
New Contributors
- @scala-steward made their first contribution in #115
- @armanbilge made their first contribution in #162
- @keynmol made their first contribution in #169
Full Changelog: v0.0.4...v0.0.5
v0.0.4
_____ _ __ __ _
/ ____| | | \ \ / / | |
| (___ ___ __ _| | __ _ \ \_/ /_ _ _ __ ___ | |
\___ \ / __/ _` | |/ _` | \ / _` | '_ ` _ \| |
____) | (_| (_| | | (_| | | | (_| | | | | | | |
|_____/ \___\__,_|_|\__,_| |_|\__,_|_| |_| |_|_|
What's Changed
🚀 Features
- Add API for modify Node @lwronski (#99)
- Add tags to nodes @kpodsiad (#98)
- Support for parsing anchor/tag in mapping @lwronski (#97)
- Parse TAG directives and node tag attribute @kpodsiad (#95)
- Parsing anchors & aliases @kpodsiad (#89)
- Add more support for flow collections @kpodsiad (#80)
- Add convenient way to create YAML nodes in code @kpodsiad (#72)
- Add incremental processing for parsed events @kpodsiad (#71)
🐛 Bug Fixes
- Validate key in mapping - not allow to multine in simple key @lwronski (#93)
- Fix parsing anchor in mapping block @lwronski (#91)
- Fix parsing empty lines at the end @lwronski (#84)
- Fix parsing implicit block key @lwronski (#83)
- Fix parsing double quoted scalar @kpodsiad (#82)
Full Changelog: v0.0.3...v0.0.4
v0.0.3
_____ _ __ __ _
/ ____| | | \ \ / / | |
| (___ ___ __ _| | __ _ \ \_/ /_ _ _ __ ___ | |
\___ \ / __/ _` | |/ _` | \ / _` | '_ ` _ \| |
____) | (_| (_| | | (_| | | | (_| | | | | | | |
|_____/ \___\__,_|_|\__,_| |_|\__,_|_| |_| |_|_|
What's Changed
🚀 Features
- Parse new lines for plain scalar style @lwronski (#66)
- Improve error messages @kpodsiad (#49)
- Skip escaping character for double quote scalars @lwronski (#64)
- Reader position @kpodsiad (#47)
- Cross compile scalayaml to scala-js @kpodsiad (#44)
- YamlCodec @kpodsiad (#28)
🐛 Bug Fixes
- Include new lines for single quote style @lwronski (#65)
- Bugfix/Fix parsing new lines for literal style @lwronski (#61)
- Should skip the empty line at the end for folded value @lwronski (#58)