Releases: safe-global/safe-config-service
Releases · safe-global/safe-config-service
Safe Config Service 2.7.1
Safe Config Service 2.7.0
What's Changed
Chains can now be retrieved by their short_name
- When getting the details of a specific chain using
/api/v1/chains/<chain_id>
, itsshort_name
can be used instead of itsid
. (eg.:/api/v1/chains/1
is equivalent to/api/v1/chains/eth
#292
Other Changes
- Use Postgres 13 in docker compose in #304
- Bump boto3 from 1.19.12 to 1.20.5 in #306
- Bump coverage from 6.1.1 to 6.1.2 in #307
- Bump psycopg2-binary from 2.9.1 to 2.9.2 in #311
- Bump coveralls from 3.3.0 to 3.3.1 in #308
- Bump types-requests from 2.25.11 to 2.26.0 in #309
- Bump gnosis-py from 3.5.3 to 3.6.0 in #310
- Bump faker from 9.8.0 to 9.8.1 in #312
- Bump isort from 5.10.0 to 5.10.1 in #313
- Bump python from 3.9-slim to 3.10.0-slim in #252
Full Changelog: v2.6.0...v2.7.0
Safe Config Service 2.6.0
New features introduced to /chains
Introduction of Wallet. Expose non-supported wallets
- A new Wallet schema was introduced – its main contents are
key
(a unique string that identifies that wallet) #289 - If a wallet is not supported by a given chain, that wallet can be disabled
GET /api/v1/chains
[
{
"chainId": <string>,
"disabledWallets": [<string>] // eg.: [ "metamask", "trust"]
...
}
]
Block Explorer API template support
- A template that represents the URL to the Block Explorer API was added – this allows the usage of different block explorer APIs (that follow #290
- blockExplorerUriTemplate.api has the following components in the template:
{{module}}
(eg.: contract){{action}}
(eg.: getAbi){{address}}
(Ethereum address used for action – if needed){{apiKey}}
– API key for the block explorer (set by the clients)
GET /api/v1/chains
[
{
"chainId": <string>,
"chainName": <string>,
"blockExplorerUriTemplate": {
"address": "https://etherscan.io/address/{{address}}", // example
"txHash": "https://etherscan.io/tx/{{txHash}}" // example
"api": "https://api.etherscan.io/api?module={{module}}&action={{action}}&address={{address}}&apiKey={{apiKey}}" // new field example
},
}
]
Add Chain Feature
Feature
is a new schema with a singlekey
that represent that feature. AFeature
can be enabled for multiple Chains. #291- The goal of each
Feature
is to describe its support on a given chain.
GET /api/v1/chains
[
{
"chainId": <string>,
"features": [<string>] // eg.: [ "ERC721", "SAFE_APPS"]
...
}
]
Other Changes
- Bump actions/checkout from 2.3.5 to 2.4.0 in #294
- Bump faker from 9.7.1 to 9.8.0 in #295
- Bump coveralls from 3.2.0 to 3.3.0 in #297
- Bump coverage from 5.5 to 6.1.1 in #284
- Bump boto3 from 1.19.7 to 1.19.12 in #298
- Bump isort from 5.9.3 to 5.10.0 in #296
Full Changelog: v2.5.3...v2.6.0
Safe Config Service 2.5.3
What's Changed
- Integrate mypy in chains app in #275
- Remove docker development image in #279
- Bump factory-boy from 3.2.0 to 3.2.1 in #280
- Bump django from 3.2.8 to 3.2.9 in #281
- Bump django-storages from 1.12.2 to 1.12.3 in #282
- Bump faker from 9.5.2 to 9.7.1 in #283
- Bump responses from 0.14.0 to 0.15.0 in #285
- Bump boto3 from 1.19.2 to 1.19.7 in #287
- Bump black from 21.9b0 to 21.10b0 in #286
Full Changelog: v2.5.2...v2.5.3
Safe Config Service 2.5.2
What's Changed
- Bump gnosis-py from 3.5.2 to 3.5.3 in #271
- Bump boto3 from 1.18.63 to 1.19.2 in #272
- Bump faker from 9.3.1 to 9.5.2 in #273
Full Changelog: v2.5.1...v2.5.2
Safe Config Service 2.5.1
What's Changed
- Bump actions/checkout from 2.3.4 to 2.3.5 in #261
- Bump pillow from 8.3.2 to 8.4.0 in #262
- Bump faker from 9.2.0 to 9.3.1 in #263
- Bump boto3 from 1.18.58 to 1.18.63 in #264
- Bump gnosis-py from 3.4.4 to 3.5.2 in #265
- Bump django-storages from 1.12 to 1.12.2 in #267
- Bump service version to 2.5.1 in #268
Full Changelog: v2.5.0...v2.5.1
Safe Config Service 2.5.0
What's Changed
Add EIP-3770 support
/api/v1/chains
now returns a non-null short name for each chain (#241). See ethereum/EIPs#3770 for more details
GET /api/v1/chains
{
"chainId": "1",
"chainName": "Mainnet",
"shortName": "eth",
...
}
Other changes
- Add force script name for nested paths on nginx in #244
- Downgrade postgres 13 -> 10 in #243
- Pin Faker dependency. Specify decimals in test in #249
- Bump django-cors-headers from 3.8.0 to 3.10.0 in #256
- Bump gnosis-py from 3.4.1 to 3.4.4 in #255
- Bump django from 3.2.7 to 3.2.8 in #258
- Bump boto3 from 1.18.48 to 1.18.58 in #253
- Bump django-storages from 1.11.1 to 1.12 in #254
- Bump flake8 from 3.9.2 to 4.0.1 in #257
- Bump service version to 2.5.0 in #259
Full Changelog: v2.4.0...v2.5.0
Safe Config Service 2.4.0
Chains now include a vpcTransactionService
field
vpcTransactionService
was added to theChain
(#235) – This field is similar totransaction_service_uri
but will hold the VPC url of the transaction service
GET /api/v1/chains
{
...
"vpcTransactionService": <url-string>,
}
Other Changes
Safe Config Service 2.3.1
Bug Fix
- Fix currency_logo_uri field length issue (#236)