PackageTrack
Sign in Get early access

bip21_uri

A Bip21 compatible URL encoding package developed for DartLang.

2.2.0 ethicnology/dart-bip21-uri

What this package is like to depend on

Last release 25 days ago

29 Jul 2026

Ships unpredictably

gaps range from 2 weeks to 11 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

7 releases · first in 2025

2 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jun 2025 to Jul 2026
2026
Release Pre-release

Releases

latest 7
  1. 2.2.0 29 Jul 2026
    Release notes
    • fix: amount was encoded through double.toString(), which switches to scientific notation below 1e-6 — one satoshi was emitted as amount=1e-8, which no BIP21 grammar accepts (an optional X/x exponent, never e). Amounts are now formatted at satoshi precision with trailing zeros trimmed, so canonical values such as 20.3 are unchanged.
    • fix: the pj fragment separator is preserved as received instead of being rewritten to +. - is the separator of the current payjoin specification and + the legacy one; rust-payjoin accepts both and chooses between them in check_fragment_delimiter, so the 2.1.2 retrocompatibility shim for payjoin-flutter now only turns current URIs back into their deprecated form. Behaviour change: decoding a - separated endpoint no longer returns a + separated one.
    • fix: only the BIP77 fragment is uppercased. The URL before it is case-sensitive, so a directory host containing a hyphen, or a mailbox path that is not already uppercase, is no longer corrupted. A BIP78 v1 endpoint, which has no fragment, is left untouched.
    Open source →
  2. 2.1.3 02 Sep 2025
    Release notes
    • fix: illegal percent encoding
    Open source →
  3. 2.1.2 17 Aug 2025
    Release notes
    • refactor: payjoin-flutter is not compatible with hyphens - symbol defined in the latest payjoin specification. To ensure retrocompatibility with payjoin-flutter, bip21_uri is returning the pj field with + sign.
    Open source →
  4. 2.1.1 24 Jul 2025
    Release notes
    • fix: regression on uppercase
    Open source →
  5. 2.1.0 24 Jul 2025
    Release notes
    • If pj is passed among the options of the query parameters, the package now process it as a payjoin Uri specified in BIP77 supporting both percent encoded or not, + and -. Keep the # encoded as %23 and the Uri is uppercase.
    • Payjoin unit tests
    Open source →
  6. 2.0.1 26 Jun 2025
    Release notes
    • Empty amount is decoded as null
    • Empty message or label is decoded/encoded as empty
    • Empty options are encoded/decoded
    Open source →
  7. 2.0.0 23 Jun 2025
    Release notes

    Breaking Changes

    • Package renamed: dart_bip21bip21_uri
    • Model renamed: BIP21Bip21Uri
    • Amount type changed: num?double?
    • API restructured: Complete rewrite of the codebase with new file structure
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive