Releases: 5afe/safe-client-gateway
Version 3.43.0
What's Changed
CreateMessage.message
payload now accepts Json objects
In addition to String
, CreateMessage.message
now also accepts Json objects (represented as BTreeMap
) safe-global/safe-client-gateway#1027
Other Changes
- Remove references to gnosis.io domain in safe-global/safe-client-gateway#1026
- Bump serde from 1.0.148 to 1.0.149 in safe-global/safe-client-gateway#1025
Full Changelog: safe-global/safe-client-gateway@v3.42.0...v3.43.0
Version 3.42.0
What's Changed
Support for EIP-1271 Messages (preview)
Support for EIP-1271 Messages was added. This feature is currently in preview – in order to enable this feature you
should set the environment variable FEATURE_MESSAGES
to true
.
Enabling this feature, mounts the following routes:
GET /v1/chains/<chain_id>/safes/<safe_address>/messages
Returns a collection of messages that were signed by owners of the safe_adress
.
{
"next": null,
"previous": null,
"results": [
{
"type": "DATE_LABEL",
"timestamp": <number>
},
{
"type": "MESSAGE"
// see message payload below
}
]
}
GET /v1/chains/<chain_id>/messages/<message_hash>
Returns the message item that matches message_hash
{
"messageHash": <string>,
"status": <string>, // CONFIRMED or NEEDS_CONFIRMATION
"logoUri": <string>, // optional
"name": <string>, // optional
"message": <string or json object>,
"creationTimestamp": <number>,
"modifiedTimestamp": <number>,
"confirmationsSubmitted": <number>,
"confirmationsRequired": <number>,
"proposedBy": {
"value": <string>,
"name": <string>, // optional
"logoUri": <string> // optional
},
"confirmations": [
{
"owner": {
"value": <string>,
"name": <string>, // optional
"logoUri": <string> // optional
},
"signature": <string>
}
],
"preparedSignature": <string> // optional
}
POST /v1/chains/<chain_id>/safes/<safe_address>/messages
Creates a message for safe_address
. The payload is as follows:
{
"message": <string>,
"safeAppId": <number>, // optional
signature: <string>,
}
POST /v1/chains/<chain_id>/messages/<message_hash>/signatures
Updates the message with message_hash
with a signature. The signature must come from an owner of the Safe that
contains the message_hash
.
The payload is as follows:
{
"signature": "<string>"
}
See safe-global/safe-client-gateway#1001, safe-global/safe-client-gateway#1006, safe-global/safe-client-gateway#1012, safe-global/safe-client-gateway#1007, safe-global/safe-client-gateway#1008, safe-global/safe-client-gateway#1009, safe-global/safe-client-gateway#1011, safe-global/safe-client-gateway#1014, safe-global/safe-client-gateway#1019, safe-global/safe-client-gateway#1021, safe-global/safe-client-gateway#1020
Safe Info endpoint now returns a message tag (preview)
- The Safe Info endpoint
GET /v1/chains/<chain_id>/safes/<safe_address>
now returns amessages_tag
ifFEATURE_MESSAGES
is set totrue
safe-global/safe-client-gateway#1013 - The tag is generated by retrieving the most recently modified message
- If the retrieval is successful the respective UNIX timestamp is returned, else the current UNIX timestamp is returned
MultisigExecutionDetails now has a trusted
field
- The
trusted
parameter is already part of aMultisigTransaction
transaction (in the Safe Transaction Service) safe-global/safe-client-gateway#1010 - This change just forwards this parameter to the clients
Other Changes
- Bump rust from 1.63.0 to 1.65.0 in safe-global/safe-client-gateway#999
- Bump serde_json from 1.0.87 to 1.0.88 in safe-global/safe-client-gateway#1002
- Bump ethabi from 16.0.0 to 18.0.0 in safe-global/safe-client-gateway#1003
- Bump reqwest from 0.11.12 to 0.11.13 in safe-global/safe-client-gateway#1004
- Bump serde_json from 1.0.88 to 1.0.89 in safe-global/safe-client-gateway#1015
- Bump serde from 1.0.147 to 1.0.148 in safe-global/safe-client-gateway#1018
- Bump ethcontract-common from 0.15.4 to 0.23.0 in safe-global/safe-client-gateway#1017
- Bump env_logger from 0.9.3 to 0.10.0 in safe-global/safe-client-gateway#1016
- Use Ubuntu 20.04 for Github Actions in safe-global/safe-client-gateway#1024
Full Changelog: safe-global/safe-client-gateway@v3.41.0...v3.42.0
Version 3.41.0
What's Changed
- Bump chrono from 0.4.22 to 0.4.23 in safe-global/safe-client-gateway#997
Full Changelog: safe-global/safe-client-gateway@v3.40.0...v3.41.0
Version 3.40.0
What's Changed
- Bump regex from 1.6.0 to 1.7.0 in safe-global/safe-client-gateway#994
- Bump env_logger from 0.9.1 to 0.9.3 in safe-global/safe-client-gateway#995
Full Changelog: safe-global/safe-client-gateway@v3.39.0...v3.40.0
Version 3.39.0
What's Changed
- Set
latest
tag for releases on docker in safe-global/safe-client-gateway#991 - Update org in docker images in safe-global/safe-client-gateway#992
Full Changelog: safe-global/safe-client-gateway@v3.38.0...v3.39.0
Version 3.38.0
What's Changed
- Bump serde_json from 1.0.86 to 1.0.87 in safe-global/safe-client-gateway#986
- Bump mockall from 0.11.2 to 0.11.3 in safe-global/safe-client-gateway#987
- Bump serde from 1.0.145 to 1.0.147 in safe-global/safe-client-gateway#988
Full Changelog: safe-global/safe-client-gateway@v3.37.0...v3.38.0
Version 3.37.0
What's Changed
- Bump bb8-redis from 0.11.0 to 0.12.0 in safe-global/safe-client-gateway#983
Full Changelog: safe-global/safe-client-gateway@v3.36.0...v3.37.0
Version 3.36.0
What's Changed
- Fix swagger formatting in safe-apps route in safe-global/safe-client-gateway#973
- Bump serde from 1.0.144 to 1.0.145 in https://github.com/safe-global/safe-client-gateway/pull/974
- Bump reqwest from 0.11.11 to 0.11.12 in safe-global/safe-client-gateway#976
- Bump thiserror from 1.0.34 to 1.0.37 in safe-global/safe-client-gateway#978
- Bump itertools from 0.10.3 to 0.10.5 in safe-global/safe-client-gateway#977
- Bump env_logger from 0.9.0 to 0.9.1 in safe-global/safe-client-gateway#975
- Bump semver from 1.0.13 to 1.0.14 in safe-global/safe-client-gateway#979
- Bump serde_json from 1.0.85 to 1.0.86 in safe-global/safe-client-gateway#980
Full Changelog: safe-global/safe-client-gateway@v3.35.1...v3.36.0
Version 3.35.1
What's Changed
Invalidate Mainnet
cache in /v2/flush
- Fixes a bug where the
/v2/flush
was not invalidatingMainnet
related cache data in safe-global/safe-client-gateway#970 - With the introduction of two caches (one for
Mainnet
and the other one for all the other networks). The/v2/flush
route was executing the invalidation only for all the other chains.
Full Changelog: safe-global/safe-client-gateway@v3.35.0...v3.35.1
Version 3.35.0
What's Changed
- Bump thiserror from 1.0.32 to 1.0.34 in safe-global/safe-client-gateway#964
Full Changelog: safe-global/safe-client-gateway@v3.34.1...v3.35.0