Skip to content

Releases: Emurgo/yoroi-graphql-migration-backend

1.1.3-pre1

13 Oct 14:02
a611f6f
Compare
Choose a tag to compare
Merge pull request #275 from Emurgo/ruslan/fix-status-check

Added safe-navigation to the status check after tx submission

1.1.2

12 Oct 23:30
f124c77
Compare
Choose a tag to compare
Merge pull request #273 from Emurgo/fix/allow-empty-asset-name-on-ma-…

1.1.0

23 Oct 14:10
Compare
Choose a tag to compare

Breaking change

Deprecations

  • The following endpoints are being renamed (old paths still work for backwards compatibility)
    • api/getAccountState -> api/account/state
    • api/getPoolInfo -> api/pool/info
    • api/getRewardHistory -> api/account/rewardHistory

Internal changes

  • account/state endpoint no longer requires running a cardano-node instance locally (now queried from cardano-db-sync)

New features

  • Allow passing payment keys (encoded as bech32 addr_vkh to match CIP5) for addresses/filterUsed, txs/history, txs/utxoForAddresses
  • Allow bech32 encoding of staking keys (stake and stake_test) for account/registrationHistory, account/state, account/rewardHistory, txs/history
  • Add reward history endpoint (account/rewardHistory)
  • api/account/state now properly fills the rewards and withdrawals fields in the response

Bug fixes

  • txs/history endpoint used to return the wrong information for the metadata field. It now always returns null pending implementation of this field in a future version.
  • api/getRewardHistory now returns [] as a default value (instead of an address being omitted from the response if it has never been registered)
  • txs/history endpoint now supports mid-block pagination. Previously, trying to paginate mid-block (ex: getting block A tx 1 and block A tx 2 in two separate queries) would drop results
  • txs/history now properly returns transactions where the staking key appears in a certificate and none of the input / outputs belong to the user
  • Fixed broken check for REFERENCE_BEST_BLOCK_MISMATCH for txs/history
  • Fixed type field in txs/history (used to always return shelley, but now properly returns byron for byron-era transactions)

1.0.0

23 Oct 12:53
6c7aaea
Compare
Choose a tag to compare

Initial version