Skip to content

Commit

Permalink
Bump version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich committed May 13, 2020
1 parent 6140d45 commit 0fa2adb
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
# Smithy Changelog

## 1.0.1 (TBD)
## 1.0.1 (2020-05-13)

### Features

* `httpPayload` can now target document shapes.
* The `smithy.api#httpPayload` trait can now target document shapes. ([#431](https://github.com/awslabs/smithy/pull/431))
* Updated the IDL grammar to include many previously enforced parsing rules. ([#434](https://github.com/awslabs/smithy/pull/434))
* Added the `select` command to the CLI to print out shapes from a model that match a selector. ([#430](https://github.com/awslabs/smithy/pull/430))
* Added the `ast` command to the CLI to convert 0 or more Smithy models into a JSON AST. ([#435](https://github.com/awslabs/smithy/pull/435))
* Added a Dockerfile for building Smithy as a Docker image. ([#427](https://github.com/awslabs/smithy/pull/427))

### Optimizations

* The Smithy IDL parser has been rewritten and optimized. ([#434](https://github.com/awslabs/smithy/pull/434))
* Generate a class data share to speed up the CLI. ([#429](https://github.com/awslabs/smithy/pull/429))

### Bug Fixes

* Fix several ambiguities and issues in the IDL grammar. ([#434](https://github.com/awslabs/smithy/pull/434))
* JSON pretty printing of the AST now uses 4 spaces for indentation. ([#435](https://github.com/awslabs/smithy/pull/435))
* Fix CLI `--help` output alignment. ([#429](https://github.com/awslabs/smithy/pull/429))

## 1.0.0 (2020-05-04)

Expand All @@ -16,7 +31,7 @@ the end of this entry.

#### General

* The model format version has beeen updated to `1.0` and contains several updates: [BC] ([#357](https://github.com/awslabs/smithy/pull/357), [#381](https://github.com/awslabs/smithy/pull/381))
* The model format version has been updated to `1.0` and contains several updates: [BC] ([#357](https://github.com/awslabs/smithy/pull/357), [#381](https://github.com/awslabs/smithy/pull/381))
* The JSON AST representation requires describing annotation traits as `{}` instead of `true`.
* Annotation traits in the IDL are now provided as `@foo` or `@foo()`. Explicit `@foo(true)` and
`@foo(null)` support was removed.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
12 changes: 6 additions & 6 deletions docs/source/1.0/guides/building-models/gradle-plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ The following example ``build.gradle.kts`` will build a Smithy model using a
}

dependencies {
implementation("software.amazon.smithy:smithy-model:1.0.0")
implementation("software.amazon.smithy:smithy-model:1.0.1")

// These are just examples of dependencies. This model has a dependency on
// a "common" model package and uses the external AWS traits.
implementation("com.foo.baz:foo-model-internal-common:1.0.0")
implementation("software.amazon.smithy:smithy-aws-traits:1.0.0")
implementation("software.amazon.smithy:smithy-aws-traits:1.0.1")
}


Expand Down Expand Up @@ -193,7 +193,7 @@ build that uses the "external" projection.
mavenCentral()
}
dependencies {
classpath("software.amazon.smithy:smithy-aws-traits:1.0.0")
classpath("software.amazon.smithy:smithy-aws-traits:1.0.1")

// Take a dependency on the internal model package. This
// dependency *must* be a buildscript only dependency to ensure
Expand All @@ -217,12 +217,12 @@ build that uses the "external" projection.
}

dependencies {
implementation("software.amazon.smithy:smithy-model:1.0.0")
implementation("software.amazon.smithy:smithy-model:1.0.1")

// Any dependencies that the projected model needs must be (re)declared
// here. For example, let's assume that the smithy-aws-traits package is
// needed in the projected model too.
implementation("software.amazon.smithy:smithy-aws-traits:1.0.0")
implementation("software.amazon.smithy:smithy-aws-traits:1.0.1")
}


Expand Down Expand Up @@ -345,7 +345,7 @@ The above Smithy plugin also requires a ``buildscript`` dependency in

// This dependency is required in order to apply the "openapi"
// plugin in smithy-build.json
classpath("software.amazon.smithy:smithy-openapi:1.0.0")
classpath("software.amazon.smithy:smithy-openapi:1.0.1")
}
}

Expand Down
8 changes: 4 additions & 4 deletions docs/source/1.0/guides/converting-to-openapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ specification from a Smithy model using a buildscript dependency:
buildscript {
dependencies {
classpath("software.amazon.smithy:smithy-openapi:1.0.0")
classpath("software.amazon.smithy:smithy-openapi:1.0.1")
}
}
Expand All @@ -142,7 +142,7 @@ that builds an OpenAPI specification from a service for the
.. important::

A buildscript dependency on "software.amazon.smithy:smithy-openapi:1.0.0" is
A buildscript dependency on "software.amazon.smithy:smithy-openapi:1.0.1" is
required in order for smithy-build to map the "openapi" plugin name to the
correct Java library implementation.

Expand Down Expand Up @@ -634,7 +634,7 @@ dependency on ``software.amazon.smithy:smithy-aws-apigateway-openapi``.
buildscript {
dependencies {
classpath("software.amazon.smithy:smithy-aws-apigateway-openapi:1.0.0")
classpath("software.amazon.smithy:smithy-aws-apigateway-openapi:1.0.1")
}
}
Expand Down Expand Up @@ -1073,7 +1073,7 @@ shows how to install ``software.amazon.smithy:smithy-openapi`` through Gradle:
buildscript {
dependencies {
classpath("software.amazon.smithy:smithy-openapi:1.0.0")
classpath("software.amazon.smithy:smithy-openapi:1.0.1")
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/source/1.0/guides/model-linters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ to a ``build.gradle.kts`` file:
.. code-tab:: kotlin

dependencies {
implementation("software.amazon.smithy:smithy-model:1.0.0")
implementation("software.amazon.smithy:smithy-linters:1.0.0")
implementation("software.amazon.smithy:smithy-model:1.0.1")
implementation("software.amazon.smithy:smithy-linters:1.0.1")
}

After the dependency is added and available on the Java classpath, validators
Expand Down

0 comments on commit 0fa2adb

Please sign in to comment.