Releases: disneystreaming/alloy
v0.1.6: Support `nullable` & `defaultValue`
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
- Update mill-ci-release to 0.1.5 by @scala-steward in #45
- Update smithy-aws-protocol-tests, ... to 1.27.0 by @scala-steward in #46
- Add nullable & defaultValue by @daddykotex in #44
Full Changelog: v0.1.5...v0.1.6
v0.1.5: `dateFormat` and `openapiExtensions`
We've introduced two new minor traits to allow you to write more accurate Smithy specs:
@dateFormat
: to specify that aString
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
- Add dateFormat trait by @daddykotex in #39
- Add alloy.openapi#openapiExtensions & docs by @daddykotex in #42
Full Changelog: v0.1.4...v0.1.5
v0.1.4: Publish Protocol Tests Java Module
Merge pull request #41 from disneystreaming/protocol-publishing changed protocol tests module type
v0.1.3: Protocol Tests
What's Changed
- Create .mergify.yml by @daddykotex in #21
- Update mill-tpolecat to 0.3.1 by @scala-steward in #22
- Update munit, munit-scalacheck to 1.0.0-M7 by @scala-steward in #23
- Update cats-core to 2.9.0 by @scala-steward in #25
- Update scalafmt-core to 3.5.9 by @scala-steward in #24
- Update scalafmt-core to 3.6.1 by @scala-steward in #27
- Update scala-collection-compat to 2.9.0 by @scala-steward in #26
- Update header-mill-plugin to 0.0.2 by @scala-steward in #29
- Update mill-main to 0.10.10 by @scala-steward in #30
- Update mill-ci-release to 0.1.4 by @scala-steward in #31
- SimpleRestJson doc fix by @yisraelU in #32
- alloy-openapi is a Scala module by @daddykotex in #34
- Fix remaining code fences by @kubukoz in #35
- Compliance test by @yisraelU in #28
- Update scala-library to 2.13.10 by @scala-steward in #37
- Update scala-library to 2.12.17 by @scala-steward in #36
- Tweak val name to help scala steward by @daddykotex in #38
New Contributors
- @scala-steward made their first contribution in #22
- @kubukoz made their first contribution in #35
Full Changelog: v0.1.2...v0.1.3
v0.1.2: Bug fixes
Patch release that includes a bug fix where enum
member annotated with protoIndex
were not validated.
What's Changed
- Check proto index on the enum fields by @daddykotex in #20
Full Changelog: v0.1.1...v0.1.2
v0.1.1: Improving validation
This release includes a few changes that improves validation when using different Smithy annotation included in this repository:
- when use
simpleRestJson
, the shapes usingTimestamp
will need to have atimestampFormat
specified - the
protoIndex
validation is now stricter and enforces consistency of index numbers inside of referencedUnion
shapes. this change comes hand-in-hand with smithy-translate changes
What's Changed
- move publishing back to lib by @lewisjkl in #14
- chore(deps): bump mill-ci-release to 0.1.3 by @ckipp01 in #15
- timestamp validator by @yisraelU in #18
- Tweak protoIndex validation to check union member by @daddykotex in #19
New Contributors
- @ckipp01 made their first contribution in #15
- @yisraelU made their first contribution in #18
- @daddykotex made their first contribution in #19
Full Changelog: v0.1.0...v0.1.1
v0.1.0 : Initial release
Re-tagging as crucial information was missing for release.