github cardano-foundation/cardano-graphql v1.0.0-rc.13

latest releases: 8.2.2, 8.2.1, 8.2.0...
pre-release4 years ago

This release will be followed closely by the production 1.0.0 release

Compatible with:

  • cardano-node 1.14.2 | cardano-node 1.13.0
  • cardano-db-sync-extended 2.1.0

⚠️ As per the release notes of cardano-db-sync@2.1.0: "This release requires the database to be dropped and recreated." If using Docker, see the Wiki for info

Features

Establish relationships to easily access transaction and block information from inputs and outputs

  • TransactionInput.transaction
  • TransactionInput.sourceTransaction (where it was an output)
  • TransactionOutput.transaction
  • CardanoDbMeta via Query.cardanoDbMeta exposes information to understand if the dataset is complete including:
    initialized, syncPercentage, and slotDiffFromNetworkTip. The epoch data is incomplete until initialized = true
    , which takes around 2 hours for the initial sync as of block number 4388632. syncPercentage or
    slotDiffFromNetworkTip provides progress.
  • The codebase is now modularized to enable new API segments to be added alongside as an extension, composition of services
    for more use-cases, ability to import the executable schema and host on a different server. The packages will be published to npm,
    or can be built from source:
    • @cardano-graphql/server
    • @cardano-graphql/api-cardano-db-hasura
    • @cardano-graphql/client-ts
    • @cardano-graphql/cli
    • @cardano-graphql/util-dev
    • @cardano-graphql/util

⚠️ Breaking Changes

  • Entrypoint for the service previously found in ./dist/index.js is now ./packages/server/dist/index.js after building.
  • Cardano.blockHeight removed in favour of Cardano.tip.number, where tip = the most recent Block. This unlocks
    more information such as slotNo, and capability to traverse the chain etc.
  • Dates are now coerced to RFC 3339 UTC date-time strings

Don't miss a new cardano-graphql release

NewReleases is sending notifications on new releases.