From a50878a7ac638e725984e9cf447d693c711f52c4 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Fri, 17 Jul 2026 14:56:18 +0200 Subject: [PATCH] release: floret-kit 0.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds core-locale's formatting half (currentLocale, localizedDateFormatter) and components' CustomAmountEditor. The root version was already 0.2.0 — 2124227 bumped it without a changelog entry, so this cut backfills that alongside core-locale's AppLanguage, which shipped in 0.1.0 undocumented. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 13 ++++++++++++- docs/ROADMAP.md | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b355af0..3651e51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,17 @@ All notable changes to floret-kit are documented here. The format follows floret-kit is consumed **from source** — each app embeds it as a git submodule and builds it through a Gradle composite build, pinning a specific commit. There are no binary releases; "version" tracks the shared `version` in the root build -(currently `0.1.0`). Entries are grouped by module. +(currently `0.2.0`). Entries are grouped by module. ## [Unreleased] +## [0.2.0] - 2026-07-17 + ### Added +- **`components`** — `CustomAmountEditor`, the amount + unit editor behind an + "Custom…" picker option (Calendula's custom snooze duration). Consumed by + Calendula since 2.15.0. - **`core-locale`** — the locale-aware formatting half of the module, so apps stop hand-rolling `"$day. $month $year"` templates that bake one language's field order (and its separators, and its ordinal dot) into every language they @@ -46,6 +51,12 @@ are no binary releases; "version" tracks the shared `version` in the root build ### Added +- **`core-locale`** (Android library) — per-app language plumbing (`AppLanguage`): + read the shipped languages from the app's `res/xml/locales_config.xml`, get/set + the applied language via `AppCompatDelegate`, render each language's autonym. + The app passes its own `locales_config` resource id; the system-default choice + is `null`. _(Shipped in 0.1.0 but omitted from this changelog at the time; + recorded here retroactively.)_ - **`core-time`** (JVM library) — pure-Kotlin date/time helpers, no Android and no third-party dependencies: - `DayWindow.today()` — local-day boundaries for smart-list logic. diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index c4a21ec..34f6159 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -13,6 +13,7 @@ divergent or app-specific code where it lives. |---|---|---| | `core-time` | JVM | Agendula (and Calendula's pending branch) | | `core-reminders` | JVM | Agendula (and Calendula's pending branch) | +| `core-locale` | Android | Agendula, Calendula | | `core-crash` | Android | Agendula | | `identity` | Android | Agendula | | `components` | Android | Agendula |