PackageTrack
Sign in Get early access

translations_cleaner

Package to remove unused keys in arb files, across all translations

0.2.1 20K downloads/mo #2203 most downloaded on pub.dev Chinmay-KB/translations_cleaner

What this package is like to depend on

Last release 2 months ago

16 Jun 2026

Release timing varies

gaps range from 2 months to 3.1 years

Nearly every release is documented

notes for 6 of 6 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

6 releases · first in 2022

4 releases in the last 12 months

see the full history below

Release timeline

6 releases · Nov 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 6
  1. 0.2.1 16 Jun 2026
    Release notes
    • Widen analyzer constraint to >=8.0.0 <11.0.0 so the package resolves alongside intl_utils ^2.8.14 and modern Flutter test tooling.
    • Migrate AST scan to the renamed diagnostic API (diagnosticCode / DiagnosticType) since errorCode / ErrorType were removed in analyzer 9.0.0.
    • Raise minimum Dart SDK to 3.9.0 to match analyzer 8.x's environment constraint.
    Open source →
  2. 0.2.0 10 Mar 2026
    Release notes
    • Switched from regex to AST based searching improving search time speeds by 100x.
    Open source →
  3. 0.1.1 09 Mar 2026
    Release notes

    Bug Fixes

    • Handle invalid JSON in sort-translations so one malformed ARB file does not abort the whole command.
    Open source →
  4. 0.1.0 27 Dec 2025
    Release notes

    Breaking Changes

    • Dart 3.x required: Updated SDK constraint from >=2.17.6 <3.0.0 to >=3.0.0 <4.0.0
    • Subpackages excluded by default: Arb files in subpackages (directories with their own pubspec.yaml) are now excluded by default. Use --include-subpackages or -s flag to include them.

    Bug Fixes

    • Fix #10: Preserve original indentation when writing arb files instead of forcing 4-space indent
    • Fix #9: Handle malformed JSON in arb files gracefully with helpful error messages instead of crashing
    • Fix #5: Use word boundary matching to prevent false negatives (e.g., restorePurchases no longer matches restorePurchasesAsync)
    • Fix #6, #7, #11: Exclude subpackages by default to prevent false positives in monorepo setups
    Open source →
  5. 0.0.5 27 Nov 2022
    Release notes
    • Added 2 commands, for showing list of unused translations and for deleting them
    • Unused translations can be exported to a .txt file to the desired path
    • abort flag exits process with failure if there are any unused translations. This feature is useful for being used in CI, if the build should fail if there exists any unused translations
    Open source →
  6. 0.0.1 26 Nov 2022
    Release notes
    • Initial version.
    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