Skip to content

v0.18.9 : support for alloy#nullable

Compare
Choose a tag to compare
@Baccata Baccata released this 27 Feb 14:13
· 217 commits to series/0.18 since this release
9f2dbcb

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

New Contributors

Full Changelog: v0.18.8...v0.18.9