Releases: BreadchainCoop/commonware-avs-node
Releases · BreadchainCoop/commonware-avs-node
v0.1.1
What's Changed
- Include 'main' in target branches for Docker CI by @bagelface in #49
- build: make CI target branches consistent with main by @bagelface in #52
- Fix #21: Refactor orchestrator port to accept address + port by @RonTuretzky in #55
- Release v1.1 by @bagelface in #56
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Release v0.1.0: Major Refactor and Architecture Improvements
🚀 Release v0.1.0
This release represents a major refactoring of the Commonware AVS Node, emphasizing better code organization, testing, and more generic, reusable components.
🏗️ Major Architecture Changes
Core Refactoring
- Generic Contributor Interface: Introduced
ContributeandContributorBasetraits for flexible contributor implementations - Eliminated Code Duplication: Consolidated
AggregatingContributorandContributorinto a single, more flexible implementation - Modular Component Architecture: Reorganized contributor code into dedicated
src/contributor/module with clear separation of concerns - Trait-Based Design: Implemented generic interfaces for better extensibility and testing
New Component Structure
- Introduced dedicated modules for:
contributor/traits.rs: Core contributor interfaces and contractscontributor/types.rs: Common data structures and typescontributor/tests/: Test suite with mock implementationshandlers/contributor.rs: Concrete contributor implementation
✨ Key Improvements
Testing & Quality
- Added unit test coverage for all contributor traits
- Implemented mock implementations (
MockContributor,MockSender,MockReceiver) - Added async testing support with tokio integration
- Improved test organization with dedicated test modules
Developer Experience
- Better code organization with clear module boundaries
- Improved trait definitions with associated types for type safety
- Enhanced error handling and consistent Result types
- Cleaner import structure and module exports
Code Quality
- Fixed all clippy warnings and enforced strict linting rules
- Improved code formatting and consistency
- Applied Rust idioms and best practices throughout
- Better encapsulation with public getter methods
🔧 Technical Details
New Traits
- ContributorBase: Defines common contributor functionality with associated types for PublicKey, Signer, and Signature
- Contribute: Extends ContributorBase with core contributor operations including construction and execution
Removed Components
- Deprecated
AggregatingContributorin favor of unifiedContributor - Eliminated duplicate code between different contributor implementations
- Cleaned up legacy base contributor patterns
📝 Breaking Changes
- Complete restructure of contributor module organization - imports will need updating
- Removed
AggregatingContributorstruct - functionality merged into mainContributor - All contributor implementations must now implement
ContributeandContributorBasetraits - Updated import paths for contributor-related functionality
v0.0.1
What's Changed
- Counter now reads from config by @hudsonhrh in #3
- update example env to be better for local by @hudsonhrh in #4
- 10 wirers synchronization by @RonTuretzky in #11
- Ingress Changes by @RonTuretzky in #7
- wire.rs synchronisation by @junkicide in #16
- docs: updating the readme to be more understandable by @tbsoc in #15
- Remove code duplication in wire.rs and validator.rs by @RonTuretzky in #17
- replace workaround encoding by @RonTuretzky in #18
- update commonware to 0055 and refactor lookup repository for authenticated p2p by @RonTuretzky in #20
- CI Clippy and Formatting by @hudsonhrh in #30
- Release 0.0.1 by @RonTuretzky in #12
New Contributors
- @hudsonhrh made their first contribution in #3
- @RonTuretzky made their first contribution in #11
- @junkicide made their first contribution in #16
- @tbsoc made their first contribution in #15
Full Changelog: https://github.com/BreadchainCoop/commonware-avs-node/commits/v0.0.1