Skip to content

Commit

Permalink
4.0.0 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 20, 2023
1 parent b3212b0 commit 69dd9dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.0.0]
### Changed
- Export new modules (`keyring`, `transaction-types`, and `encryption-types`) ([#86](https://github.com/MetaMask/utils/pull/86))
- **BREAKING:** Improve JSON validation ([#85](https://github.com/MetaMask/utils/pull/85))
- Fixes edge cases in our JSON validation logic.
- The previous function used for JSON validation (`validateJsonAndGetSize`) was removed.
- The `isValidJson` function now uses the new JSON validation logic.
- To get the size of a JSON value, you can use the `getJsonSize` function.

## [3.6.0]
### Added
- Add `Keyring` types ([#74](https://github.com/MetaMask/utils/pull/74))
Expand Down Expand Up @@ -115,7 +124,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release

[Unreleased]: https://github.com/MetaMask/utils/compare/v3.6.0...HEAD
[Unreleased]: https://github.com/MetaMask/utils/compare/v4.0.0...HEAD
[4.0.0]: https://github.com/MetaMask/utils/compare/v3.6.0...v4.0.0
[3.6.0]: https://github.com/MetaMask/utils/compare/v3.5.0...v3.6.0
[3.5.0]: https://github.com/MetaMask/utils/compare/v3.4.1...v3.5.0
[3.4.1]: https://github.com/MetaMask/utils/compare/v3.4.0...v3.4.1
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/utils",
"version": "3.6.0",
"version": "4.0.0",
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 69dd9dd

Please sign in to comment.