Smithy CLI v1.32.0
smithy-automation
released this
08 Jun 18:51
·
605 commits
to main
since this release
1.32.0 (2023-06-06)
Features
- Refactor parsing and validation of
list
andmap
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 emitDANGER
events instead ofERROR
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)