Skip to content

v1.0.0

Choose a tag to compare

@akcelero akcelero released this 11 May 13:01
· 10 commits to master since this release
5c5f966

🔨 refactor: Stop using github environments

📝 docs: Add Installation and Aws usecase example in README

✅ test(signing): update tests for new signature format and hash-only signing

✨ feat(signing): enforce hash-only signing and strict signature types

BREAKING CHANGES:
- Removed all signing methods except sign_hash() - users must now pre-hash messages
- Changed signature components to raw integers:
  - v is now strictly 0 or 1 (NonNegativeInt with ge=0, le=1)
  - r and s are now returned as integers instead of hex strings
- Changed key address representation from str to bytes
- Updated pyproject.toml dependencies to reflect new type requirements

Migration guide:
1. Pre-hash all messages before signing
2. Update code expecting hex strings to work with raw integers
3. Convert key addresses from bytes to str if needed (bytes.fromhex/hex())
4. Handle v as strictly binary value (0 or 1)

🧹 chore: Use dynamic versioning, run push on tags v*..