Skip to content

Commit

Permalink
Merge pull request #1253 from disneystreaming/update-alloy
Browse files Browse the repository at this point in the history
Update alloy
  • Loading branch information
Baccata authored Oct 9, 2023
2 parents de654f3 + ea46dfb commit 9a46b36
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## PR Checklist (not all items are relevant to all PRs)

- [] Added unit-tests (for runtime code)
- [] Added bootstrapped code + smoke tests (when the rendering logic is modified)
- [] Added build-plugins integration tests (when reflection loading is required at codegen-time)
- [] Added alloy compliance tests (when simpleRestJson protocol behaviour is expanded/updated)
- [] Updated dynamic module to match generated-code behaviour
- [] Added documentation
- [] Updated changelog
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

In 0.18.0, support was added for [open enums](https://disneystreaming.github.io/smithy4s/docs/codegen/customisation/open-enums) in smithy4s-generated code. This release extends that support to runtime (dynamic) schemas.

## Fixed a bug preventing a model pre-processor from being exercised

This model-preprocessor aims at removing constraints from output types in AWS specs (as AWS doesn't seem to respect said constraints)
https://github.com/disneystreaming/smithy4s/pull/1251

# 0.18.0

## Behavioural changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@
"headers": {
"X-ADDED-AT": {
"schema": {
"type": "number"
"type": "string",
"format": "epoch-seconds"
},
"required": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ lazy val root = (project in file("."))
val expectedLines = Set(
"version",
"src/main/smithy",
"com.disneystreaming.alloy:alloy-core:0.2.7"
"com.disneystreaming.alloy:alloy-core:0.2.8"
)
val content =
IO.readLines(baseDirectory.value / "smithy-build.json")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lazy val root = project
"version",
"src/main/smithy",
"software.amazon.smithy:smithy-waiters:1.38.0",
"com.disneystreaming.alloy:alloy-core:0.2.7",
"com.disneystreaming.alloy:alloy-core:0.2.8",
"com.disneystreaming.smithy4s:smithy4s-protocol:",
"custom",
"attribute"
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object Dependencies {

val Alloy = new {
val org = "com.disneystreaming.alloy"
val alloyVersion = "0.2.7"
val alloyVersion = "0.2.8"
val core = org % "alloy-core" % alloyVersion
val openapi = org %% "alloy-openapi" % alloyVersion
val `protocol-tests` = org % "alloy-protocol-tests" % alloyVersion
Expand Down

0 comments on commit 9a46b36

Please sign in to comment.