Projects 0.20.0: Filtered lists you can link to and reload
Projects 0.20.0 keeps the search, filter and sort of the Projects, Tasks and Templates lists in the page address. A filtered list is now a real link: you can share it, reload it, and Back returns to the previous search instead of leaving the page.
List state in the address
The three lists now write their state into the query string:
- the search text, as
q; - the sort field and direction, as
sortanddir; - on Projects, the status filter, as
status.
A link such as ?q=launch&sort=name&dir=asc opens the Projects list already searched and sorted.
Some things are left out of the address on purpose. How many rows have been loaded stays out, so a shared link does not pull in hundreds of rows. Your chosen columns stay a personal setting that a link cannot override. The Tasks list’s view mode stays out too, so a page that embeds the list keeps the mode it sets.
The lists can still be embedded in other pages, as before.
A correct core requirement
The lists rely on a part of PhoenixKit that first shipped in 1.7.231, while the module still declared 1.7.189 as its minimum. A fresh install could pick a core the module could not compile against. The requirement is now ~> 1.7.231, which also stops a future 1.8 core from being picked up untested.
Upgrading
Projects 0.20 needs PhoenixKit 1.7.231 or later within 1.7. Update core first if it is older. No migration and no configuration.
Full release notes: Projects 0.20.0
0.20.0 · 6 August 2026
List state lives in the URL, and the core floor finally names what the module actually needs. Search, status filter and sort on Projects / Tasks / Templates are now query-string state, so a filtered list is a real link — shareable, reload-proof, and Back returns to the previous query instead of leaving the page. They get there via core’s PhoenixKitWeb.Live.UrlState in mode: :history, which never exports handle_params/3 and so keeps all three LiveViews embeddable. That module first shipped in phoenix_kit 1.7.231, while the declared requirement still said 1.7.189 and the lock pinned 1.7.216 — a fresh mix deps.get resolved a core this module could not compile against. The floor moves to ~> 1.7.231. Post-merge review of #34 (dev_docs/pull_requests/2026/34-core-version-floor/CLAUDE_REVIEW.md) verified the floor against core’s history and fixed three documentation defects around it.
Added
- URL-backed list state on
ProjectsLive,TasksLiveandTemplatesLive(use PhoenixKitWeb.Live.UrlState, mode: :history): search (q), sort field + direction (sort/dir), and — on Projects — the status filter (status). Deliberately not in the URL:loaded_count(a shared link would drag hundreds of rows),visible_columns(a stored per-user preference a link must not override), and the tasks List/Groups view mode (embedders preset it through the session, and a URL default would silently overwrite that on an embedded mount).
Changed
- Minimum
phoenix_kitis now~> 1.7.231— the release shippingPhoenixKitWeb.Live.UrlStateand itsmode: :historyoption. It supersedes the earlier floors (V125/V127/V128, 1.7.184 for theCheckboxattrs, 1.7.189 forPhoenixKit.SchemaPrefix). Bounded rather than open-ended: core minors are not assumed compatible, so a 1.8 core fails resolution here instead of surfacing as a compile error in a consumer’s app. - Dependency upgrades —
phoenix_kit→ 1.7.232, plus transitiveetcher,leaf,mdex,oban,ranch,req,swoosh,tesla.
Fixed
mix precommitcould not pass — core 1.7.232 makesigniteran optional dependency, which drops it and seven transitive deps (ex_ast,glob_ex,owl,rewrite,sourceror,spitfire,text_diff) out of the resolved tree while leaving them stranded inmix.lock. The gate’sdeps.unlock --check-unusedstep aborted on them, so credo and dialyzer never ran. Lock pruned.- The dependency comment in
mix.exsmis-stated its own constraint — it justified~>as excluding “a future 2.0” when~> 1.7.231in fact excludes 1.8.0, and its list of superseded floors had dropped 1.7.189 /PhoenixKit.SchemaPrefix, the very requirement being replaced. AGENTS.mddocumented the core floor as~> 1.7.128/~> 1.7.121in two places, and carried a ⚠️ “Projects CI stays red until core releases V125” warning for a situation resolved a hundred-odd core releases ago. Both now reference the real floor; the release-ordering note is recast as the standing pattern for the next cross-repo schema change.
Projects 0.20.0. Install or update: {:phoenix_kit_projects, "~> 0.20"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.