diff --git a/CHANGELOG.md b/CHANGELOG.md index ac947431..9cfd3628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.2.0] + +### Added + +- Add `exactOptional` struct ([#32](https://github.com/MetaMask/superstruct/pull/32)) + - This enables adding strictly optional fields to `object` structs when paired with TypeScript's + `exactOptionalPropertyTypes`. + ## [3.1.0] ### Added @@ -629,7 +637,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release. -[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.2.0...HEAD +[3.2.0]: https://github.com/MetaMask/superstruct/compare/v3.1.0...v3.2.0 [3.1.0]: https://github.com/MetaMask/superstruct/compare/v3.0.0...v3.1.0 [3.0.0]: https://github.com/MetaMask/superstruct/compare/v2.0.0...v3.0.0 [2.0.0]: https://github.com/MetaMask/superstruct/compare/v1.0.0...v2.0.0 diff --git a/package.json b/package.json index 1e7efb7b..d3f0f7e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/superstruct", - "version": "3.1.0", + "version": "3.2.0", "description": "A simple and composable way to validate data in JavaScript (and TypeScript).", "keywords": [ "api",