zeba_academy_string_utils 1.0.0
zeba_academy_string_utils: ^1.0.0 copied to clipboard
A collection of dependency-free string manipulation utilities for Dart and Flutter applications.
Changelog #
All notable changes to zeba_academy_string_utils are documented in this file.
The format follows the principles of Keep a Changelog, and this project follows Semantic Versioning.
1.0.0 - 2026-08-13 #
Added #
- Initial stable release of
zeba_academy_string_utils. - Added
ZebaStringUtilsutility class. - Added whitespace trimming with
trim(). - Added whitespace cleanup with
cleanWhitespace(). - Added complete whitespace removal with
removeWhitespace(). - Added string truncation with configurable ellipsis using
truncate(). - Added string repetition using
repeat(). - Added alphabetic character validation with
isAlphabetic(). - Added numeric character validation with
isNumeric(). - Added alphanumeric validation with
isAlphanumeric(). - Added uppercase character detection with
hasUppercase(). - Added lowercase character detection with
hasLowercase(). - Added digit detection with
hasDigit(). - Added whitespace detection with
hasWhitespace(). - Added word counting with
wordCount(). - Added bounds-safe substring extraction with
safeSubstring(). - Added string normalization with
normalize(). - Added lowercase conversion with
lowercase(). - Added uppercase conversion with
uppercase(). - Added blank string detection with
isBlank(). - Added non-blank string detection with
isNotBlank(). - Added convenient
Stringextension methods. - Added comprehensive unit tests for core functionality and edge cases.
- Added support for safe handling of invalid substring boundaries.
- Added argument validation for negative truncation lengths.
- Added argument validation for negative repetition counts.
- Designed package with zero external runtime dependencies.
- Added production-ready package documentation.
- Licensed the package under GNU General Public License v3.0 (GPL-3.0).
Documentation #
- Added comprehensive API documentation.
- Added installation instructions.
- Added usage examples.
- Added static API examples.
- Added
Stringextension examples. - Added API overview.
- Added testing instructions.
- Added contribution guidelines.
- Added Zeba Academy information and learning resources.
Quality #
- Added automated test coverage for whitespace operations.
- Added automated test coverage for truncation behavior.
- Added automated test coverage for string repetition.
- Added automated test coverage for character checks.
- Added automated test coverage for word counting.
- Added automated test coverage for safe substring operations.
- Added automated test coverage for normalization.
- Added automated test coverage for extension methods.
- Added edge-case coverage for empty strings and invalid arguments.
- Added Dart formatting and static analysis compatibility.