diff --git a/CHANGELOG.md b/CHANGELOG.md index c15dc1c7..8fe524a4 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)) + - 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 1d849aba..15010ad5 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",