Skip to content

v0.16.3 - bug fixes, improvements

Compare
Choose a tag to compare
@kubukoz kubukoz released this 07 Oct 23:05
71fbf89

Bug fixes, user-facing changes

Generate tests from test traits by @daddykotex in #424

image

This is a huge improvement for Smithy4s and its participation in the Smithy ecosystem in general - now it is possible to test your implementation of a HTTP client against tests provided by the protocol implementation. It will be hugely helpful when we get to the implementation of @restJson1 support. If you're implementing support for a protocol, check out the docs for this feature.

Server-side support is in the plans - keep an eye out for future releases.

Add smithy4s models to upstream model validation by @Baccata in #462

This resolves an issue in sharing specifications where smithy4s's own Smithy models wouldn't be seen by the code generation process in some cases.

Decline: add native support by @kubukoz in #475

The Decline module now supports Scala Native.

Added ModelTransformer to flatten and merge all mixins in the model by @yisraelU in #463

This fixes an issue in the dynamic module, so that it correctly handles mixins and apply in the model .

Fix codegen resource outputs for Smithy files in subdirectories by @kubukoz in #485

Fixes an issue with generating sources from Smithy files located in sub-directories of the main Smithy input directory (regression from earlier 0.16.x releases). The PR introduced a regression but it's been since fixed in #495 by @kubukoz.

Remove stale generated resource directories by @kubukoz in #487

Fixes an issue where a module's codegen might break after changes in its dependencies.

Adds Service as class member to Client builder by @yisraelU in #477

Mostly useful for extending the client builder - the service member of the builder is now exposed as a field.

Opt out of local dependencies by @kubukoz in #491

Adds the ability to opt out of the feature introduced in #432 (smithy4s v0.16.1) If you don't want your module's dependencies to be compiled before you can generate code, you can make that so - check out the docs.

Fix unicode escapes in generated strings by @kubukoz in #499

Fixes an issue where some generated code wouldn't be runnable on Scala Native (namely, DynamoDB's AutoScalingRoleArn).

Bump up smithy version from 1.24.0 to 1.25.1 by @valydia in #478

Internal changes

Library updates

New Contributors

Full Changelog: v0.16.2...v0.16.3