Skip to content

Commit 161649a

Browse files
Release 1189.0.0 (#9844)
## Explanation Release PR for a performance improvement to `logging-controller`. Recreated to be marked as breaking. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Major bump on logging-controller changes default log retention behavior for consumers that upgrade without passing expiryTime; release metadata only in this diff but downstream clients must align semver. > > **Overview** > Monorepo release **1189.0.0** that publishes **`@metamask/logging-controller@9.0.0`** and wires dependents to it. > > The **9.0.0** changelog entry is finalized with the **`expiryTime`** addition explicitly marked **BREAKING** (optional constructor arg; **7-day default pruning** on add). **`signature-controller`** bumps **`@metamask/logging-controller`** from `^8.0.2` to `^9.0.0`, with **`yarn.lock`** updated accordingly. Older **logging-controller** changelog lines get minor formatting fixes only. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit df1818f. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c5565f4 commit 161649a

6 files changed

Lines changed: 14 additions & 10 deletions

File tree

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": "1188.0.0",
3+
"version": "1189.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/logging-controller/CHANGELOG.md

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

88
## [Unreleased]
99

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

12-
- Add `expiryTime` constructor argument, by default logs are pruned after 7 days ([#9839](https://github.com/MetaMask/core/pull/9839))
14+
- **BREAKING:** Add optional `expiryTime` constructor argument, by default logs are pruned after 7 days ([#9839](https://github.com/MetaMask/core/pull/9839))
1315

1416
### Changed
1517

@@ -83,8 +85,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8385

8486
### Changed
8587

86-
- Bump `@metamask/base-controller` from `^7.0.2` to `^8.0.0` ([#5079](https://github.com/MetaMask/core/pull/5079)), ([#5305](https://github.com/MetaMask/core/pull/5305))
87-
- Bump `@metamask/controller-utils` from `^11.4.4` to `^11.5.0` ([#5135](https://github.com/MetaMask/core/pull/5135)), ([#5272](https://github.com/MetaMask/core/pull/5272))
88+
- Bump `@metamask/base-controller` from `^7.0.2` to `^8.0.0` ([#5079](https://github.com/MetaMask/core/pull/5079), [#5305](https://github.com/MetaMask/core/pull/5305))
89+
- Bump `@metamask/controller-utils` from `^11.4.4` to `^11.5.0` ([#5135](https://github.com/MetaMask/core/pull/5135), [#5272](https://github.com/MetaMask/core/pull/5272))
8890

8991
## [6.0.3]
9092

@@ -111,7 +113,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
111113
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
112114
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
113115
All of the ATTW checks now pass.
114-
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
116+
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648))
115117
- Previously, the build tool we used to generate JavaScript files extracted
116118
common code to "chunk" files. While this was intended to make this package
117119
more tree-shakeable, it also made debugging more difficult for our
@@ -230,7 +232,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
230232
- Initial Release
231233
- Add logging controller ([#1089](https://github.com/MetaMask/core.git/pull/1089))
232234

233-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@8.0.2...HEAD
235+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@9.0.0...HEAD
236+
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@8.0.2...@metamask/logging-controller@9.0.0
234237
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@8.0.1...@metamask/logging-controller@8.0.2
235238
[8.0.1]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@8.0.0...@metamask/logging-controller@8.0.1
236239
[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@7.0.1...@metamask/logging-controller@8.0.0

packages/logging-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/logging-controller",
3-
"version": "8.0.2",
3+
"version": "9.0.0",
44
"description": "Manages logging data to assist users and support staff",
55
"keywords": [
66
"Ethereum",

packages/signature-controller/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Bump `@metamask/network-controller` from `^35.0.0` to `^35.0.1` ([#9758](https://github.com/MetaMask/core/pull/9758))
1313
- Bump `@metamask/accounts-controller` from `^39.0.6` to `^39.1.0` ([#9791](https://github.com/MetaMask/core/pull/9791), [#9807](https://github.com/MetaMask/core/pull/9807))
1414
- Bump `@metamask/keyring-controller` from `^27.1.0` to `^27.1.1` ([#9791](https://github.com/MetaMask/core/pull/9791))
15+
- Bump `@metamask/logging-controller` from `^8.0.2` to `^9.0.0` ([#9844](https://github.com/MetaMask/core/pull/9844))
1516

1617
## [39.2.9]
1718

packages/signature-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@metamask/eth-sig-util": "^8.2.0",
6363
"@metamask/gator-permissions-controller": "^5.0.1",
6464
"@metamask/keyring-controller": "^27.1.1",
65-
"@metamask/logging-controller": "^8.0.2",
65+
"@metamask/logging-controller": "^9.0.0",
6666
"@metamask/messenger": "^2.0.0",
6767
"@metamask/network-controller": "^35.0.1",
6868
"@metamask/utils": "^11.11.0",

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7715,7 +7715,7 @@ __metadata:
77157715
languageName: unknown
77167716
linkType: soft
77177717

7718-
"@metamask/logging-controller@npm:^8.0.2, @metamask/logging-controller@workspace:packages/logging-controller":
7718+
"@metamask/logging-controller@npm:^9.0.0, @metamask/logging-controller@workspace:packages/logging-controller":
77197719
version: 0.0.0-use.local
77207720
resolution: "@metamask/logging-controller@workspace:packages/logging-controller"
77217721
dependencies:
@@ -8946,7 +8946,7 @@ __metadata:
89468946
"@metamask/eth-sig-util": "npm:^8.2.0"
89478947
"@metamask/gator-permissions-controller": "npm:^5.0.1"
89488948
"@metamask/keyring-controller": "npm:^27.1.1"
8949-
"@metamask/logging-controller": "npm:^8.0.2"
8949+
"@metamask/logging-controller": "npm:^9.0.0"
89508950
"@metamask/messenger": "npm:^2.0.0"
89518951
"@metamask/network-controller": "npm:^35.0.1"
89528952
"@metamask/utils": "npm:^11.11.0"

0 commit comments

Comments
 (0)