PackageTrack
Sign in Get early access

stringr

Comprehensive string manipulation plugin for dart. Handles operations on latin, non latin and grapheme clusters alike! Features inspured from VocaJs

1.2.2 33K downloads/mo #1801 most downloaded on pub.dev Chinmay-KB/stringr

What this package is like to depend on

Last release 5 months ago

23 Mar 2026

Release timing varies

gaps range from 3 months to 3.8 years

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

7 releases · first in 2021

4 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jan 2021 to Mar 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 1.2.2 23 Mar 2026
    Release notes

    Bug Fixes

    • Fixed capitalize() to normalize already-capitalized and all-uppercase inputs like HELLO and HeLLo to Hello
    • Preserved acronym tokens in camelCase() while fixing capitalize() behavior

    Tests

    • Added regression coverage for uppercase and mixed-case capitalize() inputs
    Open source →
  2. 1.2.1 19 Dec 2025
    Release notes

    Documentation

    • Revamped README with cleaner structure and API tables
    • Added CONTRIBUTING.md for contributors
    • Removed codemagic badge

    Code Quality

    • Code formatting improvements across source files
    Open source →
  3. 1.2.0 19 Dec 2025
    Release notes

    New Features

    • Added unescapeHtml() method to unescape HTML entities
    • Added escapeHtml() as the new camelCase version of escapeHTML()
    • Added countOccurrences() with correct spelling
    • Added convenience getters: toCamelCase, toSnakeCase, toKebabCase, toTitleCase, toPascalCase

    Bug Fixes

    • Fixed malformed regex patterns in const_regex.dart (JS-style delimiters removed)
    • Fixed performance bug in latinize() - maps are now lazily initialized instead of rebuilt on every call
    • Fixed prune() to handle tabs and other whitespace, not just spaces
    • Fixed nullable return types in words(), chars(), codePoints(), graphemes()

    Deprecations (will be removed in 2.0.0)

    • escapeHTML() - use escapeHtml() instead
    • unEscapeRegExp() - use unescapeRegExp() instead
    • countOccurences() - use countOccurrences() instead (typo fix)
    • count() - use .length instead
    • chars() - use .split('') instead
    • codePoints() - use .codeUnits instead
    • charAt() - use string[index] instead
    • lowerCase() - use .toLowerCase() instead
    • upperCase() - use .toUpperCase() instead

    Code Quality

    • Optimized swapCase() using StringBuffer for O(n) performance
    • Made escape character maps const for compile-time optimization
    • Added modern Dart 3.0+ switch expressions in case methods
    • Improved code documentation
    Open source →
  4. 1.1.0 18 Dec 2025
    Release notes
    • Updated to Dart 3.0+ with modern SDK constraints (>=3.0.0 <4.0.0)
    • Added unescapeRegExp() method to unescape regex strings
    • Code refactoring and improved maintainability
    • Updated dependencies to latest compatible versions
    Open source →
  5. 1.0.0 19 Mar 2022
    Release notes
    • First stable release
    • All string manipulation features from prerelease now stable
    Open source →
  6. 0.0.2-prerelease 04 Jan 2021 pre-release

    Nothing published for this version

  7. 0.0.1-prerelease 04 Jan 2021 pre-release

    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