Releases: 5afe/safe-client-gateway
Version 3.34.1
What's Changed
- Removes caching the response returned to the clients with the
/preview
endpoint in safe-global/safe-client-gateway#965CacheResponse
relies onRequestContext
and builds the cache key just with URL (body is ignored) – thus making multiple transactions previewed for the same address return the same response
Full Changelog: safe-global/safe-client-gateway@v3.34.0...v3.34.1
Version 3.34.0
What's Changed
/safe-apps
endpoint now supports url
query parameter
- Support for filtering Safe Apps with a URL was added. safe-global/safe-client-gateway#959
- The url needs to be an exact match – ie.: it will not search for URLs which contain as part the given query in its URL
GET /v1/chains/<chain_id>/safe-apps?url=https%3A%2F%2Ftest.com
[
{
"id": 20,
"url": "https://test.com",
"name": "Test App",
...
]
Full Changelog: safe-global/safe-client-gateway@v3.33.1...v3.34.0
Version 3.33.1
What's Changed
- Bump iana-time-zone from 0.1.44 to 0.1.47 in safe-global/safe-client-gateway#960
Full Changelog: safe-global/safe-client-gateway@v3.33.0...v3.33.1
Version 3.33.0
What's Changed
- Bump serde from 1.0.143 to 1.0.144 in safe-global/safe-client-gateway#954
- Bump serde_json from 1.0.83 to 1.0.85 in safe-global/safe-client-gateway#955
- Bump chrono from 0.4.21 to 0.4.22 in safe-global/safe-client-gateway#956
Full Changelog: safe-global/safe-client-gateway@v3.32.0...v3.33.0
Version 3.32.0
What's Changed
- Bump chrono from 0.4.20 to 0.4.21 in safe-global/safe-client-gateway#951
- Bump rustc from 1.62.0 to 1.63.0 in safe-global/safe-client-gateway#952
Full Changelog: safe-global/safe-client-gateway@v3.31.0...v3.32.0
Version 3.31.0
What's Changed
- Pin chrono patch version in safe-global/safe-client-gateway#947
- Bump semver from 1.0.12 to 1.0.13 in safe-global/safe-client-gateway#938
- Bump serde_repr from 0.1.8 to 0.1.9 in safe-global/safe-client-gateway#940
- Bump serde_json from 1.0.82 to 1.0.83 in safe-global/safe-client-gateway#942
- Bump thiserror from 1.0.31 to 1.0.32 in safe-global/safe-client-gateway#945
- Bump serde from 1.0.141 to 1.0.143 in safe-global/safe-client-gateway#946
Full Changelog: safe-global/safe-client-gateway@v3.30.0...v3.31.0
Version 3.30.0
What's Changed
New endpoint: /preview
- Adds new endpoint under
POST /v1/chains/<chain_id>/transactions/<safe_address>/preview
safe-global/safe-client-gateway#924 - This endpoint is behind a feature flag – to enable it, set
FEATURE_PREVIEW_ENDPOINT
totrue
in your environment to enable it - This endpoint takes some transaction data and returns a
TransactionInfo
(used for rendering the transaction "header") and the respectiveTransactionData
. - The clients should provide in the body of the request the following parameters:
to
(mandatory),data
(optional),value
(mandatory) andoperation
(mandatory) - If there's an error while trying to get the decoded data, then the original raw data is returned – ie.: this endpoint does not fail if there's an issue while decoding the data or if it's
null
- If the
to
address has no mapping (to a known address) then the originalto
address is returned with the other "known address" fields set tonull
POST /v1/chains/<chain_id>/transactions/<safe_address>/preview
client >>> service
{
"to": <str>,
"data": <optional-str>,
"value": <str>,
"operation": <int>
}
client <<< service
{
"txInfo": TransactionInfo,
"txData": TransactionData
}
Other changes
- Bump serde from 1.0.140 to 1.0.141 in safe-global/safe-client-gateway#935
Full Changelog: safe-global/safe-client-gateway@v3.29.0...v3.30.0
Version 3.29.0
What's Changed
Collectibles are now paginated
- A new route was added under –
/v2/chains/<chain_id>/safes/<safe_address>/collectibles
safe-global/safe-client-gateway#925 - This new route provides the same
Collectible
schema provided by thev1
endpoint but under a paginated response
Other Changes
- Bump serde from 1.0.139 to 1.0.140 safe-global/safe-client-gateway#932
- Bump mockall from 0.11.1 to 0.11.2 safe-global/safe-client-gateway#933
Full Changelog: safe-global/safe-client-gateway@v3.28.0...v3.29.0
Version 3.28.0
What's Changed
- Move swagger from
/swagger
to/
in safe-global/safe-client-gateway#927 - Bump serde from 1.0.138 to 1.0.139 in safe-global/safe-client-gateway#918
- Bump regex from 1.5.6 to 1.6.0 in safe-global/safe-client-gateway#919
Full Changelog: safe-global/safe-client-gateway@v3.27.0...v3.28.0
Version 3.27.0
What's Changed
Introduction of Swagger endpoint
Swagger is now available under <root-url>/swagger
safe-global/safe-client-gateway#906
Note: Endpoints that deal with Rust lifetimes are not supported.
Other Changes
- Bump rust from 1.61.0 to 1.62.0 in safe-global/safe-client-gateway#912
- Bump serde from 1.0.137 to 1.0.138 in safe-global/safe-client-gateway#914
- Bump semver from 1.0.10 to 1.0.12 in safe-global/safe-client-gateway#915
- Bump serde_json from 1.0.81 to 1.0.82 in safe-global/safe-client-gateway#916
Full Changelog: safe-global/safe-client-gateway@v3.26.0...v3.27.0