Releases: LtbLightning/payjoin-ffi
Releases · LtbLightning/payjoin-ffi
payjoin-ffi 0.21.0
Summary
This release accommodates rust-payjoin 0.21.0, using a payjoin v2-first
API and exposing bitcoin-ffi types directly.
Changelog
- Major overhaul to attempt a stable BIP 77 protocol implementation.
- v1 support is now only available through the V2 backwards-compatible APIs.
- see payjoin-0.21.0 changelog for more details.
- Separate
payjoin_ffi
andpayjoin_ffi::uni
UniFFI types into two layers. - Re-export bitcoin-ffi types and their UniFFI bindings
What's Changed
- Update to payjoin-0.21 by @DanGould in #36
- Use bitcoin-ffi types instead of our own bitcoin module. by @DanGould in #37
- Release payjoin-ffi-0.21.0 by @DanGould in #38
Full Changelog: v0.20.0...v0.21.0
payjoin-ffi 0.20.0
[0.20.0]
APIs Added
-
Send Module (V1 & V2):
RequestBuilder
exposesfrom_psbt_and_uri
,build_with_additional_fee
,build_recommended
,build_non_incentivizing
,always_disable_output_substitution
.RequestContext
exposesextract_contextV1
&extract_contextV2
.ContextV1
exposesprocess_response
.ContextV2
exposesprocess_response
.
-
Receive Module (V1):
UncheckedProposal
exposesfrom_request
,extract_tx_to_schedule_broadcast
,check_broadcast_suitability
,build_non_incentivizing
,assume_interactive_receiver
,always_disable_output_substitution
.MaybeInputsOwned
exposescheck_inputs_not_owned
.MaybeMixedInputScripts
exposescheck_no_mixed_input_scripts
.MaybeInputsSeen
exposescheck_no_inputs_seen_before
.OutputsUnknown
exposesidentify_receiver_outputs
.ProvisionalProposal
exposessubstitute_output_address
,contribute_witness_input
,try_preserving_privacy
,finalize_proposal
.PayjoinProposal
exposesis_output_substitution_disabled
,owned_vouts
,psbt
,utxos_to_be_locked
.
-
Receive Module (V2):
Enroller
exposesfrom_directory_config
,process_response
,extract_request
.Enrolled
exposesextract_request
,process_response
,fall_back_target
.V2UncheckedProposal
exposesextract_tx_to_schedule_broadcast
,check_broadcast_suitability
,assume_interactive_receiver
.V2MaybeInputsOwned
exposescheck_inputs_not_owned
.V2MaybeMixedInputScripts
exposescheck_no_mixed_input_scripts
.V2MaybeInputsSeen
exposescheck_no_inputs_seen_before
.V2OutputsUnknown
exposesidentify_receiver_outputs
.V2ProvisionalProposal
exposessubstitute_output_address
,contribute_witness_input
,try_preserving_privacy
,finalize_proposal
.V2PayjoinProposal
exposesdeserialize_res
,extract_v1_req
,extract_v2_req
,is_output_substitution_disabled
,owned_vouts
,psbt
,utxos_to_be_locked
.
-
Other APIs:
- Exposed
PjUriBuilder
andPjUri
. - Exposed
pjUrl_builder()
inActiveSession
. - Exposed
check_pj_supported()
inPjUri
. - Exposed
fetch_ohttp_keys()
to fetch theohttp
keys from the specifiedpayjoin
directory. - Make backwards-compatible
v2
tov1
sends possible.
- Exposed
APIs Changed
-
Send Module (V1 & V2):
- Removed
contribute_non_witness_input
fromv1
&v2
. - Refactor output substitution with new fallible
try_substitute_outputs
.
- Removed
-
Receive Module (V2):
-
Other Changes:
- Replaced
Enroller
withSessionInitializer
. - Replaced
Enrolled
withActiveSession
. - Replaced
fallback_target()
withpj_url
.
- Replaced
What's Changed
- Update README.md BIP178 to BIP-78 by @DanGould in #13
- Address comments by @BitcoinZavior in #21
- Updates for v0.13 by @BitcoinZavior in #20
- Updates for v0.13 by @BitcoinZavior in #22
- Minor change by @BitcoinZavior in #24
- Updates for v0.13 by @BitcoinZavior in #23
- Fix bdk integration by @BitcoinZavior in #28
- Fix build issues by @BitcoinZavior in #30
- Minor changes by @BitcoinZavior in #31
- Upgrade v18.0 by @BitcoinZavior in #29
- add feature to enable on default disabled danger-local-https by @kumulynja in #32
- Review comments v0.20.0 by @BitcoinZavior in #34
- Upgrade v0.20.0 by @BitcoinZavior in #33
New Contributors
- @kumulynja made their first contribution in #32
Full Changelog: v0.1.0.dev...v0.20.0
Python v0.1.0.dev
Initial release