Skip to content

Releases: safe-global/safe-client-gateway

v1.8.1

04 Oct 14:48
3304057
Compare
Choose a tag to compare

What's Changed

  • Revert "build(deps): bump node from 18.17-alpine to 18.18-alpine (#713)" by @fmrsabino in #727

Full Changelog: v1.8.0...v1.8.1

v1.8.0

02 Oct 09:36
39b6b3d
Compare
Choose a tag to compare

What's Changed

  • Add .prettierignore, apply formatting to project root in #706
  • build(deps): bump node from 18.17-alpine to 18.18-alpine in #713
  • build(deps): bump @nestjs/config from 3.0.0 to 3.1.1 in #711
  • build(deps): bump redis from 4.6.8 to 4.6.10 in #710
  • build(deps): bump @types/lodash from 4.14.197 to 4.14.199 in #708
  • build(deps-dev): bump prettier from 3.0.1 to 3.0.3 in #703
  • build(deps-dev): bump @types/semver from 7.5.0 to 7.5.3 in #712
  • build(deps-dev): bump @faker-js/faker from 8.0.2 to 8.1.0 in #709

Full Changelog: v1.7.0...v1.8.0

v1.7.0

25 Sep 08:40
3d55ee5
Compare
Choose a tag to compare

What's Changed

  • Use object literal for CacheFirstDataSource.get() in #695
  • Add Safe Relay domain in #680
  • Bump yarn from 3.4.1 to 3.6.3 in #692
  • build(deps): bump @nestjs/core from 10.2.4 to 10.2.5 in #704
  • build(deps): bump @nestjs/swagger from 7.1.7 to 7.1.11 in #702
  • build(deps-dev): bump @types/jest from 29.5.4 to 29.5.5 in #701
  • build(deps): bump nestjs-cls from 3.5.0 to 3.5.1 in #700
  • build(deps): bump docker/login-action from 2 to 3 in #696
  • build(deps): bump docker/setup-buildx-action from 2 to 3 in #699
  • build(deps): bump docker/setup-qemu-action from 2.2.0 to 3.0.0 in #698
  • build(deps): bump docker/build-push-action from 4 to 5 in #697

Full Changelog: v1.6.0...v1.7.0

v1.6.0

18 Sep 09:32
b51e6a1
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump coverallsapp/github-action from 2.2.2 to 2.2.3 in #689
  • build(deps-dev): bump @types/node from 20.5.9 to 20.6.0 in #684
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.2.0 to 6.7.0 in #685
  • build(deps-dev): bump @nestjs/testing from 10.2.4 to 10.2.5 in #686
  • build(deps-dev): bump eslint from 8.47.0 to 8.49.0 in #688
  • build(deps-dev): bump jest and @types/jest in #691

Full Changelog: v1.5.0...v1.6.0

v1.5.0

12 Sep 09:09
f313494
Compare
Choose a tag to compare

What's Changed

Human-Readable Descriptions – Rich Fragments (feature preview)

The Human-Readable description rich fragments are now available alongside the humanDescription (string) that was returned. #671

With the fragments available, a frontend application can now apply client-side specific logic to each component (e.g.: styling).

The components currently available are:

  • text – contains a simple text fragment.
  • tokenValue – contains the amount, logo and symbol of the token involved in this action.
  • address – contains a full Ethereum address.

These components are returned on the txInfo object (where you can also find the humanDescription):

{
  ...
  "txInfo": {
    ...
    "humanDescription": <string | null>
    "richDecodedInfo": <[RichDecodedInfoFragment] | null>
  }
}

Where a RichDecodedInfoFragment can be one of the following:

{
  "type": "text",
  "value": <string>
}
{
  "type": "tokenValue",
  "value": <string>,
  "symbol": <string | null>, // null if there is no token information available
  "logoUri": <stringified-uri | null>, // null if there is no token information available
}
{
  "type": "address",
  "value": <stringified-address>,
}

timezone_offset query parameter now available for queued transactions

GET chains/:chainId/safes/:safeAddress/transactions/queued now accepts a timezone_offset as a query parameter. This parameter can be used to set the timestamp for each queued transaction according to the user's timezone. #670

Other changes

  • refactor: Use path alias instead of relative imports in #633
  • fix: increase history timezone_offset precision in #669
  • build(deps): bump actions/checkout from 3 to 4 in #678
  • build(deps): bump @nestjs/core from 10.2.0 to 10.2.4 in #674
  • build(deps): bump @nestjs/common from 10.2.0 to 10.2.4 in #675
  • build(deps): bump coverallsapp/github-action from 2.2.1 to 2.2.2 in #679
  • build(deps-dev): bump @types/node from 20.5.1 to 20.5.9 in #673
  • build(deps-dev): bump @nestjs/testing from 10.2.0 to 10.2.4 in #676
  • build(deps-dev): bump @typescript-eslint/parser from 6.3.0 to 6.6.0 in #677

Full Changelog: v1.4.0...v1.5.0

v1.4.0

04 Sep 10:39
4d8b45e
Compare
Choose a tag to compare

What's Changed

Human-Readable Descriptions (feature preview)

Human-readable descriptions are now available – they represent transaction actions in a human-readable way. #631

This release includes support for the following functions:

  • transfer(address, uint256)
  • approve(address, uint256)
  • withdraw(uint256)
  • changeThreshold(uint256)
  • addOwnerWithThreshold(address, uint256)
  • removeOwner(address,address, uint256)
  • swapOwner(address,address, address)
  • setGuard(address)
  • enableModule(address)
  • setFallbackHandler(address)
  • setDelegate(bytes32, address)
  • setAllowance(address, address, uint96, uint16, uint32)

The human-readable description, if available, is returned as a string on the info
object of each transaction. If the human-description is not available, null is returned instead.

{
  ...
  "txInfo": {
    ...
    "humanDescription": <string | null>
  }
}

Note: This feature preview can be enabled by setting FF_HUMAN_DESCRIPTION to true.

/messages related endpoints are now cached (feature preview)

Requests targeting the messages endpoints on the Safe Transaction Service are now cached. #654

This results in fewer requests made to the Safe Transaction Service if there are no changes to messages entities being requests (e.g: message creation or message updates).

Note: This feature preview can be enabled by setting FF_MESSAGES_CACHE to true.

Other Changes

  • Bump eslint-config-prettier from 8.9.0 to 9.0.0 in #666
  • Bump redis from 4.6.7 to 4.6.8 in #665
  • Bump viem from 1.7.0 to 1.8.1 in #667
  • Bump axios from 1.4.0 to 1.5.0 in #668
  • Bump typescript from 5.1.6 to 5.2.2 in #664

Full Changelog: v1.3.0...v1.4.0

v1.3.0

28 Aug 09:51
c8aa718
Compare
Choose a tag to compare

What's Changed

  • Bump @nestjs/cli from 10.1.11 to 10.1.12 in #651
  • Bump @nestjs/testing from 10.1.3 to 10.2.0 in #650
  • Bump @nestjs/core from 10.1.3 to 10.2.0 in #649
  • Bump @types/node from 20.4.8 to 20.5.1 in #648
  • Bump @nestjs/common from 10.1.3 to 10.2.0 in #647

Full Changelog: v1.2.0...v1.3.0

v1.2.0

22 Aug 13:59
80a131d
Compare
Choose a tag to compare

What's Changed

Support for EIP-1559 Gas Prices

Added Chain support for EIP-1559 gas prices (i.e., gas price type of fixed1559). #637

In addition to the other gas prices returned, an EIP-1559 can also now be returned:

GET /v1/chains/<chainId>
{
  ...
  "gasPrice": [
    ...
    {
      "type": "fixed1559",
      "maxFeePerGas": "<string>",
      "maxPriorityFeePerGas": "<string>"
    }
  ]
}

New route to unregister a device from push notifications

A new route was added which supports deleting the push notification registration for a device: DEL /v1/chains/<chainId>/notifications/devices/<uuid>. This route deletes the device registration across for all safes. #636

This is in addition to the currently available route which takes both the safeAddress and the uuid: DEL /v1/chains/<chainId>/notifications/devices/<uuid>/safes/<safeAddress> which deleted the device registration for a specific safeAddress.

Other Changes

  • Decrease the usage of all-transactions endpoint in #634
  • Remove workaround to bypass error when safe address is not defined in #635
  • Fix VSCode-specific project settings in #643
  • Bump @nestjs/common from 10.1.0 to 10.1.3 in #638
  • Bump @nestjs/schematics from 10.0.1 to 10.0.2 in #639
  • Bump eslint from 8.46.0 to 8.47.0 in #640
  • Bump prettier from 3.0.0 to 3.0.1 in #641
  • Bump @types/lodash from 4.14.195 to 4.14.197 in #642

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

15 Aug 14:36
27b6b38
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.1.0

v1.0.1

08 Aug 08:32
d4a2f49
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1