v0.18.9 : support for alloy#nullable
Features
Support for alloy#nullable
This release adds support for alloy#nullable
. This trait can be used to signal the fact that the absence of value in a serialised payload and the presence of an explicit null
value in a similar payload have different meanings. In particular, this is useful in the case of json-merge-patch, where null
denotes that a value ought to be removed, and the absence of value denotes that a value ought to stay the same.
See https://github.com/disneystreaming/smithy4s/pulls?q=is%3Apr+is%3Aclosed
Allow for customising whether XML attributes should be escaped during serialisation
AWS protocols escape xml attributes to be escaped. However, the fact that XML attributes are quoted implies that the escaping is not always necessary. In some usecases (notably ivy.xml), the escaping results in invalid payloads. Therefore, an option is added to customise the behaviour, and the default is now set to non-escaped XML attributes.
See #1410
Other
- fix infinite recursion when calling Bijection.identity by @benoitlouy in #1401
- Support dynamic status code in error responses by @miguel-vila in #1399
- Update jsoniter-scala-macros to 2.28.1 by @scala-steward in #1394
- Update swagger-ui-dist to 5.11.0 by @scala-steward in #1366
- Add changelog entry and test for bijection fix by @daddykotex in #1403
- Document/Hints/Schema convenience methods by @Baccata in #1404
- Update jsoniter-scala-macros to 2.28.2 by @scala-steward in #1412
- Update upickle to 3.1.5 by @scala-steward in #1413
- Update coursier to 2.1.9 by @scala-steward in #1414
- Update kind-projector to 0.13.3 by @scala-steward in #1417
- Update swagger-ui-dist to 5.11.8 by @scala-steward in #1418
- Add support for @nullable trait in order to support MergePatch usecases by @astridej in #1408
- Update aws smithy version by @miguel-vila in #1419
New Contributors
- @benoitlouy made their first contribution in #1401
- @astridej made their first contribution in #1408
Full Changelog: v0.18.8...v0.18.9