Skip to content

Commit

Permalink
Merge tag 'refs/tags/v0.3.0' into merge-v0.3.0
Browse files Browse the repository at this point in the history
chore: Release alloy-serde version 0.3.0
  • Loading branch information
pythonberg1997 committed Aug 30, 2024
2 parents 534f4a4 + 352e83b commit 133e5b3
Show file tree
Hide file tree
Showing 180 changed files with 4,181 additions and 2,281 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @danipopes @gakonst @mattsse @onbjerg @prestwich @evalir
* @danipopes @gakonst @mattsse @onbjerg @prestwich @evalir @emhane
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- "--no-default-features"
# Default features
- ""
# All features
- "--all-features"
exclude:
# All features on MSRV
- rust: "1.76" # MSRV
Expand Down
97 changes: 95 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0](https://github.com/alloy-rs/alloy/releases/tag/v0.2.0) - 2024-07-16
## [0.3.0](https://github.com/alloy-rs/alloy/releases/tag/v0.3.0) - 2024-08-28

### Bug Fixes

- Make `Block::hash` required ([#1205](https://github.com/alloy-rs/alloy/issues/1205))
- Remove optimism-related types ([#1203](https://github.com/alloy-rs/alloy/issues/1203))
- Use `impl From<RangeInclusive> for FilterBlockOption` instead of `Range` ([#1199](https://github.com/alloy-rs/alloy/issues/1199))
- Serde for `depositReceiptVersion` ([#1196](https://github.com/alloy-rs/alloy/issues/1196))
- [provider] Serialize no parameters as `[]` instead of `null` ([#1193](https://github.com/alloy-rs/alloy/issues/1193))
- Change generics order for `Block` ([#1192](https://github.com/alloy-rs/alloy/issues/1192))
- Add missing op fields ([#1187](https://github.com/alloy-rs/alloy/issues/1187))
- Use `server_id` when unsubscribing ([#1182](https://github.com/alloy-rs/alloy/issues/1182))
- Allow arbitrary strings in subscription ids ([#1163](https://github.com/alloy-rs/alloy/issues/1163))
- Remove `OtherFields` from Transaction and Block ([#1154](https://github.com/alloy-rs/alloy/issues/1154))
- [rpc-types-eth] Match 7702 in TxReceipt.status() ([#1149](https://github.com/alloy-rs/alloy/issues/1149))
- Return more user-friendly error on tx timeout ([#1145](https://github.com/alloy-rs/alloy/issues/1145))
- [doc] Correct order of fields ([#1139](https://github.com/alloy-rs/alloy/issues/1139))
- Use `BlockId` superset over `BlockNumberOrTag` where applicable ([#1135](https://github.com/alloy-rs/alloy/issues/1135))
- [rpc] Show data in when cast send result in custom error ([#1129](https://github.com/alloy-rs/alloy/issues/1129))
- Make Parity TraceResults output optional ([#1102](https://github.com/alloy-rs/alloy/issues/1102))
- Correctly trim eip7251 bytecode ([#1105](https://github.com/alloy-rs/alloy/issues/1105))
- [eips] Make SignedAuthorizationList arbitrary less fallible ([#1084](https://github.com/alloy-rs/alloy/issues/1084))
- [node-bindings] Backport fix from ethers-rs ([#1081](https://github.com/alloy-rs/alloy/issues/1081))
- Trim conflicting key `max_fee_per_blob_gas` from Eip1559 tx type ([#1064](https://github.com/alloy-rs/alloy/issues/1064))
- [provider] Prevent panic from having 0 keys when calling `on_anvil_with_wallet_and_config` ([#1055](https://github.com/alloy-rs/alloy/issues/1055))
- Require storageKeys value broken bincode serialization from [#955](https://github.com/alloy-rs/alloy/issues/955) ([#1058](https://github.com/alloy-rs/alloy/issues/1058))
Expand All @@ -19,10 +38,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Dependencies

- Rm 2930 and 7702 - use alloy-rs/eips ([#1181](https://github.com/alloy-rs/alloy/issues/1181))
- Bump core and rm ssz feat ([#1167](https://github.com/alloy-rs/alloy/issues/1167))
- [deps] Bump some deps ([#1141](https://github.com/alloy-rs/alloy/issues/1141))
- Revert "chore(deps): bump some deps"
- [deps] Bump some deps
- Bump jsonrpsee 0.24 ([#1067](https://github.com/alloy-rs/alloy/issues/1067))
- [deps] Bump Trezor client to `=0.1.4` to fix signing bug ([#1045](https://github.com/alloy-rs/alloy/issues/1045))

### Documentation

- Readme fix ([#1114](https://github.com/alloy-rs/alloy/issues/1114))
- Update links to use docs.rs ([#1066](https://github.com/alloy-rs/alloy/issues/1066))

### Features

- Add error for pre prague requests ([#1204](https://github.com/alloy-rs/alloy/issues/1204))
- [transport] Retry http errors with 503 status code ([#1164](https://github.com/alloy-rs/alloy/issues/1164))
- Add erc4337 endpoint methods to provider ([#1176](https://github.com/alloy-rs/alloy/issues/1176))
- Add block and transaction generics to otterscan and txpool types ([#1183](https://github.com/alloy-rs/alloy/issues/1183))
- Make block struct generic over header type ([#1179](https://github.com/alloy-rs/alloy/issues/1179))
- [rpc-types] `debug_executionWitness` ([#1178](https://github.com/alloy-rs/alloy/issues/1178))
- Network-parameterized block responses ([#1106](https://github.com/alloy-rs/alloy/issues/1106))
- Add get raw transaction by hash ([#1168](https://github.com/alloy-rs/alloy/issues/1168))
- [geth/trace] Add field log.position ([#1150](https://github.com/alloy-rs/alloy/issues/1150))
- Make signature methods generic over EncodableSignature ([#1138](https://github.com/alloy-rs/alloy/issues/1138))
- Add 7702 tx enum ([#1059](https://github.com/alloy-rs/alloy/issues/1059))
- Add authorization list to TransactionRequest ([#1125](https://github.com/alloy-rs/alloy/issues/1125))
- [engine-types] `PayloadError::PrePragueBlockWithEip7702Transactions` ([#1116](https://github.com/alloy-rs/alloy/issues/1116))
- Use EncodableSignature for tx encoding ([#1100](https://github.com/alloy-rs/alloy/issues/1100))
- Eth_simulateV1 Request / Response types ([#1042](https://github.com/alloy-rs/alloy/issues/1042))
- Add helper for decoding custom errors ([#1098](https://github.com/alloy-rs/alloy/issues/1098))
- Enable more features transitively in meta crate ([#1097](https://github.com/alloy-rs/alloy/issues/1097))
- [rpc/trace] Filter matches with trace ([#1090](https://github.com/alloy-rs/alloy/issues/1090))
- Feat(rpc-type-eth) convert vec TxReq to bundle ([#1091](https://github.com/alloy-rs/alloy/issues/1091))
- [eip] Make 7702 auth recovery fallible ([#1082](https://github.com/alloy-rs/alloy/issues/1082))
- [json-rpc] Implement `From<u64> for Id` and `From<String> for Id` ([#1088](https://github.com/alloy-rs/alloy/issues/1088))
- [consensus] Add `From<ConsolidationRequest>` for `Request` ([#1083](https://github.com/alloy-rs/alloy/issues/1083))
- Feat(provider) : introduction to eth_sendRawTransactionConditional RPC endpoint type ([#1009](https://github.com/alloy-rs/alloy/issues/1009))
- Expose encoded_len_with_signature() ([#1063](https://github.com/alloy-rs/alloy/issues/1063))
- Add 7702 tx type ([#1046](https://github.com/alloy-rs/alloy/issues/1046))
- [rpc-types-eth] Serde flatten `BlobTransactionSidecar` in tx req ([#1054](https://github.com/alloy-rs/alloy/issues/1054))
Expand All @@ -39,21 +92,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Miscellaneous Tasks

- Release 0.2.0
- [consensus] Add missing getter trait methods for `alloy_consensus::Transaction` ([#1197](https://github.com/alloy-rs/alloy/issues/1197))
- Rm Rich type ([#1195](https://github.com/alloy-rs/alloy/issues/1195))
- Clippy für docs ([#1194](https://github.com/alloy-rs/alloy/issues/1194))
- Remove RichBlock and RichHeader types ([#1185](https://github.com/alloy-rs/alloy/issues/1185))
- Add deposit receipt version ([#1188](https://github.com/alloy-rs/alloy/issues/1188))
- Remove async_trait from NetworkWallet ([#1160](https://github.com/alloy-rs/alloy/issues/1160))
- JSON-RPC 2.0 spelling ([#1146](https://github.com/alloy-rs/alloy/issues/1146))
- Add missing 7702 check ([#1137](https://github.com/alloy-rs/alloy/issues/1137))
- [eip7702] Devnet3 changes ([#1056](https://github.com/alloy-rs/alloy/issues/1056))
- [dep] Feature gate jwt in engine types ([#1131](https://github.com/alloy-rs/alloy/issues/1131))
- Release 0.2.1
- [rpc] Make `Deserialize` impl for `FilterChanges` generic over transaction ([#1118](https://github.com/alloy-rs/alloy/issues/1118))
- Correctly cfg unused type ([#1117](https://github.com/alloy-rs/alloy/issues/1117))
- Re-export and document network-primitives ([#1107](https://github.com/alloy-rs/alloy/issues/1107))
- Allow override all group ([#1104](https://github.com/alloy-rs/alloy/issues/1104))
- Chore : fix typos ([#1087](https://github.com/alloy-rs/alloy/issues/1087))
- Export rpc account type ([#1075](https://github.com/alloy-rs/alloy/issues/1075))
- Release 0.2.0
- Make auth mandatory in recovered auth ([#1047](https://github.com/alloy-rs/alloy/issues/1047))
- Trace output utils ([#1027](https://github.com/alloy-rs/alloy/issues/1027))
- Fix unnameable types ([#1029](https://github.com/alloy-rs/alloy/issues/1029))
- Add payloadbodies v2 to capabilities set ([#1025](https://github.com/alloy-rs/alloy/issues/1025))

### Other

- Implement conversion between signature types ([#1198](https://github.com/alloy-rs/alloy/issues/1198))
- Add emhane to codeowners ([#1189](https://github.com/alloy-rs/alloy/issues/1189))
- Add trait methods for constructing `alloy_rpc_types_eth::Transaction` to `alloy_consensus::Transaction` ([#1172](https://github.com/alloy-rs/alloy/issues/1172))
- Update TxType comment ([#1175](https://github.com/alloy-rs/alloy/issues/1175))
- Add payload length methods ([#1152](https://github.com/alloy-rs/alloy/issues/1152))
- Export types engine default features ([#1143](https://github.com/alloy-rs/alloy/issues/1143))
- Rm `PeerCount` ([#1140](https://github.com/alloy-rs/alloy/issues/1140))
- TxRequest into EIP-4844 without sidecar ([#1093](https://github.com/alloy-rs/alloy/issues/1093))
- Add conversion from BlockHashOrNumber to BlockId ([#1127](https://github.com/alloy-rs/alloy/issues/1127))
- Make `alloy_rpc_types_eth::SubscriptionResult` generic over tx ([#1123](https://github.com/alloy-rs/alloy/issues/1123))
- Add `AccessListResult` type (EIP-2930) ([#1110](https://github.com/alloy-rs/alloy/issues/1110))
- Derive arbitrary for `TransactionRequest` ([#1113](https://github.com/alloy-rs/alloy/issues/1113))
- Fix typo in genesis ([#1096](https://github.com/alloy-rs/alloy/issues/1096))
- Removing async get account ([#1080](https://github.com/alloy-rs/alloy/issues/1080))
- Added stages to the sync info rpc type ([#1079](https://github.com/alloy-rs/alloy/issues/1079))
- `alloy-consensus` should use `alloy_primitives::Sealable` ([#1072](https://github.com/alloy-rs/alloy/issues/1072))

### Refactor

- Add network-primitives ([#1101](https://github.com/alloy-rs/alloy/issues/1101))
- Replace `U64` with `u64` ([#1057](https://github.com/alloy-rs/alloy/issues/1057))

### Styling

- Remove proptest in all crates and Arbitrary derives ([#966](https://github.com/alloy-rs/alloy/issues/966))

### Testing

- Flaky rpc ([#1180](https://github.com/alloy-rs/alloy/issues/1180))

## [0.1.4](https://github.com/alloy-rs/alloy/releases/tag/v0.1.4) - 2024-07-08

### Bug Fixes
Expand Down
88 changes: 47 additions & 41 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "0.2.0"
version = "0.3.0"
edition = "2021"
rust-version = "1.76"
authors = ["Alloy Contributors"]
Expand Down Expand Up @@ -35,51 +35,57 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[workspace.dependencies]
alloy-consensus = { version = "0.2", path = "crates/consensus", default-features = false }
alloy-contract = { version = "0.2", path = "crates/contract", default-features = false }
alloy-eips = { version = "0.2", path = "crates/eips", default-features = false }
alloy-eip7547 = { version = "0.2", path = "crates/eip7547", default-features = false }
alloy-genesis = { version = "0.2", path = "crates/genesis", default-features = false }
alloy-json-rpc = { version = "0.2", path = "crates/json-rpc", default-features = false }
alloy-network = { version = "0.2", path = "crates/network", default-features = false }
alloy-node-bindings = { version = "0.2", path = "crates/node-bindings", default-features = false }
alloy-provider = { version = "0.2", path = "crates/provider", default-features = false }
alloy-pubsub = { version = "0.2", path = "crates/pubsub", default-features = false }
alloy-rpc-client = { version = "0.2", path = "crates/rpc-client", default-features = false }
alloy-rpc-types-admin = { version = "0.2", path = "crates/rpc-types-admin", default-features = false }
alloy-rpc-types-anvil = { version = "0.2", path = "crates/rpc-types-anvil", default-features = false }
alloy-rpc-types-beacon = { version = "0.2", path = "crates/rpc-types-beacon", default-features = false }
alloy-rpc-types-engine = { version = "0.2", path = "crates/rpc-types-engine", default-features = false }
alloy-rpc-types-eth = { version = "0.2", path = "crates/rpc-types-eth", default-features = false }
alloy-rpc-types-mev = { version = "0.2", path = "crates/rpc-types-mev", default-features = false }
alloy-rpc-types-trace = { version = "0.2", path = "crates/rpc-types-trace", default-features = false }
alloy-rpc-types-txpool = { version = "0.2", path = "crates/rpc-types-txpool", default-features = false }
alloy-rpc-types = { version = "0.2", path = "crates/rpc-types", default-features = false }
alloy-serde = { version = "0.2", path = "crates/serde", default-features = false }
alloy-signer = { version = "0.2", path = "crates/signer", default-features = false }
alloy-signer-aws = { version = "0.2", path = "crates/signer-aws", default-features = false }
alloy-signer-gcp = { version = "0.2", path = "crates/signer-gcp", default-features = false }
alloy-signer-ledger = { version = "0.2", path = "crates/signer-ledger", default-features = false }
alloy-signer-local = { version = "0.2", path = "crates/signer-local", default-features = false }
alloy-signer-trezor = { version = "0.2", path = "crates/signer-trezor", default-features = false }
alloy-transport = { version = "0.2", path = "crates/transport", default-features = false }
alloy-transport-http = { version = "0.2", path = "crates/transport-http", default-features = false }
alloy-transport-ipc = { version = "0.2", path = "crates/transport-ipc", default-features = false }
alloy-transport-ws = { version = "0.2", path = "crates/transport-ws", default-features = false }

alloy-core = { version = "0.7.7", default-features = false }
alloy-dyn-abi = { version = "0.7.7", default-features = false }
alloy-json-abi = { version = "0.7.7", default-features = false }
alloy-primitives = { version = "0.7.7", default-features = false }
alloy-sol-types = { version = "0.7.7", default-features = false }
alloy-consensus = { version = "0.3", path = "crates/consensus", default-features = false }
alloy-contract = { version = "0.3", path = "crates/contract", default-features = false }
alloy-eips = { version = "0.3", path = "crates/eips", default-features = false }
alloy-eip7547 = { version = "0.3", path = "crates/eip7547", default-features = false }
alloy-genesis = { version = "0.3", path = "crates/genesis", default-features = false }
alloy-json-rpc = { version = "0.3", path = "crates/json-rpc", default-features = false }
alloy-network = { version = "0.3", path = "crates/network", default-features = false }
alloy-network-primitives = { version = "0.3", path = "crates/network-primitives", default-features = false }
alloy-node-bindings = { version = "0.3", path = "crates/node-bindings", default-features = false }
alloy-provider = { version = "0.3", path = "crates/provider", default-features = false }
alloy-pubsub = { version = "0.3", path = "crates/pubsub", default-features = false }
alloy-rpc-client = { version = "0.3", path = "crates/rpc-client", default-features = false }
alloy-rpc-types-admin = { version = "0.3", path = "crates/rpc-types-admin", default-features = false }
alloy-rpc-types-anvil = { version = "0.3", path = "crates/rpc-types-anvil", default-features = false }
alloy-rpc-types-beacon = { version = "0.3", path = "crates/rpc-types-beacon", default-features = false }
alloy-rpc-types-debug = { version = "0.3", path = "crates/rpc-types-debug", default-features = false }
alloy-rpc-types-engine = { version = "0.3", path = "crates/rpc-types-engine", default-features = false }
alloy-rpc-types-eth = { version = "0.3", path = "crates/rpc-types-eth", default-features = false }
alloy-rpc-types-mev = { version = "0.3", path = "crates/rpc-types-mev", default-features = false }
alloy-rpc-types-trace = { version = "0.3", path = "crates/rpc-types-trace", default-features = false }
alloy-rpc-types-txpool = { version = "0.3", path = "crates/rpc-types-txpool", default-features = false }
alloy-rpc-types = { version = "0.3", path = "crates/rpc-types", default-features = false }
alloy-serde = { version = "0.3", path = "crates/serde", default-features = false }
alloy-signer = { version = "0.3", path = "crates/signer", default-features = false }
alloy-signer-aws = { version = "0.3", path = "crates/signer-aws", default-features = false }
alloy-signer-gcp = { version = "0.3", path = "crates/signer-gcp", default-features = false }
alloy-signer-ledger = { version = "0.3", path = "crates/signer-ledger", default-features = false }
alloy-signer-local = { version = "0.3", path = "crates/signer-local", default-features = false }
alloy-signer-trezor = { version = "0.3", path = "crates/signer-trezor", default-features = false }
alloy-transport = { version = "0.3", path = "crates/transport", default-features = false }
alloy-transport-http = { version = "0.3", path = "crates/transport-http", default-features = false }
alloy-transport-ipc = { version = "0.3", path = "crates/transport-ipc", default-features = false }
alloy-transport-ws = { version = "0.3", path = "crates/transport-ws", default-features = false }

alloy-core = { version = "0.8.0", default-features = false }
alloy-dyn-abi = { version = "0.8.0", default-features = false }
alloy-json-abi = { version = "0.8.0", default-features = false }
alloy-primitives = { version = "0.8.0", default-features = false }
alloy-sol-types = { version = "0.8.0", default-features = false }

alloy-rlp = { version = "0.3", default-features = false }

alloy-chains = { version = "0.1.18", default-features = false }

# eips
alloy-eip2930 = { version = "0.1.0", default-features = false }
alloy-eip7702 = { version = "0.1.0", default-features = false }

# ethereum
ethereum_ssz_derive = "0.5"
ethereum_ssz = "0.5"
ethereum_ssz_derive = "0.7.1"
ethereum_ssz = "0.7.1"

# crypto
c-kzg = { version = "1.0", default-features = false }
Expand Down Expand Up @@ -127,7 +133,7 @@ semver = "1.0"
thiserror = "1.0"
thiserror-no-std = "2.0.2"
url = "2.5"
derive_more = "0.99.17"
derive_more = "1.0.0"

## serde
serde = { version = "1.0", default-features = false, features = [
Expand Down
Loading

0 comments on commit 133e5b3

Please sign in to comment.