Skip to content

Commit

Permalink
Release 146.0.0 (#4232)
Browse files Browse the repository at this point in the history
## Explanation

<!--
Thanks for your contribution! Take a moment to answer these questions so
that reviewers have the information they need to properly understand
your changes:

* What is the current state of things and why does it need to change?
* What is the solution your changes offer and how does it work?
* Are there any changes whose purpose might not obvious to those
unfamiliar with the domain?
* If your primary goal was to update one package but you found you had
to update another one along the way, why did you do so?
* If you had to upgrade a dependency, why did you do so?
-->
## This release includes 
### Phishing Controller
  - Update to the pooling intervals
  - Bump controller-utils version to `~9.1.0`
  - Bump TypeScript version to `~4.9.5`

### Base Controller
  - Bump TypeScript version to `~4.9.5`
  - Fix misnamed parameter name

## References

<!--
Are there any issues that this pull request is tied to? Are there other
links that reviewers should consult to understand these changes better?

For example:

* Fixes #12345
* Related to #67890
-->
* Fixes #4231 

## Changelog

<!--
If you're making any consumer-facing changes, list those changes here as
if you were updating a changelog, using the template below as a guide.

(CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or
FIXED. For security-related issues, follow the Security Advisory
process.)

Please take care to name the exact pieces of the API you've added or
changed (e.g. types, interfaces, functions, or methods).

If there are any breaking changes, make sure to offer a solution for
consumers to follow once they upgrade to the changes.

Finally, if you're only making changes to development scripts or tests,
you may replace the template below with "None".
-->

### `@metamask/phishing-controller`

- **<Changed>**: Updated pooling intervals, stalelist to 30 days and
hotlist to 5 mins
- **<Changed>**: Bump TypeScript version to `~4.9.5`

### `@metamask/base-controller`

- **<Changed>**: Bump TypeScript version to `~4.9.5`

## Checklist

- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've highlighted breaking changes using the "BREAKING" category
above as appropriate

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
  • Loading branch information
kanthesha and Gudahtt authored Apr 30, 2024
1 parent 8c80ba4 commit 109ebe0
Show file tree
Hide file tree
Showing 30 changed files with 74 additions and 56 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-monorepo",
"version": "145.0.0",
"version": "146.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@ethereumjs/util": "^8.1.0",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/eth-snap-keyring": "^4.0.0",
"@metamask/keyring-api": "^6.0.0",
"@metamask/snaps-sdk": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/utils": "^8.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/announcement-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1"
"@metamask/base-controller": "^5.0.2"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/rpc-errors": "^6.2.1",
"@metamask/utils": "^8.3.0",
"nanoid": "^3.1.31"
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@metamask/abi-utils": "^2.0.2",
"@metamask/accounts-controller": "^13.0.0",
"@metamask/approval-controller": "^6.0.1",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/contract-metadata": "^2.4.0",
"@metamask/controller-utils": "^9.1.0",
"@metamask/eth-query": "^4.0.0",
Expand Down
9 changes: 8 additions & 1 deletion packages/base-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.0.2]

### Changed

- Bump TypeScript version to `~4.9.5` ([#4084](https://github.com/MetaMask/core/pull/4084))

## [5.0.1]

### Fixed
Expand Down Expand Up @@ -201,7 +207,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

All changes listed after this point were applied to this package following the monorepo conversion.

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/base-controller@5.0.1...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/base-controller@5.0.2...HEAD
[5.0.2]: https://github.com/MetaMask/core/compare/@metamask/base-controller@5.0.1...@metamask/base-controller@5.0.2
[5.0.1]: https://github.com/MetaMask/core/compare/@metamask/base-controller@5.0.0...@metamask/base-controller@5.0.1
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/base-controller@4.1.1...@metamask/base-controller@5.0.0
[4.1.1]: https://github.com/MetaMask/core/compare/@metamask/base-controller@4.1.0...@metamask/base-controller@4.1.1
Expand Down
2 changes: 1 addition & 1 deletion packages/base-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/base-controller",
"version": "5.0.1",
"version": "5.0.2",
"description": "Provides scaffolding for controllers as well a communication system for all controllers",
"keywords": [
"MetaMask",
Expand Down
2 changes: 1 addition & 1 deletion packages/composable-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1"
"@metamask/base-controller": "^5.0.2"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/ens-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@ethersproject/providers": "^5.7.0",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/utils": "^8.3.0",
"punycode": "^2.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-fee-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/ethjs-unit": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@ethereumjs/util": "^8.1.0",
"@keystonehq/metamask-airgapped-keyring": "^0.13.1",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/browser-passworder": "^4.3.0",
"@metamask/eth-hd-keyring": "^7.0.1",
"@metamask/eth-sig-util": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/logging-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"uuid": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/message-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/utils": "^8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/name-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/utils": "^8.3.0",
"async-mutex": "^0.2.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/eth-json-rpc-infura": "^9.1.0",
"@metamask/eth-json-rpc-middleware": "^12.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/notification-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/utils": "^8.3.0",
"nanoid": "^3.1.31"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/json-rpc-engine": "^8.0.1",
"@metamask/rpc-errors": "^6.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-log-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/json-rpc-engine": "^8.0.1",
"@metamask/utils": "^8.3.0"
},
Expand Down
13 changes: 12 additions & 1 deletion packages/phishing-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [9.0.2]

### Changed

- Changed Stalelist and hotlist update intervals ([#4202](https://github.com/MetaMask/core/pull/4202))
- Updated the Stalelist update interval to 30 days and the hotlist update interval to 5 mins
- Bump `@metamask/controller-utils` version to `~9.1.0` ([#4153](https://github.com/MetaMask/core/pull/4153))
- Bump TypeScript version to `~4.9.5` ([#4084](https://github.com/MetaMask/core.git/pull/4084))
- Bump `@metamask/base-controller` to `^5.0.2`

## [9.0.1]

### Fixed
Expand Down Expand Up @@ -168,7 +178,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

All changes listed after this point were applied to this package following the monorepo conversion.

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@9.0.1...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@9.0.2...HEAD
[9.0.2]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@9.0.1...@metamask/phishing-controller@9.0.2
[9.0.1]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@9.0.0...@metamask/phishing-controller@9.0.1
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@8.0.2...@metamask/phishing-controller@9.0.0
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@8.0.1...@metamask/phishing-controller@8.0.2
Expand Down
4 changes: 2 additions & 2 deletions packages/phishing-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/phishing-controller",
"version": "9.0.1",
"version": "9.0.2",
"description": "Maintains a periodically updated list of approved and unapproved website origins",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@types/punycode": "^2.1.0",
"eth-phishing-detect": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/polling-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/network-controller": "^18.1.0",
"@metamask/utils": "^8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/preferences-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/queued-request-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/json-rpc-engine": "^8.0.1",
"@metamask/rpc-errors": "^6.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/rate-limit-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/rpc-errors": "^6.2.1",
"@metamask/utils": "^8.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/selected-network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/json-rpc-engine": "^8.0.1",
"@metamask/network-controller": "^18.1.0",
"@metamask/permission-controller": "^9.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/signature-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@metamask/approval-controller": "^6.0.1",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/keyring-controller": "^15.0.0",
"@metamask/logging-controller": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@metamask/approval-controller": "^6.0.1",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/gas-fee-controller": "^15.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@metamask/approval-controller": "^6.0.1",
"@metamask/base-controller": "^5.0.1",
"@metamask/base-controller": "^5.0.2",
"@metamask/controller-utils": "^9.1.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/gas-fee-controller": "^15.1.0",
Expand Down
Loading

0 comments on commit 109ebe0

Please sign in to comment.