Commit 63a855e
Release/900.0.0 (#8370)
## Explanation
This release bumps `@metamask/compliance-controller` from `1.0.2` to
`2.0.0`.
The major version bump is required due to breaking changes in the
compliance controller — see the
[changelog](https://github.com/MetaMask/core/blob/release/900.0.0/packages/compliance-controller/CHANGELOG.md)
for full details.
### Packages released
| Package | From | To | Type |
|---|---|---|---|
| `@metamask/compliance-controller` | `1.0.2` | `2.0.0` | major |
### Summary of changes
**Added**
- `generate-action-types` CLI tool available as a subpath export via the
`@metamask/messenger` bump
([#8264](#8264))
**Breaking changes**
- Removed proactive bulk-fetch pattern from `ComplianceController` and
`ComplianceService`
([#8365](#8365))
- `state.blockedWallets` and `state.blockedWalletsLastFetched` removed —
consumers with persisted state must drop these fields on migration
- `init()`, `updateBlockedWallets()` controller methods removed
- `blockedWalletsRefreshInterval` constructor option removed
- `ComplianceControllerInitAction`,
`ComplianceControllerUpdateBlockedWalletsAction`,
`ComplianceServiceUpdateBlockedWalletsAction`, `BlockedWalletsInfo`
removed from public API
- `checkWalletCompliance` / `checkWalletsCompliance` now fall back to
the per-address cache on API failure
- `selectIsWalletBlocked` now reads solely from
`walletComplianceStatusMap`
## References
- [#8365](#8365) —
refactor(compliance): remove initial block wallets call
## Checklist
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by updating changelogs
for packages I've changed
- [x] I've introduced breaking changes in this PR and have prepared
draft pull requests for clients and consumer packages to resolve them
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Release-only changes, but it publishes a new major
`@metamask/compliance-controller` version with breaking API/state
removals that downstream consumers must migrate to.
>
> **Overview**
> Bumps the monorepo version to `900.0.0` and releases
`@metamask/compliance-controller` `2.0.0`.
>
> Updates the compliance-controller changelog to document the
**breaking** removal of the blocked-wallets bulk-fetch flow and related
public API/state fields, and adjusts the `[Unreleased]`/`[2.0.0]`
compare links accordingly.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
7060084. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: cryptodev-2s <109512101+cryptodev-2s@users.noreply.github.com>1 parent 815d633 commit 63a855e
File tree
3 files changed
+6
-3
lines changed- packages/compliance-controller
3 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments