PackageTrack
Sign in Get early access

ac_bcp47

BCP-47 related types with parsing, formatting, canonicalization and format validation.

0.4.0 anthochamp/dart-bcp47

What this package is like to depend on

Last release 4 months ago

05 Apr 2026

Ships fairly regularly

a new release about every 10 months

Some releases are documented

notes for 2 of 7 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

7 releases · first in 2023

2 releases in the last 12 months

see the full history below

Release timeline

7 releases · Apr 2023 to Apr 2026
2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 0.4.0 05 Apr 2026
    Release notes

    Full Changelog: v0.3.0...v0.4.0

    Open source →
    Release notes

    Fixed

    • Bcp47LanguageTag.parse now uses typed catch (e) { if (e is! ArgumentError) rethrow; } instead of catch (_) {}, preventing silent swallowing of genuine runtime errors.
    • kIrregularTags and kRegularTags replaced with explicit const <String>[...] list literals.

    Changed

    • Bcp47Subtags changed from Iterable<String> to List<String>.
    • Bcp47GrandfatheredTag.irregular changed from late final to final (computed inline).
    • Bcp47Lookup and Bcp47Validator members promoted to top-level functions; deprecated class wrappers retained for backward compatibility.
    Open source →
  2. 0.3.0 02 Apr 2026
    Release notes

    What's Changed

    Full Changelog: v0.2.3...v0.3.0

    Open source →
    Release notes

    Fixed

    • Fix == and hashCode in Bcp47LanguageTagMixin to use structural, case-insensitive comparison (was identity-based, causing map/set lookups to fail).
    • Fix Bcp47BasicLanguageRange.parse to accept single-subtag ranges (e.g. 'en', 'de').

    Changed

    • Update IANA registry data (registry date 2025-08-25, latest record 2024-12-12).

    Added

    • Add Bcp47Lookup with basicFilter, extendedFilter, and lookup (RFC 4647 §3.3 and §3.4).
    • Add Bcp47LangTag.copyWith for type-safe field replacement.
    • Add /// doc comments to all public API members.
    Open source →
  3. 0.2.3 25 Jan 2025

    Nothing published for this version

  4. 0.2.2 18 Feb 2024

    Nothing published for this version

  5. 0.2.1 04 Feb 2024

    Nothing published for this version

  6. 0.2.0 04 May 2023

    Nothing published for this version

  7. 0.1.0 27 Apr 2023

    Nothing published for this version

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