diff --git a/CHANGELOG.md b/CHANGELOG.md index 8494bb85..8df4056d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,187 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.0](https://github.com/worldcoin/bedrock/compare/0.2.12...0.3.0) - 2026-04-09 + +### Added + +- make safe_account optional in MigrationController ([#332](https://github.com/worldcoin/bedrock/pull/332)) +- expose domain and statement on SiweMessage ([#334](https://github.com/worldcoin/bedrock/pull/334)) +- use bedrock export, for consistent logging ([#325](https://github.com/worldcoin/bedrock/pull/325)) +- improve world app siwe handling ([#324](https://github.com/worldcoin/bedrock/pull/324)) +- explicit output as eip-191 signer trait ([#322](https://github.com/worldcoin/bedrock/pull/322)) +- improved handling for the scheme ([#319](https://github.com/worldcoin/bedrock/pull/319)) +- verify hosts in SIWE message ([#311](https://github.com/worldcoin/bedrock/pull/311)) +- sign in with ethereum support (ERC-4361) ([#306](https://github.com/worldcoin/bedrock/pull/306)) +- signing with backup account key ([#295](https://github.com/worldcoin/bedrock/pull/295)) +- add method to list all migration records ([#294](https://github.com/worldcoin/bedrock/pull/294)) +- logger sanitization ([#293](https://github.com/worldcoin/bedrock/pull/293)) +- add credential vault to backup designator ([#292](https://github.com/worldcoin/bedrock/pull/292)) +- optimize migration processors with parallel execution, mining c… ([#280](https://github.com/worldcoin/bedrock/pull/280)) +- legacy vaults migration ([#261](https://github.com/worldcoin/bedrock/pull/261)) +- add Permit2 ERC20 approval migration processor ([#278](https://github.com/worldcoin/bedrock/pull/278)) +- method to wipe migration records, to help in testing ([#279](https://github.com/worldcoin/bedrock/pull/279)) +- verify bundler rpc entrypoint ([#275](https://github.com/worldcoin/bedrock/pull/275)) +- method verification event ([#273](https://github.com/worldcoin/bedrock/pull/273)) +- add structured monitoring to migration controller ([#259](https://github.com/worldcoin/bedrock/pull/259)) +- bundler sponsored user ops ([#265](https://github.com/worldcoin/bedrock/pull/265)) +- copy over Migration code from Oxide ([#247](https://github.com/worldcoin/bedrock/pull/247)) +- Add `DeviceKeyValueStore` abstraction from Oxide ([#246](https://github.com/worldcoin/bedrock/pull/246)) +- better debug information for ([#243](https://github.com/worldcoin/bedrock/pull/243)) +- backup report public events ([#232](https://github.com/worldcoin/bedrock/pull/232)) +- ERC4646 deposit/withdraw ([#218](https://github.com/worldcoin/bedrock/pull/218)) +- improve error handling for root secret parsing ([#229](https://github.com/worldcoin/bedrock/pull/229)) +- use v2 endpoint for eth_call only ([#219](https://github.com/worldcoin/bedrock/pull/219)) +- add eth_call to RpcClient ([#216](https://github.com/worldcoin/bedrock/pull/216)) +- add log in client side event ([#212](https://github.com/worldcoin/bedrock/pull/212)) +- userop status ([#202](https://github.com/worldcoin/bedrock/pull/202)) +- custom user op status endpoint ([#196](https://github.com/worldcoin/bedrock/pull/196)) +- drop the just in time reports ([#188](https://github.com/worldcoin/bedrock/pull/188)) +- remove secure document from backup designator ([#176](https://github.com/worldcoin/bedrock/pull/176)) +- holiday campaign support ([#191](https://github.com/worldcoin/bedrock/pull/191)) +- improve encoding of multisend transactions ([#190](https://github.com/worldcoin/bedrock/pull/190)) +- WorldGiftManagerGift ([#183](https://github.com/worldcoin/bedrock/pull/183)) +- handle null paymaster ([#184](https://github.com/worldcoin/bedrock/pull/184)) +- refactor client events ([#181](https://github.com/worldcoin/bedrock/pull/181)) +- Support multiple enclave apps & versions ([#173](https://github.com/worldcoin/bedrock/pull/173)) +- convert the backup ID into a keypair ([#177](https://github.com/worldcoin/bedrock/pull/177)) +- expose public backup id from key ([#175](https://github.com/worldcoin/bedrock/pull/175)) +- get local manifest debug ([#167](https://github.com/worldcoin/bedrock/pull/167)) +- add is_local_backup_stale method ([#165](https://github.com/worldcoin/bedrock/pull/165)) +- backup manifest event reporting ([#123](https://github.com/worldcoin/bedrock/pull/123)) +- generate deterministic backup account ID ([#162](https://github.com/worldcoin/bedrock/pull/162)) +- canonical manifest hashing ([#160](https://github.com/worldcoin/bedrock/pull/160)) +- add detailed logging to backup restore ([#157](https://github.com/worldcoin/bedrock/pull/157)) +- add turnkey API client ([#144](https://github.com/worldcoin/bedrock/pull/144)) +- bedrock address primitive ([#142](https://github.com/worldcoin/bedrock/pull/142)) +- Add encrypt method to attestation verifier ([#139](https://github.com/worldcoin/bedrock/pull/139)) +- rename transactions module ([#136](https://github.com/worldcoin/bedrock/pull/136)) +- add post_delete_backup callback ([#140](https://github.com/worldcoin/bedrock/pull/140)) +- compute wallet address ([#137](https://github.com/worldcoin/bedrock/pull/137)) +- Enclave Verify Attestation Document ([#99](https://github.com/worldcoin/bedrock/pull/99)) +- backup manager ([#93](https://github.com/worldcoin/bedrock/pull/93)) +- new_random key & PartialEq ([#100](https://github.com/worldcoin/bedrock/pull/100)) +- introduces basic key functionality ([#98](https://github.com/worldcoin/bedrock/pull/98)) +- initialize RootKey KDF (port over from Oxide) ([#94](https://github.com/worldcoin/bedrock/pull/94)) +- clean up meta for ERC-20 transfers ([#89](https://github.com/worldcoin/bedrock/pull/89)) +- refactor nonce test ([#88](https://github.com/worldcoin/bedrock/pull/88)) +- add foundry test support + test_rust_nonce_matches_solidity_encoding ([#78](https://github.com/worldcoin/bedrock/pull/78)) +- smart_account::nonce + ERC-20 impl ([#74](https://github.com/worldcoin/bedrock/pull/74)) +- SafeSmartAccount::transaction_transfer fix + E2E tests ([#72](https://github.com/worldcoin/bedrock/pull/72)) +- filesystem minor refactors ([#73](https://github.com/worldcoin/bedrock/pull/73)) +- add file system to bedrock_export ([#53](https://github.com/worldcoin/bedrock/pull/53)) +- misc improvements to ERC-20 token transfer + tests ([#67](https://github.com/worldcoin/bedrock/pull/67)) +- complete sign and execution of ERC-20 transfers with 4337 and sponsorship ([#66](https://github.com/worldcoin/bedrock/pull/66)) +- [**breaking**] introduce transactions to safe account & ground work for ERC-20 transfer ([#55](https://github.com/worldcoin/bedrock/pull/55)) +- [**breaking**] move sol! to bedrock_sol! and implement #[unparsed] ([#63](https://github.com/worldcoin/bedrock/pull/63)) +- add AuthenticatedHttpClient ([#57](https://github.com/worldcoin/bedrock/pull/57)) +- add MIT license & banner image ([#36](https://github.com/worldcoin/bedrock/pull/36)) +- add [Bedrock] prefix to all log contexts ([#42](https://github.com/worldcoin/bedrock/pull/42)) +- add async_runtime expansion to bedrock_export ([#41](https://github.com/worldcoin/bedrock/pull/41)) +- craft & sign safe transactions ([#35](https://github.com/worldcoin/bedrock/pull/35)) +- [**breaking**] permit2 TransferFrom support ([#34](https://github.com/worldcoin/bedrock/pull/34)) +- sign typed data for smart accounts ([#33](https://github.com/worldcoin/bedrock/pull/33)) +- add BedrockConfig ([#19](https://github.com/worldcoin/bedrock/pull/19)) +- enables support for 4337 transactions ([#15](https://github.com/worldcoin/bedrock/pull/15)) +- add logging and error handling tooling ([#11](https://github.com/worldcoin/bedrock/pull/11)) +- add kotlin build & tests ([#6](https://github.com/worldcoin/bedrock/pull/6)) +- add swift package, enable ios sim tests ([#5](https://github.com/worldcoin/bedrock/pull/5)) +- [**breaking**] implement EIP-191 message signing ([#2](https://github.com/worldcoin/bedrock/pull/2)) + +### Fixed + +- single changelog ([#338](https://github.com/worldcoin/bedrock/pull/338)) +- preserve siwe scheme & implement explicit EOA signer ([#318](https://github.com/worldcoin/bedrock/pull/318)) +- use eoa for app backend siwe ([#315](https://github.com/worldcoin/bedrock/pull/315)) +- parse url on the rust side ([#313](https://github.com/worldcoin/bedrock/pull/313)) +- reqwest panic ([#288](https://github.com/worldcoin/bedrock/pull/288)) +- rpc id ([#271](https://github.com/worldcoin/bedrock/pull/271)) +- refactor migration processor ([#254](https://github.com/worldcoin/bedrock/pull/254)) +- improve error handling for manifest hash ([#230](https://github.com/worldcoin/bedrock/pull/230)) +- add catch_callback_panic to all filesystem operations ([#226](https://github.com/worldcoin/bedrock/pull/226)) +- expose client-side errors to native ([#224](https://github.com/worldcoin/bedrock/pull/224)) +- gift id ([#217](https://github.com/worldcoin/bedrock/pull/217)) +- userop serialization ([#206](https://github.com/worldcoin/bedrock/pull/206)) +- call sync_base_report_with_manifest on create_sealed_backup_for_new_user ([#189](https://github.com/worldcoin/bedrock/pull/189)) +- Fix clippy error introduced in `1.91.0` rust ([#174](https://github.com/worldcoin/bedrock/pull/174)) +- [**breaking**] improve HTTP errors & bump alloy for advisories ([#164](https://github.com/worldcoin/bedrock/pull/164)) +- stop flattening errors ([#155](https://github.com/worldcoin/bedrock/pull/155)) +- add missing header for RPC requests & improvements ([#150](https://github.com/worldcoin/bedrock/pull/150)) +- add normalize_input_path ([#127](https://github.com/worldcoin/bedrock/pull/127)) +- backup manifest default hash ([#125](https://github.com/worldcoin/bedrock/pull/125)) +- manifest initialization on new backup ([#121](https://github.com/worldcoin/bedrock/pull/121)) +- disambiguate listFiles with listFilesAtDirectory ([#117](https://github.com/worldcoin/bedrock/pull/117)) +- improve error handling for FS ([#114](https://github.com/worldcoin/bedrock/pull/114)) +- ManifestManager not correctly exported ([#112](https://github.com/worldcoin/bedrock/pull/112)) +- use serial_test instead of custom handler ([#111](https://github.com/worldcoin/bedrock/pull/111)) +- transaction e2e test failures ([#91](https://github.com/worldcoin/bedrock/pull/91)) +- add parameter passing + optional sponsorship token ([#85](https://github.com/worldcoin/bedrock/pull/85)) +- reorder nonce to put magic bytes first ([#82](https://github.com/worldcoin/bedrock/pull/82)) +- add entrypoint param to sponsorUserOperation ([#68](https://github.com/worldcoin/bedrock/pull/68)) + +### Other + +- *(deps)* bump uuid from 1.21.0 to 1.23.0 ([#330](https://github.com/worldcoin/bedrock/pull/330)) +- *(deps)* bump dryoc from 0.7.0 to 0.7.2 ([#331](https://github.com/worldcoin/bedrock/pull/331)) +- release v0.2.11 ([#336](https://github.com/worldcoin/bedrock/pull/336)) +- add face package backup support ([#333](https://github.com/worldcoin/bedrock/pull/333)) +- *(deps)* bump alloy from 1.6.1 to 1.7.3 ([#328](https://github.com/worldcoin/bedrock/pull/328)) +- *(deps)* bump coset from 0.4.1 to 0.4.2 ([#301](https://github.com/worldcoin/bedrock/pull/301)) +- [**breaking**] remove gift campaign manager ([#290](https://github.com/worldcoin/bedrock/pull/290)) +- *(deps)* bump coset from 0.3.8 to 0.4.1 ([#283](https://github.com/worldcoin/bedrock/pull/283)) +- *(deps)* bump uuid from 1.18.1 to 1.21.0 ([#281](https://github.com/worldcoin/bedrock/pull/281)) +- *(deps)* bump blake3 from 1.8.2 to 1.8.3 ([#285](https://github.com/worldcoin/bedrock/pull/285)) +- add bundler rejected tests ([#270](https://github.com/worldcoin/bedrock/pull/270)) +- remove sender from logs ([#268](https://github.com/worldcoin/bedrock/pull/268)) +- add logging to send_bundler_sponsored_user_operation ([#267](https://github.com/worldcoin/bedrock/pull/267)) +- add IAllowanceTransfer.approve support ([#262](https://github.com/worldcoin/bedrock/pull/262)) +- Use explicit state-based pattern in migration controller ([#256](https://github.com/worldcoin/bedrock/pull/256)) +- *(deps)* bump thiserror from 2.0.17 to 2.0.18 ([#251](https://github.com/worldcoin/bedrock/pull/251)) +- add missing high level 4626 withdraw/redeem functions, update in e2e ([#242](https://github.com/worldcoin/bedrock/pull/242)) +- move test_utils behind feature flag ([#236](https://github.com/worldcoin/bedrock/pull/236)) +- change backup events endpoint url ([#228](https://github.com/worldcoin/bedrock/pull/228)) +- Seal enclave PCRs ([#222](https://github.com/worldcoin/bedrock/pull/222)) +- chore update staging campaign manager contract ([#221](https://github.com/worldcoin/bedrock/pull/221)) +- update prod campaign manager addr ([#220](https://github.com/worldcoin/bedrock/pull/220)) +- campaign and gift managers addrs ([#214](https://github.com/worldcoin/bedrock/pull/214)) +- *(deps)* bump strum from 0.27.1 to 0.27.2 ([#209](https://github.com/worldcoin/bedrock/pull/209)) +- *(deps)* bump alloy from 1.0.38 to 1.1.2 ([#210](https://github.com/worldcoin/bedrock/pull/210)) +- *(deps)* bump flate2 from 1.1.1 to 1.1.5 ([#211](https://github.com/worldcoin/bedrock/pull/211)) +- Update gift campaign contract ([#205](https://github.com/worldcoin/bedrock/pull/205)) +- world gift manager ([#204](https://github.com/worldcoin/bedrock/pull/204)) +- retry if user op status is pending ([#199](https://github.com/worldcoin/bedrock/pull/199)) +- skip null seralizations ([#195](https://github.com/worldcoin/bedrock/pull/195)) +- Add staging contract ([#194](https://github.com/worldcoin/bedrock/pull/194)) +- address feedback from PR #192 ([#193](https://github.com/worldcoin/bedrock/pull/193)) +- contract envs ([#192](https://github.com/worldcoin/bedrock/pull/192)) +- override gas fees ([#185](https://github.com/worldcoin/bedrock/pull/185)) +- *(deps)* bump uuid from 1.17.0 to 1.18.1 ([#169](https://github.com/worldcoin/bedrock/pull/169)) +- add test_unicode_paths_order_independent_hashing, test_unicode_duplicate_paths_rejected_case_insensitive ([#161](https://github.com/worldcoin/bedrock/pull/161)) +- Return ciphertext in bytes ([#152](https://github.com/worldcoin/bedrock/pull/152)) +- *(deps)* bump thiserror from 2.0.16 to 2.0.17 ([#149](https://github.com/worldcoin/bedrock/pull/149)) +- *(deps)* bump strum from 0.26.3 to 0.27.1 ([#148](https://github.com/worldcoin/bedrock/pull/148)) +- Improve PCR validation code ([#135](https://github.com/worldcoin/bedrock/pull/135)) +- *(deps)* bump chrono from 0.4.41 to 0.4.42 ([#132](https://github.com/worldcoin/bedrock/pull/132)) +- *(deps)* bump ruint from 1.15.0 to 1.16.0 ([#130](https://github.com/worldcoin/bedrock/pull/130)) +- *(deps)* bump thiserror from 2.0.12 to 2.0.16 ([#129](https://github.com/worldcoin/bedrock/pull/129)) +- bump dependencies and general housekeeping ([#124](https://github.com/worldcoin/bedrock/pull/124)) +- *(deps)* bump alloy from 1.0.23 to 1.0.27 ([#104](https://github.com/worldcoin/bedrock/pull/104)) +- TOML formatting ([#101](https://github.com/worldcoin/bedrock/pull/101)) +- remove secure module and related tests, update dependencies ([#97](https://github.com/worldcoin/bedrock/pull/97)) +- set tx expiry to 30 minutes ([#95](https://github.com/worldcoin/bedrock/pull/95)) +- move contract definitions to primitives ([#84](https://github.com/worldcoin/bedrock/pull/84)) +- *(deps)* bump alloy from 1.0.17 to 1.0.23 ([#58](https://github.com/worldcoin/bedrock/pull/58)) +- *(deps)* bump rand from 0.9.1 to 0.9.2 ([#60](https://github.com/worldcoin/bedrock/pull/60)) +- *(deps)* bump tokio from 1.45.1 to 1.47.1 ([#61](https://github.com/worldcoin/bedrock/pull/61)) +- *(deps)* bump alloy from 1.0.9 to 1.0.16 ([#38](https://github.com/worldcoin/bedrock/pull/38)) +- integration tests for 4337 transactions ([#20](https://github.com/worldcoin/bedrock/pull/20)) +- *(deps)* bump alloy from 1.0.6 to 1.0.9 ([#10](https://github.com/worldcoin/bedrock/pull/10)) +- *(deps)* bump tokio from 1.45.0 to 1.45.1 ([#9](https://github.com/worldcoin/bedrock/pull/9)) +- improvements to smart account ([#4](https://github.com/worldcoin/bedrock/pull/4)) +- personal_sign on-chain integration test with Anvil ([#3](https://github.com/worldcoin/bedrock/pull/3)) +- Repo Init ([#1](https://github.com/worldcoin/bedrock/pull/1)) +- Initial commit + ## [0.2.12](https://github.com/worldcoin/bedrock/compare/0.2.11...0.2.12) - 2026-04-09 ### Added diff --git a/Cargo.lock b/Cargo.lock index c4286cf6..f31d37c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1530,7 +1530,7 @@ dependencies = [ [[package]] name = "bedrock" -version = "0.2.12" +version = "0.3.0" dependencies = [ "alloy", "anyhow", @@ -1581,7 +1581,7 @@ dependencies = [ [[package]] name = "bedrock-macros" -version = "0.2.12" +version = "0.3.0" dependencies = [ "proc-macro2", "quote", @@ -5880,7 +5880,7 @@ dependencies = [ [[package]] name = "uniffi-bindgen" -version = "0.2.12" +version = "0.3.0" dependencies = [ "uniffi", ] diff --git a/Cargo.toml b/Cargo.toml index 80ebc56f..d856b749 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ keywords = ["Ethereum", "WorldChain", "World"] license = "MIT" readme = "./README.md" repository = "https://github.com/worldcoin/bedrock" -version = "0.2.12" +version = "0.3.0" [workspace.dependencies] # NOTE: Maintain parity with org-wide UNIFFI_VERSION