Releases: safe-global/safe-client-gateway
Releases · safe-global/safe-client-gateway
v1.54.0
What's Changed
- Implement Counterfactual Safes creation rate limit by @hectorgomezv in #1801
- Add Holesky balances custom cache expiration time by @hectorgomezv in #1812
- Add Holesky cache expiration time tests by @hectorgomezv in #1813
- Adjust and unify rate limits granularity by @hectorgomezv in #1814
- Remove database availability hard dependency at boot by @hectorgomezv in #1815
- Include the executed database migration names in startup logs by @hectorgomezv in #1816
- Set AUTH_VALIDITY_PERIOD_SECONDS as access token default validity by @hectorgomezv in #1817
- Bump the nest-js-core group with 4 updates by @dependabot in #1818
- Bump @nestjs/cli from 10.4.2 to 10.4.4 by @dependabot in #1821
- Bump @types/node from 20.14.8 to 22.2.0 by @dependabot in #1822
- Bump winston from 3.13.1 to 3.14.1 by @dependabot in #1819
- Bump typescript-eslint from 7.16.1 to 8.1.0 by @dependabot in #1820
- Allow optional signature when registering notifications by @iamacook in #1797
- Add caching layer to RPC requests by @iamacook in #1825
- Add
IStakingApi
by @iamacook in #1823 - Fix lint caused by staking API by @iamacook in #1832
- Bump nestjs-cls from 4.4.0 to 4.4.1 by @dependabot in #1828
- Bump winston from 3.14.1 to 3.14.2 by @dependabot in #1831
- Bump eslint from 9.7.0 to 9.9.0 by @dependabot in #1830
- Bump typescript-eslint from 8.1.0 to 8.2.0 by @dependabot in #1829
- Bump the nest-js-core group with 4 updates by @dependabot in #1827
- Include address in
TransactionFinder
by @iamacook in #1833 - Add
/v1/:chainId/about/indexing
endpoint by @iamacook in #1826 - Add confirmation screen for native staking
deposit
calls by @iamacook in #1834 - Add transaction decoding for native staking
deposit
calls by @iamacook in #1835 - Add new
Campaign
fields by @iamacook in #1836 - Implement Safe Creation Transaction retrieval endpoint by @hectorgomezv in #1840
- Add staking-related environment variables to .env.sample by @hectorgomezv in #1841
- Add StakingStatus to native staking deposit transactions by @hectorgomezv in #1842
- Make Campaign.rewardValue field nullable by @hectorgomezv in #1843
- Calculate deposit monthly NRR by @hectorgomezv in #1844
- Remove authentication for GET Counterfactual Safes endpoints by @hectorgomezv in #1846
- Add OpenAPI definitions for auth routes by @hectorgomezv in #1847
- Extend Confirmation View with an optional value field by @hectorgomezv in #1851
Full Changelog: v1.53.0...v1.54.0
v1.53.0
What's Changed
- Add DB_MAX_SAFE_INTEGER constant by @hectorgomezv in #1788
- Bump @types/lodash from 4.17.6 to 4.17.7 by @dependabot in #1790
- Bump husky from 9.1.1 to 9.1.4 by @dependabot in #1792
- Bump nestjs-cls from 4.3.0 to 4.4.0 by @dependabot in #1791
- Bump viem from 2.17.4 to 2.18.4 by @dependabot in #1793
- Bump redis from 4.6.15 to 4.7.0 by @dependabot in #1794
- Improve TWAP order mapping with
activeOrderUid
by @iamacook in #1785 - Add Counterfactual Safes retrieval/creation endpoints by @hectorgomezv in #1789
- Counterfactual Safes deletion endpoints by @hectorgomezv in #1795
- Counterfactual Safes retrieval by account address endpoint by @hectorgomezv in #1796
- Refactor AuthGuard-related unit tests by @hectorgomezv in #1799
- Bump ts-jest from 29.2.3 to 29.2.4 by @dependabot in #1805
- Bump viem from 2.18.4 to 2.18.8 by @dependabot in #1807
- Bump @nestjs/schematics from 10.1.2 to 10.1.3 by @dependabot in #1808
- Bump @safe-global/safe-deployments from 1.37.1 to 1.37.3 by @dependabot in #1806
- Add
NotificationsDatasource
with migration by @iamacook in #1756 - Bump prettier from 3.3.2 to 3.3.3 by @dependabot in #1804
- Add domain logic for push notifications by @iamacook in #1778
- Add Holesky custom cache expiration time by @hectorgomezv in #1810
- Add v2 notifications routes by @iamacook in #1787
- Assign default value for
confirmationsRequired
by @iamacook in #1809 - Implement Accounts creation rate limit by @hectorgomezv in #1800
Full Changelog: v1.52.0...v1.53.0
v1.52.0
What's Changed
- Adjust
SwapsApiFactory
to extendIApiManager
by @iamacook in #1736 - Improve comment regarding settlement check by @iamacook in #1739
- Implement PUT /v1/accounts/:address/data-settings by @hectorgomezv in #1715
- Implement GET /v1/accounts/:address/data-settings by @hectorgomezv in #1746
- Delete Settings on Account/DataType deletion by @hectorgomezv in #1748
- Rename AccountDataType.dataTypeId to AccountDataType.id by @hectorgomezv in #1751
- Refactor finding of swap-related transaction data by @iamacook in #1737
- Extract swap app allowance into helper by @iamacook in #1738
- Add RUN_MIGRATIONS flag to the service configuration by @hectorgomezv in #1753
- Change data-decoder E2E test data payload by @hectorgomezv in #1755
- Set MAX_TTL as TTL when caching SAFE_EXISTS_KEY by @hectorgomezv in #1757
- Add
Chain[contractAddresses]
property by @iamacook in #1752 - Map
contractAddresses
toChain
entity by @iamacook in #1759 - Bump ts-jest from 29.1.5 to 29.2.2 by @dependabot in #1761
- Bump eslint from 9.5.0 to 9.7.0 by @dependabot in #1765
- Bump typescript from 5.5.2 to 5.5.3 by @dependabot in #1763
- Bump viem from 2.17.3 to 2.17.4 by @dependabot in #1762
- Bump typescript-eslint from 7.15.0 to 7.16.1 by @dependabot in #1764
- Add Accounts Datasource cache layer by @hectorgomezv in #1760
- Change AccountDataSettings and UpsertAccountDataSettingsDto entities by @hectorgomezv in #1771
- Rename Account.accountId to Account.id on the route-level entity by @hectorgomezv in #1772
- Add
IPushNotificationsApi
datasource by @iamacook in #1767 - Refactor
JwtService
to expose issuer/secret by @iamacook in #1768 - Remove PUSH_NOTIFICATIONS_API_BASE_URI from required envs by @hectorgomezv in #1775
- Add tests for
FirebaseCloudMessagingApiService
by @iamacook in #1769 - Move hook domain logic from routes to domain by @iamacook in #1774
- Generify hook-related cache invalidation by @iamacook in #1770
- Add Counterfactual Safes Datasource by @hectorgomezv in #1773
- Bump docker/setup-qemu-action from 3.1.0 to 3.2.0 by @dependabot in #1779
- Bump ts-jest from 29.2.2 to 29.2.3 by @dependabot in #1781
- Bump winston from 3.13.0 to 3.13.1 by @dependabot in #1782
- Bump husky from 9.0.11 to 9.1.1 by @dependabot in #1780
- Bump semver from 7.6.2 to 7.6.3 by @dependabot in #1783
- Bump @nestjs/swagger from 7.3.1 to 7.4.0 by @dependabot in #1784
- Add Chains retrieval and cache deletion debug logs by @hectorgomezv in #1786
- Extract getFromCacheOrExecuteAndCache utility function by @hectorgomezv in #1777
Full Changelog: v1.51.0...v1.52.0
v1.51.0
What's Changed
- Add Swaps decoding debug logs by @hectorgomezv in #1718
- Add Swaps decoding debug logs by @hectorgomezv in #1719
- Revert "Add Swaps decoding debug logs" by @hectorgomezv in #1720
- Use
AuthDecorator
for instantiation of account-relatedAuthPayload
s by @iamacook in #1722 - Remove unnecessary test of
SwapOrderMapper
by @iamacook in #1723 - Include
SwapTransfer
when checking whetherTransactionInfo['type']
is a transfer by @iamacook in #1725 - Add application.isProduction configuration flag by @hectorgomezv in #1724
- Removes unnecessary TODO comment by @iamacook in #1726
- Add test for
getOrderUidFromSetPreSignature
by @iamacook in #1727 - Filter out TWAP orders from not allowed apps by @hectorgomezv in #1698
- Only log when trying to map restricted swap transfers by @iamacook in #1732
- Handle all swap transfer mapping errors by @iamacook in #1733
- Improve tests for
decodeTwapStruct
by @iamacook in #1728 - Refactor test dbFactory to avoid race conditions by @hectorgomezv in #1735
- Bump docker/setup-qemu-action from 3.0.0 to 3.1.0 by @dependabot in #1740
- Bump @nestjs/cli from 10.3.2 to 10.4.2 by @dependabot in #1741
- Bump viem from 2.16.5 to 2.17.3 by @dependabot in #1742
- Bump @safe-global/safe-deployments from 1.37.0 to 1.37.1 by @dependabot in #1745
- Bump @nestjs/schematics from 10.1.1 to 10.1.2 by @dependabot in #1744
- Bump redis from 4.6.14 to 4.6.15 by @dependabot in #1743
- Add coverage ensuring TWAPs to official contract by @iamacook in #1730
Full Changelog: v1.50.0...v1.51.0
v1.50.0
What's Changed
- Bump the nest-js-core group with 4 updates by @dependabot in #1709
- Bump typescript-eslint from 7.14.1 to 7.15.0 by @dependabot in #1710
- Bump @types/lodash from 4.17.5 to 4.17.6 by @dependabot in #1711
- Bump @nestjs/config from 3.2.2 to 3.2.3 by @dependabot in #1712
- Bump viem from 2.16.2 to 2.16.5 by @dependabot in #1713
- Add account data types by @hectorgomezv in #1708
- Add executedSurplusFee to TwapOrders by @hectorgomezv in #1714
- Fix bad types on TwapOrderMapper by @hectorgomezv in #1716
- Make Chain.pricesProvider nullable by @hectorgomezv in #1717
Full Changelog: v1.49.0...v1.50.0
v1.49.0
What's Changed
- Map TWAP (
createWithContext
call) orders by @iamacook in #1669 - Rename
SetPreSignatureDecoder
and usage toGPv2Decoder
by @iamacook in #1671 - Limit maximum amount of TWAP parts by @iamacook in #1670
- Fix mock
kind
ofOrder
builder by @iamacook in #1677 - change orderStatus to status and export type to openAPI by @compojoom in #1678
- Add automatic row timestamps for Accounts and Groups tables by @hectorgomezv in #1674
- Add additional debug logging by @hectorgomezv in #1680
- Add method to decode order from
settle
by @iamacook in #1673 - Map TWAP swap (
settle
) orders by @iamacook in #1675 - Add TWAP decoding to confirmation view by @iamacook in #1681
- Map TWAP orders in the queue by @iamacook in #1683
- Bump viem from 2.14.2 to 2.16.2 by @dependabot in #1684
- Bump ts-jest from 29.1.4 to 29.1.5 by @dependabot in #1687
- Bump typescript-eslint from 7.13.0 to 7.14.1 by @dependabot in #1685
- Bump @types/node from 20.14.3 to 20.14.8 by @dependabot in #1686
- Adjust random TTL for not-found token prices calculation by @hectorgomezv in #1693
- Bump typescript from 5.4.5 to 5.5.2 by @dependabot in #1688
- Implement POST /v1/accounts by @hectorgomezv in #1689
- Fix bad SWAPS_MAX_NUMBER_OF_PARTS env variable by @hectorgomezv in #1695
- Remove unused balances.balancesTtlSeconds configuration key by @hectorgomezv in #1696
- Add method to
ISwapsApi
for fetching orders by transaction hash by @iamacook in #1690 - Map swap-related transfers by @iamacook in #1691
- Add FF_TWAPS_DECODING to sample env by @hectorgomezv in #1697
- Catch swapOrderHelper.getOrder errors by @hectorgomezv in #1699
- Fix getNumberString utils function by @hectorgomezv in #1703
- Add optional CGW_ENV attribute to the configuration by @hectorgomezv in #1704
- Adjust access token cookie configuration by @hectorgomezv in #1705
- Implement DELETE /v1/accounts/:address by @hectorgomezv in #1694
- Implement GET /v1/accounts/:address by @hectorgomezv in #1706
- Add confirmations info to debug logs by @hectorgomezv in #1707
New Contributors
- @compojoom made their first contribution in #1678
Full Changelog: v1.48.0...v1.49.0
v1.48.0
What's Changed
- Add Polygon ZKEVM and Scroll to Zerion API configuration by @hectorgomezv in #1645
- Add endpoints to get campaign activity by @iamacook in #1636
- Extract Zerion configuration from Chain entity by @hectorgomezv in #1648
- Simplify and use
AbiDecoder
function selector helpers by @iamacook in #1639 - Ensure RPC URL formatting for Infura PublicClients by @hectorgomezv in #1644
- Increase E2E tests timeout by @hectorgomezv in #1653
- Add missing properties to
balanceBuilder
by @iamacook in #1641 - Remove
Account
implementation and integration by @iamacook in #1652 - Standardise API managers, clearing on
CHAIN_UPDATE
by @iamacook in #1640 - Initialize AccountsModule behind FF_ACCOUNTS by @hectorgomezv in #1656
- Coerce numerical strings of
CampaignActivities
to numbers by @iamacook in #1657 - Don't coerce numerical strings of
CampaignActivities
by @iamacook in #1658 - Add
PostgresDatabaseMigrator
for (testing) migration by @iamacook in #1655 - Don't copy patches to build by @iamacook in #1659
- Bump @types/node from 20.14.0 to 20.14.3 by @dependabot in #1662
- Bump prettier from 3.3.1 to 3.3.2 by @dependabot in #1663
- Bump viem from 2.13.8 to 2.14.2 by @dependabot in #1664
- Bump @safe-global/safe-deployments from 1.36.0 to 1.37.0 by @dependabot in #1666
- Bump eslint from 9.4.0 to 9.5.0 by @dependabot in #1665
- Bump docker/build-push-action from 5 to 6 by @dependabot in #1661
- Add base decoder for ComposableCoW contract by @iamacook in #1660
- Add method to get
fullAppData
fromappDataHash
by @iamacook in #1667 - Fix abi by @iamacook in #1668
Full Changelog: v1.47.0...v1.48.0
v1.47.0
What's Changed
- Add
transaction_hash
query tomodule-transactions
by @iamacook in #1624 - Change E2E testing Safe addresses by @hectorgomezv in #1620
- Cache Safe existence check for counterfactual balances by @iamacook in #1626
- Remove unnecessary log from test by @iamacook in #1628
- Bump typescript-eslint from 7.12.0 to 7.13.0 by @dependabot in #1631
- Bump eslint from 9.3.0 to 9.4.0 by @dependabot in #1632
- Bump prettier from 3.3.0 to 3.3.1 by @dependabot in #1633
- Bump viem from 2.13.1 to 2.13.8 by @dependabot in #1634
- Bump @types/lodash from 4.17.4 to 4.17.5 by @dependabot in #1629
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #1635
- Add ZerionBalancesSchema tests by @hectorgomezv in #1637
- Add
IBlockchainApiManager
for on-chain interactions by @iamacook in #1623 - Support authentication with ERC-6492 by @iamacook in #1627
- Check INFURA_API_KEY value at startup by @hectorgomezv in #1642
- Allow non-eth addresses in ZerionBalanceSchema by @hectorgomezv in #1646
- Add configuration for relaying on Arbitrum by @iamacook in #1647
Full Changelog: v1.46.0...v1.47.0
v1.46.0
What's Changed
- Add FF_COUNTERFACTUAL_BALANCES by @hectorgomezv in #1625
Full Changelog: v1.45.0...v1.46.0
v1.45.0
What's Changed
- Fix validation for ZerionBalanceSchema[attributes.fungibleInfo.description] by @hectorgomezv in #1622
Full Changelog: v1.44.0...v1.45.0