Skip to content

Commit 69dd9dd

Browse files
4.0.0 (#87)
1 parent b3212b0 commit 69dd9dd

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [4.0.0]
10+
### Changed
11+
- Export new modules (`keyring`, `transaction-types`, and `encryption-types`) ([#86](https://github.com/MetaMask/utils/pull/86))
12+
- **BREAKING:** Improve JSON validation ([#85](https://github.com/MetaMask/utils/pull/85))
13+
- Fixes edge cases in our JSON validation logic.
14+
- The previous function used for JSON validation (`validateJsonAndGetSize`) was removed.
15+
- The `isValidJson` function now uses the new JSON validation logic.
16+
- To get the size of a JSON value, you can use the `getJsonSize` function.
17+
918
## [3.6.0]
1019
### Added
1120
- Add `Keyring` types ([#74](https://github.com/MetaMask/utils/pull/74))
@@ -115,7 +124,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
115124
### Added
116125
- Initial release
117126

118-
[Unreleased]: https://github.com/MetaMask/utils/compare/v3.6.0...HEAD
127+
[Unreleased]: https://github.com/MetaMask/utils/compare/v4.0.0...HEAD
128+
[4.0.0]: https://github.com/MetaMask/utils/compare/v3.6.0...v4.0.0
119129
[3.6.0]: https://github.com/MetaMask/utils/compare/v3.5.0...v3.6.0
120130
[3.5.0]: https://github.com/MetaMask/utils/compare/v3.4.1...v3.5.0
121131
[3.4.1]: https://github.com/MetaMask/utils/compare/v3.4.0...v3.4.1

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/utils",
3-
"version": "3.6.0",
3+
"version": "4.0.0",
44
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)