Skip to content

Latest commit

 

History

History
362 lines (237 loc) · 36.6 KB

CHANGELOG.md

File metadata and controls

362 lines (237 loc) · 36.6 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.0 (2023-01-25)

  • bump cardano-node (14a2939)
  • bump to Ubuntu 22.04 (c34c4ce)
  • bump cardano service deps and cabal (be122ad)
  • add support for building an aarch64 image (50e653f)

2.0.0 (2023-01-11)

2.0.0-rc.2 (2022-12-16)

Bug Fixes

  • Updating the DEFAULT_POOL_DEPOSIT parameter (d102687)

2.0.0-rc.1 (2022-12-13)

Bug Fixes

  • nest protocol params inside metadata object of construction endpoint (176f3e2)

2.0.0-beta.1 (2022-11-29)

  • bump to cardano-serialization-lib@11.1.1

2.0.0-beta.0 (2022-11-11)

⚠ BREAKING CHANGES

  • get protocol params from request: This is a breaking change in the construction flow to correct an oversight in the original implementation relating to handling current protocol parameters, and how it relates to running the service in offline mode. In prior versions the protocol parameters were an internal concern, originally it was statically read from genesis, then later refactored to be queried from the DB. The former version created a valid offline mode, but after refactoring it violates the spec as the database cannot be running in this mode. Upgrading from v1 to v2: /construction/metadata now returns protocol_parameters, which must be used to construct a deposit_parameters object in the /construction/preprocess request metadata.

Performance

  • improve search transactions by coin query (a721862)

Refactor

  • get protocol params from request (ec56d25)

Bug Fixes

  • handle WASM-bound objects produced when interacting with CSL (069674e)

1.8.1 (2022-08-18)

  • introduce support for new test networks (32200ae)

1.8.0 (2022-08-16)

Features

  • adapt network service to vasil-qa topology file (7eaede5)
  • update pool registrations query (8c9a478)

Bug Fixes

  • add order by to delegations and pool owners queries (6f6152d)
  • fix on search by addresses and coins (685d900)
  • move submit tx method before the hash of the tx was obtained (b9b43c6)
  • postman tests (da7143c)
  • updated test readme (9d7c546)
  • validate type of metadata field for vote registrations (0d862e5)

1.7.1 (2022-06-16)

Bug Fixes

  • validate type of metadata field for vote registrations (b266a4b)

1.7.0 (2022-01-25)

Features

  • bump cardano-node + GHC version (23db4c3)

1.6.1 (2021-12-17)

Features

  • cardano-db-sync snapshot restoration (55aa8ec)

Bug Fixes

  • changed Dockerfile gosu gpg keyserver as it was randomly failing (8c29315)
  • ensure DB is always created, enhance docs (1529731)

1.5.0 (2021-10-04)

Features

Bug Fixes

1.4.0 (2021-08-28)

Features

  • add query to retrieve tx metadata (cdfebd7)
  • add vote operations to block endpoint (a15bae5)
  • add vote registration operation (#398) (48d9e1b)

Bug Fixes

  • add auxiliary data when building tx (4b94679)
  • construction parse inputs (e86ccbf)
  • include tx metadata when calculating tx size (bf09eb5)

1.4.0-beta.1 (2021-08-15)

Chores

  • build and push alonzo-purple images to Docker Hub (6d3433d)
  • improve docs to cover Docker Hub repository (98bb9c4)

1.4.0-beta.0 (2021-08-12)

Features

  • add alonzo era when submitting tx (2d2d831)
  • filter invalid txs from utxo and balance queries (#401) (2298321), closes #108

Bug Fixes

  • fix ma-transfer example (b3c2a01)
  • pool registration workflow config fix (2bf6401)

1.3.0 (2021-07-21)

Features

  • add pool registration with cert example and doc (#366) (3a5e057)
  • adding pool retirement operations (#345) (4f8beef)
  • changed minFeeA and minFeeB sources. Got them from database (#341) (5956b0c)
  • changing serialization lib to 6.0.0 (#338) (1bae758)
  • increment max body limit by optional env (cc83cdd)
  • payloads: invalid pool key hash error handling (c602256), closes #286
  • pool retirement documentation support (#353) (5c57241)
  • pool retirement operation in block transaction endpoints (#352) (8d33c69)

Bug Fixes

  • add pool owners addresses at payloads (#354) (46188b1)
  • add pool owners to signer list of construction parse response (#363) (8314222)
  • body limit fixed from environment variables (#355) (bb45cb1)
  • fix examples tests (#346) (ce6474f)
  • remove quotes from yaml string in docker-compose (2ae54c2)
  • Catch OutsideValidityIntervalUTxO node error in construction (e095247)

1.2.1 (2021-03-17)

Bug Fixes

  • fix README instructions to point to proper version (1.2.1) (959866a)

1.2.0 (2021-03-17)

Features

1.1.0 (2021-02-01)

Features

  • add delegation and deregistration operations support (b8acd6b)
  • add token bundle to transaction operations (#282) (9ca1f65)
  • added multiassets representation to the openapi.json definition (6923a91)
  • added staking delegation workflow to be executed by rosetta-cli (b0b9dd3)
  • calculate fee validation (585f427), closes #211
  • cardano-serialization-lib added to the repo as a tar (fd208ff)
  • consider deposit, refunds and withdrawals for fee calculation (c6a7e06), closes #211
  • construction derive staking support (#207) (4cf5ea5), closes #198
  • including token bundles in input and output operations parsing (#290) (7fb6fc7)
  • Initial outputs parsing (651cf17)
  • multiple snapshots and fixtures are now allowed when running tests (604ea88), closes #276
  • rosetta-cli check:construction MA workflow (#295) (9beaf72)
  • stake registration and deregistration parsing (54af672), closes #205
  • try multiple eras when sending a transaction (#310) (132d7e6)
  • validate token policy and symbol to be a hex string (#302) (08e3917)
  • construction-parse: stake operations and withdrawals parsing (974d5b9), closes #205

Bug Fixes

  • add missing staking addresses when creating transaction payloads (25342c6)
  • add missing testnet network identifier to post-release workflow (7ac1c72)
  • cardano-cli tx encoding should be Tx MaryEra (401cd7d)
  • delegate stake example (17f0698)
  • fix dump_blocks script and db snapshot (5f22d23)
  • fix lint issues (e5b2c49)
  • fix missing shades dependency (2193f9a)
  • fix withdrawal example (#255) (c5a48b8)
  • map empty asset name in order to work with rosetta-cli:check data (#307) (d17c4e1)
  • missing minKeyDeposit parameter in cardano service and linter warning fixes (8b3b41d)
  • multiassets schema wasn't properly mapped (#280) (eeb5611)
  • set default test db as mainnet (61ddbdd)
  • there were some staking network operations missing (#223) (0309ee4)
  • typo fix in isPolictyIdValid (dc33252)

1.0.0 (2020-12-11)

Bug Fixes

  • added an extra validation on /account/balance to fail if invalid addr (865912f)
  • bump cardano node to 1.20.0 & cardano-db-sync to 5.0.1 (5fee129), closes #183
  • CARDANO_CLI_PATH var in ecosystem file (2597ef1)
  • don't repeat witnesses if multiple inputs from the same address (b671fef), closes #184
  • example is not working with the latest rosetta api changed (565cf69)
  • fix tests after 6.0.0 upgrade (5d0602f)
  • networkId is now taken from the network magic (#239) (bce74fe), closes #238
  • networkId wasn't properly checked after #238 (#241) (b4e1167)
  • post-integration testnet build (07dcb21)
  • properly return detailed error message when req body has an issue (6042f57)
  • strengthen Docker smoke test (65f2ac7), closes #180
  • update cardano-db-sync to 6.0.1 to fix an issue when importing blocks (7fb2c03)
  • upgrade node-fetch to 2.6.1 (#189) (0a6028b), closes #188

0.2.2 (2020-09-10)

Features

  • configurable default relative TTL at Docker runtime (6c1dd3c)
  • configurable page size at Docker runtime (964a15b)
  • configurable logging at Docker runtime (df043d81)
  • improve env parser functions and test. (b54b3fb)

Bug Fixes

  • account total balance was calculated using Number instead of BigInt (81c45fd)
  • fix: dont ask for socket file to exist when parsing env (e6226689)

0.2.1 (2020-09-04)

Bug Fixes

  • adds PORT and BIND_ADDRESS to pm2 ecosystem config (2961f72)

0.2.0 (2020-09-01)

Features

  • Add cardano-node binary and set ENV to query version (baf4279), closes #28
  • added query to cardano-node for node version (#151) (88570d0)
  • update cardano node version (9861bad)

Bug Fixes

  • add CARDANOCLI_PATH and CARDANO_NODE_SOCKET_PATH to missed cardano-rosetta-server implementations (b67558c)
  • Add DEFAULT_RELATIVE_TTL to missed cardano-rosetta-server implementations (1705906)
  • generic error handling (6edf616)
  • remote access issues, including docs (7191e14)
  • remove replace0xOnHash() function calls everywhere since 0x is not a valid prefix hash for this env (#150) (592a81c)

0.1.0 (2020-08-25)

Features

  • /construction/preprocess (#110) (8989aa8)
  • /construction/submit endpoint implementation (#106) (2585e57), closes #114
  • /construction/submit implementation (64d467a)
  • Add MODE ENV to limit services running in offline operation (013024a)
  • added bech32 tesnet prefix support (#93) (01698ee)
  • added cardano service implementation to generate address. (72c62c2)
  • added coin change to blockService response objects (#79) (5a3ba1a)
  • added construction combine (7e8bcda), closes #90
  • added details when some parsing errors are thrown. Also change some logic on error handling (#116) (a8fcdaf)
  • adds service dependencies and process management to Dockerfile (920488f)

Bug Fixes

  • add offline check for networkWalidation in all enpdoints. Refactor to tests so if any endpoint could work offline, a mock db is used (#118) (9c091a4)
  • added query fix to query a single transaction by genesis block (75f66d8)
  • build iohk libsodium fork (f77bd0b)
  • convert block time (timestamp) to milliseconds. Tests were also fixed (#133) (60333ef)
  • error when parsing transaction errors: coin_action and address prefix (5ba3dab)
  • fill parse with missing information so it can be processed by check tool (dd3dbb0)
  • fix signature type. ECDSA must be used (#99) (ff6f89f)
  • fixed signature processing (it's not expected as CBOR anymore) (#102) (3da8103)
  • inpust must have coin_identifier field, not outputs. (7cd84cd)
  • metadata should be optional on preprocess so default will be defined (cb44c31)
  • parse operation status should be empty (a15efd0), closes /github.com/coinbase/rosetta-sdk-go/blob/823626058e01ab96e4bd6f6a27648b096f02d9b1/asserter/block.go#L189
  • remove timestamp with timezone in /block and findBlock query. Fix tests. Added momentjs to ensure UTC time conversion (#125) (444ea58)
  • remove use of 0x as prefix from whole project (711cb99)
  • removed some unused code and fixed linter errors in tests (eb3941e)
  • transaction operatios were not properly built. wrong coin_change (65b8e67)
  • Use standard default port (d50096d), closes #113

0.0.1 (2020-07-31)

Features

  • /block/transaction endpoint finished (fcbed6b), closes #12
  • /block endpoint (e1de850), closes #13
  • /block genesis test mockup (4c5be44)
  • /block returns information about latest block when no block_identifie (2b743f7)
  • added balance and utxo query and full accountBalance impl. (8e0bae7)
  • added block validation when requesting blockTransaction endpoint (a6cc667)
  • added metadata to /block api (73ff25c), closes #21
  • added networkList implementation for both service and repository (#26) (f212b39)
  • added tx_out index to txResponse on /block (3735b1d)
  • added tx_out index to txResponse on /block (c4ec9c3)
  • fastify server with typescript endpoints created using openapi (f31beb2)
  • initial commit. Added first prototype to find a tx by hash. Networks is already validated (bd8bfe7)
  • network options endpoint (#30) (c1aa3e7)
  • network status endpoint (#31) (7be024f)
  • now we read the file in an absolute path way. path.resolve() was used to accomplish it (83694f7)
  • only return hashes when there are a lot of transactions per block (WIP) (e6a7d60)
  • remove findBalance query since findUtxoDetailsForAddress was the same query (28ecd6d), closes #71
  • return utxos as metadata when querying for account balance (791068c)
  • transactions are returned for /blocks API (09ecfd8), closes #22
  • typescript types generation based on openapi specs from rosetta (1b48eae)

Bug Fixes

  • added tests for /block for a block with more than 8 txs. Extract PAGE_SIZE to .env (38be744)
  • allow /block to be able to be queried by block === 0 (#59) (ef79708), closes #51
  • errors weren't being logged when caught by the server (21291ba)
  • findBlock query was refactored to support new db schema (#34) (347dd1c)
  • fix query indentation, remove some joins cause they werent necesary. Fix a test bug. Return balance as string from db to avoid posible overflow. (4e953ad)
  • JOIN on findBlock must be a LEFT JOIN since previous field could be null on genesisBlock. Also fix a null.toString() (8dd1eb7)
  • latestBlockQuery was fixed since db schema update. (fc52f6b), closes #41
  • point package.json links to new repo (efaf39b)
  • return different error codes to comply with rosetta spec (#52) (8535b6c), closes #49
  • return different error codes to comply with rosetta spec (#52) (a86d8c3), closes #49
  • transactionInput and transactionOutput query fix. Also fix tests because of some corrupted data with previous queries (#39) (7fb27f1)
  • utxo details and balance query was fixed. Also tests were fixed. (b542997)