Releases: safe-global/safe-client-gateway
Releases · safe-global/safe-client-gateway
v1.41.0
What's Changed
- Add
toJson
helpers for locking controller tests by @iamacook in #1554 - Use mock imitation transactions in tests by @iamacook in #1548
- Make Campaign.lastUpdated field optional by @hectorgomezv in #1555
- Improve flakiness of imitation transaction tests by @iamacook in #1556
- Add campaign leaderboard routes by @hectorgomezv in #1557
- Move
/locking
and/campaign
routes under/community
by @iamacook in #1560 - Validate campaign retrieved by ID by @iamacook in #1561
- Rename "locking" domain to "community" by @iamacook in #1562
- Specify rank as lock specific by @iamacook in #1563
- build(deps-dev): bump @types/node from 20.12.11 to 20.12.12 by @dependabot in #1570
- build(deps-dev): bump eslint from 9.2.0 to 9.3.0 by @dependabot in #1571
- build(deps): bump @safe-global/safe-deployments from 1.35.0 to 1.36.0 by @dependabot in #1573
- build(deps): bump viem from 2.10.5 to 2.11.1 by @dependabot in #1572
- build(deps): bump redis from 4.6.13 to 4.6.14 by @dependabot in #1569
- Rename
campaignId
toresourceId
by @iamacook in #1574 - Update
ActivityMetadata
entity by @iamacook in #1577 - Add campaign rank retrieval to locking API by @iamacook in #1575
- Add campaign rank route by @iamacook in #1576
- Change CampaignRank schema by @hectorgomezv in #1578
- Rename CampaignRankSchema points fields by @hectorgomezv in #1579
Full Changelog: v1.40.0...v1.41.0
v1.40.0
What's Changed
- Remove PreExecutionLogGuard by @hectorgomezv in #1528
- Fix @typescript-eslint/no-misused-promises instances by @hectorgomezv in #1530
- Filter out imitation transfers by @iamacook in #1524
- Decrease prefix length of imitation recipient check by @iamacook in #1534
- Remove
trusted
condition for filtering imitation transfers by @iamacook in #1535 - Fix @typescript-eslint/no-redundant-type-constituents instances by @hectorgomezv in #1531
- Fix @typescript-eslint/no-unnecessary-type-assertion instances by @hectorgomezv in #1532
- Authorise recovery module adding/deleting with JWT authentication by @iamacook in #1527
- build(deps-dev): bump @types/node from 20.12.10 to 20.12.11 by @dependabot in #1537
- build(deps): bump coverallsapp/github-action from 2.2.3 to 2.3.0 by @dependabot in #1536
- build(deps): bump viem from 2.10.1 to 2.10.5 by @dependabot in #1539
- build(deps): bump zod from 3.23.6 to 3.23.8 by @dependabot in #1540
- build(deps-dev): bump eslint from 9.0.0 to 9.2.0 by @dependabot in #1541
- build(deps): bump semver from 7.6.0 to 7.6.2 by @dependabot in #1538
- Get prices provider configuration from Safe Config Service by @hectorgomezv in #1529
- Add flagging (alongside filtering) of imitation transfers by @iamacook in #1542
- Make
Chain['pricesProvider']
optional by @iamacook in #1544 - Add Campaigns retrieval to LockingApi datasource by @hectorgomezv in #1543
- Migrate to
multisig-transactions
deletion endpoint by @iamacook in #1549 - Add ActivityMetadata to Campaign entity by @hectorgomezv in #1546
- Add LockingApi.getLeaderBoardV2 by @hectorgomezv in #1550
- Add campaigns routes by @hectorgomezv in #1551
- Rename campaigns date fields by @hectorgomezv in #1552
- Ensure
CreateMessageDto['safeAppId']
is an integer by @iamacook in #1553
Full Changelog: v1.39.0...v1.40.0
v1.39.0
What's Changed
- Add logging of headers to auth nonce route by @iamacook in #1520
- Only return awaiting confirmations count if it is required by @iamacook in #1507
- Validate overview
walletAddress
query by @iamacook in #1509 - Log
Origin
on auth nonce route by @iamacook in #1521 - Authorise email editing relative to JWT authentication by @iamacook in #1470
- Remove
Origin
debug log by @iamacook in #1523 - Map historical transactions before grouping them by @iamacook in #1505
- Remove legacy relay routes by @iamacook in #1516
- Add origin field to HTTP requests logger by @hectorgomezv in #1525
- Compare submitted confirmations against those required by @iamacook in #1526
Full Changelog: v1.38.0...v1.39.0
v1.38.0
What's Changed
- Use LTS Node.js version by @hectorgomezv in #1492
- Merge message (confirmation) entities and schemas by @iamacook in #1488
- Use TestQueuesApiModule in controller tests by @hectorgomezv in #1495
- Include E2E tests requirements in README by @hectorgomezv in #1496
- Add unique queue names per E2E test suite by @hectorgomezv in #1497
- Add SAFE_CREATED as a no-action event by @hectorgomezv in #1502
- Add tests to TransactionsViewController by @fmrsabino in #1498
- Add tests to anyStringOrNull by @fmrsabino in #1499
- Test PostgresDatabaseModule by @fmrsabino in #1500
- Implement GET /v2/chain/:chainId/delegates by @hectorgomezv in #1501
- Implement POST /v2/chain/:chainId/delegates by @hectorgomezv in #1503
- Authorise email retrieval relative to JWT authentication by @iamacook in #1460
- Authorise saving emails relative to JWT authentication by @iamacook in #1468
- Mark POST /v1/chains/:chainId/delegates as deprecated by @hectorgomezv in #1508
- Extract
SignatureType
to common entity by @iamacook in #1489 - Implement DELETE /v2/chains/:chainId/delegates/:delegateAddress by @hectorgomezv in #1504
- build(deps-dev): bump @types/node from 20.12.7 to 20.12.10 by @dependabot in #1510
- build(deps): bump @safe-global/safe-deployments from 1.34.0 to 1.35.0 by @dependabot in #1513
- build(deps): bump zod from 3.23.5 to 3.23.6 by @dependabot in #1512
- Authorise email deletion relative to JWT authentication by @iamacook in #1469
- build(deps-dev): bump @types/lodash from 4.17.0 to 4.17.1 by @dependabot in #1514
- build(deps): bump viem from 2.9.29 to 2.10.1 by @dependabot in #1515
- build(deps): bump tar from 6.1.11 to 6.2.1 by @dependabot in #1518
- Put delegates v2 endpoints behind a feature flag by @hectorgomezv in #1519
- build(deps): bump semver from 6.3.0 to 7.6.0 by @dependabot in #1517
Full Changelog: v1.37.0...v1.38.0
v1.37.0
What's Changed
- Map
TransactionInfo
according toTransfer['type']
by @iamacook in #1477 - Instantiate an
AuthPayload
from request by @iamacook in #1478 - build(deps-dev): bump supertest from 6.3.4 to 7.0.0 by @dependabot in #1481
- build(deps-dev): bump typescript-eslint from 7.7.1 to 7.8.0 by @dependabot in #1484
- build(deps): bump postgres from 3.4.3 to 3.4.4 by @dependabot in #1482
- build(deps): bump zod from 3.23.3 to 3.23.5 by @dependabot in #1485
- build(deps): bump viem from 2.9.25 to 2.9.29 by @dependabot in #1487
- Extract allowed apps to SwapOrderHelper by @fmrsabino in #1479
- Restrict Swap apps in Confirmation View by @fmrsabino in #1480
- Add native currency support to SwapOrderHelper by @fmrsabino in #1491
- Perform lower case comparison for native currency by @fmrsabino in #1493
- Change AddressInfo empty string values to explicit nulls by @hectorgomezv in #1494
Full Changelog: v1.36.0...v1.37.0
v1.36.0
What's Changed
- Add QueuesApi datasource by @hectorgomezv in #1412
- Return non formatted Order data by @fmrsabino in #1426
- Add queues domain layer by @hectorgomezv in #1418
- Add ISwapsRepository interface by @fmrsabino in #1431
- Extract SetPreSignatureDecoder to its own module by @fmrsabino in #1433
- Rename SwapsModule by @fmrsabino in #1432
- Add SwapOrderHelper by @fmrsabino in #1434
- Fix SwapOrderMapper dependency injection by @fmrsabino in #1436
- Add support for Swap orders in tx confirmation route by @fmrsabino in #1435
- Fix
no-case-declarations
instances by @iamacook in #1429 - Simplify
AddressInfo
entity types by @iamacook in #1430 - Explicitly set
iat
claim of token by @iamacook in #1414 - Remove unnecessary module imports by @fmrsabino in #1438
- Rename Order.class to Order.orderClass by @fmrsabino in #1439
- build(deps): bump viem from 2.9.19 to 2.9.25 by @dependabot in #1443
- build(deps): bump @safe-global/safe-deployments from 1.33.0 to 1.34.0 by @dependabot in #1442
- build(deps): bump zod from 3.22.4 to 3.23.3 by @dependabot in #1446
- build(deps): bump the nest-js-core group with 4 updates by @dependabot in #1441
- Change AMQP prefetch configuration by @hectorgomezv in #1440
- build(deps-dev): bump typescript-eslint from 7.7.0 to 7.7.1 by @dependabot in #1445
- Migrate
MultisigTransaction
tozod
by @iamacook in #1385 - Add queues routes layer by @hectorgomezv in #1437
- Add const assertions to order.builder by @fmrsabino in #1447
- Forward parsed fullAppData by @fmrsabino in #1448
- Migrate
TransactionType
tozod
by @iamacook in #1396 - Remove
ajv
andajv-formats
by @iamacook in #1397 - Align usage of page schema factory by @iamacook in #1449
- Forward the Order receiver by @fmrsabino in #1452
- Add AMQP default configuration values by @hectorgomezv in #1453
- Forward the Order owner by @fmrsabino in #1455
- Update docker-compose redis image by @hectorgomezv in #1451
- Remove unnecessary events message parsing by @hectorgomezv in #1454
- Rename
JwtRepository
toAuthRepository
by @iamacook in #1456 - Include not listed Safe Apps on transaction mappings by @hectorgomezv in #1450
- Add onlyListed to CacheRouter.getSafeAppsCacheDir argument list by @hectorgomezv in #1462
- Allow Swap App restriction by @fmrsabino in #1458
- Fix
no-useless-escape
instances by @iamacook in #1463 - Populate
Request['auth']
in AuthGuard by @iamacook in #1459 - Make
MultisigTransaction['value']
non-nullable by @iamacook in #1471 - Add X Layer fiat prices configuration by @hectorgomezv in #1467
- Fix
@typescript-eslint/await-thenable
instances by @iamacook in #1464 - Fix
@typescript-eslint/no-base-to-string
instances by @iamacook in #1465 - Remove locking feature flag by @iamacook in #1472
- Remove relay feature flag by @iamacook in #1473
- Remove FF_RELAY from .env.sample by @hectorgomezv in #1475
- Use Docker Registry cache backend by @fmrsabino in #1474
- Merge balance entities and schemas by @iamacook in #1476
Full Changelog: v1.35.0...v1.36.0
v1.35.0
What's Changed
- Add
/views/transaction-confirmation
endpoint by @fmrsabino in #1419 - Add high refresh rate token prices feature by @hectorgomezv in #1424
- Add
chain_id
claim to token by @iamacook in #1416 - Configurable native coin prices TTL by @hectorgomezv in #1425
- Add expiration time limit by @iamacook in #1413
Full Changelog: v1.34.0...v1.35.0
v1.34.0
What's Changed
- Fix token used for fee label by @fmrsabino in #1391
- Rename wallet address param and mark it optional by @iamacook in #1389
- Extract Alerts configuration by @fmrsabino in #1372
- build(deps-dev): bump eslint from 8.57.0 to 9.0.0 by @dependabot in #1380
- Add error messages for custom validation schemas by @iamacook in #1384
- Migrate
TransferSchema
tozod
by @iamacook in #1375 - Add surplusLabel to Order by @fmrsabino in #1395
- Increase max overview amount by @iamacook in #1392
- Remove unnecessary casting of
previewTransactionDto
by @iamacook in #1398 - Remove unnecessary address checksumming by @iamacook in #1400
- User
0x${string}
types throughout relay by @iamacook in #1399 - Split auth domain by @iamacook in #1388
- Fix
no-unsafe-optional-chaining
instances by @iamacook in #1402 - Omit erroneous overview elements by @iamacook in #1393
- Move relay count CRUD to datasource by @iamacook in #1401
- Add support for
presignaturePending
orders by @fmrsabino in #1404 - build(deps-dev): bump @types/node from 20.12.2 to 20.12.7 by @dependabot in #1407
- build(deps): bump viem from 2.9.6 to 2.9.18 by @dependabot in #1408
- build(deps-dev): bump typescript-eslint from 7.6.0 to 7.7.0 by @dependabot in #1409
- build(deps-dev): bump typescript from 5.4.4 to 5.4.5 by @dependabot in #1410
- Extract JWT configuration by @fmrsabino in #1405
- build(deps): bump node from 20.12.1-alpine to 20.12.2-alpine by @dependabot in #1406
- Rename GetDataDecodedDto to TransactionDataDto by @fmrsabino in #1417
- Cookie-based authenticated sessions by @iamacook in #1403
- Add Scroll prices provider configuration by @hectorgomezv in #1423
Full Changelog: v1.33.0...v1.34.0
v1.33.0
What's Changed
- Add
JwtModule
datasource by @iamacook in #1355 - Add default URI of locking service by @iamacook in #1359
- Remove
JwtModule
from global scope and validation of its env. vars. by @iamacook in #1363 - Add
AuthApiModule
datasource by @iamacook in #1357 - Add
AuthDomainModule
by @iamacook in #1361 - Add
SiweMessageSchema
by @iamacook in #1360 - Make ConfigApiModule non-global by @fmrsabino in #1365
- Make TransactionApiModule non-global by @fmrsabino in #1366
- Remove DomainModule by @fmrsabino in #1367
- Migrate
RelayLegacyDto
tozod
by @iamacook in #1362 - Add NODE_ENV environment variable by @hectorgomezv in #1364
- Improve SiWe nonce generation by @iamacook in #1373
- build(deps-dev): bump typescript from 5.4.3 to 5.4.4 by @dependabot in #1377
- build(deps): bump winston from 3.12.0 to 3.13.0 by @dependabot in #1376
- build(deps): bump @nestjs/config from 3.2.0 to 3.2.2 by @dependabot in #1379
- build(deps): bump @nestjs/swagger from 7.3.0 to 7.3.1 by @dependabot in #1378
- Improve robustness of
RelayLegacyDtoSchema
by @iamacook in #1374 - build(deps): bump node from 20.12.0-alpine to 20.12.1-alpine by @dependabot in #1381
- Extract schema validation logic by @fmrsabino in #1371
- Add
AuthController
by @iamacook in #1368 - Enable Email Feature for Subscription Controller tests by @fmrsabino in #1386
- Increase auth nonce entropy by @iamacook in #1383
- Add
AuthGuard
by @iamacook in #1369 - Rename surplusLabel to feeLabel by @fmrsabino in #1390
Full Changelog: v1.32.0...v1.33.0
v1.32.0
What's Changed
- Add Swap Order UID to SwapOrderTransactionInfo by @fmrsabino in #1341
- Add Explorer URI for Order by @fmrsabino in #1342
- build(deps): bump the nest-js-core group with 4 updates by @dependabot in #1343
- build(deps-dev): bump @types/node from 20.11.26 to 20.11.30 by @dependabot in #1344
- build(deps-dev): bump typescript from 5.4.2 to 5.4.3 by @dependabot in #1345
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.2.0 to 7.4.0 by @dependabot in #1346
- build(deps): bump nestjs-cls from 4.2.1 to 4.3.0 by @dependabot in #1347
- build(deps): bump viem from 2.8.13 to 2.9.6 by @dependabot in #1351
- build(deps-dev): bump ts-jest from 29.1.1 to 29.1.2 by @dependabot in #1352
- build(deps): bump @nestjs/serve-static from 4.0.1 to 4.0.2 by @dependabot in #1354
- build(deps): bump reflect-metadata from 0.2.1 to 0.2.2 by @dependabot in #1353
- build(deps): bump the nest-js-core group with 4 updates by @dependabot in #1350
- Add support for decoding Swap Orders in Multisends by @fmrsabino in #1348
- build(deps): bump node from 20.11.1-alpine to 20.12.0-alpine by @dependabot in #1349
- Allow decoding of
multiSend
transactions
with emptydata
by @iamacook in #1358 - Set Cache-Control to no-cache by @fmrsabino in #1356
Full Changelog: v1.31.0...v1.32.0