From 7f837d8e68a31f00e258d7d9441cd6ec31bd8d2c Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Mon, 21 Nov 2022 16:53:28 -0700 Subject: [PATCH] Release 34.0.0 (#960) This release includes initial releases for all new packages. Co-authored-by: Mark Stacey --- package.json | 2 +- packages/address-book-controller/CHANGELOG.md | 12 +++++- packages/address-book-controller/package.json | 2 +- packages/announcement-controller/CHANGELOG.md | 11 ++++- packages/announcement-controller/package.json | 2 +- packages/approval-controller/CHANGELOG.md | 11 ++++- packages/approval-controller/package.json | 2 +- packages/assets-controllers/CHANGELOG.md | 15 ++++++- packages/assets-controllers/package.json | 2 +- packages/base-controller/CHANGELOG.md | 18 +++++++- packages/base-controller/package.json | 2 +- packages/composable-controller/CHANGELOG.md | 12 +++++- packages/composable-controller/package.json | 2 +- packages/controller-utils/CHANGELOG.md | 42 ++++++++++++++++++- packages/controller-utils/package.json | 2 +- packages/ens-controller/CHANGELOG.md | 12 +++++- packages/ens-controller/package.json | 2 +- packages/gas-fee-controller/CHANGELOG.md | 11 ++++- packages/gas-fee-controller/package.json | 2 +- packages/keyring-controller/CHANGELOG.md | 11 ++++- packages/keyring-controller/package.json | 2 +- packages/message-manager/CHANGELOG.md | 12 +++++- packages/message-manager/package.json | 2 +- packages/network-controller/CHANGELOG.md | 11 ++++- packages/network-controller/package.json | 2 +- packages/notification-controller/CHANGELOG.md | 11 ++++- packages/notification-controller/package.json | 2 +- packages/permission-controller/CHANGELOG.md | 11 ++++- packages/permission-controller/package.json | 2 +- packages/phishing-controller/CHANGELOG.md | 12 +++++- packages/phishing-controller/package.json | 2 +- packages/preferences-controller/CHANGELOG.md | 12 +++++- packages/preferences-controller/package.json | 2 +- packages/rate-limit-controller/CHANGELOG.md | 11 ++++- packages/rate-limit-controller/package.json | 2 +- .../subject-metadata-controller/CHANGELOG.md | 12 +++++- .../subject-metadata-controller/package.json | 2 +- packages/transaction-controller/CHANGELOG.md | 12 +++++- packages/transaction-controller/package.json | 2 +- 39 files changed, 260 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 3b3c012641..199d229477 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/controllers-monorepo", - "version": "33.0.0", + "version": "34.0.0", "private": true, "description": "Collection of platform-agnostic modules for creating secure data models for cryptocurrency wallets", "repository": { diff --git a/packages/address-book-controller/CHANGELOG.md b/packages/address-book-controller/CHANGELOG.md index 6afa80d26d..fcabe3f962 100644 --- a/packages/address-book-controller/CHANGELOG.md +++ b/packages/address-book-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/user/AddressBookController.ts` + - `src/user/AddressBookController.test.ts` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/address-book-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/address-book-controller@1.0.0 diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index bb1a0c9c7d..513e9193f8 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/address-book-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Manages a list of recipient addresses associated with nicknames", "keywords": [ "MetaMask", diff --git a/packages/announcement-controller/CHANGELOG.md b/packages/announcement-controller/CHANGELOG.md index 6afa80d26d..4ed78e6992 100644 --- a/packages/announcement-controller/CHANGELOG.md +++ b/packages/announcement-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/announcement` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/announcement-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/announcement-controller@1.0.0 diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index 4a022b8025..b2f7ff22e5 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/announcement-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Manages in-app announcements", "keywords": [ "MetaMask", diff --git a/packages/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index 6afa80d26d..154d561771 100644 --- a/packages/approval-controller/CHANGELOG.md +++ b/packages/approval-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/approval` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/approval-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/approval-controller@1.0.0 diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 47274b7d56..c50d9fc68f 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/approval-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Manages requests that require user approval", "keywords": [ "MetaMask", diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 6afa80d26d..e84ef308b1 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -6,4 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/assets` + - Asset-related functions from `src/util.ts` and accompanying tests + + All changes listed after this point were applied to this package following the monorepo conversion. + +### Changed +- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/controllers/pull/845)) + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/assets-controllers@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/assets-controllers@1.0.0 diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 34fd3c6809..22702fb95d 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/assets-controllers", - "version": "0.0.0", + "version": "1.0.0", "description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)", "keywords": [ "MetaMask", diff --git a/packages/base-controller/CHANGELOG.md b/packages/base-controller/CHANGELOG.md index 6afa80d26d..26bf7119d4 100644 --- a/packages/base-controller/CHANGELOG.md +++ b/packages/base-controller/CHANGELOG.md @@ -6,4 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/BaseController.ts` + - `src/BaseController.test.ts` + - `src/BaseControllerV2.ts` + - `src/BaseControllerV2.test.ts` + - `src/ComposableController.ts` + - `src/ComposableController.test.ts` + - `src/ControllerMessenger.ts` + - `src/ControllerMessenger.test.ts` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/base-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/base-controller@1.0.0 diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index 104a3a42f7..609c6e8006 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/base-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Provides scaffolding for controllers as well a communication system for all controllers", "keywords": [ "MetaMask", diff --git a/packages/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index 6afa80d26d..33501c0261 100644 --- a/packages/composable-controller/CHANGELOG.md +++ b/packages/composable-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/ComposableController.ts` + - `src/ComposableController.test.ts` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/composable-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/composable-controller@1.0.0 diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index 70f6b48d19..fc4f932188 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/composable-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Consolidates the state from multiple controllers into one", "keywords": [ "MetaMask", diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 6afa80d26d..e5172c2b5b 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -6,4 +6,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/constants.ts` (but see below) + - `src/util.ts` (but see below) + - `src/util.test.ts` (but see below) + - `NetworkType` and `NetworkChainsId` from `src/network/NetworkController.ts` (via `types.ts`) + - `ESTIMATE_GAS_ERROR`, which used to be exported by `src/constants.ts`, is now available via the `@metamask/gas-fee-controller` package. + - A number of functions and types that were previously exported by `src/util.ts` are now available via other packages. Here's a breakdown of these exports and their new locations: + - `@metamask/assets-controllers`: + - `SupportedTokenDetectionNetworks` + - `addUrlProtocolPrefix` + - `getFormattedIpfsUrl` + - `getIpfsCIDv1AndPath` + - `isTokenDetectionSupportedForNetwork` + - `isTokenListSupportedForNetwork` + - `removeIpfsProtocolPrefix` + - `validateTokenToWatch` + - `@metamask/message-manager`: + - `normalizeMessageData` + - `validateSignMessageData` + - `validateTypedSignMessageDataV1` + - `validateTypedSignMessageDataV3` + - `@metamask/transaction-controller`: + - `getEtherscanApiUrl` + - `getIncreasedPriceFromExisting` + - `getIncreasedPriceHex` + - `handleTransactionFetch` + - `isEIP1559Transaction` + - `isFeeMarketEIP1559Values` + - `isGasPriceValue` + - `normalizeTransaction` + - `validateGasValues` + - `validateMinimumIncrease` + - `validateTransaction` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/controller-utils@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/controller-utils@1.0.0 diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index dbedfa8b6d..f07308017f 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/controller-utils", - "version": "0.0.0", + "version": "1.0.0", "description": "Data and convenience functions shared by multiple packages", "keywords": [ "MetaMask", diff --git a/packages/ens-controller/CHANGELOG.md b/packages/ens-controller/CHANGELOG.md index 6afa80d26d..827cef7e44 100644 --- a/packages/ens-controller/CHANGELOG.md +++ b/packages/ens-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/third-party/EnsController.ts` + - `src/third-party/EnsController.test.ts` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/ens-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/ens-controller@1.0.0 diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index a0d4fff7c1..5ed1af3431 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/ens-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Maps ENS names to their resolved addresses by chain id", "keywords": [ "MetaMask", diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index 6afa80d26d..ca93b2862e 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/gas` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/gas-fee-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/gas-fee-controller@1.0.0 diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 67db901ecc..d54350e9c8 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/gas-fee-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens", "keywords": [ "MetaMask", diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 6afa80d26d..d9e7c6085b 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/keyring` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/keyring-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/keyring-controller@1.0.0 diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index 362ccd31b2..732794bf03 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/keyring-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Stores identities seen in the wallet and manages interactions such as signing", "keywords": [ "MetaMask", diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index 6afa80d26d..1d13dcba36 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/message-manager` + - Message manager-related functions in `src/util.ts` and accompanying tests + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/message-manager@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/message-manager@1.0.0 diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index dfb2c4bf7b..7491804097 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/message-manager", - "version": "0.0.0", + "version": "1.0.0", "description": "Stores and manages interactions with signing requests", "keywords": [ "MetaMask", diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index 6afa80d26d..a46382b320 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/network` (minus `NetworkType` and `NetworksChainId`, which were placed in `@metamask/controller-utils`) + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/network-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/network-controller@1.0.0 diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 257ae298f5..0e6291e23d 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/network-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object", "keywords": [ "MetaMask", diff --git a/packages/notification-controller/CHANGELOG.md b/packages/notification-controller/CHANGELOG.md index 6afa80d26d..660c37cacb 100644 --- a/packages/notification-controller/CHANGELOG.md +++ b/packages/notification-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/notification` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/notification-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/notification-controller@1.0.0 diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index 954b9baae1..276a351f00 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/notification-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Manages display of notifications within MetaMask", "keywords": [ "MetaMask", diff --git a/packages/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index 6afa80d26d..6e7160ef7c 100644 --- a/packages/permission-controller/CHANGELOG.md +++ b/packages/permission-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/permissions` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/permission-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/permission-controller@1.0.0 diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 48e1831f14..71250746b1 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/permission-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Mediates access to JSON-RPC methods, used to interact with pieces of the MetaMask stack, via middleware for json-rpc-engine", "keywords": [ "MetaMask", diff --git a/packages/phishing-controller/CHANGELOG.md b/packages/phishing-controller/CHANGELOG.md index 6afa80d26d..0fb38ffad6 100644 --- a/packages/phishing-controller/CHANGELOG.md +++ b/packages/phishing-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/third-party/PhishingController.ts` + - `src/third-party/PhishingController.test.ts` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/phishing-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/phishing-controller@1.0.0 diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index 74d6de4b23..2aba3c0d2d 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/phishing-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Maintains a periodically updated list of approved and unapproved website origins", "keywords": [ "MetaMask", diff --git a/packages/preferences-controller/CHANGELOG.md b/packages/preferences-controller/CHANGELOG.md index 6afa80d26d..3a91e520c3 100644 --- a/packages/preferences-controller/CHANGELOG.md +++ b/packages/preferences-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - `src/user/PreferencesController.ts` (plus `ContactEntry` copied from `src/user/AddressBookController.ts`) + - `src/user/PreferencesController.test.ts` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/preferences-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/preferences-controller@1.0.0 diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index 442b4b33f3..a241b6e9d1 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/preferences-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Manages user-configurable settings for MetaMask", "keywords": [ "MetaMask", diff --git a/packages/rate-limit-controller/CHANGELOG.md b/packages/rate-limit-controller/CHANGELOG.md index 6afa80d26d..0bffc856d3 100644 --- a/packages/rate-limit-controller/CHANGELOG.md +++ b/packages/rate-limit-controller/CHANGELOG.md @@ -6,4 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/ratelimit` + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/rate-limit-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/rate-limit-controller@1.0.0 diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index eee890dd2d..11ad08e21c 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/rate-limit-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Contains logic for rate-limiting API endpoints by requesting origin", "keywords": [ "MetaMask", diff --git a/packages/subject-metadata-controller/CHANGELOG.md b/packages/subject-metadata-controller/CHANGELOG.md index 6afa80d26d..649a155463 100644 --- a/packages/subject-metadata-controller/CHANGELOG.md +++ b/packages/subject-metadata-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/subject-metadata` + + All changes listed after this point were applied to this package following the monorepo conversion. +- Add method to get subject metadata by origin ([#950](https://github.com/MetaMask/controllers/pull/950)) + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/subject-metadata-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/subject-metadata-controller@1.0.0 diff --git a/packages/subject-metadata-controller/package.json b/packages/subject-metadata-controller/package.json index aacc6b42de..763f94b0f7 100644 --- a/packages/subject-metadata-controller/package.json +++ b/packages/subject-metadata-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/subject-metadata-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Caches metadata associated with permission subjects", "keywords": [ "MetaMask", diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 6afa80d26d..20b86c1a99 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -6,4 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/MetaMask/controllers/ +## [1.0.0] +### Added +- Initial release + - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely: + - Everything in `src/transaction` + - Transaction-related functions from `src/util.ts` and accompanying tests + + All changes listed after this point were applied to this package following the monorepo conversion. + +[Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/transaction-controller@1.0.0...HEAD +[1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/transaction-controller@1.0.0 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 96a579b32d..36ed830f91 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "0.0.0", + "version": "1.0.0", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask",