Skip to content

Commit 5ebc3db

Browse files
github-actions[bot]github-actionsrekmarksMrtenz
authored
3.2.0 (#34)
This is the release candidate for version 3.2.0. --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
1 parent db04d0b commit 5ebc3db

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [3.2.0]
11+
12+
### Added
13+
14+
- Add `exactOptional` struct ([#32](https://github.com/MetaMask/superstruct/pull/32))
15+
- This enables adding strictly optional fields to `object` structs when paired with TypeScript's
16+
`exactOptionalPropertyTypes`.
17+
1018
## [3.1.0]
1119

1220
### Added
@@ -629,7 +637,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
629637

630638
- Initial release.
631639

632-
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.1.0...HEAD
640+
[Unreleased]: https://github.com/MetaMask/superstruct/compare/v3.2.0...HEAD
641+
[3.2.0]: https://github.com/MetaMask/superstruct/compare/v3.1.0...v3.2.0
633642
[3.1.0]: https://github.com/MetaMask/superstruct/compare/v3.0.0...v3.1.0
634643
[3.0.0]: https://github.com/MetaMask/superstruct/compare/v2.0.0...v3.0.0
635644
[2.0.0]: https://github.com/MetaMask/superstruct/compare/v1.0.0...v2.0.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": "3.1.0",
3+
"version": "3.2.0",
44
"description": "A simple and composable way to validate data in JavaScript (and TypeScript).",
55
"keywords": [
66
"api",

0 commit comments

Comments
 (0)