0.5.12
We switched to the saropa_lints package and custom_lint, and trimmed the analysis config from 255 lines to 69. You get the same level of checking with less to maintain.
0.5.11
We added utilities for Base64 compression, UUID validation and formatting, HTML unescape and plain text, and double formatting (percentages, precision, clamping). All of it is covered by 103 new tests.
Added
Base64Utils- Text compression and decompression (compressText,decompressText)UuidUtils- UUID validation and manipulation (isUUID,addHyphens,removeHyphens)HtmlUtils- HTML text processing (unescape,removeHtmlTags,toPlainText)DoubleExtensions- Double formatting (hasDecimals,toPercentage,formatDouble,forceBetween,toPrecision,formatPrecision)
0.5.10
We extended the publish script with version and branch parameters, dry-run validation, and checks for working tree and remote sync. Releases are safer and easier to script from CI.
0.5.9
We added an allowEmpty option to JSON validation and made string methods (substring, truncate, lastChars) use grapheme clusters so emoji and Unicode behave correctly. Note: indices are now grapheme-based—a breaking change if you relied on code-unit positions.
Added
isJson:allowEmptyparameter to optionally treat{}as valid JSON
Changed
substringSafe: Now usescharacters.getRange()for proper UTF-16/emoji supporttruncateWithEllipsis: Uses grapheme cluster length for accurate emoji handlingtruncateWithEllipsisPreserveWords: Uses grapheme cluster lengthlastChars: Uses grapheme cluster length- Breaking: Indices now refer to grapheme clusters, not code units
Fixed
MakeListExtensions: Changed extension fromTtoT?for nullable types
Removed
UniqueListExtensionsUniqueBy: Removed unusedpropertyComparergeneric parameter
0.5.8
We made the publish script handle git tags and GitHub releases idempotently. You can re-run it after a partial run without it failing.
0.5.7
We fixed string extraction (curly braces, line breaks), made word removal Unicode-aware, and improved the grammar and article rules. Text handling should be more accurate now.
Fixed
extractCurlyBraces: Switched to non-greedy matching for correct extraction orderremoveSingleCharacterWords: Made Unicode-aware for single-letter words beyond ASCIIreplaceLineBreaks: Improved deduplication for arbitrary replacement stringsgrammarArticle: Enhanced heuristics for silent 'h', "you"-sound words, andone-prefixespossess: Trims input before applying trailing 's' rules
0.5.6
We added URL/URI extensions so you can check HTTPS, add or get query parameters, and replace the host. Handy when building or validating links.
Added
UrlExtensions.isSecure- Check if URI uses HTTPS schemeUrlExtensions.addQueryParameter- Add or update query parametersUrlExtensions.hasQueryParameter- Check if query parameter existsUrlExtensions.getQueryParameter- Get query parameter valueUrlExtensions.replaceHost- Create URI with different host
0.5.5
A big release: JSON and map utilities, URL extensions, string extraction and search, date constants, and many new DateTime and string helpers. We added tests too—over 2,850 in total.
Added
JsonUtils- JSON parsing, type conversion, and validationMapExtensions- Map manipulation utilitiesUrlExtensions- URI manipulation (removeQuery,fileName,isValidUrl,isValidHttpUrl,tryParse)StringBetweenExtensions- Content extraction (between,betweenLast,removeBetween, etc.)StringCharacterExtensions- Character operations (splitByCharacterCount,charAtOrNull)StringSearchExtensions- Search utilities (containsAnyIgnoreCase,indexOfAll,lastIndexOfPattern)MonthUtils,WeekdayUtils,SerialDateUtils- Date constant lookups- DateTime extensions:
mostRecentSunday,mostRecentWeekday,dayOfYear,weekOfYear,numOfWeeks,weekNumber,toSerialString,toSerialStringDay - String extensions:
removeSingleCharacterWords,removeLeadingAndTrailing,firstWord,secondWord,endsWithAny,endsWithPunctuation,isAny,extractCurlyBraces,obscureText,hasInvalidUnicode,isVowel,hasAnyDigits - Iterable/Num extensions:
randomElement,containsAll,toDoubleOrNull,toIntOrNull DateTimeUtils.isValidDateParts- Comprehensive date part validationconvertDaysToYearsAndMonths-includeRemainingDaysoption
0.5.4
We fixed range and date logic (inclusive boundaries, year boundaries), list comparison, hex overflow, and string truncation. Added 110 tests so the fixes stay solid.
Fixed
isBetweenRange: Properly forwardsinclusiveparameterisAnnualDateInRange: Correctly handles date ranges spanning year boundariesisNthDayOfMonthInRange: Cross-year range validationinRangeandisNowInRange: Default to inclusive boundary semanticsequalsIgnoringOrder: Correctly compares duplicate countshexToInt: Case-sensitive overflow checktoUpperLatinOnly: O(n²) → O(n) using StringBufferupperCaseLettersOnly: O(n²) → O(n) using StringBuffertruncateWithEllipsisPreserveWords: Returns truncated content when first word exceeds cutoffcontainsIgnoreCase: Empty string is contained in any stringconvertDaysToYearsAndMonths: Improved precision using average days
0.5.3
We tuned regex usage in string utils and improved the docs for the random and list helpers. A small polish release.
Changed
- Enhanced
string_utils.dartto optimize final regex usages
0.5.2
We renamed the string extension type to StringExtensions for consistency. Behavior is unchanged; only the type name is different.
Changed
- Renamed
StringFormattingAndWrappingExtensionstoStringExtensions
0.5.1
We merged all string extension methods into one file and added a full test suite. Imports and structure are simpler.
0.5.0
We added extensions for numbers (e.g. clamping), lists (order-agnostic comparison), and strings (safer number parsing), and refactored names and tests for consistency.
Added
- Extension methods for numbers, lists, and strings (
forceBetween, order-agnostic list comparison, safer string number parsing)
Changed
- Refactored extension names for consistency
0.4.4
We split the string code into smaller files and added unique-list and number-range utilities. The layout is clearer and you get a few new helpers.
Added
- Unique lists and number ranges utilities
0.4.3
We added framework-style extensions for primitives (num, string, etc.), set line length to 100, and removed the VGV spelling lists.
Added
- Framework extensions for primitives (num, string, etc.)
0.4.2
A small maintenance release: minor improvements and fixes.
0.4.1
Another small maintenance release: minor improvements and fixes.
0.4.0
We did a major refactor of the library structure and APIs to set things up for the extensions and utilities that followed.
0.3.18
We added DateTime and DateTimeRange utilities and brought in jiffy/intl for date formatting. Date handling works well out of the box now.
Added
DateTimeRangeutilsDateTimeutils- Dependency to jiffy and intl for date processing
0.3.17
A small maintenance release: minor improvements.
0.3.16
Another small maintenance release: minor improvements.
0.3.15
Another small maintenance release: minor improvements.
0.3.13
We added a script to detect unused Flutter code and updated the Code of Conduct (logo, examples, survey). We also renamed the doc folder to docs and removed Codecov.
0.2.3
We added CommonRandom for reproducible randomness, a Code of Conduct for contributors, and development helper scripts. The project is easier to work on and expectations are clearer.
Added
CommonRandomclass as drop-in replacement formath.Random()
0.2.1
We moved the list extensions onto Iterable so they work with any iterable, not just lists. The API is more flexible.
Changed
- Migrated
Listextensions toIterable
0.2.0
We added enum helpers (byNameTry, sortedEnumValues) and list extensions (smallest, biggest, most/least occurrences), and bumped the SDK and collections dependency.
Added
Enummethods:byNameTryandsortedEnumValues- List extensions for smallest, biggest, most, and least occurrences
Changed
- Bumped SDK requirements (sdk: ">=3.4.3 <4.0.0", flutter: ">=3.24.0")
- Added collections package dependency
0.1.0
We renamed nullable string utils to extensions and deprecated a few functions we plan to remove. Cleanup to make the API clearer.
Deprecated
- Several functions in preparation for removal
0.0.11
We added date constants and ordinal/GCD/countDigits helpers, fixed removeStart when the search is empty, and removed the deprecated string-nullable functions.
Added
DateConstants.unixEpochDateDateConstantExtensions.isUnixEpochDateDateConstantExtensions.isUnixEpochDateTimeIntStringExtensions.ordinalStringUtils.getNthLatinLetterLowerStringUtils.getNthLatinLetterUpperIntUtils.findGreatestCommonDenominatorIntExtensions.countDigits
Fixed
StringExtensions.removeStartreturns input when search param is empty
Removed
- Deprecated functions in
StringNullableExtensions
0.0.10
We made removeStart accept a nullable search parameter so it’s easier to use in nullable contexts.
Changed
removeStartparameter changed to nullable
0.0.9
We added an optional trimFirst parameter to removeStart so you can trim the result. A small string API improvement.
Added
trimFirstparameter toStringExtensions.removeStart
0.0.8
We added an optional trimFirst parameter to nullIfEmpty so you have finer control over empty and whitespace handling.
Added
trimFirstparameter toStringExtensions.nullIfEmpty
0.0.7
We renamed the strings folder to singular and deprecated the nullable string extensions. Naming and API cleanup.
Deprecated
- Nullable string extensions
0.0.6
We added swipe gesture properties for use in gesture-aware UIs. The groundwork for swipe handling.
Added
- Swipe gesture properties
0.0.5
We documented all methods, added example app usage and README examples, and extended the string extensions. The library should be easier to discover and use.
Added
- String extension methods
0.0.4
We added an example app, GitHub Actions, and contribution templates (PR, issue, contributing guide). The project is ready for others to contribute.
Added
- Example App
0.0.3
We added a random enum selection helper for when you need a random value from an enum.
Added
- Random enum method
0.0.2
We added string-to-bool conversion methods so you can parse "true"/"false" and similar strings safely.
Added
- String to bool conversion methods
0.0.1
First release. We included bool list methods to get started.
Added
- Initial release with bool list methods
Made by Saropa. All rights reserved.