diff --git a/CHANGELOG.md b/CHANGELOG.md index 436dfe2e..46f7cc27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,57 @@ ## [Unreleased] + +## [v0.27.0] - 2024-06-01 +### Chore +- fix lint warnings ([#470](https://github.com/txpipe/pallas/issues/470)) +- split unstable features into independent flags ([#469](https://github.com/txpipe/pallas/issues/469)) +- **traverse:** make era enum serializable ([#467](https://github.com/txpipe/pallas/issues/467)) + +### Docs +- define security policy ([#464](https://github.com/txpipe/pallas/issues/464)) + +### Feat +- **traverse:** Decode Conway block headers properly ([#466](https://github.com/txpipe/pallas/issues/466)) + +### Fix +- **network:** expose missing members in facades ([#468](https://github.com/txpipe/pallas/issues/468)) +- **crypto:** Disable potential use of invalid SecretKeyExtended + + + +## [v0.26.0] - 2024-05-21 +### Chore +- apply lint recommendations ([#458](https://github.com/txpipe/pallas/issues/458)) +- move txbuilder to stable feature ([#451](https://github.com/txpipe/pallas/issues/451)) +- **applying:** prepare pparams for folding logic ([#438](https://github.com/txpipe/pallas/issues/438)) +- **deps:** use cryptoxide sha3 instead of depending on sha3 crate ([#452](https://github.com/txpipe/pallas/issues/452)) + +### Feat +- add a simple Crawler example ([#453](https://github.com/txpipe/pallas/issues/453)) +- **configs:** add serde for Alonzo genesis file ([#436](https://github.com/txpipe/pallas/issues/436)) +- **interop:** add ledger context for utxorpc mapping logic ([#450](https://github.com/txpipe/pallas/issues/450)) +- **interop:** re-export utxorpc spec to unify downstream versions ([#448](https://github.com/txpipe/pallas/issues/448)) +- **network:** add an extra ergonomic method for n2c chainsync ([#439](https://github.com/txpipe/pallas/issues/439)) +- **network:** implement `GetChainBlockNo` local state query ([#441](https://github.com/txpipe/pallas/issues/441)) +- **network:** implement background keep-alive loop ([#427](https://github.com/txpipe/pallas/issues/427)) +- **primitives:** derive Eq on relevant structs ([#446](https://github.com/txpipe/pallas/issues/446)) +- **traverse:** track original era for tx outputs ([#447](https://github.com/txpipe/pallas/issues/447)) + +### Fix +- **applying:** fix tx size calculation ([#443](https://github.com/txpipe/pallas/issues/443)) +- **configs:** parse directly into rational numbers ([#437](https://github.com/txpipe/pallas/issues/437)) +- **hardano:** exclude last chunk file during immutable db read ([#454](https://github.com/txpipe/pallas/issues/454)) +- **primitives:** handle conway extreme param updates ([#462](https://github.com/txpipe/pallas/issues/462)) + +### Refactor +- **applying:** unify approach for protocol params access ([#432](https://github.com/txpipe/pallas/issues/432)) +- **interop:** use stateful mapper for u5 ([#460](https://github.com/txpipe/pallas/issues/460)) + +### Test +- **hardano:** contemplate skip of last chunk in immutable read ([#457](https://github.com/txpipe/pallas/issues/457)) + + ## [v0.25.0] - 2024-04-02 ### Build @@ -1132,7 +1183,9 @@ handshake, chainsync, localstate and blockfetch mini-protocols changed the API s - apply fmt to entire workspace -[Unreleased]: https://github.com/txpipe/pallas/compare/v0.25.0...HEAD +[Unreleased]: https://github.com/txpipe/pallas/compare/v0.27.0...HEAD +[v0.27.0]: https://github.com/txpipe/pallas/compare/v0.26.0...v0.27.0 +[v0.26.0]: https://github.com/txpipe/pallas/compare/v0.25.0...v0.26.0 [v0.25.0]: https://github.com/txpipe/pallas/compare/v0.24.0...v0.25.0 [v0.24.0]: https://github.com/txpipe/pallas/compare/v0.23.0...v0.24.0 [v0.23.0]: https://github.com/txpipe/pallas/compare/v0.22.0...v0.23.0 diff --git a/pallas-addresses/Cargo.toml b/pallas-addresses/Cargo.toml index 68dbce80..5b4c71c0 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.26.0" +version = "0.27.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.26.0", path = "../pallas-crypto" } -pallas-codec = { version = "=0.26.0", path = "../pallas-codec" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec" } base58 = "0.2.0" bech32 = "0.9.1" thiserror = "1.0.31" diff --git a/pallas-applying/Cargo.toml b/pallas-applying/Cargo.toml index 60fddcfa..f51757cf 100644 --- a/pallas-applying/Cargo.toml +++ b/pallas-applying/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-applying" description = "Logic for validating and applying new blocks and txs to the chain state" -version = "0.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/MaicoLeberle/pallas" homepage = "https://github.com/MaicoLeberle/pallas" @@ -13,11 +13,11 @@ authors = ["Maico Leberle "] doctest = false [dependencies] -pallas-addresses = { version = "=0.26.0", path = "../pallas-addresses" } -pallas-codec = { version = "=0.26.0", path = "../pallas-codec" } -pallas-crypto = { version = "=0.26.0", path = "../pallas-crypto" } -pallas-primitives = { version = "=0.26.0", path = "../pallas-primitives" } -pallas-traverse = { version = "=0.26.0", path = "../pallas-traverse" } +pallas-addresses = { version = "=0.27.0", path = "../pallas-addresses" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto" } +pallas-primitives = { version = "=0.27.0", path = "../pallas-primitives" } +pallas-traverse = { version = "=0.27.0", path = "../pallas-traverse" } rand = "0.8" hex = "0.4" diff --git a/pallas-codec/Cargo.toml b/pallas-codec/Cargo.toml index 1db4d90f..1ff851fb 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.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-configs/Cargo.toml b/pallas-configs/Cargo.toml index 9b9996e7..e2a59836 100644 --- a/pallas-configs/Cargo.toml +++ b/pallas-configs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-configs" description = "Config structs and utilities matching the Haskell implementation" -version = "0.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -12,10 +12,10 @@ authors = ["Santiago Carmuega "] [dependencies] hex = "0.4.3" -pallas-addresses = { version = "=0.26.0", path = "../pallas-addresses" } -pallas-crypto = { version = "=0.26.0", path = "../pallas-crypto" } -pallas-codec = { version = "=0.26.0", path = "../pallas-codec" } -pallas-primitives = { version = "=0.26.0", path = "../pallas-primitives" } +pallas-addresses = { version = "=0.27.0", path = "../pallas-addresses" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec" } +pallas-primitives = { version = "=0.27.0", path = "../pallas-primitives" } serde = { version = "1.0.136", optional = true, features = ["derive"] } serde_json = { version = "1.0.79", optional = true } base64 = "0.22.0" diff --git a/pallas-crypto/Cargo.toml b/pallas-crypto/Cargo.toml index 6c59bc97..67cb81af 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.26.0" +version = "0.27.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.4" } thiserror = "1.0" rand_core = "0.6" -pallas-codec = { version = "=0.26.0", path = "../pallas-codec" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec" } serde = "1.0.143" [dev-dependencies] diff --git a/pallas-hardano/Cargo.toml b/pallas-hardano/Cargo.toml index ba279151..9d967216 100644 --- a/pallas-hardano/Cargo.toml +++ b/pallas-hardano/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-hardano" description = "Pallas interoperability with the Haskel Cardano node implementation" -version = "0.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -15,8 +15,8 @@ thiserror = "1.0.49" binary-layout = "3.2.0" tap = "1.0.1" tracing = "0.1.40" -pallas-traverse = { version = "=0.26.0", path = "../pallas-traverse" } -pallas-network = { version = "=0.26.0", path = "../pallas-network" } +pallas-traverse = { version = "=0.27.0", path = "../pallas-traverse" } +pallas-network = { version = "=0.27.0", path = "../pallas-network" } [dev-dependencies] tracing-subscriber = "0.3.17" diff --git a/pallas-network/Cargo.toml b/pallas-network/Cargo.toml index 20758896..57cdcdfd 100644 --- a/pallas-network/Cargo.toml +++ b/pallas-network/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-network" description = "Ouroboros networking stack using async IO" -version = "0.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -14,8 +14,8 @@ authors = ["Santiago Carmuega ", "Pi Lanningham "] [dependencies] -pallas-primitives = { version = "=0.26.0", path = "../pallas-primitives" } -pallas-addresses = { version = "=0.26.0", path = "../pallas-addresses" } -pallas-crypto = { version = "=0.26.0", path = "../pallas-crypto" } -pallas-codec = { version = "=0.26.0", path = "../pallas-codec" } +pallas-primitives = { version = "=0.27.0", path = "../pallas-primitives" } +pallas-addresses = { version = "=0.27.0", path = "../pallas-addresses" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec" } hex = "0.4.3" thiserror = "1.0.31" paste = "1.0.14" diff --git a/pallas-txbuilder/Cargo.toml b/pallas-txbuilder/Cargo.toml index 42456e81..8ceecfc3 100644 --- a/pallas-txbuilder/Cargo.toml +++ b/pallas-txbuilder/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-txbuilder" description = "An ergonomic Cardano transaction builder" -version = "0.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -11,12 +11,12 @@ readme = "README.md" authors = ["Santiago Carmuega ", "CainĂ£ Costa "] [dependencies] -pallas-codec = { path = "../pallas-codec", version = "=0.26.0" } -pallas-crypto = { path = "../pallas-crypto", version = "=0.26.0" } -pallas-primitives = { path = "../pallas-primitives", version = "=0.26.0" } -pallas-traverse = { path = "../pallas-traverse", version = "=0.26.0" } -pallas-addresses = { path = "../pallas-addresses", version = "=0.26.0" } -pallas-wallet = { path = "../pallas-wallet", version = "=0.26.0" } +pallas-codec = { path = "../pallas-codec", version = "=0.27.0" } +pallas-crypto = { path = "../pallas-crypto", version = "=0.27.0" } +pallas-primitives = { path = "../pallas-primitives", version = "=0.27.0" } +pallas-traverse = { path = "../pallas-traverse", version = "=0.27.0" } +pallas-addresses = { path = "../pallas-addresses", version = "=0.27.0" } +pallas-wallet = { path = "../pallas-wallet", version = "=0.27.0" } serde = { version = "1.0.188", features = ["derive"] } serde_json = "1.0.107" thiserror = "1.0.44" diff --git a/pallas-utxorpc/Cargo.toml b/pallas-utxorpc/Cargo.toml index faa29bb5..dfecdaa2 100644 --- a/pallas-utxorpc/Cargo.toml +++ b/pallas-utxorpc/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-utxorpc" description = "Pallas interoperability with the UTxORPC spec" -version = "0.26.0" +version = "0.27.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-traverse = { version = "=0.26.0", path = "../pallas-traverse" } -pallas-primitives = { version = "=0.26.0", path = "../pallas-primitives" } -pallas-codec = { version = "=0.26.0", path = "../pallas-codec" } -pallas-crypto = { version = "=0.26.0", path = "../pallas-crypto" } +pallas-traverse = { version = "=0.27.0", path = "../pallas-traverse" } +pallas-primitives = { version = "=0.27.0", path = "../pallas-primitives" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto" } utxorpc-spec = { version = "0.5.0" } # utxorpc-spec = { path = "../../../utxorpc/spec/gen/rust" } diff --git a/pallas-wallet/Cargo.toml b/pallas-wallet/Cargo.toml index 29806bb3..e5b8f416 100644 --- a/pallas-wallet/Cargo.toml +++ b/pallas-wallet/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-wallet" description = "Cardano wallet utilities such as key generation" -version = "0.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -12,7 +12,7 @@ authors = ["Santiago Carmuega "] [dependencies] thiserror = "1.0.49" -pallas-crypto = { version = "=0.26.0", path = "../pallas-crypto" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto" } ed25519-bip32 = "0.4.1" bip39 = { version = "2.0.0", features = ["rand_core"] } cryptoxide = "0.4.4" diff --git a/pallas/Cargo.toml b/pallas/Cargo.toml index cb407d0d..f3b8c784 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.26.0" +version = "0.27.0" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" @@ -11,19 +11,19 @@ readme = "../README.md" authors = ["Santiago Carmuega "] [dependencies] -pallas-network = { version = "=0.26.0", path = "../pallas-network/" } -pallas-primitives = { version = "=0.26.0", path = "../pallas-primitives/" } -pallas-traverse = { version = "=0.26.0", path = "../pallas-traverse/" } -pallas-addresses = { version = "=0.26.0", path = "../pallas-addresses/" } -pallas-crypto = { version = "=0.26.0", path = "../pallas-crypto/" } -pallas-codec = { version = "=0.26.0", path = "../pallas-codec/" } -pallas-utxorpc = { version = "=0.26.0", path = "../pallas-utxorpc/" } -pallas-configs = { version = "=0.26.0", path = "../pallas-configs/" } -pallas-txbuilder = { version = "=0.26.0", path = "../pallas-txbuilder/" } -pallas-applying = { version = "=0.26.0", path = "../pallas-applying/", optional = true } -pallas-rolldb = { version = "=0.26.0", path = "../pallas-rolldb/", optional = true } -pallas-wallet = { version = "=0.26.0", path = "../pallas-wallet/", optional = true } -pallas-hardano = { version = "=0.26.0", path = "../pallas-hardano/", optional = true } +pallas-network = { version = "=0.27.0", path = "../pallas-network/" } +pallas-primitives = { version = "=0.27.0", path = "../pallas-primitives/" } +pallas-traverse = { version = "=0.27.0", path = "../pallas-traverse/" } +pallas-addresses = { version = "=0.27.0", path = "../pallas-addresses/" } +pallas-crypto = { version = "=0.27.0", path = "../pallas-crypto/" } +pallas-codec = { version = "=0.27.0", path = "../pallas-codec/" } +pallas-utxorpc = { version = "=0.27.0", path = "../pallas-utxorpc/" } +pallas-configs = { version = "=0.27.0", path = "../pallas-configs/" } +pallas-txbuilder = { version = "=0.27.0", path = "../pallas-txbuilder/" } +pallas-applying = { version = "=0.27.0", path = "../pallas-applying/", optional = true } +pallas-rolldb = { version = "=0.27.0", path = "../pallas-rolldb/", optional = true } +pallas-wallet = { version = "=0.27.0", path = "../pallas-wallet/", optional = true } +pallas-hardano = { version = "=0.27.0", path = "../pallas-hardano/", optional = true } [features] rolldb = ["pallas-rolldb"]