-
-
Notifications
You must be signed in to change notification settings - Fork 278
Release 73.0.0 #1630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 73.0.0 #1630
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||||||
|
|
||||||||
| ## [Unreleased] | ||||||||
|
|
||||||||
| ## [9.0.0] | ||||||||
| ### Added | ||||||||
| - Add `baseFeePerGas` to transaction metadata ([#1590](https://github.com/MetaMask/core/pull/1590)) | ||||||||
| - Add `txReceipt` to transaction metadata ([#1592](https://github.com/MetaMask/core/pull/1592)) | ||||||||
| - Add `initApprovals` method to generate approval requests from unapproved transactions ([#1575](https://github.com/MetaMask/core/pull/1575)) | ||||||||
| - Add `dappSuggestedGasFees` to transaction metadata ([#1617](https://github.com/MetaMask/core/pull/1617)) | ||||||||
| - Add optional `incomingTransactions` constructor arguments ([#1579](https://github.com/MetaMask/core/pull/1579)) | ||||||||
| - `apiKey` | ||||||||
| - `includeTokenTransfers` | ||||||||
| - `isEnabled` | ||||||||
| - `updateTransactions` | ||||||||
| - Add incoming transaction methods ([#1579](https://github.com/MetaMask/core/pull/1579)) | ||||||||
| - `startIncomingTransactionPolling` | ||||||||
| - `stopIncomingTransactionPolling` | ||||||||
| - `updateIncomingTransactions` | ||||||||
| - Add `requireApproval` option to `addTransaction` method options ([#1580](https://github.com/MetaMask/core/pull/1580)) | ||||||||
| - Add `address` argument to `wipeTransactions` method ([#1573](https://github.com/MetaMask/core/pull/1573)) | ||||||||
|
|
||||||||
| ### Changed | ||||||||
| - **BREAKING**: Add required `getSelectedAddress` callback argument to constructor ([#1579](https://github.com/MetaMask/core/pull/1579)) | ||||||||
| - **BREAKING**: Add `isSupportedNetwork` method to `RemoteTransactionSource` interface ([#1579](https://github.com/MetaMask/core/pull/1579)) | ||||||||
| - **BREAKING**: Move all but first argument to options bag in `addTransaction` method ([#1576](https://github.com/MetaMask/core/pull/1576)) | ||||||||
| - **BREAKING**: Update properties of `RemoteTransactionSourceRequest` type ([#1579](https://github.com/MetaMask/core/pull/1579)) | ||||||||
| - The `fromBlock` property has changed from `string` to `number` | ||||||||
| - The `networkType` property has been removed | ||||||||
| - This type is intended mainly for internal use, so it's likely this change doesn't affect most projects | ||||||||
|
|
||||||||
| ### Removed | ||||||||
| - **BREAKING**: Remove `fetchAll` method ([#1579](https://github.com/MetaMask/core/pull/1579)) | ||||||||
| - This method was used to fetch transaction history from Etherscan | ||||||||
| - This is now handled automatically by the controller on each new block, if polling is enabled | ||||||||
| - Polling can be enabled or disabled by calling `startIncomingTransactionPolling` or `stopIncomingTransactionPolling` respectively | ||||||||
| - An immediate update can be requested by calling `updateIncomingTransactions` | ||||||||
| - The new constructor parameter `incomingTransactions.isEnabled` acts as an override to disable this functionality based on a client preference for example | ||||||||
| - **BREAKING**: Remove `prepareUnsignedEthTx` and `getCommonConfiguration` methods ([#1581](https://github.com/MetaMask/core/pull/1581)) | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Additional detail about the change:
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This particular line seems like it takes more than it gives and the changelog can do without it?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. I've left the additional line as it does indeed add some noise but I think the relief and info for the future adopter is by far the lesser of two evils. (We're also adopting this in the clients but I think it's a great standard to follow)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I was on the fence about it as well! But this seems OK for now. It felt wrong to leave public changes undocumented, even if we weren't aware of any usage of them. But it also felt misleading to list them here with no context, as reviewers might not realize that it doesn't impact them. |
||||||||
| - These methods were intended mainly for internal use, so it's likely this change doesn't affect most projects | ||||||||
|
|
||||||||
| ## [8.0.1] | ||||||||
| ### Changed | ||||||||
| - Replace `eth-query` ^2.1.2 with `@metamask/eth-query` ^3.0.1 ([#1546](https://github.com/MetaMask/core/pull/1546)) | ||||||||
|
|
@@ -98,7 +135,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||||||
|
|
||||||||
| All changes listed after this point were applied to this package following the monorepo conversion. | ||||||||
|
|
||||||||
| [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@8.0.1...HEAD | ||||||||
| [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@9.0.0...HEAD | ||||||||
| [9.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@8.0.1...@metamask/transaction-controller@9.0.0 | ||||||||
| [8.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@8.0.0...@metamask/transaction-controller@8.0.1 | ||||||||
| [8.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@7.1.0...@metamask/transaction-controller@8.0.0 | ||||||||
| [7.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@7.0.0...@metamask/transaction-controller@7.1.0 | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's an attempt to explain in more detail how this breaking change should be handled:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful, done.