Skip to content

Commit

Permalink
Release 34.0.0 (#960)
Browse files Browse the repository at this point in the history
This release includes initial releases for all new packages.

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
  • Loading branch information
2 people authored and vthomas13 committed Dec 2, 2022
1 parent daecc94 commit df05c72
Show file tree
Hide file tree
Showing 39 changed files with 260 additions and 39 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/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": {
Expand Down
12 changes: 11 additions & 1 deletion packages/address-book-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 10 additions & 1 deletion packages/announcement-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/announcement-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/announcement-controller",
"version": "0.0.0",
"version": "1.0.0",
"description": "Manages in-app announcements",
"keywords": [
"MetaMask",
Expand Down
11 changes: 10 additions & 1 deletion packages/approval-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/approval-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
15 changes: 14 additions & 1 deletion packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
18 changes: 17 additions & 1 deletion packages/base-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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": "0.0.0",
"version": "1.0.0",
"description": "Provides scaffolding for controllers as well a communication system for all controllers",
"keywords": [
"MetaMask",
Expand Down
12 changes: 11 additions & 1 deletion packages/composable-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/composable-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
42 changes: 41 additions & 1 deletion packages/controller-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/controller-utils/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 11 additions & 1 deletion packages/ens-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/ens-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 10 additions & 1 deletion packages/gas-fee-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/gas-fee-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 10 additions & 1 deletion packages/keyring-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 11 additions & 1 deletion packages/message-manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/message-manager/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 10 additions & 1 deletion packages/network-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/network-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 10 additions & 1 deletion packages/notification-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/notification-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 10 additions & 1 deletion packages/permission-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/permission-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 11 additions & 1 deletion packages/phishing-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/phishing-controller/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit df05c72

Please sign in to comment.