Skip to content

0.36.0 - 2026-11-29

Latest

Choose a tag to compare

@ddon ddon released this 29 Nov 09:22
· 7 commits to main since this release

Notices as parts, Max's hand-test fixes and subtask drag (#65), the drag
preview, reconnect and batched API access (#66), Content-Security-Policy
nonce support (#67), task cards, the next-step dialog and history (#68),
and the release review of everything since 0.35.0
(dev_docs/pull_requests/2026/65-*, 66-*, 68-*,
release-review-0350-to-head/).

No new chain version (still V30), so mix phoenix_kit.update has nothing to apply.

Requirements

  • phoenix_live_gantt ~> 0.5 (was ~> 0.4): the Timeline passes the CSP nonce to the chart's own <style> tags (style_nonce, new in 0.5.0), and 0.5.0 closes a markup-injection hole in the :fit label rule. The other floors are unchanged and were compiled against: core 3.7.0, ai 0.28, comments 0.5, entities 0.7. The lock moves to core 3.10.0, comments 0.7.0, entities 0.8.0 and ai 0.31.0.

Added

  • Notifications go out as parts — a title, a line, a button — and are re-checked for access when they go out. A comment's words ride the quote block, which a reader who lost access never gets; a comment's notice opens on the comment.
  • Subtasks by drag: drag a task sideways to nest it under the task above or move it out a level (its subtasks go with it); "Make it a subtask of the task above" / "Move it out a level" in the ⋮ menu, "Parent task" in the form, an Add button for subtasks.
  • The popup survives a dropped connection: its frames and what was typed in them (rich text included) come back on the rejoin, but only while the record is the version they were typed against; otherwise the form says it changed and offers "Put my edits back". An offline notice shows meanwhile, and a skeleton while a frame loads.
  • Times in each person's own zone (the profile's, else the browser's), labelled on the forms.
  • A task's ID copies when clicked, and the whole card opens the task (Ctrl/⌘-click opens a new tab).
  • "Trace connections" in a task's ⋮ menu keeps all its arrows on until "Stop tracing".
  • Next-step dialog: someone @-tagged in the comment joins the "who to tell" list, and leaves it with the tag unless they were on it anyway; the tags say why each person is there; one person per row.
  • Whoever can see a parent project can open its sub-projects (view only; editing follows the sub-project's own roles), and a sub-project's creator becomes its owner.
  • API: a key's access to many projects is read in a fixed number of statements (ApiKeys.access_map/2); GET /hours sums usage over the projects the key may read it in (usage_projects).

Changed

  • Works under a nonce Content-Security-Policy (#67; core's guides/content-security-policy.md). Every inline <style> carries the host's nonce (the calendars' overdue and loading styles, the popup skeleton, the chart palette, the hours report's print rules, the settings preview, the widget frame), read through PhoenixKitProjects.Web.CSP, which feature-detects core's PhoenixKitWeb.CSP: on a core without it nothing changes. The hours report's Print button no longer uses an inline onclick (a data-pkp-print attribute and a listener in phoenix_kit_projects.js), and every <style> the JS creates is stamped with the page's nonce before it joins the document. Nested LiveViews are handed the nonce (CSP.nested_session/1). A host must serve the current phoenix_kit_projects.js (recompile, so phoenix_kit_modules.js is rebuilt) for the Print button to work. Inline style="…" attributes are unchanged: keep style-src-attr 'unsafe-inline'.
  • History says what happened to a status ("set back to waiting", tracking started or stopped, moved under another task or to the top level, redirected, restored), shows the task's ID, and opens the task over the History tab.
  • Lists show a description as one plain line, a mention as @name.
  • The Timeline grows with the page instead of scrolling inside it; every level of the task list has the arrows' gutter; a drag keeps the scroll where it was.
  • Assignees show like tags (core's person chip where the core has it, its avatar otherwise); a group of assignees opens the drawer with all of them.
  • The new-project form's Schedule tab starts open and "Scheduled date" shows its date field.

Fixed

  • The task form's subtask writes outside an open edit (a crafted subtask_toggle in a new form could complete or reopen a task in a private project) are gone; the held edit is the only path.
  • Visibility through templates: descendant listings, mentions, Hours and parent labels no longer reach through a template, and Hours shows only projects the viewer may open.
  • Removing a key's inherited project access no longer widens it or reports success after a failed write; idempotency fails closed (503) when its record cannot be kept; NUL bytes are refused as a field error; GET /me carries no email; GET /events honours its date bounds.
  • Deleting a task acts on the row as it is under the lock: one that meanwhile moved to another project or became a sub-project's link is refused (409 branch_changed on the API), instead of leaving a sub-project standalone or cascading subtasks away unannounced. A library task's delete settles the completion of the projects it leaves.
  • A dropped connection no longer deletes the files uploaded in an unsaved edit, sends the restored values as the "Add dependency" select's event (the server never heard them), or forgets the browser's time zone; the project form's draft is version-checked like the task form's.
  • "X removed your task" push notifications are delivered (the visibility check looked for the deleted task).
  • Next-step dialog: someone taken off the list by hand is not put back by the next keystroke while still tagged; tagging adds to another project's rows too.
  • Project page: a dependency × or a sub-project toggle sent with a ref no longer crashes the page or subscribes twice; the drag asks the live rights.
  • A mention used as a link or picture address renders as its label, never as markup inside the attribute.
  • Comment counts stay in step between the page and the popup; a deleted covered frame does not come back; Back and the address bar agree; the calendar re-checks access on reload; ?task=REF on Hours filters.
  • Builds against the declared comments floor (0.5) again: the 0.7 helper is asked for, not called directly.