Releases: evmauth/evmauth-core
Releases · evmauth/evmauth-core
v0.3.1
v0.3.0
Major Architecture Redesign
This release introduces a complete rewrite of EVMAuth with modular architecture, dual token standard support, and enterprise-ready features for authorization state management.
Key Features
Dual Token Standard Support
- EVMAuth1155: Full ERC-1155 compliance with batch operations, URI-based metadata, and receiver hooks
- EVMAuth6909: ERC-6909 compliance offering simpler transfers, granular approvals, and on-chain metadata
Core Improvements
Token Management
- Sequential token IDs starting at
1, assigned automatically viacreateToken(EVMAuthTokenConfig config) - Unified configuration with
updateToken(uint256 id, EVMAuthTokenConfig config) - Non-transferable tokens option for things like licenses and identity tokens
- Time-to-live (TTL) for automatic token expiration
Payment System
- Multiple payment methods per token:
- Native currency (ETH, POL, etc.)
- Multiple ERC-20 tokens with independent pricing
- Set price to
0to disable specific payment methods
- Treasury management for collecting purchase revenue
- Reentrancy protection on all purchase functions
Contract Infrastructure
- Upgradeable by default using OpenZeppelin's UUPSUpgradeable pattern
- ERC-7201 namespaced storage for upgrade safety
- Modular base contracts for clean separation of concerns
- Pausable operations for emergency situations
Token Expiration & Cleanup
- Improved expired token cleanup with efficient time-bucket system
- Public
pruneBalanceRecords(address account, uint256 id)for manual cleanup - Automatic pruning during transfers and balance checks
- Bounded balance records to prevent gas issues
Updated Roles
TOKEN_MANAGER_ROLE: Configure tokens and metadataACCESS_MANAGER_ROLE: Pause/unpause and freeze/unfreeze accountsTREASURER_ROLE: Update treasury addressMINTER_ROLE: Issue tokens programmaticallyBURNER_ROLE: Burn tokens from accountsUPGRADE_MANAGER_ROLE: Authorize contract upgrades
Documentation & Testing
- Comprehensive architectural diagrams
- Detailed deployment guides
- Cast command cheat sheet
- Significantly improved test coverage
- Auto-generated documentation
Migration Notes
Breaking Changes
- Complete contract redeployment required (not upgradeable from v0.2.x)
- New initialization pattern replaces constructor
- Role names and permissions restructured
- Blacklist functionality replaced with account freezing
v0.2.3
v0.2.2
Changed
- chore: cleanup tryradi.us references by @kylecrawshaw in #15
Fixed
New Contributors
- @kylecrawshaw made their first contribution in #15
Full Changelog: v0.2.1...v0.2.2
v0.2.1
v0.2.0
v0.1.0
Full Changelog: https://github.com/evmauth/evmauth-core/commits/v0.1.0