From b1c820d34615bcc7316b2a0164d2066069806e65 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Wed, 29 May 2024 18:46:23 -0400 Subject: [PATCH] Update changelog --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2415815..3d132a8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.0] + ### Added -- Newly exports the following types: `AnyStruct`, `EnumSchema`, `InferStructTuple`, `IsExactMatch`, `IsMatch`, `IsRecord`, `IsTuple`, `ObjectSchema`, `OmitBy`, `Optionalize`, `PickBy`, `Simplify`, `UnionToIntersection`. +- Newly exports the following types: `AnyStruct`, `EnumSchema`, `InferStructTuple`, `IsExactMatch`, `IsMatch`, `IsRecord`, `IsTuple`, `ObjectSchema`, `OmitBy`, `Optionalize`, `PickBy`, `Simplify`, `UnionToIntersection` ([#18](https://github.com/MetaMask/superstruct/pull/18)) + +### Changed + +- **BREAKING:** Expose separate build entry points and type declarations for CommonJS and ESM via package manifest `exports`. ([#18](https://github.com/MetaMask/superstruct/pull/18)) + - When imported as a module, this package can now resolve as both CommonJS and ESM. ## [2.0.0] @@ -617,7 +624,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release. -[Unreleased]: https://github.com/MetaMask/superstruct/compare/v2.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.0.0...HEAD +[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 [1.0.0]: https://github.com/MetaMask/superstruct/compare/v0.16.0...v1.0.0 [0.16.0]: https://github.com/MetaMask/superstruct/compare/v0.15.0...v0.16.0