From 4a2a7b0a77fdb364be6fbdda4c1c8596d24d2dd0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:17:44 -0400 Subject: [PATCH] 3.0.0 (#24) This is the release candidate for version 3.0.0 (previously submitted as #20). --------- Co-authored-by: github-actions Co-authored-by: Jongsun Suh --- CHANGELOG.md | 11 +++++++++-- package.json | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2415815..0420eacc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,15 @@ 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)). + +### Fixed + +- **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)) ## [2.0.0] @@ -617,7 +623,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 diff --git a/package.json b/package.json index 842da800..501b9177 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/superstruct", - "version": "2.0.0", + "version": "3.0.0", "description": "A simple and composable way to validate data in JavaScript (and TypeScript).", "keywords": [ "api",