Skip to content
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 287.0.0 #5182

Merged
merged 6 commits into from
Jan 22, 2025
Merged

Release 287.0.0 #5182

merged 6 commits into from
Jan 22, 2025

Conversation

ccharly
Copy link
Contributor

@ccharly ccharly commented Jan 22, 2025

Just a bump dependencies release to align the keyring-api recent changes everywhere.

Comment on lines +22 to +23
- Relax NFTs metadata RPC calls ([#5134](https://github.com/MetaMask/core/pull/5134))
- We now check the number of NFTs to update against a threshold value (500) to avoid sending an excessive amount of RPC calls to fetch NFTs metadata.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No sure if this is one is truly a "Fixed" (the PR was marked as such)

Yes this PR fixes an issue we had with excessive network calls, but it also now changes the behavior when fetching NFT metadata.

Should this be a "Changed" instead, also should we make this a minor update in that case?

cc: @sahar-fehri

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its fine keeping it as "Fixed". There were multiple updates to the pref controller that ended up triggering that function which shouldn't have been the case. I think the main issue was that we were not checking which params got updated and we were triggering the updateNftMetadata function regardless.

The 500 threshold we added was another "safe net" to avoid making the excessive amount of RPC calls.

@ccharly ccharly marked this pull request as ready for review January 22, 2025 10:36
@ccharly ccharly requested review from a team as code owners January 22, 2025 10:36
zone-live
zone-live previously approved these changes Jan 22, 2025
sahar-fehri
sahar-fehri previously approved these changes Jan 22, 2025
@ccharly ccharly enabled auto-merge (squash) January 22, 2025 11:33
mathieuartu
mathieuartu previously approved these changes Jan 22, 2025
gantunesr
gantunesr previously approved these changes Jan 22, 2025
montelaidev
montelaidev previously approved these changes Jan 22, 2025
OGPoyraz
OGPoyraz previously approved these changes Jan 22, 2025
Comment on lines 16 to 20
### Changed

- Bump `@metamask/keyring-api` from `^13.0.0` to `^14.0.0` ([#5177](https://github.com/MetaMask/core/pull/5177))
- Bump `@metamask/keyring-internal-api` from `^2.0.0` to `^2.0.1` ([#5177](https://github.com/MetaMask/core/pull/5177))
- Bump `@metamask/keyring-snap-client` from `^2.0.0` to `^3.0.0` ([#5177](https://github.com/MetaMask/core/pull/5177))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is the initial release what do you think about removing the Changed section

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it too, we can go without !

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,6 +1,6 @@
{
"name": "@metamask/multichain-transactions-controller",
"version": "0.0.0",
"version": "0.0.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: do we need to release this controller at all ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's required for the non-EVM/multichain initiative

Co-authored-by: cryptodev-2s <[email protected]>
Copy link
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ccharly ccharly merged commit dd6b00b into main Jan 22, 2025
123 checks passed
@ccharly ccharly deleted the release/287.0.0 branch January 22, 2025 12:23
zone-live pushed a commit that referenced this pull request Jan 27, 2025
Just a bump dependencies release to align the `keyring-api` recent
changes everywhere.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants