From 106ccc8189c81d10b96b21e82b29f3aa8d36d271 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:36:34 +0100 Subject: [PATCH] 2.0.0 (#16) This is the release candidate for version 2.0.0. --------- Co-authored-by: github-actions Co-authored-by: Maarten Zuidhoorn --- CHANGELOG.md | 16 +++++++++++++++- package.json | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c15dc1c7..0df3722d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] + +### Changed + +- Prepare package for releasing under `@metamask` organisation ([#1](https://github.com/MetaMask/superstruct/pull/1), [#3](https://github.com/MetaMask/superstruct/pull/3), [#4](https://github.com/MetaMask/superstruct/pull/4), [#5](https://github.com/MetaMask/superstruct/pull/5), [#6](https://github.com/MetaMask/superstruct/pull/6), [#7](https://github.com/MetaMask/superstruct/pull/7), [#8](https://github.com/MetaMask/superstruct/pull/8), [#12](https://github.com/MetaMask/superstruct/pull/12), [#15](https://github.com/MetaMask/superstruct/pull/15)) + - The package name is now `@metamask/superstruct`. + - The changelog file has been renamed to `CHANGELOG.md`, and the format has changed to fit MetaMask's changelog style. + +### Fixed + +- **BREAKING:** Expose CommonJS and ESM builds via package manifest `exports` ([#5](https://github.com/MetaMask/superstruct/pull/5)) + - It's no longer possible to import files from the `dist` folder directly. + ## [1.0.0] ### Added @@ -600,7 +613,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release. -[Unreleased]: https://github.com/MetaMask/superstruct/compare/v1.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/superstruct/compare/v2.0.0...HEAD +[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 [0.15.0]: https://github.com/MetaMask/superstruct/compare/v0.14.0...v0.15.0 diff --git a/package.json b/package.json index 09723723..fe62541b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/superstruct", - "version": "1.0.3", + "version": "2.0.0", "description": "A simple and composable way to validate data in JavaScript (and TypeScript).", "keywords": [ "api",