Skip to content

Commit

Permalink
2.0.0 (#9)
Browse files Browse the repository at this point in the history
This is the release candidate for version 2.0.0.

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Maarten Zuidhoorn <[email protected]>
Co-authored-by: Elliot Winkler <[email protected]>
  • Loading branch information
4 people authored Mar 7, 2024
1 parent 3f5c4b5 commit 803e067
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
50 changes: 32 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
- 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
Expand Down Expand Up @@ -600,21 +613,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release.

[Unreleased]: git://github.com/MetaMask/superstruct/compare/v1.0.0...HEAD
[1.0.0]: git://github.com/MetaMask/superstruct/compare/v0.16.0...v1.0.0
[0.16.0]: git://github.com/MetaMask/superstruct/compare/v0.15.0...v0.16.0
[0.15.0]: git://github.com/MetaMask/superstruct/compare/v0.14.0...v0.15.0
[0.14.0]: git://github.com/MetaMask/superstruct/compare/v0.13.0...v0.14.0
[0.13.0]: git://github.com/MetaMask/superstruct/compare/v0.12.0...v0.13.0
[0.12.0]: git://github.com/MetaMask/superstruct/compare/v0.11.0...v0.12.0
[0.11.0]: git://github.com/MetaMask/superstruct/compare/v0.10.0...v0.11.0
[0.10.0]: git://github.com/MetaMask/superstruct/compare/v0.8.0...v0.10.0
[0.8.0]: git://github.com/MetaMask/superstruct/compare/v0.7.0...v0.8.0
[0.7.0]: git://github.com/MetaMask/superstruct/compare/v0.6.0...v0.7.0
[0.6.0]: git://github.com/MetaMask/superstruct/compare/v0.5.0...v0.6.0
[0.5.0]: git://github.com/MetaMask/superstruct/compare/v0.4.0...v0.5.0
[0.4.0]: git://github.com/MetaMask/superstruct/compare/v0.3.0...v0.4.0
[0.3.0]: git://github.com/MetaMask/superstruct/compare/v0.2.0...v0.3.0
[0.2.0]: git://github.com/MetaMask/superstruct/compare/v0.1.0...v0.2.0
[0.1.0]: git://github.com/MetaMask/superstruct/compare/v0.0.1...v0.1.0
[0.0.1]: git://github.com/MetaMask/superstruct/releases/tag/v0.0.1
[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
[0.14.0]: https://github.com/MetaMask/superstruct/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/MetaMask/superstruct/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/MetaMask/superstruct/compare/v0.11.0...v0.12.0
[0.11.0]: https://github.com/MetaMask/superstruct/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/MetaMask/superstruct/compare/v0.8.0...v0.10.0
[0.8.0]: https://github.com/MetaMask/superstruct/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/MetaMask/superstruct/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/MetaMask/superstruct/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/MetaMask/superstruct/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/MetaMask/superstruct/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/MetaMask/superstruct/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/MetaMask/superstruct/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/MetaMask/superstruct/compare/v0.0.1...v0.1.0
[0.0.1]: https://github.com/MetaMask/superstruct/releases/tag/v0.0.1
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -33,7 +33,7 @@
"validation",
"validator"
],
"repository": "git://github.com/MetaMask/superstruct.git",
"repository": "https://github.com/MetaMask/superstruct.git",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down

0 comments on commit 803e067

Please sign in to comment.