Skip to content

Commit

Permalink
9.0.0 (#196)
Browse files Browse the repository at this point in the history
This is the release candidate for version 9.0.0.

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Jongsun Suh <[email protected]>
  • Loading branch information
3 people authored Jun 28, 2024
1 parent 5a66cb8 commit 654f9cf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [9.0.0]
### Changed
- **BREAKING:** The return types of functions `getChecksumAddress`, `numberToHex`, `bigIntToHex` are narrowed from `string` to `Hex` ([#193](https://github.com/MetaMask/utils/pull/193))

### Fixed
- Bump `@metamask/superstruct` from `^3.0.0` to `^3.1.0` ([#194](https://github.com/MetaMask/utils/pull/194))
- If `@metamask/utils` `<=8.5.0` is used with `@metamask/superstruct` `>=3.1.0` the following error may be encountered:
```ts
error TS2742: The inferred type of 'ExampleType' cannot be named without a reference to '@metamask/utils/node_modules/@metamask/superstruct'. This is likely not portable. A type annotation is necessary.
```
This can be resolved by updating `@metamask/utils` to `>=9.0.0`.
## [8.5.0]
### Changed
- Bump dependency `semver` from `^5.7.1` to `^7.6.0` ([#181](https://github.com/MetaMask/utils/pull/181)).
Expand Down Expand Up @@ -235,7 +247,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/v8.5.0...HEAD
[Unreleased]: https://github.com/MetaMask/utils/compare/v9.0.0...HEAD
[9.0.0]: https://github.com/MetaMask/utils/compare/v8.5.0...v9.0.0
[8.5.0]: https://github.com/MetaMask/utils/compare/v8.4.0...v8.5.0
[8.4.0]: https://github.com/MetaMask/utils/compare/v8.3.0...v8.4.0
[8.3.0]: https://github.com/MetaMask/utils/compare/v8.2.1...v8.3.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/utils",
"version": "8.5.0",
"version": "9.0.0",
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase",
"homepage": "https://github.com/MetaMask/utils#readme",
"bugs": {
Expand Down

0 comments on commit 654f9cf

Please sign in to comment.