From 83d451393df693864c2a709bf2fc8ec11bc850de Mon Sep 17 00:00:00 2001 From: Koko Bhadra Date: Wed, 10 Jun 2026 16:40:57 -0400 Subject: [PATCH] Release v0.7.0: version bump and changelog Adds, since v0.6.0: - keystore: encrypted JSON keystore (Web3 Secret Storage v3) (#65) - fallback_provider: multi-RPC failover with health tracking (#70) - EIP-7702 SetCode transactions, type 0x04 (#66) Align versions: build.zig.zon 0.6.0 -> 0.7.0, README/docs install URLs, SECURITY.md supported versions -> 0.7.x. --- CHANGELOG.md | 2 +- README.md | 4 ++-- SECURITY.md | 4 ++-- build.zig.zon | 2 +- docs/content/docs/installation.mdx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88759fa..2222bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to eth.zig 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). -## [Unreleased] +## [0.7.0] - 2026-06-11 ### Added - EIP-7702 SetCode transactions (type 0x04), shipped in Pectra and live on mainnet (#66). New `transaction.Authorization` tuple `{chain_id, address, nonce, y_parity, r, s}` and `transaction.Eip7702Transaction` (note: `to` is non-nullable -- type-0x04 cannot create contracts), wired into the `Transaction` union and the `serializeForSigning`/`hashForSigning`/`serializeSigned` dispatch. The signing payload is `0x04 || rlp([chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas, gas_limit, to, value, data, access_list, authorization_list])` (signed appends `y_parity, r, s`), each authorization encoded as `[chain_id, address, nonce, y_parity, r, s]`. `signer.signAuthorization(allocator, chain_id, address, nonce)` signs the authorization hash `keccak256(0x05 || rlp([chain_id, address, nonce]))` (MAGIC = 0x05) and fills `y_parity/r/s`; `signer.hashAuthorization` exposes that hash. `rpc_transaction.RpcTransaction` gains an optional `authorization_list`, parsed best-effort from an RPC `authorizationList`. Verified via sign-then-recover round trip (recovered signer equals the authority) plus fixed RLP-shape assertions; no official EIP-7702 signing test vector was found in the EIP or this repo, so correctness rests on the round trip plus shape checks diff --git a/README.md b/README.md index 06ff438..81a547a 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ Built something with eth.zig? Open a PR to add it here. **One-liner:** ```bash -zig fetch --save git+https://github.com/StrobeLabs/eth.zig.git#v0.6.0 +zig fetch --save git+https://github.com/StrobeLabs/eth.zig.git#v0.7.0 ``` **Or add manually** to your `build.zig.zon`: @@ -222,7 +222,7 @@ zig fetch --save git+https://github.com/StrobeLabs/eth.zig.git#v0.6.0 ```zig .dependencies = .{ .eth = .{ - .url = "git+https://github.com/StrobeLabs/eth.zig.git#v0.6.0", + .url = "git+https://github.com/StrobeLabs/eth.zig.git#v0.7.0", .hash = "...", // run `zig build` and it will tell you the expected hash }, }, diff --git a/SECURITY.md b/SECURITY.md index fa4e2bb..da28bad 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ | Version | Supported | |---------|-----------| -| 0.6.x | Yes | -| < 0.6 | No | +| 0.7.x | Yes | +| < 0.7 | No | ## Reporting a Vulnerability diff --git a/build.zig.zon b/build.zig.zon index f0f5f98..2cb01b5 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .eth_zig, - .version = "0.6.0", + .version = "0.7.0", .fingerprint = 0xd0f21900fa26f179, .minimum_zig_version = "0.16.0", .dependencies = .{}, diff --git a/docs/content/docs/installation.mdx b/docs/content/docs/installation.mdx index ae0827a..79a38a0 100644 --- a/docs/content/docs/installation.mdx +++ b/docs/content/docs/installation.mdx @@ -13,7 +13,7 @@ description: How to add eth.zig to your Zig project. **One-liner:** ```bash -zig fetch --save git+https://github.com/StrobeLabs/eth.zig.git#v0.6.0 +zig fetch --save git+https://github.com/StrobeLabs/eth.zig.git#v0.7.0 ``` **Or add manually** to your `build.zig.zon`: @@ -21,7 +21,7 @@ zig fetch --save git+https://github.com/StrobeLabs/eth.zig.git#v0.6.0 ```zig .dependencies = .{ .eth = .{ - .url = "git+https://github.com/StrobeLabs/eth.zig.git#v0.6.0", + .url = "git+https://github.com/StrobeLabs/eth.zig.git#v0.7.0", .hash = "...", // run `zig build` and it will tell you the expected hash }, },