Releases: safe-global/safe-client-gateway
Releases · safe-global/safe-client-gateway
v1.60.1
What's Changed
- Catch unhandled TargetedMessagingDatasource errors by @hectorgomezv in #2049
- Fix
Page
Swagger definitions by @iamacook in #2050 - Remove TargetedMessaging file processor unlocking at shutdown by @hectorgomezv in #2051
- Make
CreationTransaction['saltNonce']
nullable by @iamacook in #2054
Full Changelog: v1.60.0...v1.60.1
v1.60.0
v1.59.0
What's Changed
- Bump @types/node from 22.7.4 to 22.7.5 by @dependabot in #2016
- Bump coverallsapp/github-action from 2.3.0 to 2.3.1 by @dependabot in #2019
- Bump cookie-parser from 1.4.6 to 1.4.7 by @dependabot in #2014
- Bump typescript from 5.6.2 to 5.6.3 by @dependabot in #2015
- Bump @types/jsonwebtoken from 9.0.6 to 9.0.7 by @dependabot in #2018
- Bump viem from 2.21.19 to 2.21.25 by @dependabot in #2017
- Iterate all chains when fetching all Safes by @iamacook in #2002
- Init PostgresDatabaseModule on startup by @hectorgomezv in #2009
- Return indexing timestamp from Transaction Service by @iamacook in #2012
- Enable
no-nested-ternary
lint rule by @iamacook in #2011 - Map
saltNonce
of creation transactions by @iamacook in #2007 - Fix DB initialization on E2E tests by @hectorgomezv in #2027
- Update Targeted Messaging Outreach by @hectorgomezv in #2010
- Remove redundant date parsing in TargetedMessagingDatasource by @hectorgomezv in #2028
- Add job to build SDK by @iamacook in #2031
- Remove
beaconChainExplorerUriTemplate
andcontractAddresses
defaults by @iamacook in #2029 - Remove
skip
on otherwise working creation test by @iamacook in #2030 - Bump coverallsapp/github-action from 2.3.1 to 2.3.3 by @dependabot in #2041
- Bump eslint from 9.12.0 to 9.13.0 by @dependabot in #2039
- Bump @safe-global/safe-deployments from 1.37.10 to 1.37.12 by @dependabot in #2037
- Bump viem from 2.21.25 to 2.21.32 by @dependabot in #2040
- Bump the nest-js-core group with 4 updates by @dependabot in #2036
- Bump @nestjs/schematics from 10.1.4 to 10.2.2 by @dependabot in #2038
- Orm by @PooyaRaki in #1942
- Parse Targeted Messaging data files by @hectorgomezv in #2033
- Add first Targeted Messaging Outreach by @hectorgomezv in #2034
- Add Targeted Messaging DB Mappers by @hectorgomezv in #2042
- Add OutreachFileProcessor logging by @hectorgomezv in #2044
- Flag spoof events with varied value by @iamacook in #2024
- Update deployments by @iamacook in #2045
- Flag "echo" transfers as imitations by @iamacook in #2026
Full Changelog: v1.58.0...v1.59.0
v1.58.0
What's Changed
- Map
beaconChainExplorerUriTemplate
property by @iamacook in #1976 - Bump @types/express from 4.17.21 to 5.0.0 by @dependabot in #1982
- Process CHAIN_UPDATE events for unsupported chains by @hectorgomezv in #1992
- Enforce consistent usage of type imports by @iamacook in #1987
- Ignore blame for consistent type imports by @iamacook in #1993
- Directly import
CowSwapTwapConfirmationView
as API model by @iamacook in #1994 - Bump @types/node from 22.6.1 to 22.7.4 by @dependabot in #1997
- Bump eslint from 9.11.1 to 9.12.0 by @dependabot in #1999
- Bump winston from 3.14.2 to 3.15.0 by @dependabot in #1998
- Bump viem from 2.21.16 to 2.21.19 by @dependabot in #1996
- Add further relay chain configuration by @iamacook in #1970
- Increase relay rate limit TTL by @iamacook in #1971
- Deprecate
/transaction-confirmation
endpoint by @iamacook in #1973 - Add Targeted Messaging API by @hectorgomezv in #1989
- Bump @safe-global/safe-deployments from 1.37.9 to 1.37.10 by @dependabot in #1995
- Add task scheduling by @hectorgomezv in #1990
- Validate staking API keys by @iamacook in #2004
- Only test one relay chain by @iamacook in #2003
- Add Targeted Messaging API cache layer by @hectorgomezv in #2000
- Fix Swagger definitions by @iamacook in #2008
Full Changelog: v1.57.0...v1.58.0
v1.57.0
What's Changed
- Only return
net_claimable_consensus_rewards
asvalue
before withdrawal by @iamacook in #1963 - Return validator addresses in staking entities by @iamacook in #1964
- Return all estimated staking times in milliseconds by @iamacook in #1962
- Return multiple of 32 for
value
ofrequestValidatorsExit
by @iamacook in #1966 - Update Kiln's mainnet API URL by @iamacook in #1972
- Remove log from TWAP test by @iamacook in #1969
- Extract event ABI when encoding by @iamacook in #1968
- Add tests for staking-relevant transaction finding by @iamacook in #1965
- Compare all deployment type addresses when relaying by @iamacook in #1955
- Don't assume all RPC responses are strings by @iamacook in #1967
- Add Targeted Messaging Datasource by @hectorgomezv in #1975
- Fix unsupported chains aggregation logs by @hectorgomezv in #1978
- Bump @types/lodash from 4.17.7 to 4.17.9 by @dependabot in #1979
- Bump @faker-js/faker from 9.0.1 to 9.0.3 by @dependabot in #1983
- Bump viem from 2.21.4 to 2.21.16 by @dependabot in #1980
- Bump @types/jest from 29.5.12 to 29.5.13 by @dependabot in #1981
- Handle malformed
multiSend
decoding errors by @iamacook in #1984
Full Changelog: v1.56.0...v1.57.0
v1.56.0
What's Changed
- Add Native Staking transaction data decoders by @hectorgomezv in #1903
- Add client timezone to transaction history by @PooyaRaki in #1911
- Confirm Kiln API enum values by @iamacook in #1916
- Get claimable rewards from transaction data by @hectorgomezv in #1913
- Add missing Swagger definitions for Native Staking Transactions by @hectorgomezv in #1917
- Split
_publicKeys
into0x
-prefixed keys by @iamacook in #1918 - Remove fallback for Kiln's unverified contracts by @iamacook in #1919
- Revert "Remove fallback for Kiln's unverified contracts (#1919)" by @iamacook in #1922
- Add chain-based event filtering by @hectorgomezv in #1920
- Taking withdrawal time into account when calculating exit status by @iamacook in #1923
- Improve caching of a Safe's
Stakes
by @iamacook in #1925 - Bump @faker-js/faker from 9.0.0 to 9.0.1 by @dependabot in #1934
- Bump husky from 9.1.5 to 9.1.6 by @dependabot in #1933
- Bump @safe-global/safe-deployments from 1.37.3 to 1.37.7 by @dependabot in #1935
- Bump @nestjs/swagger from 7.4.0 to 7.4.1 by @dependabot in #1932
- Bump the nest-js-core group with 4 updates by @dependabot in #1931
- Remove trailing slashes from Transaction Service URLs by @iamacook in #1930
- Refactor cache clearing logic into
EventCacheHelper
by @iamacook in #1928 - Only return net
value
by @iamacook in #1939 - Add missing
ApiQuery
decorators for Swagger by @iamacook in #1937 - Use instance chain ID within
IStakingApi
by @iamacook in #1936 - restructure notifications by @PooyaRaki in #1940
- Bump @types/node from 22.5.2 to 22.6.1 by @dependabot in #1944
- Bump eslint from 9.10.0 to 9.11.1 by @dependabot in #1945
- Bump @safe-global/safe-deployments from 1.37.7 to 1.37.9 by @dependabot in #1946
- Bump the nest-js-core group with 4 updates by @dependabot in #1943
- Map
Stake['state']
to relevant stakingstatus
by @iamacook in #1950 - Bump @nestjs/swagger from 7.4.1 to 7.4.2 by @dependabot in #1947
- Organise confirmation views entities by @iamacook in #1941
- Add
getTransactionStatus
to staking datasource/domain by @iamacook in #1956 - Rename ICacheService get and set methods by @hectorgomezv in #1948
- Get public keys from
DepositEvent
by @iamacook in #1957 - Aggregate event logs for unsupported chains by @hectorgomezv in #1921
- Move all Kiln-related encoding to
kiln-encoder.builder
by @iamacook in #1959 - Ensure event signature is present in topics by @iamacook in #1961
New Contributors
- @PooyaRaki made their first contribution in #1911
Full Changelog: v1.55.0...v1.56.0
v1.55.0
What's Changed
- Bump @types/node from 22.2.0 to 22.5.0 by @dependabot in #1855
- Bump typescript from 5.5.3 to 5.5.4 by @dependabot in #1854
- Bump ts-jest from 29.2.4 to 29.2.5 by @dependabot in #1852
- Bump viem from 2.18.8 to 2.20.1 by @dependabot in #1861
- Bump @nestjs/schematics from 10.1.3 to 10.1.4 by @dependabot in #1856
- Add token metadata to Native Staking transactions by @hectorgomezv in #1859
- Add annual/monthly rewards calculation by @hectorgomezv in #1862
- Add annual/monthly fiat rewards calculation by @hectorgomezv in #1864
- Simplify creation transaction retrieval tests by @hectorgomezv in #1866
- Specify status codes on rate limit errors by @hectorgomezv in #1865
- Add numValidators to Native Staking confirmation view by @hectorgomezv in #1868
- Adjust Native Staking confirmation view numeric types by @hectorgomezv in #1869
- Skip creation transaction flaky test by @hectorgomezv in #1870
- Avoid casting to determine confirmation state when mapping staking transactions by @iamacook in #1872
- Ensure route
CreationTransaction
correctly implements that of domain by @iamacook in #1874 - Map Native Staking calculated fields on transactions queue/history by @hectorgomezv in #1875
- Filter out invalid Chain items by @hectorgomezv in #1871
- Add AwaitingExecution status to Native Staking transactions by @hectorgomezv in #1876
- Use Staking API for fiat rewards calculation by @hectorgomezv in #1877
- Add mappings for native staking ValidatorsExit transactions by @hectorgomezv in #1879
- Add value/numValidators for ValidatorsExit transactions mappings by @hectorgomezv in #1880
- Bump typescript-eslint from 8.2.0 to 8.4.0 by @dependabot in #1887
- Bump @types/node from 22.5.0 to 22.5.2 by @dependabot in #1888
- Bump @nestjs/cli from 10.4.4 to 10.4.5 by @dependabot in #1889
- Bump husky from 9.1.4 to 9.1.5 by @dependabot in #1890
- Bump eslint from 9.9.0 to 9.9.1 by @dependabot in #1891
- Ensure Address Checksum in Deployments lookup by @hectorgomezv in #1885
- Set
count
as number of validPage['results']
by @iamacook in #1881 - Use Promise.all in NativeStakingMapper by @hectorgomezv in #1883
- Add NativeStakingMapper.getValueFromDataDecoded TSDoc by @hectorgomezv in #1884
- Add ValidatorsExit confirmation view controller tests by @hectorgomezv in #1886
- Improve deployment comparison when finding via chain/address by @iamacook in #1894
- Add Native Staking Withdraw transaction mappings by @hectorgomezv in #1882
- Fix coverage reports configuration by @hectorgomezv in #1892
- Add KilnApi caching by @hectorgomezv in #1897
- Bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #1902
- Fix test coverage by @iamacook in #1901
- Factorize Native Staking helpers and mappers common logic by @hectorgomezv in #1895
- Bump eslint from 9.9.1 to 9.10.0 by @dependabot in #1905
- Bump typescript-eslint from 8.4.0 to 8.5.0 by @dependabot in #1909
- Bump @faker-js/faker from 8.4.1 to 9.0.0 by @dependabot in #1908
- Bump typescript from 5.5.4 to 5.6.2 by @dependabot in #1906
- Bump viem from 2.20.1 to 2.21.4 by @dependabot in #1910
Full Changelog: v1.54.0...v1.55.0
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