Skip to content

Latest commit

 

History

History
516 lines (287 loc) · 10 KB

CHANGELOG.MD

File metadata and controls

516 lines (287 loc) · 10 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[5.7.0] - 2024-11-05

Added

  • Methods for querying governance DReps endpoints - governance.dreps, governance.drepsById, governance.drepsByIdDelegators, governance.drepsByIdMetadata, governance.drepsByIdUpdates, governance.drepsByIdVotes
  • Methods for querying governance proposals endpoints - governance.proposals, governance.proposal, governance.proposalMetadata, governance.proposalParameters, governance.proposalVotes, governance.proposalWithdrawals

Changed

  • Use IPFS types from @blockfrost/openapi package

[5.6.0] - 2024-10-03

Added

  • added the gotOptions property to the BlockFrostAPI class. This property can be passed during the initialization of the BlockFrostAPI object. For more details, refer to the Got Options documentation.
  • txsRequiredSigners for retrieving required signers (extra transaction witnesses)
  • networkEras method for querying blockchain eras
  • txsCbor for retrieving transaction CBOR

Changed

  • Updated Blockfrost OpenAPI to 0.1.67

[5.5.0] - 2023-12-20

Added

  • Cardano SanchoNet support

Changed

  • Updated Blockfrost OpenAPI to 0.1.60
  • Deps bump
  • verifyWebhookSignature now returns strongly typed webhook event. Additionally, webhookPayload parameter now accepts both string and object types, eliminating the need to manually convert the payload to a string.
  • removed unnecessary promise wrap from most methods

[5.4.0] - 2023-07-26

Added

  • enabled retry logic for requests failing on EPROTO error and 520 status code

Changed

  • drop Node.js 14 support from build and readme
  • bump @emurgo/cardano-serialization-lib-nodejs and dev deps
  • bump @blockfrost/openapi dep

Fixed

  • remove testnet as possible network value
  • memory leak in deriveAddress

[5.3.1] - 2023-04-18

Fixed

  • utilsTxsEvaluate, utilsTxsEvaluateUtxos methods

[5.3.0] - 2023-04-05

Added

  • TSDoc docs for every method
  • utilsTxsEvaluate method for /utils/txs/evaluate Blockfrost endpoint
  • utilsTxsEvaluateUtxos method for /utils/txs/evaluate/utxos Blockfrost endpoint
  • mempoolByAddress, mempoolByAddressAll methods for filtering Blockfrost Mempool by an address

Changed

  • bump @blockfrost/openapi to 0.1.57

Removed

  • unused dependency

[5.2.0] - 2022-12-12

Added

  • epochsLatestParameters method

Changed

  • tests + mocks
  • updated deps

[5.1.0]

Added

  • BlockfrostServerError now includes body property in cases where the error was not formatted by Blockfrost Backend (eg. various nginx errors)
  • mempool, mempoolAll, mempoolTx methods for Blockfrost Mempool
  • use @blockfrost/openapi for type definitions

[5.0.0]

Added

  • Support for preview and preprod networks
  • parseAsset now also returns assetNameHex

Removed

  • ⚠️ BREAKING CHANGE: Removed isTestnet option. Network is automatically selected based on the project ID. In case of using legacy Project ID you can manually set network option.

[4.2.1]

Fixed

  • response types in txsMetadata

[4.2.0]

Added

  • addressesUtxosAsset, addressesUtxosAssetAll methods returning list of the address's utxos containing a given asset
  • verifyWebhookSignature to verify signature sent as part of Blockfrost webhook request
  • url property in BlockfrostServerError and BlockfrostClientError objects set to an URL where the failed request was sent to

Fixed

  • deriveAddress memory leak by freeing WASM objects

Changed

  • updated @blockfrost/openapi & regenerated types to match reflect changes in Blockfrost API

[4.1.0]

Added

Changed

  • Updated cardano-serialization-lib to v10
  • Lowered number of retries for failed requests to 3

[4.0.1]

Removed

  • order pagination option from epochsNext, epochsPrevious, blocksNext, and blocksPrevious

[4.0.0]

⚠️ Breaking changes

  • scriptscriptsByHash
  • scriptDatumscriptsDatum
  • scriptRedeemersscriptsRedeemers
  • scriptJsonscriptsJson
  • scriptCborscriptsCbor

Added

  • added exports for util functions getFingerprint deriveAddress
  • poolsExtended, poolsExtendedAll endpoints
  • blockAddress, blockAddresses for retrieving all addresses that were affected in a block

Changed

  • deriveAddress is no longer a method on BlockfrostAPI, but rather a standalone function exported from @blockfrost/blockfrost-js

Fixed

  • params in deriveAddress and stake address derivation
  • incorrect user-agent header

Removed

  • getAccount method

[3.0.3]

Fixed

  • incorrect user-agent header (backported from v4.0.0)

[3.0.2]

Added

  • testnet option for getAccount

[3.0.1]

3.0.0 was accidentally tagged as beta in npm

[3.0.0]

Added

  • http2 option (default false)
  • debug option (default false) - logs to stdout/stderr all fired request and errors thrown by Got
  • derive network from project id
  • new helper methods epochsBlocksAll, epochsBlocksByPoolIdAll, epochsStakesAll, epochsStakesByPoolIdAll and poolsAll
  • new methods addressesExtended and accountsAddressesTotal

⚠️ Breaking changes

Changed

  • thrown errors (BlockfrostServerError, BlockfrostClientError) are now subclasses of Error
  • updated @blockfrost/openapi & regenerated types to match reflect changes in Blockfrost API

Fixed

  • return type of epochsStakesByPoolId and epochsBlocksByPoolId

[2.0.2]

Fixed

  • assetsPolicyById response schema
  • ipfs add maxContentLength and maxBodyLength

[2.0.1]

Fixed

  • metadataTxsLabels and metadataTxsLabel endpoints types

[2.0.0]

⚠️ Breaking change - Fix

  • sort response in getAccount

[1.3.0]

Added

  • alonzo support
  • script, scripts, scriptJson, scriptCbor, scriptDatum, scriptRedeemers endpoints
  • blocksLatestTxs, blocksLatestTxsAll endpoints

[1.2.0]

Added

  • accountsAddressesAssets and accountsAddressesAssetsAll endpoints

[1.1.0]

Added

  • network endpoint

[1.0.2]

Fixed

  • addressesTransactionsAll empty params

[1.0.1]

Fixed

  • Methods with all empty params

[1.0.0]

⚠️ Breaking change

  • Methods with all accept object as additional parameters

{ batchSize: number; order: 'asc' | 'desc' }

Added

  • asset utils parseAsset

[0.9.4]

Removed

  • dotenv dependency
  • deprecated methods addressesTxs and assetsTxs

[0.9.3]

Fixed

  • ipfs path parameter

[0.9.2]

Fixed

  • pagination types

[0.9.1]

Changed

  • "@blockfrost/openapi": "0.1.24",

[0.9.0]

⚠️ Breaking change

  • all paginated endpoints now accept pagination object instead of parameters

count: number;
page: number;
order: 'asc' | 'desc';

Added

  • nutlink address endpoint
  • IPFS Blockfrost API

Fixed

  • dependencies

[0.8.0]

Added

  • nutlink endpoints

[0.7.1] - 2021-06-30

Added

  • txSubmit param as hex

[0.7.0] - 2021-06-23

Added

  • retryCount param
  • retryDelay param
  • axios requestTimeout params

[0.6.0] - 2021-06-22

Added

  • accountsMirs and txsMirs endpoints = MIR support
  • accountsWithdrawals endpoint

[0.5.3] - 2021-06-22

Fixed

  • build

[0.5.2] - 2021-06-21

Fixed

  • build

[0.5.1] - 2021-06-21

Fixed

  • addressesTransactions cursor types

[0.5.0] - 2021-06-19

Added

  • userAgent option

Changed

  • FABULOUS error responses
  • openapi 0.1.19
  • addressesTransactions endpoint to accept new from and to parameters (cursor)
  • changed delay between requests to 1s on 429

[0.4.1] - 2021-06-07

Changed

  • openapi 0.1.18

[0.4.0] - 2021-06-06

Added

  • addressesTransactions endpoint
  • addressesTransactionsAll endpoint
  • assetsTransactions endpoint

[0.3.1] - 2021-05-26

Fixed

  • addressesTxsAll errors

[0.3.0] - 2021-05-21

Added

  • blocksTxsAll endpoint

[0.2.6] - 2021-05-20

Fixed

  • health endpoint response

[0.2.5] - 2021-05-19

Changed

  • openapi 0.1.15

[0.2.4] - 2021-05-18

Fixed

  • addressesTxsAll pagination
  • addressesUtxosAll pagination

[0.2.3] - 2021-05-06

Fixed

[0.2.2] - 2021-05-02

Fixed

  • txSubmit header

[0.2.1] - 2021-04-29

Changed

[0.2.0] - 2021-04-27

Added

  • addressesTxsAll
  • addressesUtxosAll

Fixed

  • txSubmit param

[0.1.0] - 2021-04-12

Fixed

  • testnet option

Added

[0.0.6] - 2021-03-31

Fixed

  • npm bundle size

[0.0.5] - 2021-03-31

Unreleased

[0.0.4] - 2021-03-31

Unreleased

[0.0.3] - 2021-03-31

Unreleased

[0.0.2] - 2021-03-31

Fixed

  • customBackend parameter

[0.0.1] - 2021-03-26

Added

  • Initial commit