Skip to content

Commit 106ccc8

Browse files
github-actions[bot]github-actionsMrtenz
authored
2.0.0 (#16)
This is the release candidate for version 2.0.0. --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
1 parent 01426ad commit 106ccc8

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.0]
11+
12+
### Changed
13+
14+
- 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))
15+
- The package name is now `@metamask/superstruct`.
16+
- The changelog file has been renamed to `CHANGELOG.md`, and the format has changed to fit MetaMask's changelog style.
17+
18+
### Fixed
19+
20+
- **BREAKING:** Expose CommonJS and ESM builds via package manifest `exports` ([#5](https://github.com/MetaMask/superstruct/pull/5))
21+
- It's no longer possible to import files from the `dist` folder directly.
22+
1023
## [1.0.0]
1124

1225
### Added
@@ -600,7 +613,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
600613

601614
- Initial release.
602615

603-
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v1.0.0...HEAD
616+
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v2.0.0...HEAD
617+
[2.0.0]: https://github.com/MetaMask/superstruct/compare/v1.0.0...v2.0.0
604618
[1.0.0]: https://github.com/MetaMask/superstruct/compare/v0.16.0...v1.0.0
605619
[0.16.0]: https://github.com/MetaMask/superstruct/compare/v0.15.0...v0.16.0
606620
[0.15.0]: https://github.com/MetaMask/superstruct/compare/v0.14.0...v0.15.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/superstruct",
3-
"version": "1.0.3",
3+
"version": "2.0.0",
44
"description": "A simple and composable way to validate data in JavaScript (and TypeScript).",
55
"keywords": [
66
"api",

0 commit comments

Comments
 (0)