Skip to content

Releases: disneystreaming/alloy

v0.1.6: Support `nullable` & `defaultValue`

04 Jan 18:37
c12a83c
Compare
Choose a tag to compare

This version of alloy is introducing traits coming from https://github.com/disneystreaming/smithy-translate. Doing so, theses traits will be available for users of alloy. We'll reuse them in smithy-translate.

nullable

Smithy does not make a distinction between a missing value and null but some Interface Definition Languages (IDL) can. This trait can be used to express this distinction. We use it in Smithy translate to model the conversion from openapi and json-schema.

defaultValue

Smithy 2.0 introduces the @default trait but this trait is restrictive and can't be used in some use case. For example, you can use @DefaultValue to set a default of "N/A" on a String that's constrained with the length trait to a minimum of 5 characters. Smithy's @default trait won't allow that. We use it in Smithy translate to model the conversion from openapi and json-schema.

What's Changed

Full Changelog: v0.1.5...v0.1.6

v0.1.5: `dateFormat` and `openapiExtensions`

19 Dec 18:40
7973e0b
Compare
Choose a tag to compare

We've introduced two new minor traits to allow you to write more accurate Smithy specs:

  • @dateFormat: to specify that a String is formatted as a RFC 3339 date (no time component)
  • @openapiExtensions: to encode Open API extensions in your Smithy specifications

These two traits will be used in an upcoming disneystreaming/smithy-translate release.

What's Changed

Full Changelog: v0.1.4...v0.1.5

v0.1.4: Publish Protocol Tests Java Module

16 Dec 19:25
6455f3c
Compare
Choose a tag to compare
Merge pull request #41 from disneystreaming/protocol-publishing

changed protocol tests module type

v0.1.3: Protocol Tests

16 Dec 16:15
855c46c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.2...v0.1.3

v0.1.2: Bug fixes

17 Nov 18:25
18c9e1a
Compare
Choose a tag to compare

Patch release that includes a bug fix where enum member annotated with protoIndex were not validated.

What's Changed

v0.1.1: Improving validation

15 Nov 20:27
47cdd80
Compare
Choose a tag to compare

This release includes a few changes that improves validation when using different Smithy annotation included in this repository:

  • when use simpleRestJson, the shapes using Timestamp will need to have a timestampFormat specified
  • the protoIndex validation is now stricter and enforces consistency of index numbers inside of referenced Union shapes. this change comes hand-in-hand with smithy-translate changes

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.1.1

v0.1.0 : Initial release

28 Oct 09:30
ab68495
Compare
Choose a tag to compare

Re-tagging as crucial information was missing for release.