Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit updates the changelog entry for the 1.0.0 release with
contents through PR 394. Breaking changes are annotated with
[BC] or contained in the Breaking Changes section.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Ed. Note: The minor line break issues below are related to copy/paste into the PR description.
1.0.0 (2020-??-??)
Note: Changes marked with "[BC]" are breaking changes more accurately described in the
specific section. A list of further intended breaking changes have a specific section near
the end of this entry.
Features
General
1.0.0
and contains several updates: [BC] (#357, #381){}
instead oftrue
.true
ornull
values.from Smithy
Node
s. (#301)Shape
. (#314)@SmithyUnstableApi
,@SmithyInternalApi
and@SmithyGenerated
Java annotations. (#297)NodeValidationVisitor
s are marked as internal and/or unstable. (#375)Trait updates
the
protocolDefinition
trait. [BC] (#273, #280, #379, #390)the
authDefinition
trait. [BC] (#273, #280)smithy.api#enum
trait is now a list of enum definitions instead of a map of string keys toenum definitions to improve clarity and encourage adding more properties to definitions. [BC] (#326)
aws.api#streaming
trait is now applied to shapes directly instead of members. [BC] (#340)smithy.api#eventStream
trait has been removed. Event streams are now indicated by applyingthe
smithy.api#streaming
trait to unions. [BC] (#365)smithy.api#requiresLength
trait has been split out of thesmithy.api#streaming
trait toimprove clarity around event stream modeling. [BC] (#368)
smithy.api#externalDocumentation
trait is now a map instead of a single string to allow formultiple links per trait. [BC] (#363)
smithy.api#noReplace
trait to indicate a PUT lifecycle operation cannot replace theexisting resource. (#351)
smithy.api#unstable
trait to indicate a shape MAY change. (#290)aws.protocols#httpContentMd5
trait to indicate an operation requrest requires asending a Content-MD5 header. (#372)
aws.api#unsignedPayload
to be an annotation. [BC] (#270)contain those properties when serialized. (#385)
Selector updates
Selectors have received significant updates: (#388)
|
, including list/object values and objectkeys, was added.
trait
relationship has been added. (#384)~>
, has been added. (#386)!=
, was added.>
,>=
,<
,<=
) were added.:each
selector is now:is
for clarity. [BC]Validation updates
UnreferencedShape
validator has moved tosmithy-model
and is now always run. [BC] (#319)JSON Schema conversion
The conversion to JSON schema was significantly overhauled. [BC] (#274)
OpenAPI conversion
The conversion to OpenAPI was significantly overhauled. [BC] (#275)
API Gateway OpenAPI conversion
The API Gateway specific OpenAPI mappers have been updated. [BC] (#367)
ApiGatewayMapper
interface was added, allowing mappers to control which API Gateway APItype(s) they support.
Bug Fixes
conversions. (#275)
apply
statements wouldn't resolve target shapes properly in some cases. (#287)smithy.api#title
trait. (#387)smithy.api#httpApiKeyAuth
trait and its related conversions. (#291)Optimizations
TraitTargetValidator
now performs as few checks on and selections of the entire model. (#389)jackson-core
was replaced with a vendored version ofminimal-json
to reducethe chances of dependency conflicts. [BC] (#323)
reference lookups. (#287)
Breaking changes
BooleanTrait
abstract class insmithy-model
was renamedAnnotationTrait
. (#381)aws.apigateway
namespace have moved fromsmithy-aws-traits
to thesmithy-aws-apigateway-traits
package for more granular use. (#322)aws.iam
namespace have moved fromsmithy-aws-traits
to thesmithy-aws-iam-traits
package for more granular use. (#322)aws.api#ec2QueryName
trait has moved toaws.protocols#ec2QueryName
. (#286)aws.api#unsignedPayload
trait has moved toaws.auth#unsignedPayload
. (#286)smithy-codegen-freemarker
package has been removed. (#382)Pattern
class is renamed toSmithyPattern
to remove the conflict with Java's regexPattern
class. (#315)Triple
class fromsmithy-utils
. (#313)SecurityScemeConverter
implementations. (#291)Deprecation cleanup
NodeFactory
interface has been removed. (#265)ShapeIndex
class and all related APIs have been removed. (#266)0.4.0
model version has been removed. (#267)aws.api#service
trait no longer supports the deprecatedsdkServiceId
,arnService
, orproductName
properties. (#268)TemplateEngine
andDefaultDataTemplateEngine
have been removed. (#268)smithy.validators
andsmithy.suppressions
are no loner used as aliases forvalidators and suppressions. (#268)
smithy.api#references
andsmithy.api#idRef
traits no longer support relative shape IDs. (#268)Documentation
A significant overhaul of the specification and guides has been completed. This includes a better
flow to the spec, more complete guides, deeper documentation of AWS specific components, and a
complete redesign. Many direct links to components of the documentation will have changed.