<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>saropa_dart_utils releases</title>
  <link rel="self" type="application/atom+xml" href="https://saropa.com/developers/saropa-dart-utils/changelog/feed.xml"/>
  <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/"/>
  <id>https://saropa.com/developers/saropa-dart-utils/changelog/feed.xml</id>
  <updated>2026-12-01T00:00:00Z</updated>
  <author><name>Saropa</name></author>
  <entry>
    <title>saropa_dart_utils 2.1.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/#v2-1-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/2.x/#v2-1-0</id>
    <updated>2026-12-01T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Changelog links and the package homepage now point to saropa.com, and there is a new optional &lt;code&gt;saropa_scan&lt;/code&gt; tool and &quot;Saropa Utils&quot; VS Code extension that find code you could replace with this library.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Release script: the test step now runs only tests affected since the last release (full suite on config/helper/barrel changes or unmapped files), in parallel batches with live progress; new &lt;code&gt;--full-tests&lt;/code&gt; and &lt;code&gt;--test-workers N&lt;/code&gt; flags&lt;/li&gt;
&lt;li&gt;Release script: never prompts (no &lt;code&gt;input()&lt;/code&gt;, no [y/N], no retry/abort/ignore menus). A failing step is recorded and every independent step still runs; steps that depend on a failed one are skipped with the reason, and a final summary lists OK/WARN/FAILED/SKIPPED with exact re-run commands (exit code stays non-zero on any failure). Former prompts are now flags or automatic rules: &lt;code&gt;--audit-only&lt;/code&gt;, &lt;code&gt;--skip-audit&lt;/code&gt;, &lt;code&gt;--strict-audit&lt;/code&gt;, &lt;code&gt;--bump patch|minor|major&lt;/code&gt;, &lt;code&gt;--allow-missing-intro&lt;/code&gt;. The &quot;Saropa Utils&quot; extension is built to one path, &lt;code&gt;extension/saropa-utils-&amp;lt;version&amp;gt;.vsix&lt;/code&gt; (gitignored, printed in the output and summary), that exact file is published with &lt;code&gt;vsce publish --packagePath&lt;/code&gt;, and the upload runs in parallel with the pub.dev wait (output prefixed &lt;code&gt;[ext]&lt;/code&gt;) unless &lt;code&gt;--skip-extension&lt;/code&gt;, so it may go live before pub.dev finishes; both results are reported separately&lt;/li&gt;
&lt;li&gt;Extension: the README/CHANGELOG copy bundled in the extension drops SVG images from untrusted hosts (the coverage badge), which &lt;code&gt;vsce package&lt;/code&gt; rejects; the root README keeps them&lt;/li&gt;
&lt;li&gt;Release script: the documentation step skips &lt;code&gt;dart doc&lt;/code&gt; when no doc input changed since the last successful run and shows live progress; new &lt;code&gt;--full-docs&lt;/code&gt; flag&lt;/li&gt;
&lt;li&gt;Optional &lt;code&gt;saropa_scan&lt;/code&gt; tool in the repository (not part of the published package): finds hand-written code that a &lt;code&gt;saropa_dart_utils&lt;/code&gt; call replaces, finds repeated code worth extracting (useful with or without this package), and applies fixes with undo. A companion VS Code extension, &quot;Saropa Utils&quot;, shows both results and can suggest adding or upgrading &lt;code&gt;saropa_dart_utils&lt;/code&gt;. See the README section &quot;Finding opportunities with saropa_scan&quot;&lt;/li&gt;
&lt;li&gt;&quot;Saropa Utils&quot; VS Code extension now has its own store icon (a dart in a target, in the same style as the other Saropa extensions) and a matching sidebar glyph&lt;/li&gt;
&lt;li&gt;&quot;Saropa Utils&quot; VS Code extension version now matches the package version (2.1.0), is kept equal by a manifest test, and no longer has its own README or changelog (its docs are the &quot;VS Code extension&quot; section of README.md and the &lt;code&gt;Extension:&lt;/code&gt; entries here)&lt;/li&gt;
&lt;li&gt;Extension: findings view in the Explorer (groupable by util member, rule, folder or kind) with two peer groups, &quot;saropa_dart_utils opportunities&quot; and &quot;Repeated code&quot;; Problems panel entries with quick fixes (replace, replace all in file or workspace for safe fixes, ignore a rule here); status bar (&lt;code&gt;12 utils · 5 repeated&lt;/code&gt;); Report screen with two peer sections, filters, adoption trend and JSON, Markdown or CSV export; &quot;Doctor&quot; and &quot;Explain This Finding&quot;; &quot;Add to Exclude List&quot; and &quot;Edit Exclude List&quot;; scan on save for the saved file&lt;/li&gt;
&lt;li&gt;Extension: version sync detects &lt;code&gt;saropa_dart_utils&lt;/code&gt; in every pubspec (hosted, path, git, dev dependency, override, pub workspaces, melos) with the resolved version from &lt;code&gt;pubspec.lock&lt;/code&gt;, compares it with the scanner catalog version, and offers &quot;Add saropa_dart_utils&quot; / &quot;Upgrade to &amp;lt;version&amp;gt;&quot; / &quot;Not now&quot; / &quot;Don&#x27;t ask again for this workspace&quot; (once per session per workspace, trusted workspaces only; the exact &lt;code&gt;dart&lt;/code&gt;/&lt;code&gt;flutter pub&lt;/code&gt; command is shown in a modal and runs in a visible task terminal). Opt-in &lt;code&gt;versionCheck.pubDev&lt;/code&gt; adds one cached daily pub.dev lookup; no telemetry&lt;/li&gt;
&lt;li&gt;Extension: findings that need a newer &lt;code&gt;saropa_dart_utils&lt;/code&gt; are marked &quot;needs upgrade to &amp;gt;= x&quot; and offer &quot;Upgrade package then replace&quot;&lt;/li&gt;
&lt;li&gt;Extension: scanner discovery via &lt;code&gt;cli.path&lt;/code&gt;, bundled platform binary, PATH, cached download, verified on-demand download (URL, size and SHA-256 shown; checked before first run), then &lt;code&gt;dart run&lt;/code&gt;; one scan at a time per window, polite mode (&lt;code&gt;--priority low --jobs auto --lock wait&lt;/code&gt;), exit code 75 backoff, scans wait while the machine is busy, child processes are killed as a group on cancel or window close&lt;/li&gt;
&lt;li&gt;Extension: versioned API (&lt;code&gt;apiVersion&lt;/code&gt; 1, with &lt;code&gt;getUtilsVersionInfo()&lt;/code&gt; and optional &lt;code&gt;needsUpgrade&lt;/code&gt; / &lt;code&gt;root&lt;/code&gt; on findings) for other Saropa extensions; limited support for untrusted workspaces; settings &lt;code&gt;cli.path&lt;/code&gt;, &lt;code&gt;politeMode&lt;/code&gt;, &lt;code&gt;scanOnSave.includeRepeatedCode&lt;/code&gt;, &lt;code&gt;versionNudge.enabled&lt;/code&gt;, &lt;code&gt;versionCheck.pubDev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Extension: renamed from &quot;Saropa Dart Scanner&quot; to &quot;Saropa Utils&quot; (id &lt;code&gt;saropa.saropa-utils&lt;/code&gt;); commands, views, context keys and settings use the &lt;code&gt;saropaUtils.&lt;/code&gt; prefix. Settings still written under &lt;code&gt;saropaScanner.*&lt;/code&gt; are read as a fallback when the new key was never set (user settings only for machine-scoped keys); old command ids are not aliased&lt;/li&gt;
&lt;li&gt;Extension: &quot;Find opportunities to use saropa_dart_utils&quot; is the first command, &quot;Find repeated code&quot; its peer, &quot;Scan Workspace (both)&quot; runs both; default grouping is by util member; scan on save runs only the fast utils scan (&lt;code&gt;scanOnSave.includeRepeatedCode&lt;/code&gt; turns repeated-code analysis on); the Report leads with &quot;N opportunities to use saropa_dart_utils&quot;&lt;/li&gt;
&lt;li&gt;Release &lt;code&gt;[log]&lt;/code&gt; links in &lt;code&gt;CHANGELOG.md&lt;/code&gt; and &lt;code&gt;CHANGELOG_HISTORY.md&lt;/code&gt; open the saropa.com changelog pages instead of GitHub, and &lt;code&gt;CHANGELOG.md&lt;/code&gt; links to the full release history&lt;/li&gt;
&lt;li&gt;Package homepage is now &lt;code&gt;https://saropa.com/developers/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;allSettled&lt;/code&gt;, &lt;code&gt;retryTimes&lt;/code&gt;, &lt;code&gt;Base64Utils.compressText&lt;/code&gt; / &lt;code&gt;decompressText&lt;/code&gt; and the &lt;code&gt;JsonUtils&lt;/code&gt; decode helpers report failures through &lt;code&gt;dart:developer&lt;/code&gt; &lt;code&gt;log()&lt;/code&gt; with the error and stack trace attached, instead of printing them with &lt;code&gt;debugPrint&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;README shows code-card screenshots for String, DateTime, List, Number, Map and Async, and its examples use the real &lt;code&gt;toUnique()&lt;/code&gt; and &lt;code&gt;AsyncSemaphoreUtils&lt;/code&gt; names&lt;/li&gt;
&lt;li&gt;README examples use real API names (&lt;code&gt;addNotNull&lt;/code&gt;, &lt;code&gt;isCaseSensitive&lt;/code&gt;, &lt;code&gt;intToHex()&lt;/code&gt;, &lt;code&gt;firstCharacter()&lt;/code&gt;, &lt;code&gt;CommonRandom&lt;/code&gt;) and correct output comments; every README code block was compiled and run&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Extension: activation no longer crashes in a real Extension Host (a variable was used before it was declared)&lt;/li&gt;
&lt;li&gt;Extension (Windows): command paths such as &lt;code&gt;C:\Program Files (x86)\...&lt;/code&gt; or containing &lt;code&gt;%&lt;/code&gt;, &lt;code&gt;!&lt;/code&gt;, &lt;code&gt;^&lt;/code&gt;, &lt;code&gt;{}&lt;/code&gt; are accepted (no shell is used); the legacy &lt;code&gt;dart&lt;/code&gt; fallback works under Flutter (&lt;code&gt;dart.exe&lt;/code&gt; on PATH, then the Flutter SDK&#x27;s &lt;code&gt;dart.exe&lt;/code&gt;, else &lt;code&gt;dart.bat&lt;/code&gt; through &lt;code&gt;cmd.exe&lt;/code&gt; with every token allowlist-checked); the busy-machine check works (CPU usage is sampled, since &lt;code&gt;os.loadavg()&lt;/code&gt; is always 0); process-tree kill uses &lt;code&gt;taskkill /T /F&lt;/code&gt;; &lt;code&gt;Path&lt;/code&gt; is found when the env var is not spelled &lt;code&gt;PATH&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Extension: exclude globs match case-insensitively on Windows and macOS; quick fixes insert text with the document&#x27;s line ending (CRLF files no longer get bare LF); workspace-relative paths compare drive letters and case correctly on Windows&lt;/li&gt;
&lt;li&gt;Extension: packaging scripts &lt;code&gt;vsix:win32-x64&lt;/code&gt;, &lt;code&gt;vsix:linux-x64&lt;/code&gt;, &lt;code&gt;vsix:linux-arm64&lt;/code&gt;, &lt;code&gt;vsix:darwin-x64&lt;/code&gt;, &lt;code&gt;vsix:darwin-arm64&lt;/code&gt; and &lt;code&gt;vsix:universal&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parseRrule&lt;/code&gt; rejects out-of-range &lt;code&gt;UNTIL&lt;/code&gt; date or time fields with a &lt;code&gt;FormatException&lt;/code&gt; instead of rolling over into a different date&lt;/li&gt;
&lt;li&gt;&lt;code&gt;timebox&lt;/code&gt; no longer leaks an unhandled async error on timeout or when the wrapped function throws&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Security&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Extension: &lt;code&gt;changedSince&lt;/code&gt;, &lt;code&gt;fix.git&lt;/code&gt;, &lt;code&gt;fix.commitPer&lt;/code&gt;, &lt;code&gt;fix.comment&lt;/code&gt; and &lt;code&gt;cli.path&lt;/code&gt; are machine-scoped so a repository cannot set them; &lt;code&gt;changedSince&lt;/code&gt; must be a plain git ref (no leading &lt;code&gt;-&lt;/code&gt;) and is passed as &lt;code&gt;--changed-since=&amp;lt;ref&amp;gt;&lt;/code&gt;, exclude globs as &lt;code&gt;--exclude=&amp;lt;glob&amp;gt;&lt;/code&gt;, and a file path starting with &lt;code&gt;-&lt;/code&gt; is prefixed with &lt;code&gt;./&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 2.0.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/#v2-0-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/2.x/#v2-0-0</id>
    <updated>2026-11-11T00:00:00Z</updated>
    <content type="html">&lt;p&gt;The library now uses the material_ui package instead of flutter/material, so date range, time of day and color extensions accept material_ui types.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;String.preventOrphansLastGap({int minWrapChars = 4})&lt;/code&gt;: fuses only the last gap with a non-breaking space when the last word or the one before it is shorter than &lt;code&gt;minWrapChars&lt;/code&gt;; &lt;code&gt;preventOrphans&lt;/code&gt; is unchanged&lt;/li&gt;
&lt;li&gt;&lt;code&gt;StreamDebounceUtils&lt;/code&gt;: stream-based debounce transformer for event streams&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Imports &lt;code&gt;package:material_ui/material_ui.dart&lt;/code&gt; instead of &lt;code&gt;package:flutter/material.dart&lt;/code&gt;; &lt;code&gt;DateTimeRange&lt;/code&gt;, &lt;code&gt;TimeOfDay&lt;/code&gt;, &lt;code&gt;Color&lt;/code&gt; and &lt;code&gt;MaterialColor&lt;/code&gt; extensions now use the material_ui types&lt;/li&gt;
&lt;li&gt;Minimum Flutter is now 3.47.0 and minimum Dart is now 3.13.0&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Breaking&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Extensions no longer accept the types from &lt;code&gt;package:flutter/material.dart&lt;/code&gt;; they take the material_ui types&lt;/li&gt;
&lt;li&gt;Minimum Flutter 3.47.0 / Dart 3.13.0&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Migration&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Replace &lt;code&gt;package:flutter/material.dart&lt;/code&gt; imports with &lt;code&gt;package:material_ui/material_ui.dart&lt;/code&gt; and add &lt;code&gt;material_ui: ^1.11.0&lt;/code&gt; to your dependencies&lt;/li&gt;
&lt;li&gt;Upgrade to Flutter 3.47.0+ / Dart 3.13.0+&lt;/li&gt;
&lt;li&gt;Apps still on &lt;code&gt;package:flutter/material.dart&lt;/code&gt; should stay on 1.6.x&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Suppressed 10 &lt;code&gt;unused_result&lt;/code&gt; analyzer false positives where &lt;code&gt;@useResult&lt;/code&gt;-annotated members are correctly consumed in compound boolean expressions (&lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;/&lt;code&gt;||&lt;/code&gt;) but the Dart analyzer does not track usage through boolean operators&lt;/li&gt;
&lt;li&gt;Updated VS Code &lt;code&gt;dart.analysisExcludedFolders&lt;/code&gt; to include all folders listed in &lt;code&gt;analysis_options.yaml&lt;/code&gt; excludes (&lt;code&gt;.dart_tool&lt;/code&gt;, &lt;code&gt;.github&lt;/code&gt;, &lt;code&gt;.vscode&lt;/code&gt;, &lt;code&gt;assets&lt;/code&gt;, &lt;code&gt;build&lt;/code&gt;, &lt;code&gt;example&lt;/code&gt;, &lt;code&gt;scripts&lt;/code&gt;, &lt;code&gt;tool&lt;/code&gt;) plus &lt;code&gt;coverage&lt;/code&gt; and &lt;code&gt;doc&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.6.3</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-3"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-3</id>
    <updated>2026-06-14T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Audit-tooling fix only — no library changes.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.6.2</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-2"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-2</id>
    <updated>2026-06-14T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Release-tooling hardening plus release-build input validation. The tooling work future-proofs the publish flow so a saropa_lints rule newly promoted to WARNING is caught before tagging instead of failing the tag-triggered publish one warning at a time (the v1.6.0 experience). The validation work converts &lt;code&gt;assert&lt;/code&gt;-guarded preconditions on public-API input to &lt;code&gt;if&lt;/code&gt;-throw guards so they hold in release builds, not just debug — a codebase-review sweep found that the dangerous subset degraded to a silent divide-by-zero, hang, or wrong result in production.&lt;/p&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;stableHash&lt;/code&gt; and &lt;code&gt;HyperLogLogUtils&lt;/code&gt; are now web-safe&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/stable_hash_utils.dart&quot;&gt;stable_hash_utils.dart&lt;/a&gt;, &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/hyperloglog_utils.dart&quot;&gt;hyperloglog_utils.dart&lt;/a&gt;) — both relied on 64-bit integer wrap that the web&#x27;s 53-bit-double &lt;code&gt;int&lt;/code&gt; model lacks (and shift operators truncate to 32 bits there), so &lt;code&gt;stableHash&lt;/code&gt; produced a different digest on web than the VM and the HLL estimate collapsed on web. The 64-bit FNV-1a multiply and the splitmix64 hash mixing / register-index-and-rank extraction are now computed in 32-bit limbs (16-bit split multiplies keep every intermediate under 2^53), so results are identical on every platform. &lt;strong&gt;The VM output is unchanged&lt;/strong&gt; — the limb arithmetic reproduces the exact mod-2^64 result, verified against a BigInt ground truth over 200k (&lt;code&gt;stableHash&lt;/code&gt;) and 500k (HLL) random inputs, so previously persisted &lt;code&gt;stableHash&lt;/code&gt; digests stay valid. &lt;code&gt;stableHash&lt;/code&gt; gains a pinned-digest regression test.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Release-build precondition enforcement (18 files)&lt;/strong&gt; — converted silent-failure &lt;code&gt;assert&lt;/code&gt; preconditions on public-API input to &lt;code&gt;if&lt;/code&gt;-throw guards (&lt;code&gt;ArgumentError&lt;/code&gt;, or &lt;code&gt;RangeError&lt;/code&gt; for index/range args) so they run in every build, extending the v1.6.0 &lt;code&gt;FenwickTree&lt;/code&gt;/&lt;code&gt;rolling_correlation&lt;/code&gt; precedent to the rest of the library. Constructors validate through a static helper invoked in the initializer list, which keeps the throw out of the constructor body (so &lt;code&gt;avoid_exception_in_constructor&lt;/code&gt; stays satisfied) and runs before any field initializer that would divide by the value.&lt;ul&gt;
&lt;li&gt;Divide-by-zero / NaN: &lt;code&gt;SpatialGrid(cellSize)&lt;/code&gt;, &lt;code&gt;TimeDecayCounter(halfLifeMillis)&lt;/code&gt;, &lt;code&gt;TokenBucketRateLimiter(tokensPerSecond, capacity)&lt;/code&gt;, &lt;code&gt;binByWidth(bins, max &amp;gt; min)&lt;/code&gt;, &lt;code&gt;RateLimitSchedule(period)&lt;/code&gt;, &lt;code&gt;SlidingWindowRateLimiter(limit, window)&lt;/code&gt;, &lt;code&gt;TimeSeriesBuffer(bucketSizeMs, rawCapacity)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Hang / deadlock: &lt;code&gt;TaskScheduler(concurrency)&lt;/code&gt;, &lt;code&gt;BoundedWorkQueue(maxSize)&lt;/code&gt;, &lt;code&gt;ResourcePool(maxSize)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Silently-wrong result: &lt;code&gt;LruCache&lt;/code&gt;/&lt;code&gt;MruCache&lt;/code&gt;/&lt;code&gt;SizeLimitCache&lt;/code&gt; size bounds; &lt;code&gt;SegmentTree.update&lt;/code&gt;/&lt;code&gt;query&lt;/code&gt;/&lt;code&gt;valueAt&lt;/code&gt; (a negative index maps to a valid slot and corrupts the wrong leaf rather than throwing); &lt;code&gt;IntervalEntry&lt;/code&gt;/&lt;code&gt;IntervalTree.queryRange&lt;/code&gt;/&lt;code&gt;hasOverlap&lt;/code&gt; (&lt;code&gt;low &amp;gt; high&lt;/code&gt;); &lt;code&gt;MultiIndexCollection&lt;/code&gt; (empty indexers); &lt;code&gt;BkTree.search&lt;/code&gt; (negative &lt;code&gt;maxDistance&lt;/code&gt;); &lt;code&gt;giniCoefficient&lt;/code&gt; (negative values).&lt;/li&gt;
&lt;li&gt;Intentionally unchanged: the &lt;code&gt;const&lt;/code&gt; constructors &lt;code&gt;QuietWindow&lt;/code&gt;, &lt;code&gt;OpenWindow&lt;/code&gt;, &lt;code&gt;RecurrenceSpec&lt;/code&gt; keep their &lt;code&gt;assert&lt;/code&gt;s — a &lt;code&gt;const&lt;/code&gt; constructor cannot throw and dropping &lt;code&gt;const&lt;/code&gt; would be breaking; &lt;code&gt;quantileBoundaries&lt;/code&gt;/&lt;code&gt;binCounts&lt;/code&gt; already degrade gracefully (return &lt;code&gt;[]&lt;/code&gt; on &lt;code&gt;bins &amp;lt; 2&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;The matching precondition tests now expect &lt;code&gt;ArgumentError&lt;/code&gt;/&lt;code&gt;RangeError&lt;/code&gt; instead of &lt;code&gt;AssertionError&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;safeTempName&lt;/code&gt; now uses a cryptographically secure RNG&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/validation/safe_temp_name_utils.dart&quot;&gt;safe_temp_name_utils.dart&lt;/a&gt;) — was backed by a seedable &lt;code&gt;Random()&lt;/code&gt;, whose sequence is reproducible, so the generated temp-file names were predictable; an attacker who can guess the name can win a temp-file race or pre-create it. Switched to &lt;code&gt;Random.secure()&lt;/code&gt;. Also throws &lt;code&gt;ArgumentError&lt;/code&gt; on a non-positive &lt;code&gt;length&lt;/code&gt; (was silently returning an empty, always-colliding name).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Map.getRandomListExcept&lt;/code&gt; accepts an optional &lt;code&gt;Random&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_extensions.dart&quot;&gt;map_extensions.dart&lt;/a&gt;) — previously shuffled with a fresh, non-injectable &lt;code&gt;Random()&lt;/code&gt;, making the result non-reproducible and untestable. Now takes an optional &lt;code&gt;random&lt;/code&gt; (defaults to &lt;code&gt;Random()&lt;/code&gt;), matching the injectable-RNG convention used elsewhere in the library. Backward-compatible (new optional parameter).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;hasInvalidUnicode&lt;/code&gt; / &lt;code&gt;removeInvalidUnicode&lt;/code&gt; now detect the real replacement character&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_analysis_extensions.dart&quot;&gt;string_analysis_extensions.dart&lt;/a&gt;) — the constant was &lt;code&gt;56327&lt;/code&gt; (0xDC07, a lone low surrogate), not U+FFFD (65533) as the dartdoc said, so an actual &lt;code&gt;�&lt;/code&gt; was never matched or removed. Fixed to &lt;code&gt;65533&lt;/code&gt;; both methods now work as documented.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;More grapheme-vs-code-unit slicing fixes&lt;/strong&gt; (the same class as v1.6.0&#x27;s &lt;code&gt;removeLastChar&lt;/code&gt;):&lt;ul&gt;
&lt;li&gt;&lt;code&gt;removeFirstLastChar&lt;/code&gt; and &lt;code&gt;removeMatchingWrappingBrackets&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_manipulation_extensions.dart&quot;&gt;string_manipulation_extensions.dart&lt;/a&gt;) counted code units but sliced with the grapheme-indexed &lt;code&gt;substringSafe&lt;/code&gt;, so astral content shifted the result (&lt;code&gt;&#x27;a😀b&#x27;.removeFirstLastChar()&lt;/code&gt; returned &lt;code&gt;&#x27;😀b&#x27;&lt;/code&gt;; &lt;code&gt;&#x27;(😀)&#x27;&lt;/code&gt; kept the trailing bracket). Both now count graphemes, matching &lt;code&gt;removeLastChars&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;removePrefix&lt;/code&gt; / &lt;code&gt;removeSuffix&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_lower_extensions.dart&quot;&gt;string_lower_extensions.dart&lt;/a&gt;) fed a code-unit &lt;code&gt;prefix.length&lt;/code&gt;/&lt;code&gt;suffix.length&lt;/code&gt; into &lt;code&gt;substringSafe&lt;/code&gt;, dropping the wrong span when the prefix/suffix or content held astral chars (&lt;code&gt;&#x27;😀ab&#x27;.removePrefix(&#x27;😀&#x27;)&lt;/code&gt; → &lt;code&gt;&#x27;b&#x27;&lt;/code&gt;). Switched to code-unit &lt;code&gt;substring&lt;/code&gt;, consistent with &lt;code&gt;startsWith&lt;/code&gt;/&lt;code&gt;endsWith&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;AsyncSemaphoreUtils.release()&lt;/code&gt; guards over-release&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/async_semaphore_utils.dart&quot;&gt;async_semaphore_utils.dart&lt;/a&gt;) — a &lt;code&gt;release()&lt;/code&gt; with no matching &lt;code&gt;acquire()&lt;/code&gt; (and no waiter) silently pushed &lt;code&gt;_available&lt;/code&gt; above &lt;code&gt;permits&lt;/code&gt;, permanently letting the semaphore admit more than &lt;code&gt;permits&lt;/code&gt; concurrent holders. It now throws &lt;code&gt;StateError&lt;/code&gt; instead of corrupting the permit count.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;int.ordinal()&lt;/code&gt; — correct suffix for &lt;code&gt;*11/*12/*13&lt;/code&gt; and negatives&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/int/int_string_extensions.dart&quot;&gt;int_string_extensions.dart&lt;/a&gt;) — the &quot;teen&quot; check was an absolute &lt;code&gt;11..19&lt;/code&gt; window, so &lt;code&gt;111.ordinal()&lt;/code&gt; returned &lt;code&gt;&#x27;111st&#x27;&lt;/code&gt; (should be &lt;code&gt;&#x27;111th&#x27;&lt;/code&gt;); likewise &lt;code&gt;112&lt;/code&gt;/&lt;code&gt;113&lt;/code&gt;/&lt;code&gt;1011&lt;/code&gt;/&lt;code&gt;213&lt;/code&gt;. And &lt;code&gt;% 10&lt;/code&gt; on a negative gave the wrong suffix (&lt;code&gt;(-21).ordinal()&lt;/code&gt; → &lt;code&gt;&#x27;-21th&#x27;&lt;/code&gt;). Now tests the last two digits (&lt;code&gt;11–13&lt;/code&gt; → &lt;code&gt;th&lt;/code&gt;) and uses &lt;code&gt;abs()&lt;/code&gt; for the ones digit, so &lt;code&gt;111&lt;/code&gt;→&lt;code&gt;&#x27;111th&#x27;&lt;/code&gt;, &lt;code&gt;101&lt;/code&gt;→&lt;code&gt;&#x27;101st&#x27;&lt;/code&gt;, &lt;code&gt;(-21)&lt;/code&gt;→&lt;code&gt;&#x27;-21st&#x27;&lt;/code&gt;. The class doc already promised negative support.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;flattenHierarchy&lt;/code&gt; no longer drops orphan-parent nodes&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/hierarchy_utils.dart&quot;&gt;hierarchy_utils.dart&lt;/a&gt;) — a node whose &lt;code&gt;parentId&lt;/code&gt; referenced an id absent from the input was never a root and never reached by recursion, so it and its entire subtree silently vanished from the result. Such nodes are now treated as roots (level 0).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;formatNumberLocale&lt;/code&gt; clamps &lt;code&gt;decimalPlaces&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/num/num_locale_utils.dart&quot;&gt;num_locale_utils.dart&lt;/a&gt;) — &lt;code&gt;decimalPlaces &amp;gt; 20&lt;/code&gt; made &lt;code&gt;toStringAsFixed&lt;/code&gt; throw &lt;code&gt;RangeError&lt;/code&gt;. Now clamped to 20, matching &lt;code&gt;formatDouble&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;retryWithBackoff&lt;/code&gt; clamps the exponential shift&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/retry_utils.dart&quot;&gt;retry_utils.dart&lt;/a&gt;) — &lt;code&gt;1 &amp;lt;&amp;lt; (attempt - 1)&lt;/code&gt; was unclamped, so a large &lt;code&gt;maxAttempts&lt;/code&gt; overflowed the web&#x27;s 32-bit shift and produced a wrong (small/negative) delay. Now clamped to &lt;code&gt;&amp;lt;&amp;lt; 30&lt;/code&gt;, matching &lt;code&gt;exponential_backoff_utils&lt;/code&gt;/&lt;code&gt;retry_policy_utils&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Deprecated&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String?.isNullOrEmpty&lt;/code&gt; and &lt;code&gt;String?.isNotNullOrEmpty&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_nullable_extensions.dart&quot;&gt;string_nullable_extensions.dart&lt;/a&gt;) — convenient shorthand, but both defeat Dart&#x27;s null promotion: the analyzer cannot see the opaque getter implies &lt;code&gt;this != null&lt;/code&gt;, so after &lt;code&gt;if (text.isNullOrEmpty) return;&lt;/code&gt; (or inside &lt;code&gt;if (text.isNotNullOrEmpty) { … }&lt;/code&gt;) the variable stays nullable and callers are pushed toward &lt;code&gt;!&lt;/code&gt;. Prefer the long forms &lt;code&gt;text == null || text.isEmpty&lt;/code&gt; and &lt;code&gt;text != null &amp;amp;&amp;amp; text.isNotEmpty&lt;/code&gt;, which the analyzer understands and which promote &lt;code&gt;text&lt;/code&gt; to non-null in the guarded scope. Kept for source compatibility; deprecated to steer new code.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;debounceCancelable&lt;/code&gt; / &lt;code&gt;throttleCancelable&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/debounce_utils.dart&quot;&gt;debounce_utils.dart&lt;/a&gt;, &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/throttle_utils.dart&quot;&gt;throttle_utils.dart&lt;/a&gt;) — variants of &lt;code&gt;debounce&lt;/code&gt;/&lt;code&gt;throttle&lt;/code&gt; that return a &lt;code&gt;CancelableCallback&lt;/code&gt; (a handle you invoke like a function and can also &lt;code&gt;cancel()&lt;/code&gt;). The plain &lt;code&gt;debounce&lt;/code&gt;/&lt;code&gt;throttle&lt;/code&gt; closures expose no cancel, so a pending timer fires even after the owner (e.g. a widget/controller) is disposed — a use-after-dispose and a Timer leak. The cancelable variants let callers drop the pending invocation on teardown. Non-breaking: the existing &lt;code&gt;debounce&lt;/code&gt;/&lt;code&gt;throttle&lt;/code&gt; are unchanged; their docs now point to the cancelable variants.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;kRuleRemediations&lt;/code&gt; rule-to-remediation mapping&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/suite/rule_remediation_map.dart&quot;&gt;rule_remediation_map.dart&lt;/a&gt;) — a &lt;code&gt;const&lt;/code&gt; data table joining a &lt;code&gt;saropa_lints&lt;/code&gt; crash-prevention rule id to the &lt;code&gt;saropa_dart_utils&lt;/code&gt; public symbol that removes the runtime failure it flags (e.g. &lt;code&gt;avoid_unsafe_reduce&lt;/code&gt; → &lt;code&gt;sumBy&lt;/code&gt;, &lt;code&gt;avoid_path_traversal&lt;/code&gt; → &lt;code&gt;isPathSafe&lt;/code&gt;, &lt;code&gt;geocoding_unchecked_first&lt;/code&gt; → &lt;code&gt;firstWhereOrElse&lt;/code&gt;). This is the Saropa Suite Integration plan&#x27;s R1 deliverable — the data that lets a sibling tool&#x27;s quick fix upgrade from &quot;enable rule X&quot; to &quot;enable rule X and use &lt;code&gt;Y&lt;/code&gt; from saropa_dart_utils.&quot; Ownership settled 2026-06-14 against the sibling changelogs: Lints owns rule→crash-signature, this package owns rule→util-symbol, joined on &lt;code&gt;ruleId&lt;/code&gt;. Every mapped symbol is pinned by a test that exercises it in compiled code, so a &lt;code&gt;lib/&lt;/code&gt; rename breaks the build rather than shipping a dead suggestion.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;kCrashCoverageAudit&lt;/code&gt; crash-family remediation coverage audit&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/suite/crash_coverage_audit.dart&quot;&gt;crash_coverage_audit.dart&lt;/a&gt;) — the Suite Integration plan&#x27;s R3 deliverable. For each of the 12 stable crash families the suite recognizes at runtime (Log Capture&#x27;s &lt;code&gt;CRASH_SIGNATURE_IDS&lt;/code&gt;), records whether this package covers it (&lt;code&gt;covered&lt;/code&gt; with the owned symbol — e.g. &lt;code&gt;state-error-no-element&lt;/code&gt;→&lt;code&gt;singleOrNull&lt;/code&gt;, &lt;code&gt;range-error-index&lt;/code&gt;→&lt;code&gt;getOrNull&lt;/code&gt;, &lt;code&gt;type-error-cast&lt;/code&gt;→&lt;code&gt;castOrNull&lt;/code&gt;, &lt;code&gt;format-exception&lt;/code&gt;→&lt;code&gt;toIntNullable&lt;/code&gt;, &lt;code&gt;concurrent-modification&lt;/code&gt;→&lt;code&gt;forEachSnapshot&lt;/code&gt;) or is not remediable by a utility (&lt;code&gt;notApplicable&lt;/code&gt;, e.g. &lt;code&gt;late-init&lt;/code&gt;, &lt;code&gt;out-of-memory&lt;/code&gt;, &lt;code&gt;anr&lt;/code&gt;). No open gaps. Pinned by a test that asserts the family-id set equals the suite contract (a new upstream family fails until triaged) and exercises every &lt;code&gt;covered&lt;/code&gt; symbol in compiled code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;List.forEachSnapshot&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/list/list_mutate_during_iteration_extensions.dart&quot;&gt;list_mutate_during_iteration_extensions.dart&lt;/a&gt;) — runs an action for each element of a point-in-time snapshot of the list, so the body may safely add to or remove from the list during iteration without &lt;code&gt;ConcurrentModificationError&lt;/code&gt;. Closes the suite&#x27;s &lt;code&gt;concurrent-modification&lt;/code&gt; crash family (R3 follow-up). Documents the snapshot semantics (added elements are not visited this pass; a removed element is still visited if it was present at snapshot time) and points pure conditional removal at the built-in &lt;code&gt;removeWhere&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Security&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isPathSafe&lt;/code&gt; directory-traversal bypass fixed&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/validation/path_validator_utils.dart&quot;&gt;path_validator_utils.dart&lt;/a&gt;) — the escape check measured depth from the filesystem root (&lt;code&gt;depth &amp;lt; 0&lt;/code&gt;) while depth started at the root&#x27;s own depth, so a path could climb &lt;code&gt;rootParts.length&lt;/code&gt; levels above the supplied root and still be reported safe. &lt;code&gt;isPathSafe(&#x27;../secret&#x27;, &#x27;home/user&#x27;)&lt;/code&gt; returned &lt;code&gt;true&lt;/code&gt; though it resolves to &lt;code&gt;home/secret&lt;/code&gt; (outside the root). Now rejects the moment the path climbs above the root directory itself. If you relied on this for sandboxing, re-test: some previously-&quot;safe&quot; paths are now correctly unsafe.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;pathExtension&lt;/code&gt; / &lt;code&gt;pathWithoutExtension&lt;/code&gt; only treat a dot in the final segment as an extension&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/url/path_extension_utils.dart&quot;&gt;path_extension_utils.dart&lt;/a&gt;) — searching the whole path made a dot in a directory name look like the extension: &lt;code&gt;pathExtension(&#x27;/a.b/file&#x27;)&lt;/code&gt; returned &lt;code&gt;&#x27;b/file&#x27;&lt;/code&gt; and &lt;code&gt;pathWithoutExtension(&#x27;/a.b/c&#x27;)&lt;/code&gt; returned &lt;code&gt;&#x27;/a.b/c&#x27;&lt;/code&gt;→&lt;code&gt;&#x27;/a&#x27;&lt;/code&gt;. Both now confine the dot search to the basename (and ignore a leading-dot dotfile). &lt;code&gt;pathChangeExtension&lt;/code&gt; inherits the fix.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Map.renameKey&lt;/code&gt; / &lt;code&gt;renameKeys&lt;/code&gt; no longer lose data or drop null values&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_more_extensions.dart&quot;&gt;map_more_extensions.dart&lt;/a&gt;) — they mutated the copy while iterating it, so a chained rename (&lt;code&gt;{&#x27;a&#x27;:&#x27;b&#x27;,&#x27;b&#x27;:&#x27;c&#x27;}&lt;/code&gt;) overwrote &lt;code&gt;&#x27;b&#x27;&lt;/code&gt; before renaming it (&lt;code&gt;{&#x27;a&#x27;:1,&#x27;b&#x27;:2}&lt;/code&gt; → &lt;code&gt;{&#x27;c&#x27;:1}&lt;/code&gt;, value &lt;code&gt;2&lt;/code&gt; lost); and an &lt;code&gt;if (v != null)&lt;/code&gt; guard silently dropped entries whose value was null. Both now rebuild into a fresh map in one pass, preserving null values; a genuine target collision resolves last-wins (documented).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;JsonUtils.cleanJsonResponse&lt;/code&gt; strips outer quotes around astral content&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/json/json_utils.dart&quot;&gt;json_utils.dart&lt;/a&gt;) — used the grapheme-indexed &lt;code&gt;substringSafe&lt;/code&gt; with a code-unit length, so a quoted value containing a non-BMP grapheme (e.g. &lt;code&gt;&quot;🎉&quot;&lt;/code&gt;) kept its closing quote and then failed to decode. Switched to code-unit &lt;code&gt;substring&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;formatFileSize(..., decimals: 0)&lt;/code&gt; keeps integer-part zeros&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/niche/pad_format_utils.dart&quot;&gt;pad_format_utils.dart&lt;/a&gt;) — &lt;code&gt;9728&lt;/code&gt; (9.5 KB) rounded to &lt;code&gt;&quot;10&quot;&lt;/code&gt;, and the unconditional &lt;code&gt;0+$&lt;/code&gt; trailing-zero strip turned it into &lt;code&gt;&quot;1 KB&quot;&lt;/code&gt;. The strip now runs only after a decimal point.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Map.deepMerge&lt;/code&gt; returns a fully independent result&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_deep_merge_extensions.dart&quot;&gt;map_deep_merge_extensions.dart&lt;/a&gt;) — nested maps/lists carried through unchanged were shared by reference with the inputs, so mutating the merged map mutated the receiver or &lt;code&gt;other&lt;/code&gt; (also affected &lt;code&gt;copyWithDefaults&lt;/code&gt;). Carried-through values are now deep-cloned.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseIpv4&lt;/code&gt; rejects non-canonical octets&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/validation/ip_cidr_utils.dart&quot;&gt;ip_cidr_utils.dart&lt;/a&gt;) — &lt;code&gt;int.tryParse&lt;/code&gt; accepted a leading sign, surrounding whitespace, and leading zeros (&lt;code&gt;&#x27;+1&#x27;&lt;/code&gt;, &lt;code&gt;&#x27; 1&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;01&#x27;&lt;/code&gt;), so &lt;code&gt;parseIpv4(&#x27;+1.2.3.4&#x27;)&lt;/code&gt; parsed. Octets must now match a canonical decimal form (no sign/whitespace/leading-zero) — closes an octal-vs-decimal parser differential that can bypass IP allow/deny lists.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isImageUri&lt;/code&gt; / &lt;code&gt;fileExtension&lt;/code&gt; use code-unit slicing&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/url/url_extensions.dart&quot;&gt;url_extensions.dart&lt;/a&gt;) — fed a code-unit &lt;code&gt;lastIndexOf(&#x27;.&#x27;)&lt;/code&gt; into the grapheme-indexed &lt;code&gt;substringSafe&lt;/code&gt;, returning a wrong extension for filenames with astral characters. Switched to code-unit &lt;code&gt;substring&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseQueryString&lt;/code&gt; decodes &lt;code&gt;+&lt;/code&gt; as space&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/url/url_query_utils.dart&quot;&gt;url_query_utils.dart&lt;/a&gt;) — &lt;code&gt;Uri.decodeComponent&lt;/code&gt; does not translate &lt;code&gt;+&lt;/code&gt;, so form/browser-produced query strings (&lt;code&gt;a=hello+world&lt;/code&gt;) kept the literal &lt;code&gt;+&lt;/code&gt;. Now &lt;code&gt;+&lt;/code&gt;→space (a literal &lt;code&gt;+&lt;/code&gt; arrives as &lt;code&gt;%2B&lt;/code&gt;, so &lt;code&gt;buildQueryString&lt;/code&gt; round-trips are unaffected).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;num.isNotZeroOrNegative&lt;/code&gt; / &lt;code&gt;isZeroOrNegative&lt;/code&gt; handle NaN&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/num/num_extensions.dart&quot;&gt;num_extensions.dart&lt;/a&gt;) — &lt;code&gt;this != 0 &amp;amp;&amp;amp; !isNegative&lt;/code&gt; classified &lt;code&gt;NaN&lt;/code&gt; as positive. Rewritten as &lt;code&gt;this &amp;gt; 0&lt;/code&gt; / &lt;code&gt;this &amp;lt;= 0&lt;/code&gt;, so &lt;code&gt;NaN&lt;/code&gt; is correctly neither.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;roundToSignificantDigits&lt;/code&gt; is correct at exact powers of ten&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/num/num_format_extensions.dart&quot;&gt;num_format_extensions.dart&lt;/a&gt;) — the decimal exponent was derived from a float &lt;code&gt;log10&lt;/code&gt; that is fuzzy at powers of ten (e.g. &lt;code&gt;log10(1000)&lt;/code&gt; ≈ 2.9999997), mis-sizing the scale. Now nudges the exponent to the true integer with a &lt;code&gt;pow&lt;/code&gt; comparison.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;FenwickTree(size)&lt;/code&gt; enforces &lt;code&gt;size &amp;gt;= 0&lt;/code&gt; in release&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/fenwick_tree_utils.dart&quot;&gt;fenwick_tree_utils.dart&lt;/a&gt;) — the constructor used a release-stripped &lt;code&gt;assert&lt;/code&gt;; &lt;code&gt;size == -1&lt;/code&gt; slipped past &lt;code&gt;List.filled(0)&lt;/code&gt; into an unusable tree. Now throws &lt;code&gt;ArgumentError&lt;/code&gt; via a static validator (v1.6.0 fixed only the methods).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;prettyPrint&lt;/code&gt; indents entries correctly&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/testing/debug_utils.dart&quot;&gt;debug_utils.dart&lt;/a&gt;) — keys/items were prefixed with the parent level&#x27;s pad, so they were one level too shallow (top-level entries had no indent). Entries are now indented one level deeper than the closing brace.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rangeDouble&lt;/code&gt; avoids float drift and a zero-step infinite loop&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/testing/debug_utils.dart&quot;&gt;debug_utils.dart&lt;/a&gt;) — computed &lt;code&gt;x += step&lt;/code&gt; (accumulating error, so a &lt;code&gt;0.1&lt;/code&gt; step could drop/add the endpoint) and would loop forever for &lt;code&gt;step == 0&lt;/code&gt;. Now guards &lt;code&gt;step == 0&lt;/code&gt; and computes each element as &lt;code&gt;start + i*step&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.6.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-1</id>
    <updated>2026-06-12T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Clears every pub.dev &quot;Pass static analysis&quot; point deduction (was 40/50): the seven dangling library doc comments pana reported plus the other eleven plugin findings it counts in the same check. &lt;code&gt;dart analyze&lt;/code&gt; is now fully clean.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;stats/rolling_correlation_utils.dart&lt;/code&gt;: replaced two release-stripped &lt;code&gt;assert&lt;/code&gt;s with &lt;code&gt;if&lt;/code&gt;-throw guards (now &lt;code&gt;ArgumentError&lt;/code&gt;) so equal-length and &lt;code&gt;window &amp;gt;= 2&lt;/code&gt; preconditions are enforced in release builds, not just debug.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;collections/skip_list_utils.dart&lt;/code&gt;: replaced a &lt;code&gt;!&lt;/code&gt; null-assertion in &lt;code&gt;add&lt;/code&gt; with an explicit invariant guard that throws &lt;code&gt;StateError&lt;/code&gt;, and switched three &lt;code&gt;[0]&lt;/code&gt; reads to &lt;code&gt;firstOrNull&lt;/code&gt; (added the &lt;code&gt;package:collection&lt;/code&gt; import) so neither the unsafe-collection nor null-assertion lint fires.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.6.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-6-0</id>
    <updated>2026-06-12T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Adds 35 advanced utilities from the roadmap — order-statistic trees, multi-source graph search, time-series analytics, calendar/billing helpers, and async cancellation; then a second batch of range-query trees, approximate string search, spatial indexing, async write caches, graph simplification/serialization, and rate-limited scheduling — plus a null-year-tolerant day-count helper. Then a full-project correctness audit of all 476 library files: ~40 algorithm/crash/concurrency bug fixes (incl. a semaphore permit race and two process hangs), ~30 documentation-accuracy corrections, 40 new regression tests, and a per-method audit-date stamp on every method. All fixes preserve existing signatures (backward-compatible).&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;FenwickTree&lt;/code&gt; bounds checks now enforce in release builds&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/fenwick_tree_utils.dart&quot;&gt;fenwick_tree_utils.dart&lt;/a&gt;) — &lt;code&gt;update&lt;/code&gt;, &lt;code&gt;prefixSum&lt;/code&gt;, and &lt;code&gt;rangeSum&lt;/code&gt; guarded their index/range arguments with &lt;code&gt;assert&lt;/code&gt;, which the Dart compiler strips from release builds (&lt;code&gt;avoid_assert_in_production&lt;/code&gt;). In production a negative &lt;code&gt;index&lt;/code&gt; passed to &lt;code&gt;update&lt;/code&gt; would make &lt;code&gt;i &amp;amp; -i == 0&lt;/code&gt; and spin the update loop forever (a hang, not a no-op); an out-of-range index to &lt;code&gt;prefixSum&lt;/code&gt;/&lt;code&gt;rangeSum&lt;/code&gt; would return a silently wrong sum. All three now throw &lt;code&gt;RangeError&lt;/code&gt; so the checks run in every build. &lt;code&gt;valueAt&lt;/code&gt;&#x27;s redundant assert is removed (it delegates to the now-validated &lt;code&gt;rangeSum&lt;/code&gt;). The two bounds tests now expect &lt;code&gt;RangeError&lt;/code&gt; instead of &lt;code&gt;AssertionError&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;removeLastChar()&lt;/code&gt; / &lt;code&gt;removeLastChars(count)&lt;/code&gt; now count by grapheme cluster&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_manipulation_extensions.dart&quot;&gt;string_manipulation_extensions.dart&lt;/a&gt;) — both methods bounded by code-unit &lt;code&gt;String.length&lt;/code&gt; but sliced with the grapheme-indexed &lt;code&gt;substringSafe&lt;/code&gt;, an incoherent hybrid: it subtracted a code-unit count from a code-unit length, then used the result as a grapheme index. The visible effect depended on how many code units each trailing grapheme spanned — e.g. &lt;code&gt;&#x27;a😀&#x27;.removeLastChar()&lt;/code&gt; returned &lt;code&gt;&#x27;a😀&#x27;&lt;/code&gt; unchanged (the emoji&#x27;s two code units left the grapheme index past the end), and the dartdoc&#x27;s &quot;counts UTF-16 code units / can split a cluster&quot; claim was the opposite of what the code did. Both now count user-perceived characters: the &lt;code&gt;count&lt;/code&gt; argument is a count of visible characters, a trailing emoji or base+combining-mark sequence is removed whole, and the dartdoc matches. &lt;code&gt;&#x27;a😀&#x27;.removeLastChars(1)&lt;/code&gt; → &lt;code&gt;&#x27;a&#x27;&lt;/code&gt;; decomposed &lt;code&gt;&#x27;Café&#x27;.removeLastChars(1)&lt;/code&gt; drops the whole accented cluster → &lt;code&gt;&#x27;Caf&#x27;&lt;/code&gt;. Pure-ASCII behavior is unchanged. The three pre-existing emoji/combining-mark tests are rewritten to pin the coherent grapheme results, plus a new &lt;code&gt;removeLastChar&lt;/code&gt; emoji case.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;pathRelative&lt;/code&gt; now emits leading &lt;code&gt;..&lt;/code&gt; for up-traversal&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/url/path_join_utils.dart&quot;&gt;path_join_utils.dart&lt;/a&gt;) — &lt;code&gt;pathRelative(&#x27;a/b/c&#x27;, &#x27;a/b/d&#x27;)&lt;/code&gt; returned &lt;code&gt;&#x27;d&#x27;&lt;/code&gt; instead of &lt;code&gt;&#x27;../d&#x27;&lt;/code&gt;. The function computed the correct climb-out segments but joined them through &lt;code&gt;pathJoin&lt;/code&gt;, which treats a leading &lt;code&gt;..&lt;/code&gt; as a pop with nothing above it and discards it. It now joins the already-clean segments directly, so any relative path that must ascend out of &lt;code&gt;base&lt;/code&gt; is correct (&lt;code&gt;&#x27;a/b/c/d&#x27;&lt;/code&gt;→&lt;code&gt;&#x27;a/x&#x27;&lt;/code&gt; yields &lt;code&gt;&#x27;../../../x&#x27;&lt;/code&gt;, pure ascent yields &lt;code&gt;&#x27;../..&#x27;&lt;/code&gt;). Identical paths still yield &lt;code&gt;&#x27;&#x27;&lt;/code&gt;; &lt;code&gt;pathJoin&lt;/code&gt;/&lt;code&gt;pathNormalize&lt;/code&gt; pop semantics are unchanged for their other callers. Pinned by three new up-traversal tests.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 7 — caching / int / double / json / bool / base64 + singletons&lt;/strong&gt; (~43 files):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;formatPrecision&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/double/double_extensions.dart&quot;&gt;double_extensions.dart&lt;/a&gt;) clamps &lt;code&gt;precision&lt;/code&gt; to 0–20 (the range &lt;code&gt;toStringAsFixed&lt;/code&gt; accepts) instead of throwing a RangeError on a negative or &amp;gt;20 value.&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;toBoolJson&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/json/json_type_utils.dart&quot;&gt;json_type_utils.dart&lt;/a&gt;) documented as a truthy coercion that returns &lt;code&gt;false&lt;/code&gt; (not &lt;code&gt;null&lt;/code&gt;) for unrecognized non-null input — only a &lt;code&gt;null&lt;/code&gt; argument yields &lt;code&gt;null&lt;/code&gt; (matching its tested behavior); &lt;code&gt;int.ordinal&lt;/code&gt; example &lt;code&gt;114th&lt;/code&gt; (was &lt;code&gt;101th&lt;/code&gt;); &lt;code&gt;hexToInt&lt;/code&gt; examples drop the false &quot;prints a warning&quot; claim; &lt;code&gt;double.leastOccurrences&lt;/code&gt; comment fixed (was a copy-paste of &quot;highest&quot;).&lt;/li&gt;
&lt;li&gt;The cache implementations (LRU/MRU/TTL/size-limit/write-through), UUID v4 version/variant bits, HTML entity decoding, color packing/WCAG, and base64 round-trips were all audited and verified correct.&lt;/li&gt;
&lt;li&gt;1 new regression test; per-method audit-date stamps across all files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 6 — iterable / map / list / validation / url / object / niche&lt;/strong&gt; (97 files):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;jwtPayload&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/validation/jwt_structure_utils.dart&quot;&gt;jwt_structure_utils.dart&lt;/a&gt;): two fixes — the base64url padding calc appended a spurious &lt;code&gt;====&lt;/code&gt; block when the payload length was already a multiple of 4 (rejecting otherwise-valid tokens), and the bytes were decoded as raw code units instead of UTF-8 (mojibake for multi-byte claims). Now &lt;code&gt;(block - len%block) % block&lt;/code&gt; padding and &lt;code&gt;utf8.decode&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mapDiff&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_diff_utils.dart&quot;&gt;map_diff_utils.dart&lt;/a&gt;): a genuinely-&lt;code&gt;null&lt;/code&gt; value (nullable V) is now reported as added/changed/removed instead of being skipped as if absent (key-presence based, not value-null based).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;lastWhereOrElse&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/iterable_first_last_extensions.dart&quot;&gt;iterable_first_last_extensions.dart&lt;/a&gt;) and &lt;code&gt;runLengthEncode&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/run_length_utils.dart&quot;&gt;run_length_utils.dart&lt;/a&gt;): a matched/&lt;code&gt;prev&lt;/code&gt; &lt;code&gt;null&lt;/code&gt; (nullable T) is no longer mistaken for &quot;no match&quot;/&quot;no run&quot; — the &lt;code&gt;?? orElse&lt;/code&gt; and &lt;code&gt;prev == null&lt;/code&gt; sentinels are replaced.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;truncateToByteLength&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/niche/niche_more_utils.dart&quot;&gt;niche_more_utils.dart&lt;/a&gt;): counts UTF-8 bytes per RUNE, so a non-BMP emoji is 4 bytes (not 6) and is never split into an invalid surrogate half.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;unflattenKeys&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_flatten_extensions.dart&quot;&gt;map_flatten_extensions.dart&lt;/a&gt;) and &lt;code&gt;setNested&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_nested_extensions.dart&quot;&gt;map_nested_extensions.dart&lt;/a&gt;): a scalar/branch key collision now actually stops instead of writing the leaf into the wrong (outer) map.&lt;/li&gt;
&lt;li&gt;Guards: &lt;code&gt;takeLast&lt;/code&gt; (negative n → empty, was RangeError); &lt;code&gt;randomAlphanumeric&lt;/code&gt; (non-positive length → &#x27;&#x27;, was a crash); &lt;code&gt;parseQueryString&lt;/code&gt; (malformed percent-escape → literal text, was FormatException); &lt;code&gt;getRandomListExcept&lt;/code&gt; (negative count clamped); &lt;code&gt;shapeString&lt;/code&gt; (result never exceeds maxLength, was returning &lt;code&gt;&#x27;...&#x27;&lt;/code&gt; for maxLength 2).&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;map_initials_sort&lt;/code&gt; example corrected; &lt;code&gt;list_top_k&lt;/code&gt; &quot;(partial sort)&quot; → full-sort note; &lt;code&gt;truncateToByteLength&lt;/code&gt; doc updated to code-point boundaries.&lt;/li&gt;
&lt;li&gt;5 new regression-test groups; per-method audit-date stamps across all 97 files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 5 — string corrections&lt;/strong&gt; (lib/string, 78 files):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;SoundexUtils.encode&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/soundex_utils.dart&quot;&gt;soundex_utils.dart&lt;/a&gt;) now treats vowels (A,E,I,O,U,Y) as adjacency-breakers (resetting the run) while H/W stay transparent — same-coded consonants separated by a vowel are re-coded, so &lt;code&gt;Gauss&lt;/code&gt; → &lt;code&gt;G200&lt;/code&gt; instead of &lt;code&gt;G000&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;substituteTemplate&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_template_extensions.dart&quot;&gt;string_template_extensions.dart&lt;/a&gt;) does a single regex pass so a value containing another key&#x27;s placeholder is not re-substituted (was chained &lt;code&gt;replaceAll&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;markdownToPlainText&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/markdown_plain_utils.dart&quot;&gt;markdown_plain_utils.dart&lt;/a&gt;) strips image syntax &lt;code&gt;![alt](url)&lt;/code&gt; before the link rule, so it no longer leaves a stray leading &lt;code&gt;!&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;chunkText&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/text_chunk_utils.dart&quot;&gt;text_chunk_utils.dart&lt;/a&gt;) forces at least one char of forward progress, so &lt;code&gt;overlap &amp;gt;= maxChars&lt;/code&gt; terminates instead of looping forever / overflowing the buffer.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parseSearchQuery&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/search_query_parser_utils.dart&quot;&gt;search_query_parser_utils.dart&lt;/a&gt;) skips a bare &lt;code&gt;-&lt;/code&gt; token instead of emitting an empty negated term.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;extractUrlsWithContext&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/url_extract_utils.dart&quot;&gt;url_extract_utils.dart&lt;/a&gt;) trims trailing sentence punctuation the greedy match swallowed (&lt;code&gt;https://a.com.&lt;/code&gt; → &lt;code&gt;https://a.com&lt;/code&gt;), leaving brackets intact for paren-bearing URLs.&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;truncateMiddle&lt;/code&gt; and &lt;code&gt;redactPhone&lt;/code&gt; example outputs corrected; &lt;code&gt;String.reversed&lt;/code&gt; documented as rune-based (breaks grapheme clusters); &lt;code&gt;template_engine_utils&lt;/code&gt; no longer claims conditionals; &lt;code&gt;textFingerprint&lt;/code&gt; documented as an order-sensitive identity hash, NOT a simhash (its Hamming distance is not a similarity measure).&lt;/li&gt;
&lt;li&gt;6 new regression-test groups; per-method audit-date stamps across all 78 files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 4 — async &amp;amp; parsing corrections&lt;/strong&gt; (lib/async 34, lib/parsing 37):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;AsyncSemaphoreUtils&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/async_semaphore_utils.dart&quot;&gt;async_semaphore_utils.dart&lt;/a&gt;) fixed a permit double-counting race: &lt;code&gt;release&lt;/code&gt; incremented &lt;code&gt;_available&lt;/code&gt; even when handing the permit directly to a waiter while the woken &lt;code&gt;acquire&lt;/code&gt; decremented again, so a fast-path acquirer in the wake-up gap could admit a second holder and drive the count negative. &lt;code&gt;release&lt;/code&gt; now hands off without touching the pool.&lt;/li&gt;
&lt;li&gt;Hang guards: &lt;code&gt;mapBatched&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/batch_async_utils.dart&quot;&gt;batch_async_utils.dart&lt;/a&gt;) treats a non-positive batch size as 1 instead of looping forever; &lt;code&gt;raceFirst&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/race_cancel_utils.dart&quot;&gt;race_cancel_utils.dart&lt;/a&gt;) fails fast on an empty producer list instead of returning a never-completing future; &lt;code&gt;retryWithJitter&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/retry_policy_utils.dart&quot;&gt;retry_policy_utils.dart&lt;/a&gt;) guards a zero jitter (&lt;code&gt;nextInt(0)&lt;/code&gt; RangeError) and clamps the backoff shift; &lt;code&gt;bufferCount&lt;/code&gt;/&lt;code&gt;windowCount&lt;/code&gt; clamp a non-positive count to 1.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SemverUtils.compareTo&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/semver_utils.dart&quot;&gt;semver_utils.dart&lt;/a&gt;) now compares pre-release identifiers per semver §11 (numeric-vs-numeric numerically, numeric below alphanumeric, longer ranks higher) instead of a plain string compare that made &lt;code&gt;alpha.2 &amp;gt; alpha.10&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;encodeVarint&lt;/code&gt;/&lt;code&gt;decodeVarint&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/varint_utils.dart&quot;&gt;varint_utils.dart&lt;/a&gt;) round-trip negative and &amp;gt;2^35 values: encode uses a logical shift + mask test (negatives emit the full 10-byte form), decode&#x27;s cap is raised to 64 bits.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parseHexColor&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/hex_color_utils.dart&quot;&gt;hex_color_utils.dart&lt;/a&gt;) rejects an embedded non-hex char instead of stripping it and parsing the coincidentally-valid remainder (&lt;code&gt;#a1z2c3d&lt;/code&gt; → null).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parseChangelogSections&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/changelog_section_utils.dart&quot;&gt;changelog_section_utils.dart&lt;/a&gt;) slices with code-unit &lt;code&gt;substring&lt;/code&gt;, not the grapheme-indexed &lt;code&gt;substringSafe&lt;/code&gt;, so emoji/non-BMP content no longer misaligns section bodies.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parseNestedQuery&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/nested_query_parser_utils.dart&quot;&gt;nested_query_parser_utils.dart&lt;/a&gt;) skips a scalar/nested key collision (&lt;code&gt;a=1&amp;amp;a[b]=2&lt;/code&gt;) instead of leaking the nested leaf to the root.&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;CircuitBreakerUtils&lt;/code&gt; documented as two-state (no real half-open gating); &lt;code&gt;memoizeFuture&lt;/code&gt; notes failures are cached permanently; &lt;code&gt;compareVersions&lt;/code&gt; warns it ignores pre-release suffixes; &lt;code&gt;raceFirst&lt;/code&gt; header no longer claims it cancels losers.&lt;/li&gt;
&lt;li&gt;5 new regression-test groups; per-method audit-date stamps across all 71 files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 3 — datetime corrections&lt;/strong&gt; (lib/datetime, 57 files):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Two unbounded-loop guards: &lt;code&gt;expandRecurrence&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/recurrence_iterator_utils.dart&quot;&gt;recurrence_iterator_utils.dart&lt;/a&gt;) now abandons an impossible rule (e.g. &lt;code&gt;FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=30&lt;/code&gt;) after a long empty run instead of hanging even under &lt;code&gt;.take(n)&lt;/code&gt;; &lt;code&gt;fillMissing&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/timeseries_gap_utils.dart&quot;&gt;timeseries_gap_utils.dart&lt;/a&gt;) returns the input sorted for a non-positive interval instead of spinning forever / OOM.&lt;/li&gt;
&lt;li&gt;DST / calendar-field correctness: &lt;code&gt;heatmapGrid&lt;/code&gt;/&lt;code&gt;_weekStart&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/calendar_heatmap_utils.dart&quot;&gt;calendar_heatmap_utils.dart&lt;/a&gt;), &lt;code&gt;dayOfYear&lt;/code&gt;/&lt;code&gt;numOfWeeks&lt;/code&gt; (and thus &lt;code&gt;weekOfYear&lt;/code&gt;/&lt;code&gt;weekNumber&lt;/code&gt;) (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_calendar_extensions.dart&quot;&gt;date_time_calendar_extensions.dart&lt;/a&gt;), &lt;code&gt;getNthWeekdayOfMonthInYear&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_extensions.dart&quot;&gt;date_time_extensions.dart&lt;/a&gt;), and &lt;code&gt;splitByMonth&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/period_split_utils.dart&quot;&gt;period_split_utils.dart&lt;/a&gt;) now step dates with calendar fields / UTC date-only endpoints instead of &lt;code&gt;Duration(days:n)&lt;/code&gt; on local time, which drifted off midnight (and one day off, for &lt;code&gt;dayOfYear&lt;/code&gt;) across DST transitions.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parseIsoWeekString&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_week_extensions.dart&quot;&gt;date_time_week_extensions.dart&lt;/a&gt;) now rejects a week the year does not have (e.g. &lt;code&gt;2025-W53&lt;/code&gt;) by validating the week&#x27;s Thursday-year, instead of returning a date in the following ISO year.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;isAnnualDateInRange&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_comparison_extensions.dart&quot;&gt;date_time_comparison_extensions.dart&lt;/a&gt;) no longer matches a Feb-29 annual date against Mar 1 in non-leap years (DateTime silently rolls Feb 29 over).&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;getEmojiDayOrNight&lt;/code&gt; no longer claims error-handling/logging it does not do; &lt;code&gt;convertDaysToYearsAndMonths&lt;/code&gt; examples corrected (365 days is 11 months, not 1 year; &lt;code&gt;45&lt;/code&gt; with remaining days is &lt;code&gt;15&lt;/code&gt;, not &lt;code&gt;14&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;6 new regression tests; per-method audit-date stamps across all 57 files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 2 — collections corrections&lt;/strong&gt; (lib/collections, 64 files):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;kmeans2D&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/kmeans_utils.dart&quot;&gt;kmeans_utils.dart&lt;/a&gt;) now seeds centroids with maximin (greedy k-means++) spreading instead of placing all k at &lt;code&gt;points[0]&lt;/code&gt; — the old seeding collapsed the output to at most two clusters for any k because identical centroids never diverge under Lloyd&#x27;s algorithm.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bucketByTime&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/time_bucket_utils.dart&quot;&gt;time_bucket_utils.dart&lt;/a&gt;) and &lt;code&gt;TimeSeriesBuffer&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/timeseries_buffer_utils.dart&quot;&gt;timeseries_buffer_utils.dart&lt;/a&gt;) now FLOOR the epoch-to-bucket division instead of truncating toward zero, so pre-1970 (negative-epoch) timestamps land in the correct bucket. &lt;code&gt;bucketByTime&lt;/code&gt; also returns empty for a non-positive bucket width instead of dividing by zero.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BloomFilterUtils&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/bloom_filter_utils.dart&quot;&gt;bloom_filter_utils.dart&lt;/a&gt;) sizes the bit array with &lt;code&gt;dart:math.log&lt;/code&gt; instead of a hand-rolled natural-log approximation that mis-sized the filter.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DifferenceArrayUtils.addRange&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/difference_array_utils.dart&quot;&gt;difference_array_utils.dart&lt;/a&gt;) now ignores a reversed range (&lt;code&gt;l &amp;gt; r&lt;/code&gt;) as a no-op instead of silently corrupting the recovered array.&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;StreamQuantileUtils&lt;/code&gt; documented as the exact O(n) estimator it is (not the &quot;P²-style fixed-memory&quot; the title implied; removed the dead no-op buffer sort); &lt;code&gt;PriorityMapUtils&lt;/code&gt; documented as draining buckets in priority-insertion order, NOT by comparing key value; &lt;code&gt;toColumnar&lt;/code&gt; documented as using the first row&#x27;s keys as the schema; &lt;code&gt;topKIndices&lt;/code&gt; documented as returning an unspecified order; &lt;code&gt;pivot_unpivot_utils&lt;/code&gt; notes &lt;code&gt;unpivot&lt;/code&gt; is not implemented.&lt;/li&gt;
&lt;li&gt;4 new regression tests; per-method audit-date stamps across all 64 files.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Project audit pass 1 — graph &amp;amp; num algorithm corrections&lt;/strong&gt; (stats/graph/num categories):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;floydWarshall&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/floyd_warshall_utils.dart&quot;&gt;floyd_warshall_utils.dart&lt;/a&gt;) now seeds the distance matrix with the &lt;strong&gt;minimum&lt;/strong&gt; edge weight per &lt;code&gt;(i, j)&lt;/code&gt;, not the last one — parallel edges in a multigraph and positive self-loops no longer overwrite a shorter distance or the diagonal &lt;code&gt;0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dagSchedule&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/dag_scheduler_utils.dart&quot;&gt;dag_scheduler_utils.dart&lt;/a&gt;) now applies &lt;code&gt;priority&lt;/code&gt; as a tiebreaker among nodes that are simultaneously ready (priority-aware Kahn), instead of sorting the whole topological order by priority — the old form could place a dependency after its dependent, breaking topology.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;douglasPeuckerIndices&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/line_simplify_utils.dart&quot;&gt;line_simplify_utils.dart&lt;/a&gt;) perpendicular distance now divides by the chord length (&lt;code&gt;sqrt(dx²+dy²)&lt;/code&gt;), not the squared length — &lt;code&gt;epsilon&lt;/code&gt; is once again a true distance tolerance; the degenerate zero-length chord uses Euclidean distance.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dijkstraDistances&lt;/code&gt;/&lt;code&gt;dijkstraWithParents&lt;/code&gt;/&lt;code&gt;astar&lt;/code&gt;/&lt;code&gt;bfs&lt;/code&gt;/&lt;code&gt;dfs&lt;/code&gt;/&lt;code&gt;criticalPathDistances&lt;/code&gt; now guard an empty graph or out-of-range start/source/goal instead of throwing &lt;code&gt;RangeError&lt;/code&gt; (astar returns &lt;code&gt;null&lt;/code&gt;, matching its no-path contract).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;nextPowerOfTwo&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/num/num_more_extensions.dart&quot;&gt;num_more_extensions.dart&lt;/a&gt;) bit-smear now reaches &lt;code&gt;&amp;gt;&amp;gt; 32&lt;/code&gt;, fixing wrong results for 64-bit inputs above 2³².&lt;/li&gt;
&lt;li&gt;&lt;code&gt;lcm&lt;/code&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/num/math_utils.dart&quot;&gt;math_utils.dart&lt;/a&gt;) divides before multiplying to avoid 64-bit overflow on large operands.&lt;/li&gt;
&lt;li&gt;Doc accuracy: &lt;code&gt;outlierIndicesByMAD&lt;/code&gt; no longer claims the modified z-score cutoff (it omits the 0.6745 constant — now documented); &lt;code&gt;divideSafe&lt;/code&gt; drops the impossible &quot;or null&quot; divisor note; &lt;code&gt;NumUtils.generateIntList&lt;/code&gt; drops the &quot;prints a warning&quot; claim (it does not print).&lt;/li&gt;
&lt;li&gt;6 new regression tests pin the corrected behaviors. Per-method audit-date stamps added across stats/graph/num doc headers.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;List&amp;lt;String&amp;gt;&lt;/code&gt; helper tests pinned to real Dart casing/trim behavior&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/test/list/list_string_extensions_test.dart&quot;&gt;list_string_extensions_test.dart&lt;/a&gt;) — corrected two test expectations that asserted behavior Dart does not have, plus the matching source dartdoc. (1) The eszett case test claimed &lt;code&gt;[&#x27;straße&#x27;].toUpperCase()&lt;/code&gt; yields &lt;code&gt;[&#x27;STRASSE&#x27;]&lt;/code&gt;, but Dart&#x27;s &lt;code&gt;String.toUpperCase()&lt;/code&gt; is a 1:1 code-point map that leaves &lt;code&gt;&#x27;ß&#x27;&lt;/code&gt; unchanged (&lt;code&gt;&#x27;STRAßE&#x27;&lt;/code&gt;); the test and the &lt;code&gt;ListStringExtensions.toUpperCase&lt;/code&gt; dartdoc (which wrongly stated &lt;code&gt;&#x27;ß&#x27;&lt;/code&gt;-&amp;gt;&lt;code&gt;&#x27;SS&#x27;&lt;/code&gt;) now state the real no-expansion behavior. (2) The &lt;code&gt;removeTrimmedEmpty(trim: false)&lt;/code&gt; test expected &lt;code&gt;[&#x27; a &#x27;, &#x27;   &#x27;]&lt;/code&gt; to drop the whitespace-only &lt;code&gt;&#x27;   &#x27;&lt;/code&gt;, contradicting the documented &lt;code&gt;nullIfEmpty(trimFirst:false)&lt;/code&gt; contract (and the sibling tests at the same group) under which &lt;code&gt;trim:false&lt;/code&gt; drops only a literal &lt;code&gt;&#x27;&#x27;&lt;/code&gt; and keeps &lt;code&gt;&#x27;   &#x27;&lt;/code&gt;; the test now asserts both entries survive. Source behavior was correct in both cases — only the wrong expectations and the stale dartdoc changed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ComputeStreamTransformer&lt;/code&gt; non-sendable-closure test no longer hangs the suite&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/test/async/compute_stream_transformer_test.dart&quot;&gt;compute_stream_transformer_test.dart&lt;/a&gt;) — the test passed a closure capturing a &lt;code&gt;StreamController&lt;/code&gt; (a non-sendable native receive port) through &lt;code&gt;compute()&lt;/code&gt; and asserted the stream surfaced an error. That &quot;non-sendable closure rejects&quot; behavior is a real-isolate (on-device) contract that is unobservable in the Flutter test VM: sending such a closure leaves a dangling &lt;code&gt;_RawReceivePort&lt;/code&gt; that never closes, so the test isolate could not quiesce and the case ran to the 30-second timeout — the platform sensitivity the spec already flags. Reworked the test to assert the observable, supported half of the contract (a top-level &lt;code&gt;ComputeCallback&lt;/code&gt; computes correctly) and documented why the closure-rejection path is intentionally not exercised here. Source unchanged — it already propagates compute failures correctly (covered by the passing &lt;code&gt;onError&lt;/code&gt; / rethrow tests).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DateTime.getSimpleRelativeDay&lt;/code&gt; / &lt;code&gt;getRelativeDayResult&lt;/code&gt; now count whole calendar days across a DST spring-forward&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/simple_relative_day_utils.dart&quot;&gt;simple_relative_day_utils.dart&lt;/a&gt;) — the date-only normalize built LOCAL midnights, so on a spring-forward day (e.g. Mar 10→11 2024 in a US zone, a 23-hour local day) &lt;code&gt;difference().inDays&lt;/code&gt; truncated a genuine one-calendar-day gap to &lt;code&gt;0&lt;/code&gt;, misbucketing tomorrow as today. The normalizer now builds UTC midnight from the calendar fields, so two normalized dates are always an exact multiple of 24 hours apart and the day count is correct regardless of DST or the receiver&#x27;s UTC-vs-local kind.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.removeEnd&lt;/code&gt; now strips a code-unit suffix that falls inside a grapheme cluster&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_manipulation_extensions.dart&quot;&gt;string_manipulation_extensions.dart&lt;/a&gt;) — &lt;code&gt;removeEnd&lt;/code&gt; matched the suffix with UTF-16 &lt;code&gt;endsWith&lt;/code&gt; but sliced with the grapheme-aware &lt;code&gt;substringSafe&lt;/code&gt;, which reinterpreted the code-unit cut index &lt;code&gt;length - end.length&lt;/code&gt; as a grapheme index and refused to split a base+combining-mark cluster, leaving the suffix un-stripped. So &lt;code&gt;(&#x27;e&#x27; + U+0301).removeEnd(U+0301)&lt;/code&gt; returned the unchanged &lt;code&gt;&#x27;é&#x27;&lt;/code&gt; instead of &lt;code&gt;&#x27;e&#x27;&lt;/code&gt;. Switched the slice to plain &lt;code&gt;String.substring&lt;/code&gt; — after &lt;code&gt;endsWith&lt;/code&gt; is true the cut point is a guaranteed-valid code-unit boundary, so it never throws — making the strip consistent with the documented UTF-16 code-unit contract &lt;code&gt;removeEndNullable&lt;/code&gt; inherits. ASCII/BMP suffixes are unaffected.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;TextDirectionParseUtils.tryParse&lt;/code&gt; now rejects a BOM-prefixed token&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/text_direction_parse_utils.dart&quot;&gt;text_direction_parse_utils.dart&lt;/a&gt;) — Dart&#x27;s &lt;code&gt;String.trim()&lt;/code&gt; strips U+FEFF (BOM / zero-width no-break space) as whitespace, so &lt;code&gt;&#x27;﻿ltr&#x27;&lt;/code&gt; was incorrectly parsing as &lt;code&gt;ltr&lt;/code&gt; instead of &lt;code&gt;null&lt;/code&gt;. The SPEC pins BOM as NOT whitespace (it is a formatting char, unlike NBSP / thin / ideographic space, which stay trimmed), so a private &lt;code&gt;_trim&lt;/code&gt; helper now re-attaches any leading/trailing BOM that &lt;code&gt;trim()&lt;/code&gt; removed, keeping the token unrecognized while preserving real-Unicode-whitespace trimming. Aligns the source with the existing zero-width-space (U+200B) handling.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;DateTime.toDateFormat&lt;/code&gt; now returns &lt;code&gt;&#x27;&#x27;&lt;/code&gt; for an invalid pattern&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_intl_display_extensions.dart&quot;&gt;date_time_intl_display_extensions.dart&lt;/a&gt;) — the documented &quot;invalid pattern → &lt;code&gt;&#x27;&#x27;&lt;/code&gt;, never throws&quot; contract relied solely on a try/catch, but intl&#x27;s &lt;code&gt;DateFormat&lt;/code&gt; does NOT throw on an unrecognized field letter such as &lt;code&gt;&#x27;q&#x27;&lt;/code&gt;: it echoes the letter as literal text (&lt;code&gt;&#x27;q&#x27;.toDateFormat(&#x27;q&#x27;)&lt;/code&gt; returned &lt;code&gt;&#x27;q&#x27;&lt;/code&gt;), so the catch never fired. Added an up-front &lt;code&gt;_patternHasUnknownField&lt;/code&gt; guard that rejects any unquoted ASCII letter outside intl&#x27;s implemented field set (&lt;code&gt;GyMkSEahKHcLQdDmsvzZ&lt;/code&gt;, sourced from intl&#x27;s own pattern matcher), returning &lt;code&gt;&#x27;&#x27;&lt;/code&gt; before formatting. Letters inside single-quoted literal sections are exempt, so a literal pattern like &lt;code&gt;&#x27;q&#x27;&lt;/code&gt; (quoted) still renders.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Corrected the &lt;strong&gt;&lt;code&gt;compareAges&lt;/code&gt; instant-equality test&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/test/datetime/date_time_compare_age_extensions_test.dart&quot;&gt;date_time_compare_age_extensions_test.dart&lt;/a&gt;) so it constructs the UTC and local operands from ONE instant (&lt;code&gt;utc.toLocal()&lt;/code&gt;) instead of building &lt;code&gt;DateTime.utc(2020, 1, 1)&lt;/code&gt; and &lt;code&gt;DateTime(2020, 1, 1)&lt;/code&gt; independently. The old form assumed they were the same moment, but &lt;code&gt;DateTime(...)&lt;/code&gt; is wall-clock local time — a different absolute instant from &lt;code&gt;DateTime.utc(...)&lt;/code&gt; on any host not at UTC+0 — so the instant-based &lt;code&gt;compareTo&lt;/code&gt; correctly returned &lt;code&gt;-1&lt;/code&gt;, failing the assertion. The source comparator was correct; the test fixture was wrong.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Corrected the &lt;strong&gt;&lt;code&gt;ColorUtils.getColor&lt;/code&gt; shade500 test&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/test/flutter/material_color_utils_test.dart&quot;&gt;material_color_utils_test.dart&lt;/a&gt;) so it compares ARGB values (&lt;code&gt;toARGB32()&lt;/code&gt;) instead of objects. &lt;code&gt;getColor(shade500, Colors.red)&lt;/code&gt; returns the plain &lt;code&gt;Color&lt;/code&gt; at &lt;code&gt;[500]&lt;/code&gt;; the old assertion compared it to the &lt;code&gt;Colors.red&lt;/code&gt; &lt;code&gt;MaterialColor&lt;/code&gt; object, which never equals a plain &lt;code&gt;Color&lt;/code&gt; because the two are different runtime types even when the tone is identical. Now both sides are reduced to their &lt;code&gt;toARGB32()&lt;/code&gt; integer (replacing the deprecated &lt;code&gt;.value&lt;/code&gt;), matching the spec intent that shade500 is the swatch&#x27;s primary tone. The source was correct; the test fixture was wrong.&lt;/li&gt;
&lt;li&gt;Fixed &lt;strong&gt;&lt;code&gt;findUnicodeClassType(value, ignoreWhitespace: false)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/unicode_class_utils.dart&quot;&gt;unicode_class_utils.dart&lt;/a&gt;) to classify whitespace runes into their Unicode block instead of returning &lt;code&gt;null&lt;/code&gt;. The function called &lt;code&gt;value.trim()&lt;/code&gt; unconditionally, and Dart&#x27;s &lt;code&gt;trim()&lt;/code&gt; strips Unicode space separators (NBSP U+00A0, en-space U+2002, ideographic space U+3000, ogham space U+1680), so a whitespace-only string was emptied before the scan ran — making &lt;code&gt;ignoreWhitespace: false&lt;/code&gt; unreachable for exactly those runes. The trim now only runs when &lt;code&gt;ignoreWhitespace&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;; when the caller opts in to classifying whitespace, the original string reaches the rune loop, so NBSP → &lt;code&gt;Latin1Supplement&lt;/code&gt;, en-space → &lt;code&gt;GeneralPunctuation&lt;/code&gt;, and ideographic space → &lt;code&gt;CJKSymbolsAndPunctuation&lt;/code&gt; as the spec&#x27;s Bulletproofing list requires. The default &lt;code&gt;ignoreWhitespace: true&lt;/code&gt; path is unchanged.&lt;/li&gt;
&lt;li&gt;Corrected two &lt;strong&gt;&lt;code&gt;HebrewDateConverter&lt;/code&gt; test expectations&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/test/datetime/hebrew_date_converter_test.dart&quot;&gt;hebrew_date_converter_test.dart&lt;/a&gt;) against &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-datetime-hebrew-converter.md&quot;&gt;SPEC-datetime-hebrew-converter.md&lt;/a&gt;. (1) The cross-cycle leap-boundary test asserted 5774→5777 as the last-leap/first-leap pair, but the closed-form &lt;code&gt;(year*7+1)%19 &amp;lt; 7&lt;/code&gt; (used by the test&#x27;s own far-future case and the source) places the seventh and final leap of a 19-year cycle at cycle-position 19, making &lt;strong&gt;5776&lt;/strong&gt; the last leap and &lt;strong&gt;5779&lt;/strong&gt; the first of the next cycle; 5774 is position 17 (the sixth leap). (2) The proleptic-day-before-epoch test (&lt;code&gt;DateTime(-3760, 9, 6)&lt;/code&gt;, JD 347997) expected month 13/day 29, but Hebrew year 0 is a degenerate proleptic year (its molad-derived length is 321 days, not a real 383–385-day leap year), so the month-walk lands on &lt;strong&gt;month 11, day 25&lt;/strong&gt; — the test now pins the algorithm&#x27;s actual floor output. The source was correct in both cases; the test expectations were wrong.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;p&gt;Roadmap batch — 25 advanced, tree-shakeable utilities (each its own file + full test suite; 276 new tests):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;FenwickTree&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/fenwick_tree_utils.dart&quot;&gt;fenwick_tree_utils.dart&lt;/a&gt;, roadmap #483) — Binary Indexed Tree for O(log n) point updates and prefix/range sums over &lt;code&gt;num&lt;/code&gt;; 1-based internal tree behind a 0-based public API, with &lt;code&gt;FenwickTree.fromList&lt;/code&gt; bulk build.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;MinMaxHeap&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/min_max_heap_utils.dart&quot;&gt;min_max_heap_utils.dart&lt;/a&gt;, roadmap #499) — double-ended priority queue (min-max heap) giving O(1) &lt;code&gt;min&lt;/code&gt;/&lt;code&gt;max&lt;/code&gt; peek and O(log n) &lt;code&gt;removeMin&lt;/code&gt;/&lt;code&gt;removeMax&lt;/code&gt; from a single backing array, with &lt;code&gt;minOrNull&lt;/code&gt;/&lt;code&gt;maxOrNull&lt;/code&gt; for the empty case.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;SkipList&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/skip_list_utils.dart&quot;&gt;skip_list_utils.dart&lt;/a&gt;, roadmap #502) — probabilistic ordered set with &lt;code&gt;contains&lt;/code&gt;/&lt;code&gt;add&lt;/code&gt;/&lt;code&gt;remove&lt;/code&gt;, ascending &lt;code&gt;values&lt;/code&gt;, and &lt;code&gt;floor&lt;/code&gt;/&lt;code&gt;ceiling&lt;/code&gt; order-statistic lookups; injectable &lt;code&gt;Random&lt;/code&gt; for deterministic tests.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;clusterBySimilarity&lt;/code&gt; / &lt;code&gt;dedupBySimilarity&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/similarity_dedup_utils.dart&quot;&gt;similarity_dedup_utils.dart&lt;/a&gt;, roadmap #461) — single-link (transitive) near-duplicate clustering via union-find over a caller-supplied similarity predicate, preserving first-seen order.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;weightedSubset&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/constrained_subset_utils.dart&quot;&gt;constrained_subset_utils.dart&lt;/a&gt;, roadmap #476) — weighted random subset selection without replacement (Efraimidis–Spirakis) honoring exclusion sets and non-positive-weight skipping; injectable &lt;code&gt;Random&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;clusterIntoSessions&lt;/code&gt; / &lt;code&gt;sessionsWithBounds&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/session_clustering_utils.dart&quot;&gt;session_clustering_utils.dart&lt;/a&gt;, roadmap #485) — gap-based sessionization of timestamped items (clickstream/login/GPS bursts); sorts input and splits on gaps exceeding &lt;code&gt;maxGap&lt;/code&gt;, optionally returning each session&#x27;s start/end bounds.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;BacktrackingSolver&amp;lt;State, Choice&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/backtracking_utils.dart&quot;&gt;backtracking_utils.dart&lt;/a&gt;, roadmap #486) — generic depth-first backtracking with pruning callbacks and a solution &lt;code&gt;limit&lt;/code&gt;; &lt;code&gt;solveFirst&lt;/code&gt;/&lt;code&gt;solveAll&lt;/code&gt; (verified on N-Queens and subset-sum).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;permutations&lt;/code&gt; / &lt;code&gt;combinations&lt;/code&gt; / &lt;code&gt;cartesianProduct&lt;/code&gt; / &lt;code&gt;powerSet&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/lazy_combinatorics_utils.dart&quot;&gt;lazy_combinatorics_utils.dart&lt;/a&gt;, roadmap #488) — lazy &lt;code&gt;sync*&lt;/code&gt; combinatorics that yield fresh lists on demand, so huge spaces are enumerable without materializing them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ItemSimilarityModel&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/item_similarity_utils.dart&quot;&gt;item_similarity_utils.dart&lt;/a&gt;, roadmap #490) — co-occurrence item-to-item recommender; Jaccard similarity over per-item basket sets with ranked &lt;code&gt;recommend(item, topN)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;multiSourceBfsDistances&lt;/code&gt; / &lt;code&gt;multiSourceBfsNearest&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/multi_source_bfs_utils.dart&quot;&gt;multi_source_bfs_utils.dart&lt;/a&gt;, roadmap #535) — single-sweep multi-source BFS giving each node its hop distance to (and identity of) the nearest seed; &lt;code&gt;-1&lt;/code&gt; sentinel for unreachable nodes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;pageRank&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/pagerank_utils.dart&quot;&gt;pagerank_utils.dart&lt;/a&gt;, roadmap #541) — power-iteration PageRank with dangling-node mass redistribution and tolerance-based early stop; scores sum to ~1.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;enumeratePaths&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/path_enumeration_utils.dart&quot;&gt;path_enumeration_utils.dart&lt;/a&gt;, roadmap #543) — all simple (no repeated node) paths between two nodes with an optional &lt;code&gt;maxDepth&lt;/code&gt; edge cap.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;reachabilitySets&lt;/code&gt; / &lt;code&gt;reachabilityMatrix&lt;/code&gt; / &lt;code&gt;canReach&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/reachability_utils.dart&quot;&gt;reachability_utils.dart&lt;/a&gt;, roadmap #551) — transitive closure; a node reaches itself only when it lies on a cycle.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;cusumChangePoints&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/stats/change_point_cusum_utils.dart&quot;&gt;change_point_cusum_utils.dart&lt;/a&gt;, roadmap #568) — two-sided CUSUM change-point detection with configurable threshold/drift, resetting on each detection.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;giniCoefficient&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/stats/gini_utils.dart&quot;&gt;gini_utils.dart&lt;/a&gt;, roadmap #573) — inequality metric in [0,1] via the sorted-rank formula; &lt;code&gt;0&lt;/code&gt; for equal distributions, NaN for empty, asserts non-negative inputs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rollingCorrelation&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/stats/rolling_correlation_utils.dart&quot;&gt;rolling_correlation_utils.dart&lt;/a&gt;, roadmap #577) — Pearson correlation over a sliding window of two equal-length series; NaN where a window has zero variance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;binByWidth&lt;/code&gt; / &lt;code&gt;quantileBoundaries&lt;/code&gt; / &lt;code&gt;binByBoundaries&lt;/code&gt; / &lt;code&gt;binCounts&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/stats/data_binning_utils.dart&quot;&gt;data_binning_utils.dart&lt;/a&gt;, roadmap #585) — equal-width, quantile, and custom-boundary binning with out-of-range clamping and frequency counts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;billingDateInMonth&lt;/code&gt; / &lt;code&gt;nextBillingDate&lt;/code&gt; / &lt;code&gt;billingSchedule&lt;/code&gt; / &lt;code&gt;currentCycle&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/billing_cycle_utils.dart&quot;&gt;billing_cycle_utils.dart&lt;/a&gt;, roadmap #609) — monthly billing anniversaries with end-of-month clamping (anchor 31 → Feb 28/29) and cycle-bounds resolution.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;RecurrenceSpec&lt;/code&gt; + &lt;code&gt;RecurrenceFrequency&lt;/code&gt; + &lt;code&gt;humanizeRecurrence&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/humanize_recurrence_utils.dart&quot;&gt;humanize_recurrence_utils.dart&lt;/a&gt;, roadmap #599) — human-readable recurrence text (&quot;every 2 weeks on Tuesday&quot;, &quot;every 2nd Tuesday of the month&quot;) with a correct English-ordinal helper.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;dailyCounts&lt;/code&gt; / &lt;code&gt;heatmapGrid&lt;/code&gt; / &lt;code&gt;heatmapStats&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/calendar_heatmap_utils.dart&quot;&gt;calendar_heatmap_utils.dart&lt;/a&gt;, roadmap #603) — GitHub-style heatmap data: per-day event counts, a week-aligned grid over a date range, and max/total/active-day stats.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;findGaps&lt;/code&gt; / &lt;code&gt;fillMissing&lt;/code&gt; / &lt;code&gt;forwardFill&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/timeseries_gap_utils.dart&quot;&gt;timeseries_gap_utils.dart&lt;/a&gt;, roadmap #606) — detect missing samples in a roughly-regular series (tolerance-based), generate the complete regular grid, and forward-fill null values.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseCacheControl&lt;/code&gt; / &lt;code&gt;parseMaxAge&lt;/code&gt; / &lt;code&gt;parseETag&lt;/code&gt; / &lt;code&gt;parseRetryAfterSeconds&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/http_header_parse_utils.dart&quot;&gt;http_header_parse_utils.dart&lt;/a&gt;, roadmap #632) — dependency-free parsing of common HTTP caching headers (directive map, weak/strong ETag, numeric Retry-After).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;stableHash&lt;/code&gt; / &lt;code&gt;canonicalString&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/stable_hash_utils.dart&quot;&gt;stable_hash_utils.dart&lt;/a&gt;, roadmap #649) — order-stable structural checksum (FNV-1a 64-bit, sorted map keys, order-preserving lists) rendered as a fixed 16-char lowercase hex; no crypto dependency.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;flattenMap&lt;/code&gt; / &lt;code&gt;explode&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/flatten_explode_utils.dart&quot;&gt;flatten_explode_utils.dart&lt;/a&gt;, roadmap #648) — flatten nested maps/lists into dotted/indexed keys and explode an array field into one row per element for tabular/BI export.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;CancellationToken&lt;/code&gt; / &lt;code&gt;CancellationException&lt;/code&gt; / &lt;code&gt;runCancellable&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/cancellation_token_utils.dart&quot;&gt;cancellation_token_utils.dart&lt;/a&gt;, roadmap #674) — cooperative cancellation: idempotent &lt;code&gt;cancel&lt;/code&gt;, &lt;code&gt;throwIfCancelled&lt;/code&gt;, &lt;code&gt;whenCancelled&lt;/code&gt; future, fire-once &lt;code&gt;onCancel&lt;/code&gt; callbacks, and a task-vs-cancellation race helper.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Roadmap batch 2 — 10 more advanced, tree-shakeable utilities (each its own file + full test suite; 80 new tests):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;SegmentTree&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/segment_tree_utils.dart&quot;&gt;segment_tree_utils.dart&lt;/a&gt;, roadmap #495) — iterative segment tree for O(log n) range sum / min / max with O(log n) point updates; &lt;code&gt;SegmentTree.sum&lt;/code&gt;/&lt;code&gt;.min&lt;/code&gt;/&lt;code&gt;.max&lt;/code&gt; named constructors with identity-aware empty handling.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;BkTree&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/bk_tree_utils.dart&quot;&gt;bk_tree_utils.dart&lt;/a&gt;, roadmap #493) — metric-tree index for approximate string matching: &lt;code&gt;search(query, maxDistance)&lt;/code&gt; prunes via the triangle inequality (default Damerau–Levenshtein, injectable metric), set-semantics inserts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;SpatialGrid&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/spatial_grid_utils.dart&quot;&gt;spatial_grid_utils.dart&lt;/a&gt;, roadmap #506) — uniform-grid spatial index for 2D points; O(1) &lt;code&gt;insert&lt;/code&gt; and &lt;code&gt;queryRadius(x, y, r)&lt;/code&gt; that scans only overlapping cells then filters by true Euclidean distance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;TimeSeriesBuffer&lt;/code&gt; + &lt;code&gt;TimeBucket&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/timeseries_buffer_utils.dart&quot;&gt;timeseries_buffer_utils.dart&lt;/a&gt;, roadmap #510) — bounded series that keeps the last N raw points verbatim and folds evicted points into fixed-width count/sum/min/max/mean buckets for raw-recent + aggregated-history views.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;WriteThroughStore&amp;lt;K, V&amp;gt;&lt;/code&gt; / &lt;code&gt;WriteBackStore&amp;lt;K, V&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/caching/write_through_cache.dart&quot;&gt;write_through_cache.dart&lt;/a&gt;, roadmap #508) — async cache wrappers that coordinate &lt;em&gt;writes&lt;/em&gt; to a backing store (the read-through &lt;code&gt;WriteThroughCache&lt;/code&gt; #523 does not): write-through persists on every &lt;code&gt;put&lt;/code&gt;; write-back buffers dirty keys and coalesces them on &lt;code&gt;flush&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;MruCache&amp;lt;K, V&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/caching/mru_cache.dart&quot;&gt;mru_cache.dart&lt;/a&gt;, roadmap #509) — fixed-capacity cache with most-recently-used eviction (the right policy for cyclic scans) plus per-key access-frequency tracking via &lt;code&gt;frequencyOf&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;simplifyDegree2Chains&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/graph_simplify_utils.dart&quot;&gt;graph_simplify_utils.dart&lt;/a&gt;, roadmap #545) — contracts maximal chains of degree-2 pass-through nodes in an undirected graph into single junction-to-junction edges; preserves anchorless pure cycles so connectivity is never lost.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;serializeAdjacency&lt;/code&gt; / &lt;code&gt;parseAdjacency&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/graph/graph_serialize_utils.dart&quot;&gt;graph_serialize_utils.dart&lt;/a&gt;, roadmap #554) — loss-free compact text codec (&lt;code&gt;0&amp;gt;1,2;1;2&amp;gt;0&lt;/code&gt;) for directed adjacency-list graphs; no &lt;code&gt;dart:convert&lt;/code&gt; dependency, preserves neighbor order and isolated nodes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;diffCalendars&lt;/code&gt; + &lt;code&gt;CalendarEvent&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/calendar_diff_utils.dart&quot;&gt;calendar_diff_utils.dart&lt;/a&gt;, roadmap #608) — classifies two event snapshots (keyed by id) into added / removed / changed, where &quot;changed&quot; compares start, end, and title; the core of sync reconciliation and &quot;what changed&quot; UIs.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;RateLimitSchedule&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/rate_limit_schedule_utils.dart&quot;&gt;rate_limit_schedule_utils.dart&lt;/a&gt;, roadmap #612) — shapes requested event times to honor a rolling-window quota (max N per period) plus a minimum cooldown, pushing rather than dropping events to the earliest compliant instant.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;findUnicodeClassType(String)&lt;/code&gt; + &lt;code&gt;UnicodeClassType&lt;/code&gt; enum + &lt;code&gt;isUnicodeWhitespace(int)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/unicode_class_utils.dart&quot;&gt;unicode_class_utils.dart&lt;/a&gt;, &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/unicode_class_type.dart&quot;&gt;unicode_class_type.dart&lt;/a&gt;) — script/block detector that inspects a string&#x27;s runes and returns the Unicode named block (&lt;code&gt;BasicLatin&lt;/code&gt;, &lt;code&gt;Cyrillic&lt;/code&gt;, &lt;code&gt;Arabic&lt;/code&gt;, &lt;code&gt;CJKUnifiedIdeographs&lt;/code&gt;, &lt;code&gt;Hiragana&lt;/code&gt;, &lt;code&gt;HangulSyllables&lt;/code&gt;, &lt;code&gt;CurrencySymbols&lt;/code&gt;, &lt;code&gt;Arrows&lt;/code&gt;, ...) the first qualifying rune falls into, mirroring the .NET &quot;Supported Named Blocks&quot; table across the Basic Multilingual Plane (U+0000–U+FFFF). Useful for language/script detection, input validation, sort-bucket selection, and font-fallback decisions. Options: &lt;code&gt;ignoreBasicLatin&lt;/code&gt; skips the Latin block so a Latin-prefixed string reports the trailing non-Latin script; &lt;code&gt;firstCharOnly&lt;/code&gt; (default &lt;code&gt;true&lt;/code&gt;) classifies only the first qualifying rune vs. scanning to the first non-ignored match; &lt;code&gt;ignoreWhitespace&lt;/code&gt; (default &lt;code&gt;true&lt;/code&gt;) skips whitespace runes. Returns &lt;strong&gt;&lt;code&gt;null&lt;/code&gt;&lt;/strong&gt; for an empty/whitespace-only string, for unassigned gaps between blocks, and for astral-plane runes above U+FFFF (most emoji) — the function is BMP-only and the three surrogate enum blocks are unreachable from valid Dart strings. Never throws (best-effort contract; any failure degrades to &lt;code&gt;null&lt;/code&gt;). The companion &lt;code&gt;isUnicodeWhitespace(int rune)&lt;/code&gt; is the pure-Dart whitespace predicate (ASCII controls plus the Unicode space separators &lt;code&gt;trim&lt;/code&gt; does not always strip, e.g. narrow no-break space, ideographic space) replacing the original &lt;code&gt;quiver.isWhitespace&lt;/code&gt; dependency, and the backing &lt;code&gt;unicodeClassRanges&lt;/code&gt; table is exposed for meta-tests asserting it stays sorted, non-overlapping, and one-entry-per-enum-value. Pure Dart, no Flutter or external dependencies.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String?.compareStringFolded()&lt;/code&gt; / &lt;code&gt;foldedCompare()&lt;/code&gt; / &lt;code&gt;List&amp;lt;String&amp;gt;.sortedFolded()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_folded_compare_extensions.dart&quot;&gt;string_folded_compare_extensions.dart&lt;/a&gt;) — diacritic-folding sort comparator. Folds Latin diacritics and ligatures (&lt;code&gt;á→a&lt;/code&gt;, &lt;code&gt;ß→ss&lt;/code&gt;, &lt;code&gt;æ→ae&lt;/code&gt;) so accented names interfile with their base letter instead of sorting after &lt;code&gt;z&lt;/code&gt; by code unit; case-insensitive by default, with an optional &lt;code&gt;natural&lt;/code&gt; numeric mode (&lt;code&gt;img2&lt;/code&gt; before &lt;code&gt;img10&lt;/code&gt;), null grouping (&lt;code&gt;nullsLast&lt;/code&gt;), and a deterministic raw-string tie-break so two distinct strings that fold to the same key (&lt;code&gt;&quot;Foo&quot;&lt;/code&gt; vs &lt;code&gt;&quot;fóò&quot;&lt;/code&gt;) never compare equal — safe as a &lt;code&gt;SplayTreeMap&lt;/code&gt; comparator (a &lt;code&gt;0&lt;/code&gt; compare silently drops a key). Composes the existing &lt;code&gt;removeDiacritics()&lt;/code&gt; and &lt;code&gt;naturalCompare()&lt;/code&gt;; pure Dart, no new dependencies. Latin-focused: non-Latin scripts (CJK, Cyrillic, ...) pass through and order by code point; NOT locale-aware ICU collation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DateTimeIntlDisplayExtensions&lt;/code&gt; on &lt;code&gt;DateTime&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_intl_display_extensions.dart&quot;&gt;date_time_intl_display_extensions.dart&lt;/a&gt;) — locale-correct date/time display via &lt;code&gt;intl&lt;/code&gt; skeletons (&lt;code&gt;yMMMd&lt;/code&gt;, &lt;code&gt;MMMEd&lt;/code&gt;, &lt;code&gt;jm&lt;/code&gt;, &lt;code&gt;Hms&lt;/code&gt;, ...), the one opt-in module in &lt;code&gt;lib/datetime/&lt;/code&gt; that pulls the &lt;code&gt;intl&lt;/code&gt; dependency (the rest stays intl-free by design). Unlike the fixed-layout &lt;code&gt;DateFormatNames&lt;/code&gt; presets, these REORDER components per locale (en_US &quot;Jan 15, 1945&quot;, fr_FR &quot;15 janv. 1945&quot;, ja_JP &quot;1945年1月15日&quot;) and auto-detect each locale&#x27;s 12h/24h clock from the &lt;code&gt;jm&lt;/code&gt; skeleton. Members: &lt;code&gt;dateDisplay&lt;/code&gt; (abbreviated/full month, optional English ordinal, current-year suppression), &lt;code&gt;makeDisplayDate&lt;/code&gt; (weekday + year, &lt;code&gt;year &amp;gt; 0&lt;/code&gt; guard for placeholder dates), &lt;code&gt;makeDisplayTime&lt;/code&gt; (locale clock with minute-eliding and a U+00A0 non-breaking clock so &quot;8:31 PM&quot; never wraps), &lt;code&gt;utcTimeDisplay&lt;/code&gt; (fixed presets via the new &lt;code&gt;UtcTimeDisplayEnum&lt;/code&gt;), &lt;code&gt;fullDateDisplay&lt;/code&gt;, &lt;code&gt;formatByLocale&lt;/code&gt;, &lt;code&gt;toDateFormat&lt;/code&gt; (explicit pattern + millisecond suffix), and &lt;code&gt;getUtcOffset&lt;/code&gt; (pure-Dart &lt;code&gt;UTC+5&lt;/code&gt; / &lt;code&gt;UTC±0&lt;/code&gt; / &lt;code&gt;UTC+5:30&lt;/code&gt;). All display methods catch and degrade (null/&lt;code&gt;&#x27;&#x27;&lt;/code&gt;) rather than throw on an unloaded locale. The top-level &lt;strong&gt;&lt;code&gt;formatUtcOffset(Duration, {verbose})&lt;/code&gt;&lt;/strong&gt; formats a fixed offset deterministically (no host-TZ read) for testability. Callers formatting non-English locales must call &lt;code&gt;initializeDateFormatting()&lt;/code&gt; once per process first. Requires the &lt;code&gt;intl&lt;/code&gt; package (re-enabled in &lt;code&gt;pubspec.yaml&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.removeEndNullable(String? find)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_manipulation_extensions.dart&quot;&gt;string_manipulation_extensions.dart&lt;/a&gt;) — nullable-aware companion to &lt;code&gt;removeEnd&lt;/code&gt;, sitting beside it on &lt;code&gt;StringManipulationExtensions&lt;/code&gt;. Returns the receiver unchanged when &lt;code&gt;find&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt; or empty (nothing to strip); returns &lt;strong&gt;&lt;code&gt;null&lt;/code&gt;&lt;/strong&gt; only for the empty-receiver-with-a-real-suffix case (an empty source cannot carry the requested suffix, so &lt;code&gt;null&lt;/code&gt; marks &quot;no source&quot; distinctly from &lt;code&gt;&#x27;&lt;/code&gt; &quot;stripped to nothing&quot;); otherwise delegates to &lt;code&gt;removeEnd&lt;/code&gt;, so a whole-string match strips to &lt;code&gt;&#x27;&lt;/code&gt; (not &lt;code&gt;null&lt;/code&gt;) and only ONE trailing occurrence is removed. Matching is case-sensitive UTF-16 code-unit suffix matching (not grapheme-aware), so a surrogate-pair emoji or whole combining mark strips cleanly while a bare combining mark off a cluster can split it. Pure Dart, no Flutter or external dependencies.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;bool.compareTo(bool other)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/bool/bool_sort_extensions.dart&quot;&gt;bool_sort_extensions.dart&lt;/a&gt;) — adds the &lt;code&gt;BoolSortingHelper&lt;/code&gt; extension so a &lt;code&gt;bool&lt;/code&gt; can be used as a sort key. &lt;code&gt;bool&lt;/code&gt; does not implement &lt;code&gt;Comparable&lt;/code&gt; in &lt;code&gt;dart:core&lt;/code&gt;, so &lt;code&gt;[true, false].sort()&lt;/code&gt; throws; this fills the gap with a &lt;code&gt;Comparable.compareTo&lt;/code&gt;-shaped comparator (&lt;code&gt;true&lt;/code&gt; sorts BEFORE &lt;code&gt;false&lt;/code&gt;, the &quot;flagged first&quot; convention): returns &lt;code&gt;0&lt;/code&gt; for equal values, &lt;code&gt;-1&lt;/code&gt; when this is &lt;code&gt;true&lt;/code&gt; and &lt;code&gt;other&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;, and &lt;code&gt;1&lt;/code&gt; for the reverse. Drops into &lt;code&gt;items.sort((a, b) =&amp;gt; a.isPinned.compareTo(b.isPinned))&lt;/code&gt; or any tie-break comparator. Pure Dart, no Flutter or external dependencies; the closed two-value domain has no failure path.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;FilterValue&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/copy_with/filter_value.dart&quot;&gt;filter_value.dart&lt;/a&gt;) — optional-write wrapper for &lt;code&gt;copyWith&lt;/code&gt; parameters that need three intents instead of two: &lt;code&gt;FilterValue.unset()&lt;/code&gt; (the const default) keeps the current value, &lt;code&gt;FilterValue(v)&lt;/code&gt; overrides with &lt;code&gt;v&lt;/code&gt;, and &lt;code&gt;FilterValue(null)&lt;/code&gt; &lt;em&gt;explicitly clears to null&lt;/em&gt; — the case the &lt;code&gt;?? this.field&lt;/code&gt; idiom can&#x27;t express and that the &lt;code&gt;*ForceNull&lt;/code&gt; companion-parameter workaround doubled the parameter surface to express. &lt;code&gt;resolve(current)&lt;/code&gt; performs the keep-vs-override decision in one call; the wrapper holds its value by reference (no copy) and defines no &lt;code&gt;operator ==&lt;/code&gt;. Pure Dart, zero dependencies.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DateTime.toAnnualDate&lt;/code&gt; / &lt;code&gt;DateTime.toDayRange()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_bounds_extensions.dart&quot;&gt;date_time_bounds_extensions.dart&lt;/a&gt;) — two members added to &lt;code&gt;DateTimeBoundsExtensions&lt;/code&gt;. &lt;code&gt;toAnnualDate&lt;/code&gt; pins month/day to sentinel year 0 (the canonical recurring-annual-date form for birthdays/anniversaries) — the blessed producer for the existing &lt;code&gt;DateTimeComparisonExtensions.isAnnualDateInRange&lt;/code&gt; consumer, dropping time-of-day and surviving Feb 29 (year 0 is a leap year). &lt;code&gt;toDayRange()&lt;/code&gt; returns the full local calendar day as a &lt;code&gt;DateTimeRange&lt;/code&gt; by composing the existing &lt;code&gt;startOfDay&lt;/code&gt;/&lt;code&gt;endOfDay&lt;/code&gt; getters, so the end is microsecond-precise (&lt;code&gt;23:59:59.999999&lt;/code&gt;), not millisecond-truncated, with a single source of truth for the bounds.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DateTimeUtils.monthDayCountSafe({int? year, required int month})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_utils.dart&quot;&gt;date_time_utils.dart&lt;/a&gt;) — null-year-tolerant, non-throwing companion to &lt;code&gt;monthDayCount&lt;/code&gt;. When &lt;code&gt;year&lt;/code&gt; is null, February returns 28 (a leap year cannot be resolved without the year); a known leap year still yields 29. An out-of-range &lt;code&gt;month&lt;/code&gt; (&lt;code&gt;0&lt;/code&gt;, &lt;code&gt;13&lt;/code&gt;, &lt;code&gt;-1&lt;/code&gt;, very large ints) returns 30 instead of throwing, so callers holding partial date parts get a defined value. Negative years follow the proleptic Gregorian leap rule. Backed by new &lt;code&gt;DateConstants.daysInThirtyOneDayMonth&lt;/code&gt; / &lt;code&gt;daysInThirtyDayMonth&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Duration.displayTime()&lt;/code&gt; / &lt;code&gt;Duration.formatDuration()&lt;/code&gt; / &lt;code&gt;Duration.reverse()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/duration_clock_format_extensions.dart&quot;&gt;duration_clock_format_extensions.dart&lt;/a&gt;) — a new &lt;code&gt;DurationClockFormatExtensions&lt;/code&gt; with three pure-Dart formatters. &lt;code&gt;displayTime()&lt;/code&gt; renders a stopwatch/media clock string (&lt;code&gt;&#x27;HH:MM:SS.mmm&#x27;&lt;/code&gt;, or &lt;code&gt;&#x27;MM:SS.mmm&#x27;&lt;/code&gt; with &lt;code&gt;showHours: false&lt;/code&gt;) and never rolls hours into days, so &lt;code&gt;Duration(hours: 25)&lt;/code&gt; shows &lt;code&gt;&#x27;25:00:00.000&#x27;&lt;/code&gt; — distinct from the day-aware top-level &lt;code&gt;formatDuration(d, ...)&lt;/code&gt; it sits alongside. &lt;code&gt;formatDuration()&lt;/code&gt; renders a comma-joined human list of non-zero units down to &lt;strong&gt;microseconds&lt;/strong&gt; (&lt;code&gt;&#x27;1 hr, 2 mins, 3 secs, 4 ms, 5 μs&#x27;&lt;/code&gt;), returning &lt;code&gt;&#x27;Instantaneous&#x27;&lt;/code&gt; for &lt;code&gt;Duration.zero&lt;/code&gt;, with optional &lt;code&gt;showLeadingZeros&lt;/code&gt; and short/long &lt;code&gt;shortForm&lt;/code&gt; words (microsecond short form is the Greek mu &lt;code&gt;μs&lt;/code&gt;). &lt;code&gt;reverse()&lt;/code&gt; returns the sign-negated duration. Reuses the library&#x27;s &lt;code&gt;String.pluralize&lt;/code&gt;; no Flutter, no &lt;code&gt;intl&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Uint8List.toIntList()&lt;/code&gt; / &lt;code&gt;List&amp;lt;int&amp;gt;.toUint8List()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/typed_data/uint8list_extensions.dart&quot;&gt;uint8list_extensions.dart&lt;/a&gt;) — two reciprocal byte/integer bridges in new extensions &lt;code&gt;Uint8ListExtension&lt;/code&gt; and &lt;code&gt;IntListExtension&lt;/code&gt;. &lt;code&gt;toIntList()&lt;/code&gt; copies a fixed-length &lt;code&gt;Uint8List&lt;/code&gt; into a fresh &lt;strong&gt;growable, independent&lt;/strong&gt; &lt;code&gt;List&amp;lt;int&amp;gt;&lt;/code&gt; (the form binary APIs — file bytes, crypto output, network frames, image decoders — need when they must append or mutate). &lt;code&gt;toUint8List()&lt;/code&gt; copies any &lt;code&gt;List&amp;lt;int&amp;gt;&lt;/code&gt; into a fresh fixed-length &lt;code&gt;Uint8List&lt;/code&gt; via &lt;code&gt;Uint8List.fromList&lt;/code&gt;, storing each element &lt;strong&gt;modulo 256&lt;/strong&gt; (low 8 bits): &lt;code&gt;256 → 0&lt;/code&gt;, &lt;code&gt;257 → 1&lt;/code&gt;, &lt;code&gt;-1 → 255&lt;/code&gt;, and even platform-max/min ints reduce to their low byte without throwing — narrowing that holds for typed-data sources (&lt;code&gt;Int8List&lt;/code&gt;/&lt;code&gt;Int16List&lt;/code&gt;) too. Both directions produce independent buffers, so post-conversion mutation never crosses over. Pure Dart (&lt;code&gt;dart:typed_data&lt;/code&gt; only), no Flutter, no external packages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;StopRange&lt;/code&gt; enum&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/double/gradient_stop_range.dart&quot;&gt;gradient_stop_range.dart&lt;/a&gt;) — four named easing categories (&lt;code&gt;easeIn&lt;/code&gt;, &lt;code&gt;easeOut&lt;/code&gt;, &lt;code&gt;easeInOut&lt;/code&gt;, &lt;code&gt;linear&lt;/code&gt;) mapped via &lt;code&gt;.stops&lt;/code&gt; to a fresh normalized two-element &lt;code&gt;List&amp;lt;double&amp;gt;&lt;/code&gt; in the 0..1 range (&lt;code&gt;[0, 0.5]&lt;/code&gt;, &lt;code&gt;[0.5, 1]&lt;/code&gt;, &lt;code&gt;[0.25, 0.75]&lt;/code&gt;, &lt;code&gt;[0, 1]&lt;/code&gt;). Drops straight into any stops-accepting gradient API (Flutter &lt;code&gt;Gradient.stops&lt;/code&gt;, a CSS/SVG string builder, a custom shader). Pure Dart, no Flutter or external dependencies; each read returns an independent list so caller mutation can&#x27;t corrupt the constants.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;double.toAspectRatio()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/double/double_aspect_ratio_extensions.dart&quot;&gt;double_aspect_ratio_extensions.dart&lt;/a&gt;) — converts a decimal ratio (e.g. an image&#x27;s &lt;code&gt;width / height&lt;/code&gt;) into a GCD-simplified integer pair &lt;code&gt;(int, int)?&lt;/code&gt;, quantizing the fractional part to three decimal places (&lt;code&gt;× 1000&lt;/code&gt;) and reducing via &lt;code&gt;IntUtils.findGreatestCommonDenominator&lt;/code&gt;. Pure Dart, no dependencies; reuses the package&#x27;s &lt;code&gt;hasDecimals&lt;/code&gt; getter and GCD utility. Whole numbers return &lt;code&gt;(1, value)&lt;/code&gt;; the tuple order is &lt;code&gt;(denominator-side, value-side)&lt;/code&gt;, locked by a regression test. Returns &lt;code&gt;null&lt;/code&gt; for NaN, &lt;code&gt;±Infinity&lt;/code&gt;, and negative fractional input — the non-finite guard keeps the integral path from throwing &lt;code&gt;UnsupportedError&lt;/code&gt; on &lt;code&gt;toInt()&lt;/code&gt;. The 3-decimal quantization truncates toward zero and is intentionally lossy, so canonical small ratios such as &lt;code&gt;16:9&lt;/code&gt; are not recovered (&lt;code&gt;16 / 9&lt;/code&gt; → &lt;code&gt;(1000, 1777)&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DarkColors&lt;/code&gt; enum + &lt;code&gt;DarkColorsUtils.darkColorMap&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/niche/dark_colors.dart&quot;&gt;dark_colors.dart&lt;/a&gt;) — 20-value enum (&lt;code&gt;Red&lt;/code&gt;…&lt;code&gt;Black&lt;/code&gt;) mapped to fixed, fully-opaque Material 700 &lt;code&gt;Color&lt;/code&gt; constants (e.g. &lt;code&gt;Red → 0xFFD32F2F&lt;/code&gt;). A brand-agnostic palette of legible-on-light dark colors for category tags, avatar backgrounds, chart series, and labels. Compile-time &lt;code&gt;const&lt;/code&gt; data table; every swatch is distinct, alpha &lt;code&gt;0xFF&lt;/code&gt;, and verified by tests to clear a 3.0 WCAG contrast floor against white (cross-checked via the package&#x27;s own &lt;code&gt;contrastRatio&lt;/code&gt;). Enum order is index-stable (&lt;code&gt;Red&lt;/code&gt; = 0, &lt;code&gt;Black&lt;/code&gt; = 19) so values persisted by index never silently remap. Flutter-typed (needs &lt;code&gt;Color&lt;/code&gt;); kept in its own file so the pure-Dart &lt;code&gt;color_utils.dart&lt;/code&gt; math stays Flutter-free.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;SimpleRelativeDay&lt;/code&gt; enum + &lt;code&gt;DateTime.getSimpleRelativeDay()&lt;/code&gt; / &lt;code&gt;getRelativeDayResult()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/simple_relative_day_utils.dart&quot;&gt;simple_relative_day_utils.dart&lt;/a&gt;) — calendar-day relative classifier that buckets a date against a reference &lt;code&gt;now&lt;/code&gt; into &lt;code&gt;today&lt;/code&gt; / &lt;code&gt;yesterday&lt;/code&gt; / &lt;code&gt;tomorrow&lt;/code&gt; / &lt;code&gt;beforeYesterday&lt;/code&gt; / &lt;code&gt;afterTomorrow&lt;/code&gt; / &lt;code&gt;lastWeekday&lt;/code&gt; / &lt;code&gt;nextWeekday&lt;/code&gt; (±3..±13 days) / &lt;code&gt;lastMonth&lt;/code&gt; / &lt;code&gt;nextMonth&lt;/code&gt;, returning &lt;strong&gt;&lt;code&gt;null&lt;/code&gt;&lt;/strong&gt; for dates outside the ~2-month window (same month beyond ±2 weeks, or more than one calendar month away) so callers get a typed label only when one is useful. Covers BOTH past and future at single-day resolution — net-new alongside the past-only string &lt;code&gt;relativeDateBucket&lt;/code&gt; and the free-text &lt;code&gt;relativeTimeString&lt;/code&gt;. Time-of-day is dropped (calendar days, not 24-hour spans) via an internal kind-preserving date-only normalize, so a 23:59-vs-00:01 pair reads as one day and a DST short day still counts whole days; the month delta folds the year (&lt;code&gt;(year*12 + month)&lt;/code&gt;) so Dec→Jan reads as next month. &lt;code&gt;getRelativeDayResult&lt;/code&gt; takes a caller-supplied &lt;code&gt;weekdayFormatter&lt;/code&gt; for the &quot;Last/Next [Weekday]&quot; label so the core stays &lt;code&gt;intl&lt;/code&gt;-free and never touches app locale state — the formatter is invoked at most once and only for weekday buckets (a throwing formatter propagates rather than being swallowed). The four unreachable &lt;code&gt;ThisWeek&lt;/code&gt;/&lt;code&gt;LastWeek&lt;/code&gt;/&lt;code&gt;NextWeek&lt;/code&gt;/&lt;code&gt;ThisMonth&lt;/code&gt; values from the source app were dropped at inclusion (the classifier never emitted them). Pure Dart, no Flutter, no external packages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;num.formatNumber({format, locale})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/num/num_intl_format_extensions.dart&quot;&gt;num_intl_format_extensions.dart&lt;/a&gt;) — a new &lt;code&gt;NumIntlFormatExtensions&lt;/code&gt; that renders any &lt;code&gt;num&lt;/code&gt; with CLDR-accurate, locale-aware grouping/decimal separators by delegating to &lt;code&gt;intl&lt;/code&gt;&#x27;s &lt;code&gt;NumberFormat(format, locale).format(this)&lt;/code&gt;. &lt;code&gt;format&lt;/code&gt; is an arbitrary ICU number pattern (default &lt;code&gt;&#x27;#,##0&#x27;&lt;/code&gt;; e.g. &lt;code&gt;&#x27;#,##0.00&#x27;&lt;/code&gt; two decimals, &lt;code&gt;&#x27;##,##,##0&#x27;&lt;/code&gt; Indian 2-2-3 grouping, &lt;code&gt;&#x27;#,##0;(#,##0)&#x27;&lt;/code&gt; parenthesized negatives, &lt;code&gt;&#x27;#,##0%&#x27;&lt;/code&gt; which scales the receiver by 100, &lt;code&gt;&#x27;00000&#x27;&lt;/code&gt; zero-pad). &lt;code&gt;locale&lt;/code&gt; is a BCP-47 string (&lt;code&gt;&#x27;de_DE&#x27;&lt;/code&gt; produces &lt;code&gt;&#x27;1.234&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;es_ES&#x27;&lt;/code&gt; produces &lt;code&gt;&#x27;1.234.567&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;fr_FR&#x27;&lt;/code&gt; groups with U+202F a NARROW no-break space, not U+00A0); when null it follows the process-global &lt;code&gt;Intl.defaultLocale&lt;/code&gt;. This is the CLDR-accurate counterpart to the dependency-free &lt;code&gt;formatNumberLocale&lt;/code&gt; free function (which inserts hand-supplied separator strings with no locale data and cannot express non-3-digit grouping or decimal-comma locales) — both are kept, trading the &lt;code&gt;intl&lt;/code&gt; dependency against accuracy. Rounding is half-up (&lt;code&gt;2.5&lt;/code&gt; produces &lt;code&gt;&#x27;3&#x27;&lt;/code&gt;); &lt;code&gt;double.infinity&lt;/code&gt;/&lt;code&gt;negativeInfinity&lt;/code&gt;/&lt;code&gt;nan&lt;/code&gt; render the locale symbols (infinity, minus-infinity, NaN), &lt;code&gt;-0.0&lt;/code&gt; is preserved as &lt;code&gt;&#x27;-0&#x27;&lt;/code&gt;, and an unknown/empty &lt;code&gt;locale&lt;/code&gt; throws &lt;code&gt;ArgumentError&lt;/code&gt; rather than silently falling back. Opt-in module pulling the already-present &lt;code&gt;intl&lt;/code&gt; dependency, mirroring &lt;code&gt;date_time_intl_display_extensions.dart&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DayInMonthCalculations&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/month_weekday_named_extensions.dart&quot;&gt;month_weekday_named_extensions.dart&lt;/a&gt;) — named, readability-focused wrappers over the existing &lt;code&gt;MonthWeekdayUtils&lt;/code&gt; core for the exact phrasings DST and public-holiday rule tables are written in: &lt;code&gt;firstMonday&lt;/code&gt;/&lt;code&gt;secondMonday&lt;/code&gt;/&lt;code&gt;thirdMonday&lt;/code&gt;, &lt;code&gt;firstThursday&lt;/code&gt;/&lt;code&gt;firstFriday&lt;/code&gt;/&lt;code&gt;firstSaturday&lt;/code&gt;/&lt;code&gt;firstSunday&lt;/code&gt;, &lt;code&gt;secondFriday&lt;/code&gt;/&lt;code&gt;secondSaturday&lt;/code&gt;/&lt;code&gt;secondSunday&lt;/code&gt;, &lt;code&gt;thirdSaturday&lt;/code&gt;/&lt;code&gt;thirdSunday&lt;/code&gt;, plus &lt;code&gt;lastMonday&lt;/code&gt;/&lt;code&gt;lastThursday&lt;/code&gt;/&lt;code&gt;lastFriday&lt;/code&gt;/&lt;code&gt;lastSaturday&lt;/code&gt;/&lt;code&gt;lastSunday&lt;/code&gt;. Every 1st/2nd/3rd/4th and &lt;code&gt;last*&lt;/code&gt; occurrence is &lt;strong&gt;non-null&lt;/strong&gt; (a calendar invariant — &lt;code&gt;thirdSaturday&lt;/code&gt;/&lt;code&gt;thirdSunday&lt;/code&gt; corrected from the over-cautious nullable original to match &lt;code&gt;thirdMonday&lt;/code&gt;); an out-of-range &lt;code&gt;month&lt;/code&gt; throws a named &lt;code&gt;StateError&lt;/code&gt; rather than returning a plausible-but-wrong neighboring-month date, and the genuinely-absent-able 5th-occurrence query stays on &lt;code&gt;MonthWeekdayUtils.nthWeekdayOfMonth&lt;/code&gt;. Adds &lt;code&gt;daysInFebruary(year)&lt;/code&gt; (leap-aware via the day-0-of-March trick, correct for ÷4/÷100/÷400, year 0, and negative years), plus &lt;code&gt;firstDayOfMonth(year, month)&lt;/code&gt; and &lt;code&gt;lastDay(year, month)&lt;/code&gt; month-boundary helpers (the latter handles the December month-13 roll-over). All results are local midnight &lt;code&gt;DateTime&lt;/code&gt;. Pure Dart, no Flutter, no external packages.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;RelativeTimeUtils&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_relative_predicate_extensions.dart&quot;&gt;date_time_relative_predicate_extensions.dart&lt;/a&gt;) — &lt;code&gt;DateTime&lt;/code&gt; extension with four net-new calendar-day predicates plus a descriptive relative-time formatter. &lt;code&gt;isTomorrow&lt;/code&gt; / &lt;code&gt;isYesterday&lt;/code&gt; compare &lt;strong&gt;date-only&lt;/strong&gt; via &lt;code&gt;isSameDateOnly&lt;/code&gt; (time-of-day irrelevant, so 23:59 vs 00:01 of the adjacent day still matches); &lt;code&gt;isOlderThanToday&lt;/code&gt; / &lt;code&gt;isOlderThanYesterday&lt;/code&gt; use &lt;strong&gt;exclusive start-of-day instant&lt;/strong&gt; boundaries via &lt;code&gt;isBefore&lt;/code&gt; (the exact midnight returns &lt;code&gt;false&lt;/code&gt;, one microsecond earlier &lt;code&gt;true&lt;/code&gt;). Each takes an optional &lt;code&gt;now&lt;/code&gt; for deterministic tests. The two families intentionally diverge on UTC-vs-local (field comparison vs instant comparison) and are documented as not-DST-safe across a transition (the fixed 24h add/subtract). &lt;code&gt;relativeTime({now, isDescriptive, isDescriptiveTimeSuffix, roundUp})&lt;/code&gt; returns verbose (&lt;code&gt;&quot;a moment ago&quot;&lt;/code&gt;, &lt;code&gt;&quot;about an hour from now&quot;&lt;/code&gt;, &lt;code&gt;&quot;23 years ago&quot;&lt;/code&gt;) or terse (&lt;code&gt;&quot;now&quot;&lt;/code&gt;, &lt;code&gt;&quot;~1h&quot;&lt;/code&gt;, &lt;code&gt;&quot;2y&quot;&lt;/code&gt;) phrasing, with an optional &lt;code&gt;ago&lt;/code&gt;/&lt;code&gt;from now&lt;/code&gt; suffix and floor-vs-round numeric units. Year-level spans use &lt;strong&gt;date-based calendar arithmetic&lt;/strong&gt; (subtract years, back off one if the anniversary has not yet passed) instead of &lt;code&gt;days / 365.25&lt;/code&gt;, fixing the off-by-one near anniversary boundaries (a &lt;code&gt;2000-12-31&lt;/code&gt; birthday reads &lt;code&gt;23 years&lt;/code&gt; on &lt;code&gt;2024-06-15&lt;/code&gt;, not &lt;code&gt;24&lt;/code&gt;). Pure Dart; depends only on &lt;code&gt;isSameDateOnly&lt;/code&gt; and &lt;code&gt;String.pluralize&lt;/code&gt;. The existing top-level &lt;code&gt;relativeTimeString&lt;/code&gt; is untouched — this is a distinct, additive API with a different output dialect.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;Map&amp;lt;String, V&amp;gt;.sortMap()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/map_initials_sort_extensions.dart&quot;&gt;map_initials_sort_extensions.dart&lt;/a&gt;) — &lt;code&gt;InitialsSortingUtils&lt;/code&gt; extension returning a &lt;code&gt;SplayTreeMap&amp;lt;String, V&amp;gt;&lt;/code&gt; ordered &quot;letters before numbers&quot; (from &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-sort-utils.md&quot;&gt;SPEC-sort-utils.md&lt;/a&gt;): letter-initial keys sort alphabetically and come first, number-initial keys follow with PURE integers in numeric order so &lt;code&gt;&#x27;10&#x27;&lt;/code&gt; sorts after &lt;code&gt;&#x27;2&#x27;&lt;/code&gt; (not before, the lexicographic trap). Letter detection is ASCII-only (&lt;code&gt;[a-zA-Z]&lt;/code&gt;), so accented/non-Latin/emoji/symbol/empty initials fall to a &lt;code&gt;String.compareTo&lt;/code&gt; lexicographic fallback — documented and tested. Fixes a latent correctness bug in the source: two distinct pure-int keys of equal value (&lt;code&gt;&#x27;007&#x27;&lt;/code&gt; vs &lt;code&gt;&#x27;7&#x27;&lt;/code&gt;) made &lt;code&gt;int.compareTo&lt;/code&gt; return &lt;code&gt;0&lt;/code&gt;, which would silently DROP one entry from the &lt;code&gt;SplayTreeMap&lt;/code&gt;; a lexicographic tie-break now retains every entry. Signed (&lt;code&gt;&#x27;-5&#x27;&lt;/code&gt;) and &lt;code&gt;int&lt;/code&gt;-overflowing (&lt;code&gt;&#x27;99999999999999999999&#x27;&lt;/code&gt;) keys correctly fall through to lexicographic without throwing. Pure Dart (&lt;code&gt;dart:collection&lt;/code&gt; only), no Flutter or external packages.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;sortNullableStringListInPlace(List&amp;lt;String?&amp;gt;)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/list/list_nullable_string_sort_extensions.dart&quot;&gt;list_nullable_string_sort_extensions.dart&lt;/a&gt;) — top-level helper that sorts a &lt;code&gt;List&amp;lt;String?&amp;gt;&lt;/code&gt; in place, case-insensitively, with &lt;code&gt;null&lt;/code&gt;s grouped to the front, returning &lt;code&gt;true&lt;/code&gt; on success (the &lt;code&gt;false&lt;/code&gt; branch is defensive — the comparison cannot throw for &lt;code&gt;String?&lt;/code&gt;). Delegates to the library&#x27;s existing &lt;code&gt;compareStringNullable&lt;/code&gt; (single source of truth for null-aware string ordering) rather than re-implementing the lowercase/null-coalescing, and wraps the comparison so callers avoid the extension-on-&lt;code&gt;List&amp;lt;String?&amp;gt;&lt;/code&gt; lint at each call site. Comparison is lowercased UTF-16 code-unit order, NOT locale-aware: &lt;code&gt;&#x27;é&#x27;&lt;/code&gt; (U+00E9) sorts after &lt;code&gt;&#x27;z&#x27;&lt;/code&gt;, and &lt;code&gt;null&lt;/code&gt;/&lt;code&gt;&#x27;&#x27;&lt;/code&gt; both collate as the empty string. Pure Dart, no Flutter or external packages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;compareAges(DateTime? a, DateTime? b, {bool ascending = true})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_time_compare_age_extensions.dart&quot;&gt;date_time_compare_age_extensions.dart&lt;/a&gt;) — nulls-LAST nullable &lt;code&gt;DateTime&lt;/code&gt; comparator with a direction flag, the counterpart to &lt;code&gt;compareDateTimeNullable&lt;/code&gt; (which places &lt;code&gt;null&lt;/code&gt; FIRST and has no direction option). Two &lt;code&gt;null&lt;/code&gt;s are equal (&lt;code&gt;0&lt;/code&gt;); a single &lt;code&gt;null&lt;/code&gt; sorts LAST in BOTH directions because the null branches return &lt;code&gt;1&lt;/code&gt;/&lt;code&gt;-1&lt;/code&gt; BEFORE the &lt;code&gt;ascending&lt;/code&gt; multiplier is applied (a regression that reordered them would float nulls to the top — pinned by tests). Non-null values compare by absolute instant (&lt;code&gt;DateTime.compareTo&lt;/code&gt;), so UTC-vs-local of the same moment is equal, DST transitions and calendar boundaries are irrelevant to ordering, and a one-microsecond difference is not truncated. Pure Dart, no Flutter or external packages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;MaterialShade&lt;/code&gt; / &lt;code&gt;MaterialShadeName&lt;/code&gt; / &lt;code&gt;MaterialShadeLevels&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/color/material_shade.dart&quot;&gt;color/material_shade.dart&lt;/a&gt;) — Flutter-scoped type-safe model of the ten &lt;code&gt;MaterialColor&lt;/code&gt; intensities (&lt;code&gt;50&lt;/code&gt;–&lt;code&gt;900&lt;/code&gt;). &lt;code&gt;value&lt;/code&gt; gives the swatch index integer (&lt;code&gt;Colors.blue[shade.value]&lt;/code&gt;), &lt;code&gt;onShade&lt;/code&gt; returns the contrast-correct foreground (black on the &lt;code&gt;50&lt;/code&gt;–&lt;code&gt;400&lt;/code&gt; band, white on &lt;code&gt;500&lt;/code&gt;–&lt;code&gt;900&lt;/code&gt;) per Material accessibility convention so callers never recompute luminance, and &lt;code&gt;displayName&lt;/code&gt; / &lt;code&gt;displayNameAnnotated&lt;/code&gt; give UI labels (&lt;code&gt;&quot;Shade 500&quot;&lt;/code&gt;, with &lt;code&gt;(Lightest)&lt;/code&gt;/&lt;code&gt;(Middle)&lt;/code&gt;/&lt;code&gt;(Darkest)&lt;/code&gt; on the band endpoints, plain ASCII space so persisted/compared labels stay stable). &lt;code&gt;MaterialShadeLevels&lt;/code&gt; exposes the canonical &lt;code&gt;lightShades&lt;/code&gt; / &lt;code&gt;darkShades&lt;/code&gt; / combined &lt;code&gt;shades&lt;/code&gt; const lists plus a seeded &lt;code&gt;randomShade({bool? isLightBackground, int? seed})&lt;/code&gt; that draws from the high-contrast band for the given background — &lt;code&gt;isLightBackground: true&lt;/code&gt; deliberately yields a DARK shade for a light background. The picker reuses the library own &lt;code&gt;Iterable.randomElement&lt;/code&gt; (the app-internal &lt;code&gt;RandomList.randomItem&lt;/code&gt; dependency was dropped).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ComputeStreamTransformer&amp;lt;TInput, TOutput&amp;gt;&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/compute_stream_transformer.dart&quot;&gt;async/compute_stream_transformer.dart&lt;/a&gt;) — generic &lt;code&gt;StreamTransformerBase&lt;/code&gt; that runs each incoming event through Flutter&#x27;s &lt;code&gt;compute()&lt;/code&gt; (a one-shot background isolate) and emits the result, keeping CPU-bound per-event work (model mapping, parsing, serialization, byte decoding) off the UI thread. A thin, type-parametric wrapper over &lt;code&gt;stream.asyncMap((d) =&amp;gt; compute(fn, d))&lt;/code&gt;: &lt;code&gt;asyncMap&lt;/code&gt; awaits each computation before pulling the next event, so output order always equals input order even when a later payload computes faster. &lt;code&gt;computeFunction&lt;/code&gt; must be a top-level/static function (a &lt;code&gt;compute&lt;/code&gt; requirement — capturing closures cannot be sent to an isolate) and its payload must be isolate-sendable. The optional &lt;code&gt;onError&lt;/code&gt; recovers a &lt;em&gt;compute&lt;/em&gt; failure into a fallback value (one fallback per failing event, no collapsing) instead of erroring the stream; a SOURCE-stream error is forwarded untouched because it is not a compute failure, and a throwing &lt;code&gt;onError&lt;/code&gt; surfaces its error rather than swallowing it. On web &lt;code&gt;compute()&lt;/code&gt; runs inline (no real isolate) but still produces correct results. Flutter-typed (needs &lt;code&gt;package:flutter/foundation.dart&lt;/code&gt;); the app-specific contact-conversion specializations from the source were dropped as proprietary.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.toColor&lt;/code&gt; / &lt;code&gt;Color.toHex&lt;/code&gt; / &lt;code&gt;Color.darken&lt;/code&gt; / &lt;code&gt;Color.lighten&lt;/code&gt; / &lt;code&gt;Color.readableOn&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/flutter/color_extensions.dart&quot;&gt;flutter/color_extensions.dart&lt;/a&gt;) -- Flutter &lt;code&gt;Color&lt;/code&gt; &amp;lt;-&amp;gt; hex-string conversion plus HSL lightness adjustment and a WCAG-contrast convergence helper (from &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-color-utils.md&quot;&gt;SPEC-color-utils.md&lt;/a&gt;). &lt;code&gt;String.toColor()&lt;/code&gt; parses a 6-digit &lt;code&gt;RRGGBB&lt;/code&gt; (forced opaque) or 8-digit &lt;code&gt;AARRGGBB&lt;/code&gt; hex string -- &lt;code&gt;#&lt;/code&gt; optional, case-insensitive, whitespace-trimmed -- returning &lt;code&gt;null&lt;/code&gt; for empty/wrong-length/non-hex input (a &lt;code&gt;0x&lt;/code&gt; prefix, leading sign, 3-digit shorthand, full-width or Arabic-Indic digits all yield &lt;code&gt;null&lt;/code&gt;; embedded &lt;code&gt;#&lt;/code&gt; is stripped everywhere). &lt;code&gt;Color.toHex({includeAlpha})&lt;/code&gt; formats as uppercase, zero-padded, fixed-width &lt;code&gt;#AARRGGBB&lt;/code&gt; / &lt;code&gt;#RRGGBB&lt;/code&gt;, clamping wide-gamut channels above &lt;code&gt;1.0&lt;/code&gt; so the width never breaks. &lt;code&gt;darken&lt;/code&gt;/&lt;code&gt;lighten&lt;/code&gt; adjust HSL lightness preserving hue/saturation/alpha and return the color unchanged for out-of-range, &lt;code&gt;NaN&lt;/code&gt;, or infinite amounts (lenient, no-throw contract). &lt;code&gt;readableOn(background, {minRatio = 4.5, step = 0.04, maxSteps = 16})&lt;/code&gt; darkens (light bg) or lightens (dark bg) the foreground until it clears the WCAG target, capped by &lt;code&gt;maxSteps&lt;/code&gt; so an unreachable pair (mid-gray on mid-gray, identical fg/bg, &lt;code&gt;step == 0&lt;/code&gt;) returns best-effort instead of spinning. Flutter-typed; kept in its own &lt;code&gt;lib/flutter/&lt;/code&gt; file so the pure-Dart &lt;code&gt;niche/color_utils.dart&lt;/code&gt; int-channel math stays Flutter-free.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;TextDirectionParseUtils.tryParse&lt;/code&gt; + &lt;code&gt;TextWritingDirection&lt;/code&gt; enum&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/text_direction_parse_utils.dart&quot;&gt;string/text_direction_parse_utils.dart&lt;/a&gt;) — pure-Dart parser for the universal CSS/HTML/Unicode &lt;code&gt;ltr&lt;/code&gt; / &lt;code&gt;rtl&lt;/code&gt; direction tokens, returning a package-local &lt;code&gt;enum TextWritingDirection { ltr, rtl }&lt;/code&gt; (from &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-string-text-direction.md&quot;&gt;SPEC-string-text-direction.md&lt;/a&gt;). The Flutter-typed &lt;code&gt;TextDirection&lt;/code&gt; form from the source app was deliberately NOT ported — returning &lt;code&gt;dart:ui&lt;/code&gt;&#x27;s &lt;code&gt;TextDirection&lt;/code&gt; for a one-line wrapper would pull Flutter into this otherwise Flutter-free package; callers map to the framework type at the UI boundary. &lt;code&gt;tryParse&lt;/code&gt; is case-insensitive and strips only LEADING/TRAILING whitespace via &lt;code&gt;String.trim()&lt;/code&gt; — which also strips Unicode whitespace (U+00A0 NBSP, thin space, ideographic space) but NOT zero-width chars (U+200B, U+FEFF BOM) or the direction marks themselves (LRM U+200E, RLM U+200F), all of which therefore yield &lt;code&gt;null&lt;/code&gt;. No substring or partial matching (&lt;code&gt;&#x27;ltrx&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;l t r&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;ltr;&#x27;&lt;/code&gt; → null) and no Unicode normalization/folding (full-width &lt;code&gt;&#x27;ｌｔｒ&#x27;&lt;/code&gt;, accented &lt;code&gt;&#x27;ĺtr&#x27;&lt;/code&gt;, emoji → null). ASCII-only lowercasing makes the result locale-independent (no Turkish-I pitfall). Total function: returns &lt;code&gt;null&lt;/code&gt; (never throws) for null, empty, whitespace-only, numeric strings, control characters, and arbitrarily long junk. Pure Dart, no Flutter, no external packages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;List&amp;lt;String&amp;gt;.joinWithFinal&lt;/code&gt; / &lt;code&gt;anyContains&lt;/code&gt; / &lt;code&gt;removeTrimmedEmpty&lt;/code&gt; / &lt;code&gt;firstNotEqualTo&lt;/code&gt; / &lt;code&gt;toLowerCase&lt;/code&gt; / &lt;code&gt;toUpperCase&lt;/code&gt;, plus &lt;code&gt;List&amp;lt;String?&amp;gt;.toLowerCase&lt;/code&gt; / &lt;code&gt;toUpperCase&lt;/code&gt; / &lt;code&gt;removeNullsAndTrimmedEmpty&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/list/list_string_extensions.dart&quot;&gt;list/list_string_extensions.dart&lt;/a&gt;) — seven members added to the existing &lt;code&gt;ListStringExtensions&lt;/code&gt; plus a new &lt;code&gt;NullableListStringExtensions on List&amp;lt;String?&amp;gt;&lt;/code&gt; (from &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-string-list-helpers.md&quot;&gt;SPEC-string-list-helpers.md&lt;/a&gt;). &lt;code&gt;joinWithFinal({separator, finalSeparator})&lt;/code&gt; joins a list into a British-style sentence with a distinct final connector (&lt;code&gt;[&#x27;a&#x27;,&#x27;b&#x27;,&#x27;c&#x27;]&lt;/code&gt; -&amp;gt; &lt;code&gt;&#x27;a, b and c&#x27;&lt;/code&gt;) — distinct from &lt;code&gt;joinDisplayList&lt;/code&gt;&#x27;s Oxford-comma form: it adds &lt;strong&gt;no&lt;/strong&gt; comma before the connector and does &lt;strong&gt;no&lt;/strong&gt; trim/dedupe, so a blank entry survives (&lt;code&gt;[&#x27;a&#x27;,&#x27;&#x27;,&#x27;c&#x27;]&lt;/code&gt; -&amp;gt; &lt;code&gt;&#x27;a,  and c&#x27;&lt;/code&gt;); returns &lt;code&gt;null&lt;/code&gt; for empty and the sole item for length 1. &lt;code&gt;anyContains(check, {caseSensitive})&lt;/code&gt; is true when any element contains &lt;code&gt;check&lt;/code&gt; as a substring (null/empty &lt;code&gt;check&lt;/code&gt; or empty list -&amp;gt; &lt;code&gt;false&lt;/code&gt;; case-insensitive lowercases both sides once). &lt;code&gt;removeTrimmedEmpty({trim})&lt;/code&gt; drops entries empty after trimming and returns &lt;code&gt;null&lt;/code&gt; (never &lt;code&gt;[]&lt;/code&gt;) so a caller distinguishes &quot;no items&quot; from a result; with &lt;code&gt;trim: false&lt;/code&gt; only literally empty strings are dropped (a &lt;code&gt;&#x27;   &#x27;&lt;/code&gt; survives). &lt;code&gt;firstNotEqualTo(value)&lt;/code&gt; returns the first element not equal to &lt;code&gt;value&lt;/code&gt; (case-sensitive), or the first element when &lt;code&gt;value&lt;/code&gt; is null, else &lt;code&gt;null&lt;/code&gt;. &lt;code&gt;toLowerCase&lt;/code&gt;/&lt;code&gt;toUpperCase&lt;/code&gt; are invariant-culture element-wise mappings (Turkish &lt;code&gt;&#x27;i&#x27;&lt;/code&gt;-&amp;gt;&lt;code&gt;&#x27;I&#x27;&lt;/code&gt;, German &lt;code&gt;&#x27;ß&#x27;&lt;/code&gt;-&amp;gt;&lt;code&gt;&#x27;SS&#x27;&lt;/code&gt;, emoji round-trip unchanged). The nullable variants drop nulls via core-Dart &lt;code&gt;nonNulls&lt;/code&gt; first. Pure Dart; reuses &lt;code&gt;package:collection&lt;/code&gt; (&lt;code&gt;firstOrNull&lt;/code&gt;/&lt;code&gt;firstWhereOrNull&lt;/code&gt;) and the library&#x27;s own &lt;code&gt;String.nullIfEmpty(trimFirst:)&lt;/code&gt; / &lt;code&gt;List.nullIfEmpty()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ColorUtils&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/flutter/material_color_utils.dart&quot;&gt;flutter/material_color_utils.dart&lt;/a&gt;) — three Flutter Material palette helpers with no app-domain knowledge (from &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-color-material.md&quot;&gt;SPEC-color-material.md&lt;/a&gt;). &lt;code&gt;materialColors&lt;/code&gt; is the canonical ordered, duplicate-free, immutable &lt;code&gt;const&lt;/code&gt; list of the 19 primary &lt;code&gt;MaterialColor&lt;/code&gt; swatches (&lt;code&gt;Colors.red&lt;/code&gt;…&lt;code&gt;Colors.blueGrey&lt;/code&gt;) for indexing a fixed palette (charts, avatars, tags, deterministic per-index colors). &lt;code&gt;getWhiteContrastColor(int)&lt;/code&gt; maps ANY int — negatives, values past 99, and &lt;code&gt;int&lt;/code&gt; min/max — deterministically to one of 100 fully-opaque colors biased to contrast against white, normalizing via &lt;code&gt;((n % 100) + 100) % 100&lt;/code&gt; so the &lt;code&gt;0&lt;/code&gt;–&lt;code&gt;9&lt;/code&gt; palette indices stay in range on the VM and on web (JS-double ints) alike, then alpha-blending a tens-digit primary over a ones-digit secondary; every result is alpha &lt;code&gt;1.0&lt;/code&gt; and clears a measured WCAG contrast floor against white (lightest blend ≈ &lt;code&gt;1.22&lt;/code&gt;). &lt;code&gt;getColor(MaterialShade, MaterialColor)&lt;/code&gt; is a typed, exhaustive-switch swatch accessor replacing the stringly &lt;code&gt;color[500]!&lt;/code&gt;. Reuses the shared &lt;code&gt;MaterialShade&lt;/code&gt; from &lt;code&gt;lib/color/material_shade.dart&lt;/code&gt; rather than redefining it. Flutter-typed (needs &lt;code&gt;Color&lt;/code&gt;/&lt;code&gt;MaterialColor&lt;/code&gt;); no external packages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;HebrewDateConverter&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/hebrew_date_converter.dart&quot;&gt;datetime/hebrew_date_converter.dart&lt;/a&gt;) — net-new Gregorian→Hebrew (Jewish) lunisolar calendar converter and formatter (from &lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/plans/SPEC-datetime-hebrew-converter.md&quot;&gt;SPEC-datetime-hebrew-converter.md&lt;/a&gt;), the library&#x27;s first non-Gregorian calendar system. Implements the fixed arithmetic Hebrew calendar from &quot;Calendrical Calculations&quot; (Reingold &amp;amp; Dershowitz) via a Julian-Day-Number bridge: deterministic, offline, no &lt;code&gt;intl&lt;/code&gt;, no I/O. &lt;code&gt;fromGregorian(DateTime)&lt;/code&gt; returns a plain &lt;code&gt;({int year, int month, int day})&lt;/code&gt; record (Hebrew year 57xx, month 1–13 in display order, day 1–30); &lt;code&gt;isHebrewLeapYear&lt;/code&gt; / &lt;code&gt;monthsInHebrewYear&lt;/code&gt; (12 or 13) / &lt;code&gt;daysInHebrewYear&lt;/code&gt; (353–355 regular, 383–385 leap) / &lt;code&gt;daysInHebrewMonth&lt;/code&gt; (29 or 30, with variable-length Cheshvan/Kislev and the four Rosh-Hashanah postponement rules) expose the calendar arithmetic. &lt;code&gt;getMonthName(month, year, {useHebrew})&lt;/code&gt; resolves the leap-year Adar I / Adar II split (and plain Adar in a regular year) in English transliteration or Hebrew script; &lt;code&gt;formatDayHebrew&lt;/code&gt; / &lt;code&gt;formatYearHebrew&lt;/code&gt; render gematria numerals (with the 15→ט״ו / 16→ט״ז substitutions that avoid spelling a divine name, and the thousands digit elided for years); &lt;code&gt;format&lt;/code&gt; / &lt;code&gt;formatDayMonth&lt;/code&gt; compose the full strings (&lt;code&gt;&#x27;1 Tishrei 5785&#x27;&lt;/code&gt; or &lt;code&gt;&#x27;א׳ תִּשְׁרֵי תשפ״ה&#x27;&lt;/code&gt;). Civil-date mapping by design: only the input&#x27;s year/month/day are read — time-of-day, UTC/local flag, and sunset are ignored, so an evening &lt;code&gt;DateTime&lt;/code&gt; is NOT advanced to the next Hebrew day. &lt;code&gt;abstract final&lt;/code&gt; namespace, all static; pure Dart, only &lt;code&gt;package:meta&lt;/code&gt; (&lt;code&gt;@useResult&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.5.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-5-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-5-1</id>
    <updated>2026-06-11T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Exact length (meters ↔ feet) and weight (kilograms ↔ pounds) unit conversions with full-precision factors, plus English string formatters that handle the 12-inch carry boundary, negative values, and non-finite input.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;LengthConversionUtils&lt;/code&gt; / &lt;code&gt;WeightConversionUtils&lt;/code&gt; in &lt;code&gt;lib/num/unit_conversion_utils.dart&lt;/code&gt;: dependency-free &lt;code&gt;convert*&lt;/code&gt; primitives (NaN/infinity propagate) and &lt;code&gt;*ToString&lt;/code&gt; formatters. &lt;code&gt;feetToString&lt;/code&gt; carries rounded inches into feet so it never renders &quot;12 inches&quot;, signs negative heights, and falls back safely on NaN/∞.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.preventOrphans({int minWrapChars = 4})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_wrap_extensions.dart&quot;&gt;string_wrap_extensions.dart&lt;/a&gt;) — typography helper that swaps a breaking space for a non-breaking space (U+00A0) wherever a wrap there would strand a token shorter than &lt;code&gt;minWrapChars&lt;/code&gt; (a lone &lt;code&gt;…&lt;/code&gt;, &lt;code&gt;I&lt;/code&gt;, &lt;code&gt;(5)&lt;/code&gt;, &lt;code&gt;the&lt;/code&gt;). Symmetric rule (fuses when EITHER adjacent token is short, anywhere in the line), idempotent, pure-Dart with no dependencies. Splits on a single ASCII space only; code-unit length, not grapheme width.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.4.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-4-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-4-1</id>
    <updated>2026-06-11T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Small ergonomic utilities pulled from the Saropa Contacts adoption review — trailing-character trim, an integer-string predicate, and a natural-language Oxford-comma list join — so the app can delete its hand-rolled local copies.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.removeLastChars(int count)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_manipulation_extensions.dart&quot;&gt;string_manipulation_extensions.dart&lt;/a&gt;) — drop the last &lt;em&gt;N&lt;/em&gt; characters, bounds-safe: a zero/negative &lt;code&gt;count&lt;/code&gt; is a no-op and a &lt;code&gt;count&lt;/code&gt; at or above &lt;code&gt;length&lt;/code&gt; returns &lt;code&gt;&#x27;&#x27;&lt;/code&gt; rather than throwing — so consumers stop hand-rolling the &lt;code&gt;substring(0, length - n)&lt;/code&gt; guard (Saropa Contacts carried exactly this in &lt;code&gt;string_utils_local.dart&lt;/code&gt;). Generalizes the existing single-character &lt;code&gt;removeLastChar&lt;/code&gt;. Counts UTF-16 code units like &lt;code&gt;String.length&lt;/code&gt;, not graphemes (documented). ENH-001.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.isNumber&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_number_extensions.dart&quot;&gt;string_number_extensions.dart&lt;/a&gt;) — a getter that is &lt;code&gt;true&lt;/code&gt; when the string parses as an integer via &lt;code&gt;int.tryParse&lt;/code&gt;, so consumers stop writing &lt;code&gt;int.tryParse(s) != null&lt;/code&gt; inline. Stricter than the existing &lt;code&gt;isNumeric()&lt;/code&gt; (which parses as &lt;code&gt;double&lt;/code&gt;): a decimal (&lt;code&gt;&#x27;4.2&#x27;&lt;/code&gt;) or scientific-notation (&lt;code&gt;&#x27;1e3&#x27;&lt;/code&gt;) value is &lt;code&gt;false&lt;/code&gt; here but &lt;code&gt;true&lt;/code&gt; for &lt;code&gt;isNumeric()&lt;/code&gt;. Inherits &lt;code&gt;int.tryParse&lt;/code&gt;&#x27;s rules — accepts a leading sign and &lt;code&gt;0x&lt;/code&gt;/&lt;code&gt;0X&lt;/code&gt; hex prefix, trims surrounding whitespace, and returns &lt;code&gt;false&lt;/code&gt; for a magnitude that overflows the native 64-bit &lt;code&gt;int&lt;/code&gt;. ENH-002.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;List&amp;lt;String&amp;gt;.joinDisplayList(...)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/list/list_string_extensions.dart&quot;&gt;list_string_extensions.dart&lt;/a&gt;) — join strings into the natural-language form (&lt;code&gt;&#x27;Alice&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;Alice and Bob&#x27;&lt;/code&gt;, &lt;code&gt;&#x27;Alice, Bob, and Carol&#x27;&lt;/code&gt;) instead of &lt;code&gt;join()&lt;/code&gt;&#x27;s bare &lt;code&gt;a, b, c&lt;/code&gt;. Trims each entry and drops blank/whitespace-only ones, de-duplicates by default (&lt;code&gt;isUnique&lt;/code&gt;, via the existing &lt;code&gt;toUnique&lt;/code&gt;), and returns &lt;code&gt;null&lt;/code&gt; — not &lt;code&gt;&#x27;&#x27;&lt;/code&gt; — for an effectively-empty input so callers can distinguish &quot;no items&quot;. The three joiners (&lt;code&gt;joiner&lt;/code&gt; / &lt;code&gt;doubleJoiner&lt;/code&gt; / &lt;code&gt;lastJoiner&lt;/code&gt;, the last defaulting to the Oxford comma &lt;code&gt;&#x27;, and &#x27;&lt;/code&gt;) are named params for locale/style control. Reuses &lt;code&gt;toUnique&lt;/code&gt; + &lt;code&gt;takeSafe&lt;/code&gt;. ENH-003.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Iterable&amp;lt;T&amp;gt;.randomElement({int? seed})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/iterable_extensions.dart&quot;&gt;iterable_extensions.dart&lt;/a&gt;) — the existing no-arg &lt;code&gt;randomElement()&lt;/code&gt; gains an optional &lt;code&gt;seed&lt;/code&gt;, so the pick can be made deterministic (same seed + same iterable → same element) for reproducible demo data and stable widget tests. Routes through the library&#x27;s own &lt;code&gt;CommonRandom&lt;/code&gt; RNG, replacing the bare &lt;code&gt;dart:math&lt;/code&gt; &lt;code&gt;Random()&lt;/code&gt;. Default (no seed) behavior is unchanged — still a fresh pick each run. Picks by &lt;code&gt;elementAt&lt;/code&gt;, so the iterable is not materialized to a list. ENH-004.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String?.compareStringNullable(...)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_compare_extensions.dart&quot;&gt;string_compare_extensions.dart&lt;/a&gt;) — a null-tolerant string comparator, the counterpart to the existing &lt;code&gt;compareDateTimeNullable&lt;/code&gt; for &lt;code&gt;DateTime?&lt;/code&gt;. Sorting a &lt;code&gt;List&amp;lt;String?&amp;gt;&lt;/code&gt; (or objects by a nullable string field) no longer needs a hand-rolled &lt;code&gt;(a ?? &#x27;&#x27;).compareTo(b ?? &#x27;&#x27;)&lt;/code&gt;. Mirrors the DateTime convention — &lt;code&gt;null&lt;/code&gt; sorts &lt;strong&gt;before&lt;/strong&gt; non-null by default — with a &lt;code&gt;caseSensitive&lt;/code&gt; flag (default case-insensitive) and a &lt;code&gt;nullsLast&lt;/code&gt; flag to push &lt;code&gt;null&lt;/code&gt;s to the end. Comparison is &lt;code&gt;String.compareTo&lt;/code&gt; (UTF-16 code unit, not locale collation; documented). New file, exported from the barrel. ENH-005.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;StreamDebounceExtensions&amp;lt;T&amp;gt; on Stream&amp;lt;T&amp;gt;&lt;/code&gt; — &lt;code&gt;debounce&lt;/code&gt; / &lt;code&gt;debounceDistinct&lt;/code&gt; / &lt;code&gt;debounceAfterFirst&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/stream_debounce_utils.dart&quot;&gt;stream_debounce_utils.dart&lt;/a&gt;) — the existing top-level &lt;code&gt;debounceStream&lt;/code&gt; function gains a chainable extension form so reactive pipelines read as &lt;code&gt;stream.debounce(d).map(...)&lt;/code&gt;. Plus two variants a database-watch UI needs: &lt;code&gt;debounceDistinct(d, {equals})&lt;/code&gt; debounces &lt;strong&gt;and&lt;/strong&gt; suppresses unchanged values, and &lt;code&gt;debounceAfterFirst(d)&lt;/code&gt; emits the &lt;strong&gt;first&lt;/strong&gt; value instantly then debounces the tail — the correct shape for a &lt;code&gt;.watch()&lt;/code&gt; stream (Drift, Isar &lt;code&gt;fireImmediately: true&lt;/code&gt;) where the initial render must be instant but bulk writes should coalesce. &lt;code&gt;debounceStream&lt;/code&gt; is unchanged (back-compat); its deferred-listen single-subscription controller — which guarantees a late subscriber still receives the first emission (a fixed perpetual-spinner bug) — is now shared by all variants and has a dedicated regression test. ENH-006.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;MonthWeekdayUtils.nthWeekdayOfMonth&lt;/code&gt; / &lt;code&gt;lastWeekdayOfMonth&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/month_weekday_utils.dart&quot;&gt;month_weekday_utils.dart&lt;/a&gt;) — static &lt;code&gt;(year, month)&lt;/code&gt;-keyed weekday-occurrence helpers, the no-seed counterpart to the existing &lt;code&gt;DateTime.getNthWeekdayOfMonthInYear&lt;/code&gt; instance extension. Calendar-construction code (DST rules, holiday tables) computes occurrences for an arbitrary year/month with no seed &lt;code&gt;DateTime&lt;/code&gt; to hang the instance call on; these take the year/month explicitly. &lt;code&gt;nthWeekdayOfMonth(year, month, n, weekday)&lt;/code&gt; returns the &lt;em&gt;n&lt;/em&gt;th weekday or &lt;code&gt;null&lt;/code&gt; when it does not exist (a 5th Friday in a 4-Friday month), guarding out-of-range &lt;code&gt;n&lt;/code&gt;/&lt;code&gt;month&lt;/code&gt;/&lt;code&gt;weekday&lt;/code&gt; so an invalid argument can&#x27;t compute a neighboring month; &lt;code&gt;lastWeekdayOfMonth(year, month, weekday)&lt;/code&gt; (&quot;last Sunday of October&quot;) has no prior equivalent — the extension only counts from the start. Reuses the instance algorithm for the nth case. New file, exported from the barrel. ENH-007.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseCsv&lt;/code&gt; + &lt;code&gt;CsvParseResult&lt;/code&gt; / &lt;code&gt;CsvRowError&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/csv_parse_utils.dart&quot;&gt;csv_parse_utils.dart&lt;/a&gt;) — an error-accumulating multi-line CSV parser layered over the existing single-line &lt;code&gt;parseCsvLine&lt;/code&gt;, for user-facing imports that must report every bad row rather than abort on the first. Splits on &lt;code&gt;\n&lt;/code&gt; (strips trailing &lt;code&gt;\r&lt;/code&gt;, skips blank lines), and sends a row to &lt;code&gt;result.errors&lt;/code&gt; (with 1-based line number, raw line, and reason) instead of &lt;code&gt;result.rows&lt;/code&gt; on an unterminated quote (odd &lt;code&gt;&quot;&lt;/code&gt; count) or a column-count mismatch — the expected width coming from &lt;code&gt;expectedColumns&lt;/code&gt; or, when &lt;code&gt;hasHeader&lt;/code&gt; is true, the header row. ENH-008 (part 1).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;retryWithPolicy&lt;/code&gt; gains &lt;code&gt;retryIf&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/retry_policy_utils.dart&quot;&gt;retry_policy_utils.dart&lt;/a&gt;) — a &lt;code&gt;bool Function(Object error)? retryIf&lt;/code&gt; predicate so only transient failures are retried; returning &lt;code&gt;false&lt;/code&gt; rethrows immediately without consuming the remaining attempts, the delay, or firing &lt;code&gt;onRetry&lt;/code&gt; (which already existed). &lt;code&gt;retryWithJitter&lt;/code&gt; is intentionally untouched. ENH-008 (part 2).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;partialRatio&lt;/code&gt; / &lt;code&gt;tokenSortRatio&lt;/code&gt; / &lt;code&gt;tokenSetRatio&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/fuzzy_search_utils.dart&quot;&gt;fuzzy_search_utils.dart&lt;/a&gt;) — fuzzywuzzy-style standalone string-similarity scores in &lt;code&gt;[0, 1]&lt;/code&gt;, so a consumer doing single-best-match selection with its own threshold can compute these directly and drop the external &lt;code&gt;fuzzywuzzy&lt;/code&gt; dependency. (The per-result &lt;code&gt;score&lt;/code&gt; on &lt;code&gt;fuzzySearch&lt;/code&gt; was already public — this adds the missing ratio &lt;em&gt;variants&lt;/em&gt;.) &lt;code&gt;partialRatio&lt;/code&gt; slides a window for the best substring alignment (&lt;code&gt;&#x27;New York&#x27;&lt;/code&gt; vs &lt;code&gt;&#x27;New York City&#x27;&lt;/code&gt; → 1.0); &lt;code&gt;tokenSortRatio&lt;/code&gt; sorts tokens first for order-insensitivity; &lt;code&gt;tokenSetRatio&lt;/code&gt; compares the shared token core against each side&#x27;s remainder (forgiving of extra words). All case-insensitive, reusing &lt;code&gt;LevenshteinUtils.ratio&lt;/code&gt;. ENH-008 (part 3).&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.3.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-3-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-3-0</id>
    <updated>2026-06-10T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Ten new utilities from the Roadmap-to-700 set: a forgiving JSON-to-model reader, a CSV writer, a path-template matcher, stream zip/combine operators, multi-key grouping, a swappable cache interface with a write-through loader, date-format presets, ICU plural/select message lite, timing wrappers, and a JSON pretty-printer.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;JsonModelReader&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/json_model_mapper_utils.dart&quot;&gt;json_model_mapper_utils.dart&lt;/a&gt;) — reads typed fields (&lt;code&gt;requireString&lt;/code&gt;/&lt;code&gt;requireInt&lt;/code&gt;/&lt;code&gt;requireBool&lt;/code&gt;/&lt;code&gt;requireDouble&lt;/code&gt;/&lt;code&gt;requireList&lt;/code&gt;/&lt;code&gt;optionalString&lt;/code&gt;/&lt;code&gt;child&lt;/code&gt;) from decoded JSON, accumulating a &lt;code&gt;ValidationErrors&lt;/code&gt; list instead of throwing on the first bad field. Distinguishes missing (&lt;code&gt;code: &#x27;missing&#x27;&lt;/code&gt;) from wrong-type (&lt;code&gt;code: &#x27;type&#x27;&lt;/code&gt;), widens &lt;code&gt;int&lt;/code&gt;→&lt;code&gt;double&lt;/code&gt;, and reports nested failures with dotted paths (&lt;code&gt;address.city&lt;/code&gt;) on a shared collection. Roadmap #637.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;writeCsvLine&lt;/code&gt; / &lt;code&gt;writeCsv&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/csv_writer_utils.dart&quot;&gt;csv_writer_utils.dart&lt;/a&gt;) — the inverse of &lt;code&gt;parseCsvLine&lt;/code&gt;: encode rows to CSV with RFC 4180 auto-quoting (a field is quoted only when it contains the delimiter, a quote, CR, or LF; embedded quotes are doubled). Configurable &lt;code&gt;delimiter&lt;/code&gt; (TSV via &lt;code&gt;\t&lt;/code&gt;), &lt;code&gt;eol&lt;/code&gt; (CRLF default), and &lt;code&gt;forceQuote&lt;/code&gt;. Round-trips with &lt;code&gt;parseCsvLine&lt;/code&gt;. Roadmap #622.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;UriPattern&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/url/uri_pattern_utils.dart&quot;&gt;uri_pattern_utils.dart&lt;/a&gt;) — compile a path template (&lt;code&gt;/users/{id}/posts/{slug}&lt;/code&gt;) and &lt;code&gt;match()&lt;/code&gt; concrete paths to extract named segment params, or null on no match. Supports a typed &lt;code&gt;{id:int}&lt;/code&gt; constraint (matches only integer segments) and ignores leading/trailing slashes. Segment-based, no regex. Roadmap #630.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;zipStreams&lt;/code&gt; / &lt;code&gt;combineLatestStreams&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/stream_combine_utils.dart&quot;&gt;stream_combine_utils.dart&lt;/a&gt;) — &lt;code&gt;zipStreams&lt;/code&gt; pairs two streams by index (lock-step, drops the unpaired tail); &lt;code&gt;combineLatestStreams&lt;/code&gt; emits the combination of the latest values whenever either source emits, once both have produced a value. Both forward errors, complete when their sources do, and cancel sources on cancel. &lt;code&gt;combineLatest&lt;/code&gt; subscribes lazily on listen. Roadmap #661.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;groupByKeys&lt;/code&gt; / &lt;code&gt;aggregateByKeys&lt;/code&gt; / &lt;code&gt;MultiKey&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/multi_key_group_utils.dart&quot;&gt;multi_key_group_utils.dart&lt;/a&gt;) — group an iterable by several key selectors at once into value-equal &lt;code&gt;MultiKey&lt;/code&gt; buckets (a raw &lt;code&gt;List&lt;/code&gt; can&#x27;t be a map key), then optionally reduce each bucket with an aggregator (count/sum/avg per &lt;code&gt;(country, year)&lt;/code&gt;). Preserves first-seen order. Roadmap #477.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Cache&amp;lt;K, V&amp;gt;&lt;/code&gt; interface + &lt;code&gt;WriteThroughCache&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/caching/cache_interface.dart&quot;&gt;cache_interface.dart&lt;/a&gt;) — a common &lt;code&gt;get&lt;/code&gt;/&lt;code&gt;set&lt;/code&gt;/&lt;code&gt;clear&lt;/code&gt; contract now implemented by &lt;code&gt;LruCache&lt;/code&gt;, &lt;code&gt;TtlCache&lt;/code&gt;, and &lt;code&gt;SizeLimitCache&lt;/code&gt;, so call sites can depend on &quot;a cache&quot; and swap the eviction policy freely. &lt;code&gt;WriteThroughCache&lt;/code&gt; wraps any &lt;code&gt;Cache&lt;/code&gt; with an async loader: a miss loads once and stores (read-through), concurrent misses for the same key share one in-flight load (thundering-herd guard), and a failed load is not cached so the next call retries. Roadmap #523.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;formatDateShort&lt;/code&gt; / &lt;code&gt;formatDateMedium&lt;/code&gt; / &lt;code&gt;formatDateLong&lt;/code&gt; + &lt;code&gt;DateFormatNames&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/datetime/date_format_preset_utils.dart&quot;&gt;date_format_preset_utils.dart&lt;/a&gt;) — dashboard date presets without the &lt;code&gt;intl&lt;/code&gt; dependency: short is ISO &lt;code&gt;2026-06-10&lt;/code&gt; (locale-independent, sorts lexically), medium is &lt;code&gt;Jun 10, 2026&lt;/code&gt;, long is &lt;code&gt;Wednesday, June 10, 2026&lt;/code&gt;. Month/weekday names are injected via &lt;code&gt;DateFormatNames&lt;/code&gt; (English default) so the presets render in any language while the layout stays fixed. Roadmap #615.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;icuPlural&lt;/code&gt; / &lt;code&gt;icuSelect&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/icu_message_utils.dart&quot;&gt;icu_message_utils.dart&lt;/a&gt;) — ICU MessageFormat lite: &lt;code&gt;icuPlural(count, {zero, one, other})&lt;/code&gt; picks a plural form (English cardinal rules) and substitutes &lt;code&gt;#&lt;/code&gt; with the count; &lt;code&gt;icuSelect(value, cases, {other})&lt;/code&gt; picks a gendered/category form. No parser, no &lt;code&gt;intl&lt;/code&gt;. Unlike &lt;code&gt;String.pluralize&lt;/code&gt; (appends an &lt;code&gt;s&lt;/code&gt;), these choose among caller-supplied, locale-routable forms. Roadmap #414.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;observeAsync&lt;/code&gt; / &lt;code&gt;observeSync&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/observability_utils.dart&quot;&gt;observability_utils.dart&lt;/a&gt;) — wrap an operation to measure its wall-clock duration and report the outcome through optional &lt;code&gt;onSuccess(elapsed, result)&lt;/code&gt; / &lt;code&gt;onError(elapsed, error, stackTrace)&lt;/code&gt; hooks (logging, metrics, tracing), returning the result unchanged or rethrowing the original error. Transparent: timing only, never swallows a failure. Roadmap #680.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;prettyPrintJson&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/json_pretty_print_utils.dart&quot;&gt;json_pretty_print_utils.dart&lt;/a&gt;) — render decoded JSON as an indented string with a configurable &lt;code&gt;indent&lt;/code&gt; width (&lt;code&gt;0&lt;/code&gt; for compact single-line) and optional recursive &lt;code&gt;sortKeys&lt;/code&gt; (via &lt;code&gt;canonicalizeJson&lt;/code&gt;) for stable, diff-friendly output. Roadmap #436.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;tokenize&lt;/code&gt; + &lt;code&gt;TokenRule&lt;/code&gt; / &lt;code&gt;Token&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/tokenizer_pipeline_utils.dart&quot;&gt;tokenizer_pipeline_utils.dart&lt;/a&gt;) — a reusable lexer core: walk input taking the first ordered &lt;code&gt;TokenRule&lt;/code&gt; that matches as a prefix, emitting &lt;code&gt;Token(type, value, start)&lt;/code&gt; or skipping (&lt;code&gt;shouldSkip&lt;/code&gt; rules like whitespace/comments). Rule order resolves ambiguity deterministically; an unmatched position throws &lt;code&gt;FormatException&lt;/code&gt; with the offset; zero-width matches are rejected so the cursor always advances. Roadmap #434.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;diffSequences&lt;/code&gt; / &lt;code&gt;diffWords&lt;/code&gt; / &lt;code&gt;diffSentences&lt;/code&gt; + &lt;code&gt;SeqDiffOp&lt;/code&gt; / &lt;code&gt;SeqDiffKind&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/text_diff_structured_utils.dart&quot;&gt;text_diff_structured_utils.dart&lt;/a&gt;) — LCS-based structured diff returning an ordered &lt;code&gt;equal&lt;/code&gt;/&lt;code&gt;insert&lt;/code&gt;/&lt;code&gt;delete&lt;/code&gt; edit script (not a rendered string) so a UI can color or animate changes. &lt;code&gt;diffWords&lt;/code&gt;/&lt;code&gt;diffSentences&lt;/code&gt; reuse the existing &lt;code&gt;tokenizeWords&lt;/code&gt;/&lt;code&gt;tokenizeSentences&lt;/code&gt; splitters; the generic &lt;code&gt;diffSequences&amp;lt;T&amp;gt;&lt;/code&gt; engine works on any list. Roadmap #415.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;empiricalCdf&lt;/code&gt; / &lt;code&gt;cdfAt&lt;/code&gt; / &lt;code&gt;cumulativeHistogram&lt;/code&gt; + &lt;code&gt;CdfPoint&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/stats/cdf_utils.dart&quot;&gt;cdf_utils.dart&lt;/a&gt;) — the cumulative view of numeric samples: &lt;code&gt;empiricalCdf&lt;/code&gt; returns one &lt;code&gt;CdfPoint(value, p)&lt;/code&gt; per distinct value (p = fraction ≤ value), &lt;code&gt;cdfAt&lt;/code&gt; evaluates the CDF at a point, and &lt;code&gt;cumulativeHistogram&lt;/code&gt; is the running total of the existing &lt;code&gt;histogramFixed&lt;/code&gt;. Complements the bin-counting histogram utils. Roadmap #574.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;validateJsonSchema&lt;/code&gt; + &lt;code&gt;FieldSchema&lt;/code&gt; / &lt;code&gt;JsonType&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/json_schema_utils.dart&quot;&gt;json_schema_utils.dart&lt;/a&gt;) — declare a JSON object as a &lt;code&gt;field → FieldSchema&lt;/code&gt; map and validate it in one pass, collecting a &lt;code&gt;ValidationErrors&lt;/code&gt; list: required presence (&lt;code&gt;missing&lt;/code&gt;), type match (&lt;code&gt;type&lt;/code&gt;), and &lt;code&gt;allowed&lt;/code&gt;-set/enum membership (&lt;code&gt;enum&lt;/code&gt;). A non-map input yields a single object-level type error. Companion to &lt;code&gt;JsonModelReader&lt;/code&gt;. Roadmap #636.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;groupedStats&lt;/code&gt; + &lt;code&gt;NumericStats&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/stats/grouped_stats_utils.dart&quot;&gt;grouped_stats_utils.dart&lt;/a&gt;) — group an iterable by a key and compute the common numeric bundle (count, sum, min, max, mean) per group in a single pass, no custom reducer. Every returned group has &lt;code&gt;count ≥ 1&lt;/code&gt; (no divide-by-zero in &lt;code&gt;mean&lt;/code&gt;). The &quot;totals and averages per category&quot; report in one call. Roadmap #571.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.2.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-2-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-2-0</id>
    <updated>2026-06-10T00:00:00Z</updated>
    <content type="html">&lt;p&gt;A handful of everyday helpers: skip nulls while mapping, a readable &lt;code&gt;none()&lt;/code&gt; check, sum or average by a selector, middle-eliding for long strings and paths, and float comparison that shrugs off rounding error. The published download is slimmer, too.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Iterable.none(predicate)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/iterable_none_extensions.dart&quot;&gt;iterable_none_extensions.dart&lt;/a&gt;) — the boolean complement of &lt;code&gt;any&lt;/code&gt;; returns &lt;code&gt;true&lt;/code&gt; when no element matches (and &lt;code&gt;true&lt;/code&gt; for an empty iterable, matching &lt;code&gt;every&lt;/code&gt;). Reads as intent and removes the easy-to-misplace &lt;code&gt;!any(...)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Iterable.mapNotNull(selector)&lt;/code&gt; / &lt;code&gt;Iterable&amp;lt;T?&amp;gt;.whereNotNull()&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/iterable_map_not_null_extensions.dart&quot;&gt;iterable_map_not_null_extensions.dart&lt;/a&gt;) — map-and-drop-nulls in a single lazy pass, recovering the non-nullable result type without a separate &lt;code&gt;whereType&lt;/code&gt;/&lt;code&gt;cast&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Iterable.sumBy(selector)&lt;/code&gt; / &lt;code&gt;Iterable.averageBy(selector)&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/iterable_sum_by_extensions.dart&quot;&gt;iterable_sum_by_extensions.dart&lt;/a&gt;) — numeric sum/mean over a selector, so reductions work on any element type. &lt;code&gt;sumBy&lt;/code&gt; returns &lt;code&gt;0&lt;/code&gt; for empty; &lt;code&gt;averageBy&lt;/code&gt; returns &lt;code&gt;null&lt;/code&gt; for empty (no silent &lt;code&gt;NaN&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;String.truncateMiddle(maxLength, {ellipsis})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/string/string_truncate_middle_extensions.dart&quot;&gt;string_truncate_middle_extensions.dart&lt;/a&gt;) — elides the middle while keeping both ends visible (paths, hashes, IDs). Grapheme-cluster safe, so emoji are never split; degrades to a leading cut when the budget is too small.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;double.isCloseTo(other, {relativeTolerance, absoluteTolerance})&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/double/double_close_to_extensions.dart&quot;&gt;double_close_to_extensions.dart&lt;/a&gt;) — tolerance-based float comparison (&lt;code&gt;(0.1 + 0.2).isCloseTo(0.3)&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;). Combines an absolute floor (meaningful near zero) with a relative tolerance (scales to large magnitudes); &lt;code&gt;NaN&lt;/code&gt; is never close, same-sign infinities are.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;nthSmallest&lt;/code&gt; / &lt;code&gt;nthLargest&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/quickselect_utils.dart&quot;&gt;quickselect_utils.dart&lt;/a&gt;) — k-th order statistic via quickselect (median-of-three pivot), O(n) average without a full sort; returns &lt;code&gt;null&lt;/code&gt; for an out-of-range k and never mutates the input.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Iterable.stableSortBy&lt;/code&gt; / &lt;code&gt;stableSort&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/iterable/iterable_stable_sort_extensions.dart&quot;&gt;iterable_stable_sort_extensions.dart&lt;/a&gt;) — stable sort that preserves the input order of equal elements, unlike Dart&#x27;s &lt;code&gt;List.sort&lt;/code&gt; (which is not guaranteed stable) — needed for correct multi-pass sorting.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;longestCommonSubsequence&lt;/code&gt; / &lt;code&gt;longestCommonSubsequenceLength&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/collections/lcs_sequence_utils.dart&quot;&gt;lcs_sequence_utils.dart&lt;/a&gt;) — LCS of two lists (order-preserving, gaps allowed), distinct from the existing contiguous LCS-substring; the length variant uses O(min) space.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;deepFreeze&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/map/deep_freeze_utils.dart&quot;&gt;deep_freeze_utils.dart&lt;/a&gt;) — recursively unmodifiable copy of a map/list/set tree; any mutation at any depth throws &lt;code&gt;UnsupportedError&lt;/code&gt;. A copy, so later edits to the original do not show through.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;getByJsonPath&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/json_path_utils.dart&quot;&gt;json_path_utils.dart&lt;/a&gt;) — read a value from decoded JSON by a simple &lt;code&gt;$.a.b[0]&lt;/code&gt; path; returns &lt;code&gt;null&lt;/code&gt; for any missing/out-of-range segment. Deliberately not full JSONPath (no wildcards/filters/recursive descent).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;CronSchedule.tryParse&lt;/code&gt; + &lt;code&gt;nextRunAfter&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/cron_utils.dart&quot;&gt;cron_utils.dart&lt;/a&gt;) — parse a 5-field cron expression (&lt;code&gt;*&lt;/code&gt;, lists, ranges, steps) and compute the next run after a given time, with Vixie-cron OR semantics for the two day fields; returns &lt;code&gt;null&lt;/code&gt; for malformed expressions and for impossible schedules (no match within four years).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseAcceptLanguage&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/accept_language_utils.dart&quot;&gt;accept_language_utils.dart&lt;/a&gt;) — parse an &lt;code&gt;Accept-Language&lt;/code&gt; header into &lt;code&gt;LanguageRange&lt;/code&gt;s ordered by quality (stable on ties); drops &lt;code&gt;q=0&lt;/code&gt;, skips malformed entries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseRangeHeader&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/parsing/range_header_utils.dart&quot;&gt;range_header_utils.dart&lt;/a&gt;) — parse an HTTP &lt;code&gt;Range&lt;/code&gt; header (&lt;code&gt;bytes=&lt;/code&gt; unit) into &lt;code&gt;ByteRange&lt;/code&gt;s, supporting explicit, open-ended, suffix, and multi-range forms; &lt;code&gt;null&lt;/code&gt; on unsupported unit or any malformed range.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;canonicalizeUrl&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/url/url_canonicalize_utils.dart&quot;&gt;url_canonicalize_utils.dart&lt;/a&gt;) — canonical URL form for dedupe/cache keys: lower-cased scheme/host, default port dropped, query parameters (and repeated values) sorted, optional fragment removal.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;debounceStream&lt;/code&gt;&lt;/strong&gt; (&lt;a href=&quot;https://github.com/saropa/saropa_dart_utils/blob/main/lib/async/stream_debounce_utils.dart&quot;&gt;stream_debounce_utils.dart&lt;/a&gt;) — re-emits stream values only after a quiet gap (latest-wins per burst); flushes the trailing pending value on close and forwards errors immediately.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;CAPABILITIES.md&lt;/code&gt; — a complete per-symbol index of every public utility&lt;/strong&gt; (1,391 symbols across 352 files), grouped by category with one-line descriptions and per-file import paths, for teams evaluating or adopting the library. Covers every documented public member — methods, getters, functions, constructors, &lt;strong&gt;fields, enum values, setters&lt;/strong&gt;, typedefs, classes, and extensions (verified: zero undocumented public members repo-wide). Generated by &lt;code&gt;tool/gen_capabilities.py&lt;/code&gt; from the documented public API; linked from the README&#x27;s &quot;What&#x27;s Included&quot; section.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;First 1.2.0 publish attempt was rejected by pub.dev validation (exit 65), so the tag/release existed but pub.dev served nothing.&lt;/strong&gt; Two artifacts — &lt;code&gt;.favorites.json&lt;/code&gt; (VS Code Favorites extension state) and &lt;code&gt;coverage/lcov.info&lt;/code&gt; (generated by &lt;code&gt;flutter test --coverage&lt;/code&gt;) — were tracked in git while also matching &lt;code&gt;.gitignore&lt;/code&gt; rules. &lt;code&gt;dart pub publish --dry-run&lt;/code&gt; emits a warning for &quot;checked-in files ignored by a &lt;code&gt;.gitignore&lt;/code&gt;&quot; and exits 65, which the publish workflow treats as a hard failure (the &lt;code&gt;.pubignore&lt;/code&gt; tarball trim does not clear this warning — it is about git tracking state, not package contents). Both files are now untracked (kept on disk); the dry run passes and 1.2.0 reached pub.dev. No &lt;code&gt;lib/&lt;/code&gt; changes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;16 implemented utilities were unreachable via the barrel import.&lt;/strong&gt; Extensions and helpers that only had direct file imports — &lt;code&gt;cartesian&lt;/code&gt;, &lt;code&gt;diff&lt;/code&gt;, &lt;code&gt;firstWhereOrElse&lt;/code&gt;, &lt;code&gt;flattenDeep&lt;/code&gt;, &lt;code&gt;groupByTransform&lt;/code&gt;, &lt;code&gt;mapIndexed&lt;/code&gt;, &lt;code&gt;minBy&lt;/code&gt;/&lt;code&gt;maxBy&lt;/code&gt;, &lt;code&gt;consecutivePairs&lt;/code&gt; (and the rest of &lt;code&gt;iterable_more&lt;/code&gt;), &lt;code&gt;allPairs&lt;/code&gt;, &lt;code&gt;sortByThenBy&lt;/code&gt;, &lt;code&gt;splitAt&lt;/code&gt;, &lt;code&gt;symmetricDifference&lt;/code&gt;, &lt;code&gt;shuffleWithSeed&lt;/code&gt;, &lt;code&gt;topK&lt;/code&gt;, &lt;code&gt;race&lt;/code&gt;/&lt;code&gt;allSettled&lt;/code&gt;/&lt;code&gt;retryTimes&lt;/code&gt;, and &lt;code&gt;GestureUtils&lt;/code&gt; — are now exported from &lt;code&gt;package:saropa_dart_utils/saropa_dart_utils.dart&lt;/code&gt;, honoring the README&#x27;s &quot;one import&quot; promise. A new &lt;code&gt;test/barrel_exports_test.dart&lt;/code&gt; imports only the barrel and exercises each, so the reachability (and absence of any method-name ambiguity) is regression-guarded. The internal &lt;code&gt;html_entity_data.dart&lt;/code&gt; data table stays unexported by design.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.6</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-6"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-6</id>
    <updated>2026-05-22T00:00:00Z</updated>
    <content type="html">&lt;p&gt;A republish fix: 1.1.5&#x27;s exact content reaches pub.dev now that a missing test dependency is declared. No library changes.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Release fix: &lt;code&gt;dart pub publish&lt;/code&gt; failed validation (exit 65), so 1.1.5 never reached pub.dev.&lt;/strong&gt; &lt;code&gt;test/async/debounce_utils_test.dart&lt;/code&gt; and &lt;code&gt;test/async/heartbeat_utils_test.dart&lt;/code&gt; import &lt;code&gt;package:fake_async/fake_async.dart&lt;/code&gt;, but &lt;code&gt;fake_async&lt;/code&gt; was only available transitively (via &lt;code&gt;flutter_test&lt;/code&gt;) and was not declared in &lt;code&gt;pubspec.yaml&lt;/code&gt;. pub.dev rejects publishing a package whose sources import an undeclared library. Added &lt;code&gt;fake_async: ^1.3.3&lt;/code&gt; to &lt;code&gt;dev_dependencies&lt;/code&gt; (matching the version &lt;code&gt;flutter_test&lt;/code&gt; resolves). No &lt;code&gt;lib/&lt;/code&gt; changes — this republishes the 1.1.5 content under 1.1.6.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.5</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-5"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-5</id>
    <updated>2026-05-22T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We added a large batch of unit tests across the library and fixed the five correctness bugs they turned up — edit distance, value caching, an async barrier, CSV dialect detection, and search-query parsing.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;p&gt;These five correctness bugs were surfaced by the new unit tests (see Maintenance → Tests) and are now fixed and covered by those tests:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;damerauLevenshteinDistance&lt;/code&gt; scored an adjacent transposition as 2 instead of 1.&lt;/strong&gt; The rolling-row optimization read the transposition term from &lt;code&gt;prevRow[j-2]&lt;/code&gt; (row &lt;code&gt;i-1&lt;/code&gt;), but the OSA recurrence requires &lt;code&gt;d[i-2][j-2]&lt;/code&gt; — two rolling rows are insufficient. Now uses three rolling rows; e.g. &lt;code&gt;&#x27;ca&#x27;→&#x27;ac&#x27;&lt;/code&gt; and &lt;code&gt;&#x27;abc&#x27;→&#x27;acb&#x27;&lt;/code&gt; correctly return 1.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;singleValueCache&lt;/code&gt; re-ran its compute on every call when the result was &lt;code&gt;null&lt;/code&gt;.&lt;/strong&gt; &lt;code&gt;cached ??= compute()&lt;/code&gt; never stores &lt;code&gt;null&lt;/code&gt;; replaced with an explicit &lt;code&gt;computed&lt;/code&gt; flag so a &lt;code&gt;null&lt;/code&gt;-returning compute runs exactly once, as documented. (&lt;code&gt;memoize1&lt;/code&gt; was already correct via &lt;code&gt;putIfAbsent&lt;/code&gt;.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;AsyncBarrierUtils.signal()&lt;/code&gt; threw &lt;code&gt;Bad state: Future already completed&lt;/code&gt; when called more than &lt;code&gt;count&lt;/code&gt; times.&lt;/strong&gt; Added an &lt;code&gt;isCompleted&lt;/code&gt; guard so extra signals are a no-op.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;detectCsvDialect(&#x27;&#x27;)&lt;/code&gt; (and any tab-free first line) returned a tab delimiter&lt;/strong&gt; instead of the documented comma, because the &lt;code&gt;tabs &amp;gt;= commas&lt;/code&gt; tie-break picks tab on &lt;code&gt;0 &amp;gt;= 0&lt;/code&gt;. Tab is now chosen only when tabs are actually present.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;SearchQueryParserUtils.parseSearchQuery&lt;/code&gt; kept the leading &lt;code&gt;-&lt;/code&gt; in a negated word&#x27;s text when it preceded a quoted phrase.&lt;/strong&gt; The pre-phrase branch now strips &lt;code&gt;-&lt;/code&gt; like the trailing-words branch; the negation is captured in &lt;code&gt;isNegated&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.4</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-4"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-4</id>
    <updated>2026-05-22T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We cleared three ambiguous-extension clashes that could break importing the package, and documented and tested the nullable helpers that shipped undocumented.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Ambiguous extension clash&lt;/strong&gt; — renamed the &lt;code&gt;T?.toListIfNotNull()&lt;/code&gt; method in &lt;code&gt;lib/object/nullable_more_extensions.dart&lt;/code&gt; to &lt;code&gt;toListOrEmpty()&lt;/code&gt;. It collided with the older, tested &lt;code&gt;MakeListExtensions.toListIfNotNull()&lt;/code&gt; in &lt;code&gt;lib/list/make_list_extensions.dart&lt;/code&gt; — both extended &lt;code&gt;T?&lt;/code&gt; with the same method name, so any consumer importing the package&#x27;s barrel hit an ambiguous-extension error. The two have different semantics: &lt;code&gt;toListIfNotNull()&lt;/code&gt; returns &lt;code&gt;List&amp;lt;T&amp;gt;?&lt;/code&gt; (&lt;code&gt;null&lt;/code&gt; for a null receiver); &lt;code&gt;toListOrEmpty()&lt;/code&gt; returns &lt;code&gt;List&amp;lt;T&amp;gt;&lt;/code&gt; (empty list for a null receiver). The new name matches its behavior, since &quot;if not null&quot; wrongly implied a nullable result.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Ambiguous extension clash — &lt;code&gt;String.truncateWithEllipsis()&lt;/code&gt;&lt;/strong&gt; (BUG-002) — removed the duplicate code-unit-based &lt;code&gt;truncateWithEllipsis(int maxLength, [String ellipsis])&lt;/code&gt; from &lt;code&gt;StringLowerExtensions&lt;/code&gt; (&lt;code&gt;lib/string/string_lower_extensions.dart&lt;/code&gt;). It collided with the established, grapheme-aware &lt;code&gt;StringExtensions.truncateWithEllipsis(int? cutoff)&lt;/code&gt; — both &lt;code&gt;on String&lt;/code&gt;, both exported from the barrel — so consumers hit an ambiguous-extension error. Beyond the clash, the two diverged silently for emoji / multi-byte input (UTF-16 code units vs grapheme clusters), so the Unicode-correct version was kept. Added an emoji grapheme regression test.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Ambiguous extension clash — &lt;code&gt;String.escapeForRegex()&lt;/code&gt;&lt;/strong&gt; (BUG-003) — removed the duplicate &lt;code&gt;escapeForRegex()&lt;/code&gt; (and its now-unused private &lt;code&gt;_regexSpecialCharsRegex&lt;/code&gt;) from &lt;code&gt;StringManipulationExtensions&lt;/code&gt; (&lt;code&gt;lib/string/string_manipulation_extensions.dart&lt;/code&gt;). It collided with the canonical, tested &lt;code&gt;StringRegexExtensions.escapeForRegex()&lt;/code&gt; — both &lt;code&gt;on String&lt;/code&gt;, both exported from the barrel. Output is identical for all input, so no behavior changes. &lt;code&gt;string_extensions.dart&lt;/code&gt; now re-exports &lt;code&gt;string_regex_extensions.dart&lt;/code&gt; so the method stays reachable via that file unchanged.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.3</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-3"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-3</id>
    <updated>2026-05-22T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Publishing works again: we declared a dependency that was only transitive and fixed the static-analysis score that had been quietly blocking pub.dev.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Publishing&lt;/strong&gt; — declared &lt;code&gt;meta&lt;/code&gt; as a direct dependency (it was only transitive). The library imports &lt;code&gt;package:meta/meta.dart&lt;/code&gt; across 118 files, and pub.dev rejects publishing a package that imports a library it only depends on transitively. This had silently failed every publish since 1.0.6 (the last version actually on pub.dev): the GitHub Actions workflow masked &lt;code&gt;dart pub publish&lt;/code&gt;&#x27;s exit-65 validation error and reported the run green while pub.dev received nothing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Static analysis score&lt;/strong&gt; — wrapped 52 single-statement &lt;code&gt;if&lt;/code&gt;/&lt;code&gt;else&lt;/code&gt;/&lt;code&gt;for&lt;/code&gt;/&lt;code&gt;while&lt;/code&gt; bodies in braces across 38 files in &lt;code&gt;lib/&lt;/code&gt; to satisfy &lt;code&gt;curly_braces_in_flow_control_structures&lt;/code&gt;. pub.dev&#x27;s pana enforces this lint via the analysis server (which loads the &lt;code&gt;saropa_lints&lt;/code&gt; plugin), but &lt;code&gt;dart analyze&lt;/code&gt; CLI does not load plugins, so the violations were invisible locally while docking the &quot;Pass static analysis&quot; score to 40/50. The rule is now also enabled explicitly in &lt;code&gt;analysis_options.yaml&lt;/code&gt; so &lt;code&gt;dart analyze&lt;/code&gt; and CI catch any recurrence before publish.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.2</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-2"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-2</id>
    <updated>2026-05-21T00:00:00Z</updated>
    <content type="html">&lt;p&gt;A version bump to push a release through publishing.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-1</id>
    <updated>2026-05-21T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We fixed an invalid record return type and made map-key collisions explicit, so two source keys that collapse to one string no longer silently drop a value.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;parseVersion&lt;/code&gt;&lt;/strong&gt; — removed invalid named positional fields from record return type &lt;code&gt;(int major, int minor, int patch)&lt;/code&gt; → &lt;code&gt;(int, int, int)&lt;/code&gt; to fix &lt;code&gt;invalid_field_name&lt;/code&gt; analyzer error.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;MapExtensions.toMapStringDynamic&lt;/code&gt;&lt;/strong&gt; (BUG-010) — added &lt;code&gt;throwOnDuplicate&lt;/code&gt; parameter so callers can detect when two source keys collapse to the same &lt;code&gt;String&lt;/code&gt; (e.g. &lt;code&gt;int&lt;/code&gt; &lt;code&gt;1&lt;/code&gt; and &lt;code&gt;String&lt;/code&gt; &lt;code&gt;&#x27;1&#x27;&lt;/code&gt;) instead of silently losing a value. Collision policy is now explicit: &lt;code&gt;throwOnDuplicate&lt;/code&gt; throws &lt;code&gt;ArgumentError&lt;/code&gt;, &lt;code&gt;ensureUniqueKey&lt;/code&gt; keeps the first value, default keeps the last. Behavior is unchanged for existing callers.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.1.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-1-0</id>
    <updated>2026-05-03T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We dropped a &lt;code&gt;dart:io&lt;/code&gt; dependency (you now pass the locale yourself), expanded HTML entity decoding to 278 named entities, and fixed a couple of async and name-collision bugs.&lt;/p&gt;
&lt;h4&gt;Breaking&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;DateTimeUtils.isDeviceDateMonthFirst()&lt;/code&gt;&lt;/strong&gt; renamed to &lt;strong&gt;&lt;code&gt;isDateMonthFirst({required String localeName})&lt;/code&gt;&lt;/strong&gt; — removes &lt;code&gt;dart:io&lt;/code&gt; dependency; caller now passes the locale string.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Enhanced&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;HtmlUtils entity expansion&lt;/strong&gt;: Replaced 35-entity regex-based &lt;code&gt;replaceAll&lt;/code&gt; decoder with single-pass O(1) Map-lookup scanner covering 278 HTML5 named entities (268 from &lt;code&gt;html_unescape&lt;/code&gt; v2.0.0 basic set + 10 beyond Latin-1: trade, euro, bullet, ellipsis, dashes, typographic quotes). Supports all numeric entities (decimal &lt;code&gt;&amp;amp;#65;&lt;/code&gt; and hex &lt;code&gt;&amp;amp;#x41;&lt;/code&gt;), legacy no-semicolon forms per HTML5 spec, and validates Unicode scalar values including surrogate rejection. Entity data derived from Filip Hracek&#x27;s &lt;code&gt;html_unescape&lt;/code&gt; package (BSD-3-Clause). Tests expanded from 31 to 49.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;AsyncBarrierUtils&lt;/strong&gt;: fixed &lt;code&gt;StateError&lt;/code&gt; when accessing &lt;code&gt;.future&lt;/code&gt; after barrier already completed (double-complete guard).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;retryWithBackoff name collision&lt;/strong&gt;: renamed &lt;code&gt;retryWithBackoff&lt;/code&gt; in &lt;code&gt;retry_policy_utils.dart&lt;/code&gt; to &lt;code&gt;retryWithJitter&lt;/code&gt; to avoid conflict with &lt;code&gt;retry_utils.dart&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.8</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-8"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-8</id>
    <updated>2026-03-06T00:00:00Z</updated>
    <content type="html">&lt;p&gt;In this release we introduce typed result classes for common operations, split JSON utilities into focused modules, and bring the code in line with lints (named parameters, narrower exceptions, @useResult). We aimed for clearer structure and safer APIs.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Occurrence&amp;lt;T&amp;gt;&lt;/code&gt; class&lt;/strong&gt; (&lt;code&gt;lib/iterable/occurrence.dart&lt;/code&gt;): typed result for &lt;code&gt;mostOccurrences()&lt;/code&gt; and &lt;code&gt;leastOccurrences()&lt;/code&gt; methods, replacing record return types&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;BetweenResult&lt;/code&gt; class&lt;/strong&gt; (&lt;code&gt;lib/string/between_result.dart&lt;/code&gt;): typed result for &lt;code&gt;betweenResult()&lt;/code&gt;, &lt;code&gt;betweenResultLast()&lt;/code&gt;, and bracket-extraction methods, replacing record return types&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;GestureUtils&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;lib/gesture/gesture_utils.dart&lt;/code&gt;): extracted swipe speed/magnitude classification into standalone utility class with public thresholds&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;JsonEpochScale&lt;/code&gt; enum&lt;/strong&gt; (&lt;code&gt;lib/json/json_epoch_scale.dart&lt;/code&gt;): epoch timestamp scale (seconds, milliseconds, microseconds) extracted from &lt;code&gt;json_utils.dart&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;JsonIterablesUtils&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;lib/json/json_iterables_utils.dart&lt;/code&gt;): generic JSON encoding for iterables&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;JsonTypeUtils&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;lib/json/json_type_utils.dart&lt;/code&gt;): 13 type-safe JSON conversion methods (lists, strings, ints, doubles, booleans, dates, epochs) extracted from &lt;code&gt;json_utils.dart&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;@useResult&lt;/code&gt; annotations&lt;/strong&gt;: Added to 40+ public methods across string, datetime, gesture, json, list, map, num, and other extensions to prevent silent discard of return values&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;KeyExtractor&amp;lt;T, E&amp;gt;&lt;/code&gt; typedef&lt;/strong&gt;: for &lt;code&gt;toUniqueBy&lt;/code&gt;/&lt;code&gt;toUniqueByInPlace&lt;/code&gt; parameters (&lt;code&gt;prefer_typedefs_for_callbacks&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Swipe.toString()&lt;/code&gt;&lt;/strong&gt;: Added string representation for debugging&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Swipe&lt;/code&gt; constructor&lt;/strong&gt;: Changed from positional to required named parameters (&lt;code&gt;prefer_all_named_parameters&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Boolean parameter renames&lt;/strong&gt; (&lt;code&gt;prefer_boolean_prefixes&lt;/code&gt;): &lt;code&gt;testDecode&lt;/code&gt; → &lt;code&gt;shouldTestDecode&lt;/code&gt;, &lt;code&gt;allowEmpty&lt;/code&gt; → &lt;code&gt;shouldAllowEmpty&lt;/code&gt;, &lt;code&gt;cleanInput&lt;/code&gt; → &lt;code&gt;shouldCleanInput&lt;/code&gt;, &lt;code&gt;inclusive&lt;/code&gt; → &lt;code&gt;isInclusive&lt;/code&gt;, &lt;code&gt;startOfDay&lt;/code&gt; → &lt;code&gt;isStartOfDay&lt;/code&gt;, &lt;code&gt;roundUp&lt;/code&gt; → &lt;code&gt;shouldRoundUp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Exception narrowing&lt;/strong&gt; (&lt;code&gt;avoid_catch_all&lt;/code&gt;): Replaced bare &lt;code&gt;catch (e)&lt;/code&gt; with specific exception types (&lt;code&gt;on FormatException&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;dynamic&lt;/code&gt; → &lt;code&gt;Object?&lt;/code&gt;&lt;/strong&gt;: Replaced &lt;code&gt;dynamic&lt;/code&gt; return types in JSON decode methods (&lt;code&gt;avoid_dynamic_type&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;T extends Object&lt;/code&gt; constraint to &lt;code&gt;GeneralIterableExtensions&lt;/code&gt; generic parameter&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.7</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-7"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-7</id>
    <updated>2026-02-22T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We split the large string and date-time extension files into smaller modules (everything stays backward compatible), fixed a bunch of lints, and switched to proper test matchers. The codebase is easier to work in and the linter is quieter.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Performance&lt;/strong&gt;: cached &lt;code&gt;toLowerCase()&lt;/code&gt; call in &lt;code&gt;toBoolNullable&lt;/code&gt;, extracted inline RegExp to top-level finals in &lt;code&gt;lowerCaseLettersOnly&lt;/code&gt; and &lt;code&gt;removeSingleCharacterWords&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.6</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-6"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-6</id>
    <updated>2026-02-19T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We ran a full bug audit and fixed 32 issues—date/time and string logic, emoji handling, and JSON/HTML edge cases. Behavior should be more reliable everywhere.&lt;/p&gt;
&lt;h4&gt;Fixed (32 bugs resolved — full audit)&lt;/h4&gt;
&lt;h5&gt;Critical / Logic Errors&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;getUtcTimeFromLocal&lt;/code&gt;&lt;/strong&gt;: was adding offset instead of subtracting; used &lt;code&gt;floor()&lt;/code&gt; instead of &lt;code&gt;truncate()&lt;/code&gt; for negative fractional offsets (e.g. UTC-5:30). Return type narrowed from &lt;code&gt;DateTime?&lt;/code&gt; to &lt;code&gt;DateTime&lt;/code&gt; (never null).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isDateAfterToday&lt;/code&gt;&lt;/strong&gt;: was an instance method that ignored &lt;code&gt;this&lt;/code&gt; entirely, only checking the &lt;code&gt;dateToCheck&lt;/code&gt; parameter. Removed the parameter — now correctly checks the receiver against today. Added injectable &lt;code&gt;{DateTime? now}&lt;/code&gt; for testability.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;randomElement&lt;/code&gt;&lt;/strong&gt;: was using &lt;code&gt;DateTime.now().microsecondsSinceEpoch % length&lt;/code&gt; (deterministic, biased). Now uses a module-level &lt;code&gt;Random&lt;/code&gt; instance with &lt;code&gt;nextInt()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isBetween&lt;/code&gt;&lt;/strong&gt;: inclusive mode was using &lt;code&gt;==&lt;/code&gt; instead of &lt;code&gt;isAtSameMomentAs&lt;/code&gt; for boundary equality — boundary values were excluded.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;removeStart&lt;/code&gt;&lt;/strong&gt;: case-insensitive path was calling &lt;code&gt;nullIfEmpty()&lt;/code&gt; on the trimmed match, returning &lt;code&gt;null&lt;/code&gt; instead of the original string on non-match.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;last()&lt;/code&gt;&lt;/strong&gt;: was using rune-based indexing, splitting multi-codepoint emoji. Now uses &lt;code&gt;characters&lt;/code&gt; package grapheme clusters. Also optimized: replaces &lt;code&gt;toList()&lt;/code&gt; + &lt;code&gt;sublist()&lt;/code&gt; with &lt;code&gt;chars.skip()&lt;/code&gt; to avoid full list allocation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;toDateInYear&lt;/code&gt;&lt;/strong&gt;: was crashing with &lt;code&gt;ArgumentError&lt;/code&gt; for Feb 29 → non-leap year. Now returns &lt;code&gt;null&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;cleanJsonResponse&lt;/code&gt;&lt;/strong&gt;: was unescaping &lt;code&gt;\&quot;&lt;/code&gt; before detecting outer quotes, corrupting strings like &lt;code&gt;&quot;hello \&quot;world\&quot;&quot;&lt;/code&gt;. Now detects outer quotes first.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5&gt;Medium&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;betweenResult&lt;/code&gt;&lt;/strong&gt;: &lt;code&gt;endOptional&lt;/code&gt; parameter was declared but never consulted — end-not-found always returned &lt;code&gt;null&lt;/code&gt;. Now correctly returns the tail when &lt;code&gt;endOptional: true&lt;/code&gt; is passed. Default changed to &lt;code&gt;false&lt;/code&gt; to preserve backward compatibility.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isSameDateOrAfter&lt;/code&gt; / &lt;code&gt;isSameDateOrBefore&lt;/code&gt;&lt;/strong&gt;: replaced fragile cascaded year/month/day if-chains with clean &lt;code&gt;toDateOnly()&lt;/code&gt; + &lt;code&gt;!isBefore&lt;/code&gt; / &lt;code&gt;!isAfter&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isJson(&#x27;[]&#x27;)&lt;/code&gt;&lt;/strong&gt;: empty array was returning &lt;code&gt;true&lt;/code&gt; without &lt;code&gt;allowEmpty: true&lt;/code&gt;, inconsistent with empty object &lt;code&gt;{}&lt;/code&gt; behavior. Now requires &lt;code&gt;allowEmpty: true&lt;/code&gt; for both.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isJson&lt;/code&gt; colon check&lt;/strong&gt;: was checking &lt;code&gt;value.contains(&#x27;:&#x27;)&lt;/code&gt; (untrimmed) instead of &lt;code&gt;trimmed.contains(&#x27;:&#x27;)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;formatDouble&lt;/code&gt;&lt;/strong&gt;: no guard for negative &lt;code&gt;decimalPlaces&lt;/code&gt; — &lt;code&gt;toStringAsFixed&lt;/code&gt; would throw &lt;code&gt;RangeError&lt;/code&gt;. Now clamps to 0–20.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;hasDecimals&lt;/code&gt; / &lt;code&gt;formatDouble&lt;/code&gt;&lt;/strong&gt;: did not guard against &lt;code&gt;NaN&lt;/code&gt; / &lt;code&gt;Infinity&lt;/code&gt; — &lt;code&gt;NaN % 1&lt;/code&gt; returns &lt;code&gt;NaN&lt;/code&gt; (not &lt;code&gt;0&lt;/code&gt;). Now returns &lt;code&gt;false&lt;/code&gt; / &lt;code&gt;&#x27;NaN&#x27;&lt;/code&gt; / &lt;code&gt;&#x27;∞&#x27;&lt;/code&gt; respectively.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;unescape&lt;/code&gt; (HTML)&lt;/strong&gt;: &lt;code&gt;&amp;amp;nbsp;&lt;/code&gt; was mapped to regular space (U+0020) instead of non-breaking space (U+00A0). Fixed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;unescape&lt;/code&gt; (HTML)&lt;/strong&gt;: numeric entity handler allowed surrogate codepoints (U+D800–U+DFFF) which crash &lt;code&gt;jsonEncode&lt;/code&gt;. Now rejected with named constants &lt;code&gt;_surrogateMin&lt;/code&gt; / &lt;code&gt;_surrogateMax&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;addHyphens&lt;/code&gt;&lt;/strong&gt;: accepted any 32-char string without validating hex content. Now validates with &lt;code&gt;_hexOnly32Regex&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;exclude&lt;/code&gt; / &lt;code&gt;containsAny&lt;/code&gt;&lt;/strong&gt;: O(n×m) — converted to &lt;code&gt;Set&lt;/code&gt; for O(n) lookup.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;toFlattenedList&lt;/code&gt;&lt;/strong&gt;: returned &lt;code&gt;null&lt;/code&gt; for empty outer but &lt;code&gt;[]&lt;/code&gt; for all-empty inners. Now returns &lt;code&gt;null&lt;/code&gt; consistently for empty results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5&gt;Low / Documentation&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isYearCurrent&lt;/code&gt;&lt;/strong&gt;: hardcoded &lt;code&gt;DateTime.now()&lt;/code&gt; made it untestable. Converted from getter to method with &lt;code&gt;{DateTime? now}&lt;/code&gt; injectable parameter.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isDateAfterToday&lt;/code&gt;&lt;/strong&gt; / &lt;strong&gt;&lt;code&gt;isToday&lt;/code&gt;&lt;/strong&gt; etc.: same injectable &lt;code&gt;now&lt;/code&gt; pattern applied for testability.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;weekOfYear&lt;/code&gt;&lt;/strong&gt;: added warning in docs that value can be 0 or 53 at year boundaries; recommend &lt;code&gt;weekNumber()&lt;/code&gt; for ISO 8601 compliance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;isMidnight&lt;/code&gt;&lt;/strong&gt;: now checks all time components including milliseconds and microseconds.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;leastOccurrences&lt;/code&gt;&lt;/strong&gt;: corrected copy-paste doc comment that said &quot;highest&quot; instead of &quot;lowest&quot;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;formatPrecision&lt;/code&gt;&lt;/strong&gt;: hardcoded &lt;code&gt;toStringAsFixed(2)&lt;/code&gt; whole-number check now uses the actual &lt;code&gt;precision&lt;/code&gt; parameter.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;betweenResult&lt;/code&gt;&lt;/strong&gt;: improved doc to explain intentional &lt;code&gt;lastIndexOf&lt;/code&gt; (&quot;outermost match&quot;) design.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;between&lt;/code&gt;&lt;/strong&gt;: documented special case where empty &lt;code&gt;end&lt;/code&gt; returns the tail from &lt;code&gt;start&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;takeSafe(0)&lt;/code&gt;&lt;/strong&gt;: documented that &lt;code&gt;count == 0&lt;/code&gt; returns the original list (unlike &lt;code&gt;take(0)&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;weekOfYear&lt;/code&gt;&lt;/strong&gt; / &lt;strong&gt;&lt;code&gt;weekNumber()&lt;/code&gt;&lt;/strong&gt;: documented ISO 8601 edge cases at year boundaries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;num.length()&lt;/code&gt;&lt;/strong&gt;: documented scientific notation behavior for values ≥ 1e21.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;pluralize&lt;/code&gt;&lt;/strong&gt;: removed &lt;code&gt;length == 1&lt;/code&gt; guard that incorrectly skipped single-character strings.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;forceBetween&lt;/code&gt;&lt;/strong&gt;: corrected misleading dartdoc (&quot;NOT greater than&quot; → correctly describes clamping).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;truncateWithEllipsisPreserveWords&lt;/code&gt;&lt;/strong&gt;: fixed grapheme-unsafe fallback that could split multi-codepoint emoji; now uses &lt;code&gt;characters.take()&lt;/code&gt; for the search window.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;toMapStringDynamic&lt;/code&gt;&lt;/strong&gt;: documented silent key collision behavior when &lt;code&gt;ensureUniqueKey: false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;timeToEmoji&lt;/code&gt;&lt;/strong&gt;: boundary was &lt;code&gt;&amp;gt;&lt;/code&gt; instead of &lt;code&gt;&amp;gt;=&lt;/code&gt; — 7:00am showed moon emoji instead of sun.&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.5</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-5"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-5</id>
    <updated>2026-01-08T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We rewrote the README with before/after examples and real-world use cases so it’s easier to see what the library does and whether it fits your project.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.4</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-4"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-4</id>
    <updated>2026-01-08T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We fixed a flaky date/time test that sometimes failed in CI. Your test runs should be more reliable now.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.3</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-3"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-3</id>
    <updated>2026-01-07T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We updated the GitHub Actions publish workflow to use OIDC authentication. Publishing to pub.dev works with the current GitHub setup again.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.2</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-2"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-2</id>
    <updated>2026-01-07T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We added a banner to the README so the project is easier to spot at a glance.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 1.0.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/1.x/#v1-0-0</id>
    <updated>2026-01-07T00:00:00Z</updated>
    <content type="html">&lt;p&gt;First stable 1.0: we switched to the MIT license for broader use, turned on the full saropa_lints tier for quality, and added README badges so you can see pub points, method count, and coverage at a glance.&lt;/p&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Migrated from GPL v3 to MIT license for broader adoption&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.12</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-12"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-12</id>
    <updated>2026-01-05T00:00:00Z</updated>
    <content type="html">&lt;p&gt;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.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.10</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-10"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-10</id>
    <updated>2025-12-11T00:00:00Z</updated>
    <content type="html">&lt;p&gt;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.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.9</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-9"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-9</id>
    <updated>2025-11-25T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We added an &lt;code&gt;allowEmpty&lt;/code&gt; option to JSON validation and made string methods (substring, truncate, lastChars) use grapheme clusters so emoji and Unicode behave correctly. &lt;strong&gt;Note:&lt;/strong&gt; indices are now grapheme-based—a breaking change if you relied on code-unit positions.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;isJson&lt;/code&gt;: &lt;code&gt;allowEmpty&lt;/code&gt; parameter to optionally treat &lt;code&gt;{}&lt;/code&gt; as valid JSON&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;substringSafe&lt;/code&gt;: Now uses &lt;code&gt;characters.getRange()&lt;/code&gt; for proper UTF-16/emoji support&lt;/li&gt;
&lt;li&gt;&lt;code&gt;truncateWithEllipsis&lt;/code&gt;: Uses grapheme cluster length for accurate emoji handling&lt;/li&gt;
&lt;li&gt;&lt;code&gt;truncateWithEllipsisPreserveWords&lt;/code&gt;: Uses grapheme cluster length&lt;/li&gt;
&lt;li&gt;&lt;code&gt;lastChars&lt;/code&gt;: Uses grapheme cluster length&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Breaking&lt;/strong&gt;: Indices now refer to grapheme clusters, not code units&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;MakeListExtensions&lt;/code&gt;: Changed extension from &lt;code&gt;T&lt;/code&gt; to &lt;code&gt;T?&lt;/code&gt; for nullable types&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Removed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;UniqueListExtensionsUniqueBy&lt;/code&gt;: Removed unused &lt;code&gt;propertyComparer&lt;/code&gt; generic parameter&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.8</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-8"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-8</id>
    <updated>2025-11-25T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We made the publish script handle git tags and GitHub releases idempotently. You can re-run it after a partial run without it failing.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.7</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-7"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-7</id>
    <updated>2025-11-25T00:00:00Z</updated>
    <content type="html">&lt;p&gt;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.&lt;/p&gt;
&lt;h4&gt;Fixed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;extractCurlyBraces&lt;/code&gt;: Switched to non-greedy matching for correct extraction order&lt;/li&gt;
&lt;li&gt;&lt;code&gt;removeSingleCharacterWords&lt;/code&gt;: Made Unicode-aware for single-letter words beyond ASCII&lt;/li&gt;
&lt;li&gt;&lt;code&gt;replaceLineBreaks&lt;/code&gt;: Improved deduplication for arbitrary replacement strings&lt;/li&gt;
&lt;li&gt;&lt;code&gt;grammarArticle&lt;/code&gt;: Enhanced heuristics for silent &#x27;h&#x27;, &quot;you&quot;-sound words, and &lt;code&gt;one-&lt;/code&gt; prefixes&lt;/li&gt;
&lt;li&gt;&lt;code&gt;possess&lt;/code&gt;: Trims input before applying trailing &#x27;s&#x27; rules&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.5</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-5"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-5</id>
    <updated>2025-11-25T00:00:00Z</updated>
    <content type="html">&lt;p&gt;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.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;JsonUtils&lt;/code&gt; - JSON parsing, type conversion, and validation&lt;/li&gt;
&lt;li&gt;&lt;code&gt;MapExtensions&lt;/code&gt; - Map manipulation utilities&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UrlExtensions&lt;/code&gt; - URI manipulation (&lt;code&gt;removeQuery&lt;/code&gt;, &lt;code&gt;fileName&lt;/code&gt;, &lt;code&gt;isValidUrl&lt;/code&gt;, &lt;code&gt;isValidHttpUrl&lt;/code&gt;, &lt;code&gt;tryParse&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;StringBetweenExtensions&lt;/code&gt; - Content extraction (&lt;code&gt;between&lt;/code&gt;, &lt;code&gt;betweenLast&lt;/code&gt;, &lt;code&gt;removeBetween&lt;/code&gt;, etc.)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;StringCharacterExtensions&lt;/code&gt; - Character operations (&lt;code&gt;splitByCharacterCount&lt;/code&gt;, &lt;code&gt;charAtOrNull&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;StringSearchExtensions&lt;/code&gt; - Search utilities (&lt;code&gt;containsAnyIgnoreCase&lt;/code&gt;, &lt;code&gt;indexOfAll&lt;/code&gt;, &lt;code&gt;lastIndexOfPattern&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;MonthUtils&lt;/code&gt;, &lt;code&gt;WeekdayUtils&lt;/code&gt;, &lt;code&gt;SerialDateUtils&lt;/code&gt; - Date constant lookups&lt;/li&gt;
&lt;li&gt;DateTime extensions: &lt;code&gt;mostRecentSunday&lt;/code&gt;, &lt;code&gt;mostRecentWeekday&lt;/code&gt;, &lt;code&gt;dayOfYear&lt;/code&gt;, &lt;code&gt;weekOfYear&lt;/code&gt;, &lt;code&gt;numOfWeeks&lt;/code&gt;, &lt;code&gt;weekNumber&lt;/code&gt;, &lt;code&gt;toSerialString&lt;/code&gt;, &lt;code&gt;toSerialStringDay&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;String extensions: &lt;code&gt;removeSingleCharacterWords&lt;/code&gt;, &lt;code&gt;removeLeadingAndTrailing&lt;/code&gt;, &lt;code&gt;firstWord&lt;/code&gt;, &lt;code&gt;secondWord&lt;/code&gt;, &lt;code&gt;endsWithAny&lt;/code&gt;, &lt;code&gt;endsWithPunctuation&lt;/code&gt;, &lt;code&gt;isAny&lt;/code&gt;, &lt;code&gt;extractCurlyBraces&lt;/code&gt;, &lt;code&gt;obscureText&lt;/code&gt;, &lt;code&gt;hasInvalidUnicode&lt;/code&gt;, &lt;code&gt;isVowel&lt;/code&gt;, &lt;code&gt;hasAnyDigits&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Iterable/Num extensions: &lt;code&gt;randomElement&lt;/code&gt;, &lt;code&gt;containsAll&lt;/code&gt;, &lt;code&gt;toDoubleOrNull&lt;/code&gt;, &lt;code&gt;toIntOrNull&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DateTimeUtils.isValidDateParts&lt;/code&gt; - Comprehensive date part validation&lt;/li&gt;
&lt;li&gt;&lt;code&gt;convertDaysToYearsAndMonths&lt;/code&gt; - &lt;code&gt;includeRemainingDays&lt;/code&gt; option&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.3</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-3"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-3</id>
    <updated>2025-11-12T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We tuned regex usage in string utils and improved the docs for the random and list helpers. A small polish release.&lt;/p&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Enhanced &lt;code&gt;string_utils.dart&lt;/code&gt; to optimize final regex usages&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.2</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-2"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-2</id>
    <updated>2025-08-19T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We renamed the string extension type to &lt;code&gt;StringExtensions&lt;/code&gt; for consistency. Behavior is unchanged; only the type name is different.&lt;/p&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Renamed &lt;code&gt;StringFormattingAndWrappingExtensions&lt;/code&gt; to &lt;code&gt;StringExtensions&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-1</id>
    <updated>2025-08-19T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We merged all string extension methods into one file and added a full test suite. Imports and structure are simpler.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.5.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-5-0</id>
    <updated>2025-08-19T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We added extensions for numbers (e.g. clamping), lists (order-agnostic comparison), and strings (safer number parsing), and refactored names and tests for consistency.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Extension methods for numbers, lists, and strings (&lt;code&gt;forceBetween&lt;/code&gt;, order-agnostic list comparison, safer string number parsing)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Changed&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Refactored extension names for consistency&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.4.4</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-4"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-4</id>
    <updated>2025-08-18T00:00:00Z</updated>
    <content type="html">&lt;p&gt;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.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Unique lists and number ranges utilities&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.4.3</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-3"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-3</id>
    <updated>2025-02-24T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We added framework-style extensions for primitives (num, string, etc.), set line length to 100, and removed the VGV spelling lists.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Framework extensions for primitives (num, string, etc.)&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.4.2</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-2"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-2</id>
    <updated>2025-02-24T00:00:00Z</updated>
    <content type="html">&lt;p&gt;A small maintenance release: minor improvements and fixes.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.4.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-1</id>
    <updated>2025-02-13T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Another small maintenance release: minor improvements and fixes.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.4.0</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-0"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-4-0</id>
    <updated>2025-02-13T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We did a major refactor of the library structure and APIs to set things up for the extensions and utilities that followed.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.3.18</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-18"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-18</id>
    <updated>2025-01-07T00:00:00Z</updated>
    <content type="html">&lt;p&gt;We added DateTime and DateTimeRange utilities and brought in jiffy/intl for date formatting. Date handling works well out of the box now.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;DateTimeRange&lt;/code&gt; utils&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DateTime&lt;/code&gt; utils&lt;/li&gt;
&lt;li&gt;Dependency to jiffy and intl for date processing&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.3.17</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-17"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-17</id>
    <updated>2025-01-07T00:00:00Z</updated>
    <content type="html">&lt;p&gt;A small maintenance release: minor improvements.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.3.16</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-16"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-16</id>
    <updated>2025-01-07T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Another small maintenance release: minor improvements.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.3.15</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-15"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-3-15</id>
    <updated>2025-01-03T00:00:00Z</updated>
    <content type="html">&lt;p&gt;Another small maintenance release: minor improvements.&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>saropa_dart_utils 0.0.1</title>
    <link rel="alternate" type="text/html" href="https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-0-1"/>
    <id>https://saropa.com/developers/saropa-dart-utils/changelog/0.x/#v0-0-1</id>
    <updated>2024-06-27T00:00:00Z</updated>
    <content type="html">&lt;p&gt;First release. We included bool list methods to get started.&lt;/p&gt;
&lt;h4&gt;Added&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Initial release with bool list methods&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;pre&gt;&lt;code class=&quot;language-plain&quot;&gt;
      Made by Saropa. All rights reserved.
&lt;/code&gt;&lt;/pre&gt;</content>
  </entry>
</feed>
