diff --git a/CHANGELOG.md b/CHANGELOG.md index b42b4fe..2c0aa73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,99 @@ + +## [Unreleased] + + + +## [v0.18.0] - 2023-02-04 +### Build +- **deps:** update env_logger requirement from 0.9.0 to 0.10.0 ([#209](https://github.com/txpipe/pallas/issues/209)) +- **deps:** update minicbor requirement from 0.18 to 0.19 ([#213](https://github.com/txpipe/pallas/issues/213)) + +### Chore +- Fix lint issues ([#222](https://github.com/txpipe/pallas/issues/222)) +- Fix README badge ([#217](https://github.com/txpipe/pallas/issues/217)) + +### Feat +- Derive Debug for Bearer ([#219](https://github.com/txpipe/pallas/issues/219)) +- **miniprotocols:** Implement tx submission client & server ([#220](https://github.com/txpipe/pallas/issues/220)) + +### Fix +- Provide original hash for inline datum ([#221](https://github.com/txpipe/pallas/issues/221)) + + + +## [v0.17.0] - 2023-01-26 +### Fix +- use PlutusBytes to encode BigUInt/BigNInt ([#216](https://github.com/txpipe/pallas/issues/216)) + + + +## [v0.16.0] - 2023-01-06 +### Chore +- Remove lagging pre-release ref ([#206](https://github.com/txpipe/pallas/issues/206)) +- Fix lint warnings ([#205](https://github.com/txpipe/pallas/issues/205)) +- Remove pre-release ref from deps ([#204](https://github.com/txpipe/pallas/issues/204)) +- Fix address lint issue ([#201](https://github.com/txpipe/pallas/issues/201)) +- **miniprotocols:** Fix integration tests after preview respin ([#203](https://github.com/txpipe/pallas/issues/203)) +- **miniprotocols:** Add chain-sync tip test ([#199](https://github.com/txpipe/pallas/issues/199)) + +### Feat +- Migrate to dumb agents ([#198](https://github.com/txpipe/pallas/issues/198)) +- **addresses:** Add helper for shelley into stake address ([#208](https://github.com/txpipe/pallas/issues/208)) +- **miniprotocols:** Introduce tracing ([#214](https://github.com/txpipe/pallas/issues/214)) +- **multiplexer:** Introduce sync multiplexer option ([#210](https://github.com/txpipe/pallas/issues/210)) +- **traverse:** produces_at method for MultiEraTx ([#200](https://github.com/txpipe/pallas/issues/200)) + +### Fix +- Match CBOR encoding of plutus data with the haskell implementation. ([#212](https://github.com/txpipe/pallas/issues/212)) +- **addresses:** Remove bad todo in bech32 logic ([#207](https://github.com/txpipe/pallas/issues/207)) +- **primitives:** Handle generic int in Plutus data ([#202](https://github.com/txpipe/pallas/issues/202)) + +### BREAKING CHANGE + +handshake, chainsync, localstate and blockfetch mini-protocols changed the API surface + + + +## [v0.14.2] - 2022-11-14 +### Build +- **deps:** update minicbor requirement from 0.17 to 0.18 ([#134](https://github.com/txpipe/pallas/issues/134)) +- **deps:** update bech32 requirement from 0.8.1 to 0.9.1 ([#177](https://github.com/txpipe/pallas/issues/177)) + +### Chore +- Fix linter warnings ([#194](https://github.com/txpipe/pallas/issues/194)) +- Fix lint warnings ([#190](https://github.com/txpipe/pallas/issues/190)) +- Move fee logic out of primitives ([#174](https://github.com/txpipe/pallas/issues/174)) +- Move time logic out of primitives ([#173](https://github.com/txpipe/pallas/issues/173)) +- Move hash logic out of primitives ([#172](https://github.com/txpipe/pallas/issues/172)) +- **primitives:** Remove redundant address logic ([#171](https://github.com/txpipe/pallas/issues/171)) + +### Feat +- return indexes along with outputs returned by produces() ([#193](https://github.com/txpipe/pallas/issues/193)) +- Provide access to all assets at a tx out ([#180](https://github.com/txpipe/pallas/issues/180)) +- Add magic constants for preview and preprod environments ([#179](https://github.com/txpipe/pallas/issues/179)) +- Introduce Bech32 crate ([#176](https://github.com/txpipe/pallas/issues/176)) +- **addresses:** Add hex and bech32 for Shelley parts ([#181](https://github.com/txpipe/pallas/issues/181)) +- **primitives:** Preserve order of map structures ([#192](https://github.com/txpipe/pallas/issues/192)) +- **primitives:** Enable serde of ledger structs ([#169](https://github.com/txpipe/pallas/issues/169)) +- **traverse:** Add helper methods to Asset data ([#195](https://github.com/txpipe/pallas/issues/195)) +- **traverse:** Provide access to original Datum hash ([#189](https://github.com/txpipe/pallas/issues/189)) +- **traverse:** Introduce new MultiEraTx helpers ([#184](https://github.com/txpipe/pallas/issues/184)) + +### Fix +- Stop double CBOR encoding of Plutus script used for hashing ([#188](https://github.com/txpipe/pallas/issues/188)) +- use correct prefix when hashing plutus v2 script ([#182](https://github.com/txpipe/pallas/issues/182)) +- **codec:** Make Int struct copy ([#170](https://github.com/txpipe/pallas/issues/170)) +- **primitives:** Handle generic int in Plutus data ([#202](https://github.com/txpipe/pallas/issues/202)) +- **primitives:** Add missing PartialOrd and Ord to TransactionInput ([#191](https://github.com/txpipe/pallas/issues/191)) +- **traverse:** Make ToHash trait public outside crate ([#186](https://github.com/txpipe/pallas/issues/186)) + + + +## [v0.13.4] - 2022-11-14 +### Fix +- **primitives:** Handle generic int in Plutus data ([#202](https://github.com/txpipe/pallas/issues/202)) + + ## [v0.15.0] - 2022-11-13 ### Chore @@ -377,11 +473,11 @@ handshake, chainsync, localstate and blockfetch mini-protocols changed the API s - **miniprotocols:** Use pure functions for state machines ([#84](https://github.com/txpipe/pallas/issues/84)) - -## [pallas-codec@0.7.1] - 2022-03-16 - ## [pallas-miniprotocols@0.7.1] - 2022-03-16 + + +## [pallas-codec@0.7.1] - 2022-03-16 ### Fix - **miniprotocols:** Handle regression related to multi-msg payloads ([#76](https://github.com/txpipe/pallas/issues/76)) @@ -666,7 +762,12 @@ handshake, chainsync, localstate and blockfetch mini-protocols changed the API s - apply fmt to entire workspace -[Unreleased]: https://github.com/txpipe/pallas/compare/v0.15.0...HEAD +[Unreleased]: https://github.com/txpipe/pallas/compare/v0.18.0...HEAD +[v0.18.0]: https://github.com/txpipe/pallas/compare/v0.17.0...v0.18.0 +[v0.17.0]: https://github.com/txpipe/pallas/compare/v0.16.0...v0.17.0 +[v0.16.0]: https://github.com/txpipe/pallas/compare/v0.14.2...v0.16.0 +[v0.14.2]: https://github.com/txpipe/pallas/compare/v0.13.4...v0.14.2 +[v0.13.4]: https://github.com/txpipe/pallas/compare/v0.15.0...v0.13.4 [v0.15.0]: https://github.com/txpipe/pallas/compare/v0.14.0...v0.15.0 [v0.14.0]: https://github.com/txpipe/pallas/compare/v0.14.0-alpha.6...v0.14.0 [v0.14.0-alpha.6]: https://github.com/txpipe/pallas/compare/v0.13.3...v0.14.0-alpha.6 @@ -697,9 +798,9 @@ handshake, chainsync, localstate and blockfetch mini-protocols changed the API s [v0.9.0-alpha.0]: https://github.com/txpipe/pallas/compare/v0.8.0...v0.9.0-alpha.0 [v0.8.0]: https://github.com/txpipe/pallas/compare/v0.8.0-alpha.1...v0.8.0 [v0.8.0-alpha.1]: https://github.com/txpipe/pallas/compare/v0.8.0-alpha.0...v0.8.0-alpha.1 -[v0.8.0-alpha.0]: https://github.com/txpipe/pallas/compare/pallas-codec@0.7.1...v0.8.0-alpha.0 -[pallas-codec@0.7.1]: https://github.com/txpipe/pallas/compare/pallas-miniprotocols@0.7.1...pallas-codec@0.7.1 -[pallas-miniprotocols@0.7.1]: https://github.com/txpipe/pallas/compare/v0.7.0...pallas-miniprotocols@0.7.1 +[v0.8.0-alpha.0]: https://github.com/txpipe/pallas/compare/pallas-miniprotocols@0.7.1...v0.8.0-alpha.0 +[pallas-miniprotocols@0.7.1]: https://github.com/txpipe/pallas/compare/pallas-codec@0.7.1...pallas-miniprotocols@0.7.1 +[pallas-codec@0.7.1]: https://github.com/txpipe/pallas/compare/v0.7.0...pallas-codec@0.7.1 [v0.7.0]: https://github.com/txpipe/pallas/compare/v0.7.0-alpha.1...v0.7.0 [v0.7.0-alpha.1]: https://github.com/txpipe/pallas/compare/v0.7.0-alpha.0...v0.7.0-alpha.1 [v0.7.0-alpha.0]: https://github.com/txpipe/pallas/compare/pallas-primitives@0.6.4...v0.7.0-alpha.0 diff --git a/pallas-addresses/Cargo.toml b/pallas-addresses/Cargo.toml index 217a976..54b9383 100644 --- a/pallas-addresses/Cargo.toml +++ b/pallas-addresses/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-addresses" description = "Ergonomic library to work with different Cardano addresses" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -12,8 +12,8 @@ authors = ["Santiago Carmuega "] [dependencies] hex = "0.4.3" -pallas-crypto = { version = "0.17.0", path = "../pallas-crypto" } -pallas-codec = { version = "0.17.0", path = "../pallas-codec" } +pallas-crypto = { version = "0.18.0", path = "../pallas-crypto" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec" } base58 = "0.2.0" bech32 = "0.9.1" thiserror = "1.0.31" diff --git a/pallas-codec/Cargo.toml b/pallas-codec/Cargo.toml index fa98519..54f8b91 100644 --- a/pallas-codec/Cargo.toml +++ b/pallas-codec/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-codec" description = "Pallas common CBOR encoding interface and utilities" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-crypto/Cargo.toml b/pallas-crypto/Cargo.toml index 27275b1..b69a651 100644 --- a/pallas-crypto/Cargo.toml +++ b/pallas-crypto/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-crypto" description = "Cryptographic primitives for Cardano" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -15,7 +15,7 @@ hex = "0.4" cryptoxide = { version = "0.4.1" } thiserror = "1.0" rand_core = "0.6" -pallas-codec = { version = "0.17.0", path = "../pallas-codec" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec" } serde = "1.0.143" [dev-dependencies] diff --git a/pallas-miniprotocols/Cargo.toml b/pallas-miniprotocols/Cargo.toml index 641bd43..21842b9 100644 --- a/pallas-miniprotocols/Cargo.toml +++ b/pallas-miniprotocols/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-miniprotocols" description = "Implementation of the Ouroboros network mini-protocols state-machines" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -11,8 +11,8 @@ readme = "README.md" authors = ["Santiago Carmuega "] [dependencies] -pallas-codec = { version = "0.17.0", path = "../pallas-codec/" } -pallas-multiplexer = { version = "0.17.0", path = "../pallas-multiplexer/" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec/" } +pallas-multiplexer = { version = "0.18.0", path = "../pallas-multiplexer/" } hex = "0.4.3" itertools = "0.10.3" thiserror = "1.0.31" diff --git a/pallas-multiplexer/Cargo.toml b/pallas-multiplexer/Cargo.toml index 9dc5d35..0274d3b 100644 --- a/pallas-multiplexer/Cargo.toml +++ b/pallas-multiplexer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-multiplexer" description = "Multithreaded Ouroboros multiplexer implementation using mpsc channels" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -11,7 +11,7 @@ readme = "README.md" authors = ["Santiago Carmuega "] [dependencies] -pallas-codec = { version = "0.17.0", path = "../pallas-codec/" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec/" } log = "0.4.14" byteorder = "1.4.3" hex = "0.4.3" diff --git a/pallas-primitives/Cargo.toml b/pallas-primitives/Cargo.toml index 661dd31..ed1fc37 100644 --- a/pallas-primitives/Cargo.toml +++ b/pallas-primitives/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-primitives" description = "Ledger primitives and cbor codec for the different Cardano eras" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -16,8 +16,8 @@ authors = [ [dependencies] hex = "0.4.3" log = "0.4.14" -pallas-crypto = { version = "0.17.0", path = "../pallas-crypto" } -pallas-codec = { version = "0.17.0", path = "../pallas-codec" } +pallas-crypto = { version = "0.18.0", path = "../pallas-crypto" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec" } base58 = "0.2.0" bech32 = "0.9.0" serde = { version = "1.0.136", optional = true, features = ["derive"] } diff --git a/pallas-traverse/Cargo.toml b/pallas-traverse/Cargo.toml index ea5b394..4ddaa09 100644 --- a/pallas-traverse/Cargo.toml +++ b/pallas-traverse/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-traverse" description = "Utilities to traverse over multi-era block data" -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -11,10 +11,10 @@ readme = "README.md" authors = ["Santiago Carmuega "] [dependencies] -pallas-primitives = { version = "0.17.0", path = "../pallas-primitives" } -pallas-addresses = { version = "0.17.0", path = "../pallas-addresses" } -pallas-crypto = { version = "0.17.0", path = "../pallas-crypto" } -pallas-codec = { version = "0.17.0", path = "../pallas-codec" } +pallas-primitives = { version = "0.18.0", path = "../pallas-primitives" } +pallas-addresses = { version = "0.18.0", path = "../pallas-addresses" } +pallas-crypto = { version = "0.18.0", path = "../pallas-crypto" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec" } hex = "0.4.3" thiserror = "1.0.31" diff --git a/pallas/Cargo.toml b/pallas/Cargo.toml index 4e9a163..d12330a 100644 --- a/pallas/Cargo.toml +++ b/pallas/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas" description = "Rust-native building blocks for the Cardano blockchain ecosystem." -version = "0.17.0" +version = "0.18.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -11,10 +11,10 @@ readme = "../README.md" authors = ["Santiago Carmuega "] [dependencies] -pallas-multiplexer = { version = "0.17.0", path = "../pallas-multiplexer/" } -pallas-miniprotocols = { version = "0.17.0", path = "../pallas-miniprotocols/" } -pallas-primitives = { version = "0.17.0", path = "../pallas-primitives/" } -pallas-traverse = { version = "0.17.0", path = "../pallas-traverse/" } -pallas-addresses = { version = "0.17.0", path = "../pallas-addresses/" } -pallas-crypto = { version = "0.17.0", path = "../pallas-crypto/" } -pallas-codec = { version = "0.17.0", path = "../pallas-codec/" } +pallas-multiplexer = { version = "0.18.0", path = "../pallas-multiplexer/" } +pallas-miniprotocols = { version = "0.18.0", path = "../pallas-miniprotocols/" } +pallas-primitives = { version = "0.18.0", path = "../pallas-primitives/" } +pallas-traverse = { version = "0.18.0", path = "../pallas-traverse/" } +pallas-addresses = { version = "0.18.0", path = "../pallas-addresses/" } +pallas-crypto = { version = "0.18.0", path = "../pallas-crypto/" } +pallas-codec = { version = "0.18.0", path = "../pallas-codec/" }