Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update alloy #1253

Merged
merged 6 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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