Skip to content

Commit 4a2a7b0

Browse files
github-actions[bot]github-actionsMajorLift
authored
3.0.0 (#24)
This is the release candidate for version 3.0.0 (previously submitted as #20). --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>
1 parent 3eb8b63 commit 4a2a7b0

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [3.0.0]
11+
1012
### Added
1113

12-
- Newly exports the following types: `AnyStruct`, `EnumSchema`, `InferStructTuple`, `IsExactMatch`, `IsMatch`, `IsRecord`, `IsTuple`, `ObjectSchema`, `OmitBy`, `Optionalize`, `PickBy`, `Simplify`, `UnionToIntersection`.
14+
- 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)).
15+
16+
### Fixed
17+
18+
- **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))
1319

1420
## [2.0.0]
1521

@@ -617,7 +623,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
617623

618624
- Initial release.
619625

620-
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v2.0.0...HEAD
626+
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.0.0...HEAD
627+
[3.0.0]: https://github.com/MetaMask/superstruct/compare/v2.0.0...v3.0.0
621628
[2.0.0]: https://github.com/MetaMask/superstruct/compare/v1.0.0...v2.0.0
622629
[1.0.0]: https://github.com/MetaMask/superstruct/compare/v0.16.0...v1.0.0
623630
[0.16.0]: https://github.com/MetaMask/superstruct/compare/v0.15.0...v0.16.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": "2.0.0",
3+
"version": "3.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)