Skip to content

Commit 4da12c1

Browse files
authored
Release/780.0.0 (#7797)
## Explanation Release version 1.0.0 of Storage Service. It was mainly created for Storage Service to have a releasable version (1.0.0 instead of 0.0.1) but also adds a small improvement: `InMemoryStorageAdapter` can now be instantiated with a custom state. <!-- 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? --> ## 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? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## 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 communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md) - [ ] I've introduced [breaking changes](https://github.com/MetaMask/core/tree/main/docs/processes/breaking-changes.md) in this PR and have prepared draft pull requests for clients and consumer packages to resolve them <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Primarily version bumps and changelog updates; risk is limited to potential dependency/compatibility issues from adopting `@metamask/storage-service@^1.0.0` in `assets-controllers`. > > **Overview** > **Release bump:** Updates the root monorepo version to `780.0.0`. > > **Storage Service release:** Publishes `@metamask/storage-service` as `1.0.0` and updates its changelog/compare links accordingly. > > **Consumer update:** Bumps `@metamask/assets-controllers` to use `@metamask/storage-service@^1.0.0` and refreshes `yarn.lock` to match. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9659ced. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent fa21827 commit 4da12c1

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "779.0.0",
3+
"version": "780.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/assets-controllers/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Changed
1717

18+
- Bump `@metamask/storage-service` from `^0.0.1` to `^1.0.0` ([#7797](https://github.com/MetaMask/core/pull/7797))
1819
- Bump `@metamask/transaction-controller` from `^62.11.0` to `^62.12.0` ([#7775](https://github.com/MetaMask/core/pull/7775))
1920

2021
## [99.1.0]

packages/assets-controllers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@metamask/snaps-controllers": "^17.2.0",
8080
"@metamask/snaps-sdk": "^10.3.0",
8181
"@metamask/snaps-utils": "^11.7.0",
82-
"@metamask/storage-service": "^0.0.1",
82+
"@metamask/storage-service": "^1.0.0",
8383
"@metamask/transaction-controller": "^62.12.0",
8484
"@metamask/utils": "^11.9.0",
8585
"@types/bn.js": "^5.1.5",

packages/storage-service/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.0.0]
11+
1012
### Added
1113

1214
- Add optional `initialData` parameter to `InMemoryStorageAdapter` constructor for pre-populating storage during tests ([#7791](https://github.com/MetaMask/core/pull/7791))
@@ -21,5 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2123

2224
- Initial release of `@metamask/storage-service` ([#7192](https://github.com/MetaMask/core/pull/7192))
2325

24-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
26+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
27+
[1.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
2528
[0.0.1]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]

packages/storage-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/storage-service",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"description": "Platform-agnostic service for storing large, infrequently accessed controller data",
55
"keywords": [
66
"MetaMask",

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,7 +2739,7 @@ __metadata:
27392739
"@metamask/snaps-controllers": "npm:^17.2.0"
27402740
"@metamask/snaps-sdk": "npm:^10.3.0"
27412741
"@metamask/snaps-utils": "npm:^11.7.0"
2742-
"@metamask/storage-service": "npm:^0.0.1"
2742+
"@metamask/storage-service": "npm:^1.0.0"
27432743
"@metamask/transaction-controller": "npm:^62.12.0"
27442744
"@metamask/utils": "npm:^11.9.0"
27452745
"@ts-bridge/cli": "npm:^0.6.4"
@@ -5049,7 +5049,7 @@ __metadata:
50495049
languageName: node
50505050
linkType: hard
50515051

5052-
"@metamask/storage-service@npm:^0.0.1, @metamask/storage-service@workspace:packages/storage-service":
5052+
"@metamask/storage-service@npm:^1.0.0, @metamask/storage-service@workspace:packages/storage-service":
50535053
version: 0.0.0-use.local
50545054
resolution: "@metamask/storage-service@workspace:packages/storage-service"
50555055
dependencies:

0 commit comments

Comments
 (0)