Skip to content

Releases: synonymdev/bitkit-core

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

v0.1.17

25 Sep 17:27
ca925c0

Choose a tag to compare

This Release:

  • Bumps bitcoin-address-generator version to 0.2.0
  • Bumps version to 0.1.17
  • Aligns external types
  • Adds the following functions:
    • validate_mnemonic() - Validate BIP39 mnemonic phrases
    • is_valid_bip39_word() - Check if a word is in the BIP39 wordlist
    • get_bip39_suggestions() - Autocomplete/suggestions for partial words
    • get_bip39_wordlist() - Access the complete BIP39 wordlist
    • mnemonic_to_entropy() - Convert mnemonic to entropy bytes
    • entropy_to_mnemonic() - Convert entropy to mnemonic phrase
    • mnemonic_to_seed() - Generate seed from mnemonic with optional passphrase

v0.1.16

24 Sep 17:41
204c16b

Choose a tag to compare

This Release:

  • Bumps bitcoin-address-generator version to 0.2.0
  • Bumps version to 0.1.16
  • Adds the following functions:
    • validate_mnemonic() - Validate BIP39 mnemonic phrases
    • is_valid_bip39_word() - Check if a word is in the BIP39 wordlist
    • get_bip39_suggestions() - Autocomplete/suggestions for partial words
    • get_bip39_wordlist() - Access the complete BIP39 wordlist
    • mnemonic_to_entropy() - Convert mnemonic to entropy bytes
    • entropy_to_mnemonic() - Convert entropy to mnemonic phrase
    • mnemonic_to_seed() - Generate seed from mnemonic with optional passphrase

v0.1.15

16 Sep 17:40
1f06ee6

Choose a tag to compare

This Release:

  • Upgrades rust-blocktank-client to version 0.0.16
  • Adds several types in the blocktank module in types.rs