Skip to content

Commit 654f9cf

Browse files
github-actions[bot]github-actionsMajorLift
authored
9.0.0 (#196)
This is the release candidate for version 9.0.0. --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Jongsun Suh <[email protected]>
1 parent 5a66cb8 commit 654f9cf

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [9.0.0]
10+
### Changed
11+
- **BREAKING:** The return types of functions `getChecksumAddress`, `numberToHex`, `bigIntToHex` are narrowed from `string` to `Hex` ([#193](https://github.com/MetaMask/utils/pull/193))
12+
13+
### Fixed
14+
- Bump `@metamask/superstruct` from `^3.0.0` to `^3.1.0` ([#194](https://github.com/MetaMask/utils/pull/194))
15+
- If `@metamask/utils` `<=8.5.0` is used with `@metamask/superstruct` `>=3.1.0` the following error may be encountered:
16+
```ts
17+
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.
18+
```
19+
This can be resolved by updating `@metamask/utils` to `>=9.0.0`.
20+
921
## [8.5.0]
1022
### Changed
1123
- Bump dependency `semver` from `^5.7.1` to `^7.6.0` ([#181](https://github.com/MetaMask/utils/pull/181)).
@@ -235,7 +247,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
235247
### Added
236248
- Initial release
237249
238-
[Unreleased]: https://github.com/MetaMask/utils/compare/v8.5.0...HEAD
250+
[Unreleased]: https://github.com/MetaMask/utils/compare/v9.0.0...HEAD
251+
[9.0.0]: https://github.com/MetaMask/utils/compare/v8.5.0...v9.0.0
239252
[8.5.0]: https://github.com/MetaMask/utils/compare/v8.4.0...v8.5.0
240253
[8.4.0]: https://github.com/MetaMask/utils/compare/v8.3.0...v8.4.0
241254
[8.3.0]: https://github.com/MetaMask/utils/compare/v8.2.1...v8.3.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/utils",
3-
"version": "8.5.0",
3+
"version": "9.0.0",
44
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase",
55
"homepage": "https://github.com/MetaMask/utils#readme",
66
"bugs": {

0 commit comments

Comments
 (0)