Skip to content

Releases: smithy-lang/smithy

Smithy CLI v1.33.0

23 Jun 19:26
7affd02
Compare
Choose a tag to compare

1.33.0 (2023-06-21)

Features

  • Extended event ids for AddedOperationError, RemovedOperationError, AddedEntityBinding and RemovedEntityBinding diff events (#1797, #1803)
  • Added enum values to ids for ChangedEnumTrait diff events (#1807)
  • Added init command to Smithy CLI (#1802, #1825, #1832)
  • Added smithy-syntax package and smithy format command to Smithy CLI (#1830)

Bug Fixes

  • Fixed duplicated events for ChangedNullability alongside the AddedInputTrait / RemovedInputTrait (#1806)
  • Updated request compression trait protocol tests with regard to HTTP bindings and respective specification (#1831)

Documentation

  • Added smithy-dafny to code generators table (#1813)
  • Updated stale docs around MissingPaginatedTrait (#1814)
  • Fixed grammar rendering (#1815)
  • Updated recommendation for HTTP status code (#1818)
  • Fixed selector example (#1824)
  • Added note about how constraint traits affect backward compatibility (#1826)
  • Added guide on disabling authentication (#1791)

Smithy CLI v1.32.0

08 Jun 18:51
24abf76
Compare
Choose a tag to compare

1.32.0 (2023-06-06)

Features

  • Refactor parsing and validation of list and map shapes. This improved validation output when unexpected members were present in these shapes (#1782)
  • Updated smithy-build to output projection failures only after all plugins finish running (failed or otherwise) (#1762)
  • Added new pluggable validation-event decorator capability. This allows for customizing of validation events through a service provider interface (#1774)
  • Added new diff-evaluator to emit events for when the @required trait is added to existing structures without a default (##1781)
  • Improved validation output for @default collisions (#1780)
  • Updated @httpQuery trait validation to prevent query-literal and query-param conflicts (#1786)
  • Updated default pagination flags to improve missing-pagination validation (#1764)
  • Updated SdkServiceIdValidator to emit DANGER events instead of ERROR events (#1772)
  • Updated ChangedEnumTrait evaluator to include specific ids, in order to differentiate specific events (#1787)
  • Added protocol tests to validate http-label escaping in the restXml protocol (#1759)
  • Added support for @externalDocs trait when converting operations in the OpenAPI converter (#1767)
  • Updated a handful of specifications in the smithy-grammar to improve parsability (#1788, #1790, #1792, #1793, #1800)

Bug Fixes

  • Fixed migrate CLI command to properly upgrade 1/1.0 models to 2/2.0 (#1579, #1769)
  • Fixed application of enum-mixins on empty enums (#1794)
  • Fixed handling of dangling doc-comments in structures (#1776)
  • Fixed several smithy-grammar typos and consistency issues (#1783)

Documentation

  • Added a warning about the limitations of request-validation in API-Gateway (#1765)
  • Updated CLI installation guide for Windows to be more idiomatic (#1757)
  • Updated protocol documentation pages to indicate support for the @requestCompression trait (#1763)

Smithy CLI v1.31.0

01 May 14:57
2b647ab
Compare
Choose a tag to compare

1.31.0 (2023-04-25)

Features

  • Added @requestCompression trait which indicates whether an operation supports compressed requests (#1748)
  • Improved IDL parser and added basic error recovery (#1733)
  • Added restJson1 protocol test for a list of structures missing a required key (#1735)
  • Added ability to order the output of the IDL serializer (#1727)

Bug Fixes

  • Updated conversion from string shape with @enum trait to enum shape to convert internal tag to @internal trait (#1739)

Documentation

  • Added documentation for changeStringEnumsToEnumShapes transformation (#1740)

Smithy CLI v1.30.0

13 Apr 18:18
c24a2ce
Compare
Choose a tag to compare

1.30.0 (2023-04-10)

Features

  • Updated smithy-diff and smithy-build to use pretty validation output and color theming options (#1712)
  • Added --mode flag to smithy diff command with support for aribtrary, project, and git modes
    (#1724, #1721, #1718)
  • Added --flatten flag to AST command which flattens and removes mixins from the model (#1723)
  • Expose functions to make ruleEvaluator more flexible to support coverage checking (#1681)

Bug Fixes

  • Updated mixins to allow multiple mixins to override the same member if they all target the same shape (#1715)
  • Fixed an issue where source file names impacted the ordering of metadata (#1716)
  • Fixed error messages for invalid operation input/output bindings (#1728)
  • Fixed bugs in smithy-rules-engine boolEquals and stringEquals which could cause unexpected results when visitors are
    invoked (#1681)
  • Remove unnecessary member from aws.iam#actionName (#1726)

Documentation

  • Added guide on how to install the Smithy CLI (#1697)
  • Added examples of how smithy validators can be used to prevent common bugs and enforce common style (#1702)
  • Added clarification on meaning and use of @httpApiKeyAuth scheme property (#1714)
  • Reduced IDL ambiguity by replacing *SP with [SP] (#1711)