Skip to content

Releases: safe-global/safe-config-service

Safe Config Service 2.3.0

27 Sep 08:33
852f2c7
Compare
Choose a tag to compare

/chains now include an l2 flag and a chain description

  • Each chain now provides an l2 flag (#225) and a short description about the chain (#226)
GET /api/v1/chains
{
  ...
  "l2": <boolean>,
  "description": <string>
}

Other changes

  • Migrate to responses.matchers.json_params_matcher (#224)

Safe Config Service 2.2.0

13 Sep 13:21
1c8bff7
Compare
Choose a tag to compare

Changelog

  • Added S3 bucket integration for currency logos (#217)
    • Native currency logos are now stored in the following path chains/{chain_id}/currency_logo.{ext}
    • Added the following environment variables (AWS_ variables need to be set if S3Boto3Storage is used):
      • DEFAULT_FILE_STORAGE (default is S3Boto3Storage)
      • AWS_ACCESS_KEY_ID (no default)
      • AWS_SECRET_ACCESS_KEY (no default)
      • AWS_STORAGE_BUCKET_NAME (no default)
      • AWS_S3_CUSTOM_DOMAIN (no default)
  • python:3.9-slim is now the base Docker image used (#221)
  • Bump responses from 0.13.4 to 0.14.0 (#219)
  • Bump boto3 from 1.18.36 to 1.18.40 (#220)
  • Bump gnosis-py from 3.2.2 to 3.3.1 (#223)

Safe Config Service 2.1.0

06 Sep 12:36
5213990
Compare
Choose a tag to compare

API Breaking Change

  • The endpoint /api/v1/chains now returns a collection of gasPrice instead of a single gasPrice. This way, fallback oracle providers can be provided (fixed price included) (#210)
{
  ...
  "gasPrice": [], // gasPrice is now a collection and not a single object
}

Other Changes

  • Bump django from 3.2.6 to 3.2.7 (#211)
  • Bump pre-commit from 2.14.1 to 2.15.0 (#212)
  • Bump docker/setup-buildx-action from 1.5.1 to 1.6.0 (#213)

Safe Config Service 2.0.3

30 Aug 16:33
3604ad5
Compare
Choose a tag to compare

Changelog

  • Bump pre-commit from 2.14.0 to 2.14.1 (#205)
  • Bump gnosis-py from 3.2.1 to 3.2.2 (#206)
  • Bump black from 21.7b0 to 21.8b0 (#207)

Safe Config Service 2.0.2

24 Aug 13:32
920bdaa
Compare
Choose a tag to compare

Changelog

  • Use POSTGRES_PORT only for host port (#200)
  • Bump docker/build-push-action from 2.6.1 to 2.7.0 (#199)
  • Bump gnosis-py from 3.1.16 to 3.2.1 (#201)

Safe Config Service 2.0.1

17 Aug 08:54
4d5cc54
Compare
Choose a tag to compare

Changelog

  • Bump responses from 0.13.3 to 0.13.4 (#188)
  • Bump pre-commit from 2.13.0 to 2.14.0 (#189)
  • Bump gnosis-py from 3.1.14 to 3.1.16 (#190)
  • Bump django-cors-headers from 3.7.0 to 3.8.0 (#194)

Safe Config Service 2.0.0 – L2 Chains Release

09 Aug 12:26
ab31687
Compare
Choose a tag to compare

L2 Chains – initial release

  • Introduction of the chains endpoint: it can be accessed via GET /api/v1/chains
    • This endpoint provides chain related metadata including native currency used by the chain and theme information that can be used by the clients
    • This endpoint was already part of past releases but this is the first production ready release for this endpoint.
  • A webhook was introduced so whenever a chain is created, updated or deleted, the corresponding CGW instance gets called to invalidate its Chain related cache (setting up this webhook is optional for running the config-service) (#180)
  • blockExplorerUri was removed – blockExplorerUriTemplate should be used instead (#185)

Safe Config Service 1.4.0

27 Jul 11:53
ebc369a
Compare
Choose a tag to compare

Changes to /chains endpoint (work in progress)

  • RPC URIs are no longer represented by a single string/uri. Each RPC is now an object that specifies the authentication mechanism for that RPC (#172). The possible values are:
    • API_KEY_PATH – if an API key should be added to the base path of the the RPC (rpcUri.value)
    • NO_AUTHENTICATION – if not authentication is required to use this RPC URI (rpcUri.value can be used as is)
GET /api/v1/chains/<chain_id>

{
  ...
  "rpcUri": {
    "authentication": <"API_KEY_PATH" | "NO_AUTHENTICATION">,
    "value": <stringified-uri>,
  }
}
  • A different RPC url can be set as an alternative to be used by safe-apps on a specific chain (#169) – it follows the same object structure as rpcUri and can be accessed via safeAppsRpcUri

  • A new object for representing a block explorer was added. This new object has fields for address and txHash templates. These templates can then be used by the clients to correctly create the final block explorer url that targets either an address or txHash (#176)

GET /v1/chains/<chain_id>/

{
  ...
  blockExplorerUriTemplate: {
    "address": <string>, // eg.: https://etherscan.io/address/{{address}}
    "txHash": <string> // eg.: https://etherscan.io/tx/{{txHash}}
  }
}

Other changes

  • Fix script to run commands inside container (#170)
  • Bump gnosis-py from 3.1.13 to 3.1.14 (#174)
  • Fix migration reverse lambda args (#175)
  • Bump coveralls from 3.1.0 to 3.2.0 (#178)
  • Set execution permission on docker entrypoint (#177)

Safe Config Service 1.3.0

20 Jul 08:40
176bd9e
Compare
Choose a tag to compare

Unique identifier for each Safe App

  • An application id was added to each safe-app. This id uniquely identifies each Safe App (#135)
GET /api/v1/safe-apps/

[
  ...
  {
    "id": <integer>,
    "url": <string>,
    "name": <string>,
    ...
  }
]

Changes to /chains endpoint (work in progress)

  • Breaking change: url fields were renamed to uri (#160)
  • Added Gas Price information – it can either be considered fixed (fixed gas price) or can be associated to an oracle.
GET /api/v1/chains/

// if an oracle is provided
"gasPrice": {
  "type": "oracle",
  "uri": <string>,
  "gasParameter": <string>, // optional
  "gweiFactor": <string> // multiplier returned in order to reach the gwei unit
}

// if a fixed gas price is provided
"gasPrice": {
  "type": "fixed",
  "weiValue": "10000000000"
}
  • nativeCurrency now includes its logo (uri) (#142)
  • The pagination limit was increased to 100 (#145)
  • ENS Registry Address was added to each chain (optional field) (#143)
  • Colours are now restricted to #RRGGBB format (#134)
  • A recommendedMasterCopyVersion was added – it represents the recommended deployed Safe master copy that should be used for each chain. (#153, #155)

Safe Config Service 1.2.0

30 Jun 09:23
6545896
Compare
Choose a tag to compare

New Features

  • Safe Apps now have a unique id (integer) that's returned via GET api/v1/safe-apps/ (#128) – this id uniquely represents one Safe App. This avoids issues where different URLs would point to the same resource/app.
  • Safe Apps now have a visibility modifier which can be set via the admin interface. This allows to easily show/hide a given application without having to delete its data (#130)

Changes to /chains endpoint (work in progress)

  • gasPriceOracle is now returned (#120) for each chain
{
  ...
  "gasPriceOracle": { // optional
       "url": <url-string>,
       "gasParameter": <string> // eg.: safeLow | average | fast
   }
}
  • Chains can now be sorted by the internal field relevance – it's represented by an integer. Lower integers are given priority (ie.: show up first in the list) (#124)