Skip to content

Releases: synonymdev/bitkit-core

v0.1.27

13 Nov 14:53
d2b12e1

Choose a tag to compare

Add fee rate, is transfer, and channel id to the PreActivityMetadata

v0.1.26

13 Nov 11:58
a070e8e

Choose a tag to compare

Pre-Activity Metadata Improvements

v0.1.25

12 Nov 12:08
d30620f

Choose a tag to compare

  • Added pre activity metadata

  • Renamed get_all_tag_metadata to get_all_activities_tags

v0.1.24

06 Nov 19:31
1ecc14b

Choose a tag to compare

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

06 Nov 12:25
3cd496c

Choose a tag to compare

What's Changed

  • chore: upgrade uniffi to 0.29.4 and enable Codable conformance for iOS

v0.1.22

03 Nov 13:41
1a71420

Choose a tag to compare

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() and upsert_cjit_entry() to use helper functions
  • Extract SQL constants to models.rs for reusability
  • Add helper functions build_order_params() and build_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() to upsert_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

30 Oct 23:07
1ba4859

Choose a tag to compare

This Release:

  • Save boost tx ids in onchain activity table
  • Add closed channels table in the activity DB

v0.1.20

29 Oct 17:36
b15f997

Choose a tag to compare

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

17 Oct 16:01
ecd065d

Choose a tag to compare

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

16 Oct 13:13
bb7dda2

Choose a tag to compare

This Release:

  • Upgrades UniFFI from 0.27.3 to 0.28.3
  • Switches android bindgen tool to gobley-uniffi-bindgen fork 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