Skip to content

Commit f958786

Browse files
chore: release 0.3.0 (#346)
Fixes # ### What Changed? <!-- Describe the changes made in this pull request --> ### Reviewer Checklist - [ ] New features are tested and documented - [ ] PR updates the changelog with a description of changes - [ ] PR has one of the `changelog-X` labels (if applies) - [ ] Code deprecates any old functionality before removing it --------- Co-authored-by: Tomás Grüner <47506558+MegaRedHand@users.noreply.github.com>
1 parent a59990a commit f958786

File tree

5 files changed

+171
-58
lines changed

5 files changed

+171
-58
lines changed

.github/workflows/release-plz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
push:
99
branches:
1010
- main
11+
- dev
1112

1213
jobs:
1314

CHANGELOG.md

Lines changed: 116 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,23 @@ Each version will have a separate `Breaking Changes` section as well. To describ
1212
Those changes in added, changed or breaking changes, should include usage examples to add clarity to the sdk user.
1313

1414
## [Unreleased]
15+
16+
### Security 🔒
17+
18+
### Added 🎉
19+
20+
### Breaking Changes 🛠
21+
22+
### Deprecated ⚠️
23+
24+
### Removed 🗑
25+
26+
### Documentation 📚
27+
28+
### Other Changes
29+
30+
## [0.3.0] - 2025-02-11
1531
### Added
16-
* Added `eigen_common` dependency to the `eigensdk` crate when "full" feature is enabled in [#249](https://github.com/Layr-Labs/eigensdk-rs/pull/249).
17-
* Added bindings for `ECDSAStakeRegistry` and `ECDSAServiceManagerBase` in [#269](https://github.com/Layr-Labs/eigensdk-rs/pull/269).
18-
* Added release-plz in ci in [#275](https://github.com/Layr-Labs/eigensdk-rs/pull/275).
1932
* Added new method `set_slashable_stake_lookahead` in `avsregistry/writer` in [#278](https://github.com/Layr-Labs/eigensdk-rs/pull/278).
2033
```rust
2134
let quorum_number = 0_u8;
@@ -64,8 +77,6 @@ Those changes in added, changed or breaking changes, should include usage exampl
6477
.status();
6578
// tx_status should be true
6679
```
67-
68-
* Added custom configuration for release-plz in [#281](https://github.com/Layr-Labs/eigensdk-rs/pull/281).
6980
* Added Rewards2.1 support in [#323](https://github.com/Layr-Labs/eigensdk-rs/pull/323).
7081
* Added new method `set_operator_set_param` in `avsregistry/writer` in [#327](https://github.com/Layr-Labs/eigensdk-rs/pull/327).
7182

@@ -99,7 +110,7 @@ Those changes in added, changed or breaking changes, should include usage exampl
99110
```rust
100111
let operator_set_quourm = avs_reader.is_operator_set_quorum(0).await.unwrap();
101112
```
102-
113+
* Added version explicitly in crates in [#322](https://github.com/Layr-Labs/eigensdk-rs/pull/322).
103114
* Added new method `set_account_identifier` in `avsregistry/writer` in [#329](https://github.com/Layr-Labs/eigensdk-rs/pull/329).
104115

105116
```rust
@@ -110,12 +121,7 @@ Those changes in added, changed or breaking changes, should include usage exampl
110121
```
111122

112123
### Changed
113-
* Changes in the way bindings are generated in [#243](https://github.com/Layr-Labs/eigensdk-rs/pull/243).
114-
* The `bindings` target now generates the bindings using Docker with Foundry v0.3.0.
115-
* The previous `bindings` target was renamed to `bindings_host`, as it runs without Docker. However the `bindings_host` target is for CI use only. To generate the bindings, please use the `bindings` target.
116-
* Fixed the rewardsv2 bindings version in readme to 0.5.4 in [#246](https://github.com/Layr-Labs/eigensdk-rs/pull/246).
117-
* Fixed typo in release-plz toml file in [#284](https://github.com/Layr-Labs/eigensdk-rs/pull/284).
118-
* Fixed incorrect package name in Cargo.toml for examples in [#285](https://github.com/Layr-Labs/eigensdk-rs/pull/285).
124+
119125

120126
### Breaking changes
121127
* refactor: update interface on `bls aggregation` in [#254](https://github.com/Layr-Labs/eigensdk-rs/pull/254)
@@ -188,11 +194,109 @@ Those changes in added, changed or breaking changes, should include usage exampl
188194
* Slashing UAM changes in [#248](https://github.com/Layr-Labs/eigensdk-rs/pull/248).
189195

190196
### Removed
197+
198+
## [0.2.0] - 2025-02-06
199+
200+
### Security 🔒
201+
202+
* chore(deps): bump openssl from 0.10.68 to 0.10.70 in the cargo group across 1 directory by @dependabot in <https://github.com/Layr-Labs/eigensdk-rs/pull/291>
203+
204+
### Added 🎉
205+
206+
* Added `eigen_common` dependency to the `eigensdk` crate when "full" feature is enabled in [#249](https://github.com/Layr-Labs/eigensdk-rs/pull/249).
207+
* Now when enabling the "full" feature:
208+
209+
```toml
210+
eigensdk = { version = "0.2", features = ["full"] }
211+
```
212+
213+
You can use access the `eigen-common` crate as a submodule of `eigensdk`:
214+
215+
```rust
216+
use eigensdk::common::*;
217+
```
218+
219+
* Added bindings for `ECDSAStakeRegistry` and `ECDSAServiceManagerBase` in [#269](https://github.com/Layr-Labs/eigensdk-rs/pull/269).
220+
* These bindings can be accessed from:
221+
222+
```rust
223+
// From `eigensdk`
224+
use eigensdk::utils::middleware::ecdsaservicemanagerbase;
225+
use eigensdk::utils::middleware::ecdsastakeregistry;
226+
// From `eigen_utils`
227+
use eigen_utils::middleware::ecdsaservicemanagerbase;
228+
use eigen_utils::middleware::ecdsastakeregistry;
229+
```
230+
231+
* Starting on this release, we're using [`release-plz`](https://github.com/release-plz/release-plz) to streamline our release process.
232+
* Added release-plz in ci in [#275](https://github.com/Layr-Labs/eigensdk-rs/pull/275).
233+
* Added custom configuration for release-plz in [#281](https://github.com/Layr-Labs/eigensdk-rs/pull/281).
234+
* Fixed typo in release-plz toml file in [#284](https://github.com/Layr-Labs/eigensdk-rs/pull/284).
235+
236+
### Breaking Changes 🛠
237+
238+
* fix: use rewards coordinator on get operator avs/pi split methods by @maximopalopoli in <https://github.com/Layr-Labs/eigensdk-rs/pull/250>
239+
240+
* The parameters of `ChainReader::new` changed, and it now receives the address of the rewards coordinator.
241+
242+
It was previously called this way:
243+
244+
```rust
245+
let el_chain_reader = ELChainReader::new(
246+
logger,
247+
SLASHER_ADDRESS,
248+
DELEGATION_MANAGER_ADDRESS,
249+
AVS_DIRECTORY_ADDRESS,
250+
provider_url,
251+
);
252+
```
253+
254+
Now, it's called this way:
255+
256+
```rust
257+
let el_chain_reader = ELChainReader::new(
258+
logger,
259+
SLASHER_ADDRESS,
260+
DELEGATION_MANAGER_ADDRESS,
261+
REWARDS_COORDINATOR,
262+
AVS_DIRECTORY_ADDRESS,
263+
provider_url,
264+
);
265+
```
266+
267+
### Removed 🗑
268+
191269
* Removed homepage from testing-utils crate in [#266](https://github.com/Layr-Labs/eigensdk-rs/pull/266).
192270
* Removed changelog generation by release-plz in [#281](https://github.com/Layr-Labs/eigensdk-rs/pull/281).
193271
* Removed examples packages from workspace.dependencies in Cargo.toml in [#287](https://github.com/Layr-Labs/eigensdk-rs/pull/287).
194272
* Removed release-plz-pr workflow in release-plz in [#292](https://github.com/Layr-Labs/eigensdk-rs/pull/292).
195273

274+
### Documentation 📚
275+
276+
* Fixed the rewardsv2 bindings version in readme to 0.5.4 in [#246](https://github.com/Layr-Labs/eigensdk-rs/pull/246).
277+
* docs: improve changelog by adding examples by @maximopalopoli in <https://github.com/Layr-Labs/eigensdk-rs/pull/251>
278+
279+
### Other Changes
280+
281+
* Changes in the way bindings are generated in [#243](https://github.com/Layr-Labs/eigensdk-rs/pull/243).
282+
* The `bindings` target now generates the bindings using Docker with Foundry v0.3.0.
283+
* The previous `bindings` target was renamed to `bindings_host`, as it runs without Docker. However the `bindings_host` target is for CI use only. To generate the bindings, please use the `bindings` target.
284+
* Fixed incorrect package name in Cargo.toml for examples in [#285](https://github.com/Layr-Labs/eigensdk-rs/pull/285).
285+
* docs: add mention of updated bindings to changelog by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/233>
286+
* chore: format contracts by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/235>
287+
* ci: add foundry workflow by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/236>
288+
* ci: add CI job to check whether anvil state is up to date by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/237>
289+
* chore: remove existing bindings when generating new ones by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/242>
290+
* chore: remove alloy reexported crates from dependencies by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/244>
291+
* docs: sync root and `crates/eigensdk/` READMEs by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/245>
292+
* ci: add workflow to enforce updates to the changelog by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/239>
293+
* docs: add `RELEASE.md` by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/231>
294+
* ci: fix check bindings job by @pablodeymo in <https://github.com/Layr-Labs/eigensdk-rs/pull/247>
295+
* ci: fix job that checks anvil state is up-to-date by @ricomateo in <https://github.com/Layr-Labs/eigensdk-rs/pull/252>
296+
* refactor: move bindings generation to script by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/271>
297+
* fix: simplify Cargo.toml by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/282>
298+
* ci: split tests and coverage by @MegaRedHand in <https://github.com/Layr-Labs/eigensdk-rs/pull/286>
299+
196300
## [0.1.3] - 2024-01-17
197301
### Added 🎉
198302
* feat: add rewards-v2 related functionality by @supernovahs in https://github.com/Layr-Labs/eigensdk-rs/pull/221

0 commit comments

Comments
 (0)