Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Releases: 5afe/safe-client-gateway

Version 3.34.1

07 Sep 13:55
Compare
Choose a tag to compare

What's Changed

  • Removes caching the response returned to the clients with the /preview endpoint in safe-global/safe-client-gateway#965
    • CacheResponse relies on RequestContext 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

05 Sep 09:19
Compare
Choose a tag to compare

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

31 Aug 09:42
3471fd9
Compare
Choose a tag to compare

What's Changed

Full Changelog: safe-global/safe-client-gateway@v3.33.0...v3.33.1

Version 3.33.0

29 Aug 09:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: safe-global/safe-client-gateway@v3.32.0...v3.33.0

Version 3.32.0

22 Aug 09:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: safe-global/safe-client-gateway@v3.31.0...v3.32.0

Version 3.31.0

15 Aug 10:02
Compare
Choose a tag to compare

What's Changed

Full Changelog: safe-global/safe-client-gateway@v3.30.0...v3.31.0

Version 3.30.0

08 Aug 08:47
ea0f0c1
Compare
Choose a tag to compare

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 to true in your environment to enable it
  • This endpoint takes some transaction data and returns a TransactionInfo (used for rendering the transaction "header") and the respective TransactionData.
  • The clients should provide in the body of the request the following parameters: to (mandatory), data (optional), value (mandatory) and operation (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 original to address is returned with the other "known address" fields set to null
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

Full Changelog: safe-global/safe-client-gateway@v3.29.0...v3.30.0

Version 3.29.0

28 Jul 12:32
Compare
Choose a tag to compare

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 the v1 endpoint but under a paginated response

Other Changes

Full Changelog: safe-global/safe-client-gateway@v3.28.0...v3.29.0

Version 3.28.0

20 Jul 10:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: safe-global/safe-client-gateway@v3.27.0...v3.28.0

Version 3.27.0

13 Jul 08:56
Compare
Choose a tag to compare

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

Full Changelog: safe-global/safe-client-gateway@v3.26.0...v3.27.0