@cardano-graphql/server
Advanced tools
Changelog
5.0.0 (2021-07-14)
cardano-node
: 1.27.0
cardano-db-sync
: 10.0.1
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.3
Asset.assetName
and Asset.assetId
are now typed as Hex
, as the relationship from Assets
to TokenMints
needed
to be established using the underlying table, where assetId
is not present.
Configuration of the asset metadata fetching is now a single value. POLLING_INTERVAL_METADATA_SYNC_INITIAL
and
POLLING_INTERVAL_METADATA_SYNC_ONGOING
are replaced by ASSET_METADATA_UPDATE_INTERVAL
, which is the number of
seconds before the service checks the registry for updates.
AssetSupply.total is now an optional field, and can return null.
Transaction.metadata is now JSON
type, not JSONObject
JSONObject
was mapped to the underlying JSON resolver as a workaround to avoid breaking changes.The fields previously modelled on Token have been nested under Token.asset
tokens
and tokens_aggregate
have been removed in favour of assets and assets_aggregate
PaymentAddress.assets
are
now under PaymentAddress.assets.asset
Block.merkleRoot
removed, as no longer part of cardano-db-sync
schema. (8b3b718)cardano-cli
with Ogmios for interacting with the
node using JSON-WSP, and implements the convenient cardano-node-ogmios
Docker image as a drop-in replacement for
the cardano-node
image.tokenMints
and tokenMints_aggregate
queries (f803b94)cardano-db-sync
reboots, all
modules are shutdown, and restarted and therefore links the server availability with a fully initialized stack.HostDoesNotExist
(c81aad8)Changelog
4.0.0 (2021-03-29)
cardano-node
: 1.25.1
cardano-db-sync
: 9.0.0
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.3
StakePool.url no longer URL type. The ledger does not validate the url value provided by the owner, therefore trying to impose rules around the structure will fail.
Transaction.metadata is now more accurately JSON type, not JSONObject. Despite the name, JSONObject was currently mapped to the underlying JSON resolver as a workaround to avoid breaking changes.
The fields previously modelled on Token have been nested under Token.asset. tokens and tokens_aggregate have been removed in favour of assets and assets_aggregate. Asset properties are now nested under PaymentAddress.summary.assetBalances.asset
Changelog
3.2.0 (2021-02-01)
cardano-node
: 1.25.1
cardano-db-sync
: 8.0.0
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.3
Changelog
3.1.1 (2020-12-21)
cardano-node
: 1.24.2
cardano-db-sync
: 7.1.0
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.3
Changelog
3.1.0 (2020-12-10)
cardano-node
: 1.24.2
cardano-db-sync
: 7.1.0
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.3
Transaction.invalidBefore
Transaction.invalidHereafter
Changelog
3.0.1 (2020-11-27)
cardano-node
: 1.21.1
cardano-db-sync
: 6.0.1
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.3
Changelog
3.0.0 (2020-11-05)
This new major version, now based on the current Node.js LTS, brings the second round of Shelley-era features to the API. Most notably, rewards, active stake captured at each epoch boundary, transaction metadata, protocol parameters in effect during the epoch, and custom types for the Bech32 values covered by CIP5.
You may be impacted by breaking changes, which are listed below.
cardano-node
: 1.21.1
cardano-db-sync
: 6.0.0
- Note: The database must be recreated using the new version.hasura/graphql-engine
: 1.3.2
WHITELIST_PATH
is now ALLOW_LIST_PATH
HASURA_CLI_PATH
is now required configuration, however it's set in the Dockerfile and nix service by default.Block.vrfKey
and the associated input types are now a validated for the correct prefix using a custom scalarStakePool.id
and the associated input types are now a validated for the correct prefix using a custom scalarHash32HexString
-> Hash32Hex
Hash32HexString_comparison_exp
-> Hash32Hex_comparison_exp
SlotLeader.hash
, StakePool.hash
, StakePoolOwner.hash
are now Hash28Hex
typeBlock.vrfKey
is now the bech32 encoded value as per CIP5. It's now typed as VRFVerificationKey
.StakePool.id
(3fc763c)
pool
Epoch.protocolParams
and Epoch.nonce
(c08d652)Transaction.metadata
(8cec6e8)api-genesis
with api-cardano-db-hasura
(0f927c4)WHITELIST_PATH
(a2d00ff)Changelog
2.1.0 (2020-09-17)
cardano-node
: 1.19.1
cardano-db-sync
: 5.0.0
- Note: The database must be recreated using the new version.