Skip to content

v0.19.13

Latest

Choose a tag to compare

@kubukoz kubukoz released this 28 Sep 23:28
· 2 commits to series/0.19 since this release
b714b5c

What's Changed

  • dynamic: Add DynamicSchemaIndex.loadModel(model, applySchemaRefinements: Boolean) overload. When applySchemaRefinements = true, constraint traits (@length, @range, @pattern, ...) are reified into schema refinements instead of being kept just as hints, matching the behaviour of codegen-produced schemas.
  • aws: Resolve the SigV4 signing name and the endpoint host independently in #1596. The signing name now comes from aws.auth#sigv4's name, while the host keeps using endpointPrefix, falling back to arnNamespace when it is absent. Both previously used endpointPrefix, so services where the two differ were rejected with "Credential should be scoped to correct service" (#1568), and services without an endpointPrefix derived the host from the operation name, e.g. ListRegions.us-east-1.amazonaws.com (#1532).
  • codegen: Skip traits from the aws.endpoints namespace when generating hints. They have no published Scala bindings, so services carrying them (e.g. the AWS Account API, via aws.endpoints#standardPartitionalEndpoints) generated code that did not compile. This mirrors the existing treatment of smithy.rules.

Full Changelog: v0.19.12...v0.19.13