Skip to content

Commit 8d7c15e

Browse files
authored
Release/295.0.0 (#5287)
Explanation This is a RC for v295.0.0. @metamask/token-search-discovery-controller@1.1.0 ## Highlights: ## Added - Introduce the `logoUrl` - Introduce `TokenDiscoveryApiService` - Add `getTrendingTokens` method - Export types from pakage index for easier access to consumers ## Changed - TokenSearchApiService uses the updated URL for `searchTokens` - "name" parameter is now "query" Changelog has complete details. Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [x] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
1 parent 694e6ff commit 8d7c15e

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

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

packages/token-search-discovery-controller/CHANGELOG.md

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

88
## [Unreleased]
99

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

12-
- Introduce the `logoUrl` property to the `TokenSearchApiService` response
14+
- Introduce the `logoUrl` property to the `TokenSearchApiService` response ([#5195](https://github.com/MetaMask/core/pull/5195))
1315
- Specifically in the `TokenSearchResponseItem` type
14-
- Introduce `TokenDiscoveryApiService` to keep discovery and search responsibilities separate
16+
- Introduce `TokenDiscoveryApiService` to keep discovery and search responsibilities separate ([#5214](https://github.com/MetaMask/core/pull/5214))
1517
- This service is responsible for fetching discover related data
1618
- Add `getTrendingTokens` method to fetch trending tokens by chain
1719
- Add `TokenTrendingResponseItem` type for trending token responses
18-
- Export `TokenSearchResponseItem` type from the package index
20+
- Export `TokenSearchResponseItem` type from the package index ([#5214](https://github.com/MetaMask/core/pull/5214))
1921

2022
### Changed
2123

22-
- Update the TokenSearchApiService to use the updated URL for `searchTokens`
24+
- Bump @metamask/utils to v11.1.0 ([#5223](https://github.com/MetaMask/core/pull/5223))
25+
- Update the `TokenSearchApiService` to use the updated URL for `searchTokens` ([#5195](https://github.com/MetaMask/core/pull/5195))
2326
- The URL is now `/tokens-search` instead of `/tokens-search/name`
24-
- Changed the "name" parameter to "query" in the `searchTokens` method
25-
- These updates align with the Portfolio API's `/tokens-search` endpoint
27+
- **BREAKING:** The `searchTokens` method now takes a `query` parameter instead of `name` ([#5195](https://github.com/MetaMask/core/pull/5195))
2628

2729
## [1.0.0]
2830

@@ -34,5 +36,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3436
- This service is responsible for making search related requests to the Portfolio API
3537
- Specifically, it handles the `tokens-search` endpoint which returns a list of tokens based on the provided query parameters
3638

37-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/token-search-discovery-controller@1.0.0...HEAD
39+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/token-search-discovery-controller@2.0.0...HEAD
40+
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/token-search-discovery-controller@1.0.0...@metamask/token-search-discovery-controller@2.0.0
3841
[1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/token-search-discovery-controller@1.0.0

packages/token-search-discovery-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/token-search-discovery-controller",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "Manages token search and discovery through the Portfolio API",
55
"keywords": [
66
"MetaMask",

0 commit comments

Comments
 (0)