Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.0]

### Added

- Newly exports the following types: `AnyStruct`, `EnumSchema`, `InferStructTuple`, `IsExactMatch`, `IsMatch`, `IsRecord`, `IsTuple`, `ObjectSchema`, `OmitBy`, `Optionalize`, `PickBy`, `Simplify`, `UnionToIntersection`.
- 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)).

### Fixed

- **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))

## [2.0.0]

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

- Initial release.

[Unreleased]: https://github.com/MetaMask/superstruct/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/MetaMask/superstruct/compare/v2.0.0...v3.0.0
[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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/superstruct",
"version": "2.0.0",
"version": "3.0.0",
"description": "A simple and composable way to validate data in JavaScript (and TypeScript).",
"keywords": [
"api",
Expand Down