Releases: synonymdev/bitkit-core
v0.1.27
Add fee rate, is transfer, and channel id to the PreActivityMetadata
v0.1.26
Pre-Activity Metadata Improvements
v0.1.25
-
Added pre activity metadata
-
Renamed
get_all_tag_metadatatoget_all_activities_tags
v0.1.24
Changes:
Add ActivityTagsMetadata struct with full activity metadata (id, payment_hash,
tx_id, address, is_receive, tags, created_at) for backup format
Add ActivityTags struct (activity_id, tags) for simple tag upsert operations
Implement get_all_tag_metadata() method that joins with activities and
onchain_activity tables to return full metadata
Update upsert_tags() to accept ActivityTags (simplified structure) using
INSERT OR IGNORE for additive behavior
New calls exposed:
Backup: get_all_tag_metadata() returns Vec with full
activity context.
Restore: upsert_tags() accepts Vec with just activity_id and
tags.
v0.1.23
What's Changed
- chore: upgrade uniffi to 0.29.4 and enable Codable conformance for iOS
v0.1.22
Release changes:
Blocktank Module:
- Add
upsert_orders()for bulk upsert of IBtOrder records - Add
upsert_cjit_entries()for bulk upsert of ICJitEntry records - Add
upsert_info()method (existing, now exposed in bindings) - Refactor
upsert_order()andupsert_cjit_entry()to use helper functions - Extract SQL constants to
models.rsfor reusability - Add helper functions
build_order_params()andbuild_cjit_params()to reduce duplication
Activity Module:
- Add
upsert_onchain_activities()for bulk upsert of OnchainActivity records - Add
upsert_lightning_activities()for bulk upsert of LightningActivity records - Rename
insert_closed_channel()toupsert_closed_channel()(uses INSERT OR REPLACE) - Add
upsert_closed_channels()for bulk operations
FFI Bindings:
- Export
upsert_orders()in lib.rs - Export
upsert_cjit_entries()in lib.rs - Export
upsert_info()in lib.rs - Export
upsert_onchain_activities()in lib.rs - Export
upsert_lightning_activities()in lib.rs - Export
upsert_closed_channels()in lib.rs (single method already exported)
v0.1.21
This Release:
- Save boost tx ids in onchain activity table
- Add closed channels table in the activity DB
v0.1.20
This Release:
- Adds
activity_wipe_all()to clear all activities and tags - Adds
blocktank_remove_all_orders()to clear order history - Adds
blocktank_remove_all_cjit_entries()to clear CJIT entries - Adds
blocktank_wipe_all()to clear all blocktank tables - Adds
wipe_all_databases()for global database reset - Updates tests and docs as needed
- Refactors database initialization code to reduce duplication
- Ensures consistent error handling across all wipe methods
v0.1.19
This Release:
- Adds
activity_wipe_all()to clear all activities and tags - Adds
blocktank_remove_all_orders()to clear order history - Adds
blocktank_remove_all_cjit_entries()to clear CJIT entries - Adds
blocktank_wipe_all()to clear all blocktank tables - Adds
wipe_all_databases()for global database reset - Updates tests and docs as needed
v0.1.18
This Release:
- Upgrades UniFFI from 0.27.3 to 0.28.3
- Switches android bindgen tool to
gobley-uniffi-bindgenfork with patch fix on v0.2.0 - Updates the kotlin bindings configuration to generate serializable types for direct use in Android apps
- Bumps version to 0.1.18