From ab9d7a25ff69661baf1897e565c13d7a1a122014 Mon Sep 17 00:00:00 2001 From: Terence Ponce Date: Sun, 1 Nov 2026 15:29:56 +0800 Subject: [PATCH] chore(release): prep v0.5.0 (version bump, release notes, CHANGELOG promotion) --- .github/workflows/release.yml | 29 +++++++++++++---------------- CHANGELOG.md | 2 ++ README.md | 2 +- install.sh | 4 ++-- mix.exs | 2 +- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 202a3ab..2feac37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -267,22 +267,19 @@ jobs: ## What's new in $VERSION - Ten features since 0.3.0: - - - **A transcript you can read.** Your messages render bold behind an accent \`❯\` marker — set apart from the model's replies on every terminal palette, light or dark — and the distinction survives session resume. - - **Room to breathe.** The whole interface keeps two cells of air from the screen edges — transcript, status line, composer, and popups alike — so text no longer hugs the borders. - - **The footer names provider and model.** The model span reads \`zai - glm-5.3\` (provider - model) instead of a profile label, and a \`/model\` pick updates it on the spot. - - **\`/title\` opens a dialog.** Bare \`/title\` opens a centered input pre-filled with the live title; a refused rename shows the reason in the dialog with your draft kept, and Esc cancels. - - **The idle cursor blinks.** The composer's cursor pulses on its own timer while the agent waits, so the input surface reads alive on every terminal palette. - - **Tab completes slash commands.** While the autocomplete popup shows matches, Tab completes the highlighted command into the composer — arrows move the pick, Enter runs it, Tab types it for you. - - **Typing snaps the transcript to the tail.** Scroll back to reread something; typing in the composer brings the view back to the live end of the conversation. - - **Drop an image to attach it.** Dragging an image file into the terminal becomes a numbered \`[Image #1]\` chip in the composer instead of pasted path text; Backspace on an empty draft pops the newest chip, and Ctrl+O still works. - - **Context stats work out of the box.** Stock presets carry seeded context windows and a provider's fetched model list is read for its real ones, so the footer's tokens/percent and \`/compact\` work on a fresh install; a model no source knows falls back to a documented default — visibly marked, never silent. - - **Herdr support.** Running inside a Herdr pane, DashFloat reports its state — idle, working, or blocked with the pending decision named — so the pane shows when input awaits you, and a restored Herdr session reopens DashFloat on the right \`--resume\` command. - - Also fixed: resuming a session saved by 0.3.0 crashed at startup (the system prompt is re-derived at boot and no longer breaks replay), and \`dashfloat --resume --profile p\` no longer exits with \`No file named --resume\` (release-launcher user flags were being dropped into Elixir's CLI). - - Upgrading: re-run the install command below — it replaces the previous version and keeps your sessions. On macOS, \`brew upgrade dashfloat\` does the same once the tap catches up with the release. + The biggest DashFloat release yet — twenty-five changes since 0.4.0: + + - **\`dashfloat update\` keeps you current.** One command checks the latest GitHub release against the running version and updates the install in place — sha256-verified download, atomic swap, a start-up smoke of the new binary, rollback on failure; Homebrew installs print the \`brew upgrade dashfloat\` handoff, anything else refuses with both options. \`dashfloat update --check\` is the scriptable form: prints the latest version, exits 0 when current, 1 when outdated, 2 when the check itself failed. + - **Pick up where you left off.** Quitting with a session underway prints the exact command that reopens it (\`dashfloat --resume \` — the title when one is set, else the id), and \`/resume\` opens a keyboard-navigable picker over saved sessions — title or first-message preview, relative time, provider · model, most recent first; Enter switches in place, Esc cancels untouched. + - **A chat surface that reads.** A two-row breathing gap separates transcript and composer in every scroll state; the footer shows \`ttft 1.4s · 32 tok/s\` — time-to-first-token measured send to first token, plus an honest whole-response tok/s average (total tokens over the decode window, never the flattering live value); and the transcript snaps to its tail only when you send a message — a view scrolled back to reread stays parked where you left it. + - **Decisions land in the input field.** Tool approvals render as a multiple-choice question — \`Approve write_file?\` answered with arrows + Enter, rejected with Esc, your in-flight draft preserved underneath; the model can ask you a direct question with labelled options (single- or multi-select, Space toggling) and acts on your answer; and Auto mode never interrupts — safe calls run silently, dangerous calls auto-reject with the reason recorded and returned so it can adapt. + - **Thinking, visible but contained.** Model reasoning renders as a small collapsible block — one summary line collapsed (\`◔ Thinking · 342 tokens · 8.1s\`), an eight-row scrollable window expanded, growing live while it thinks, and a thinking turn's full reasoning replays on resume. + - **A quality wave underneath.** Wide glyphs — CJK paths, emoji titles, wide model names — no longer clip: the footer, the model/profile and session pickers, the title dialog, and the model's own option labels all measure real display cells; and the onboarding wizard's model list can no longer repopulate under the wrong provider after a fast edit or a slow fetch. + - **A verified installer refusal contract.** The installer enforces the glibc floor itself — a below-floor host is refused before anything is downloaded — and both release smokes assert that exact refusal instead of accepting any failure. + + Also fixed: the v0.4.0 install smoke on Debian 11 passed for the wrong reason — the missing-libcrypto check fired first and masked the glibc floor, which was never exercised; the floor is now the installer's own preflight (see above) and every smoke proves it. + + Upgrading: run \`dashfloat update\` — it replaces the previous version in place and keeps your sessions (\`dashfloat update --check\` to look first); re-running the install command below does the same. On macOS, \`brew upgrade dashfloat\` once the tap catches up with the release. ## Install diff --git a/CHANGELOG.md b/CHANGELOG.md index a522db4..f3efcf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ when its tag is cut. ## [Unreleased] +## [0.5.0] - 2026-11-01 + ### Fixed - The onboarding wizard's `/models` results carry provider identity: every fetch result is tagged at creation with `{base_url, fetch_epoch}` and the picker populates only on an exact match with the pending provider and the current fetch generation — a stale list (a slow fetch from a previous provider selection, or the pre-edit key's list landing after esc-back and a key edit) is refused inertly instead of repopulating the picker under the wrong provider, and the current generation's result is guaranteed to land (a failed task spawn degrades to the manual fallback with a note, closing the hang-at-`:fetching` hole); the wizard's fetch tests now run hermetically against the loopback standin, never the live Z.AI endpoint (ADR 0009, issue #87 amendment) (#87). diff --git a/README.md b/README.md index fef89e2..08127d8 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ No Erlang or Elixir toolchain needed: the release bundles ERTS. The installer verifies the tarball's sha256 before extracting, installs into `~/.local/share/dashfloat/versions/` behind a `current` symlink, puts a shim in `~/.local/bin`, and prunes the previous version on upgrade. Pin a -version with `DASHFLOAT_VERSION=0.4.0`. On macOS, Homebrew is the native path +version with `DASHFLOAT_VERSION=0.5.0`. On macOS, Homebrew is the native path (`brew install fluxvale/tap/dashfloat`), and unsigned builds need a one-time right-click-open — see the [release notes](https://github.com/fluxvale/dashfloat/releases). Linux builds need glibc 2.34+ (Debian 12+, Ubuntu 22.04+), OpenSSL 3, diff --git a/install.sh b/install.sh index cf7ee6d..9cd264a 100755 --- a/install.sh +++ b/install.sh @@ -43,7 +43,7 @@ detect_target() { case "$arch" in x86_64 | amd64) printf '%s\n' "x86_64-unknown-linux-gnu" ;; - *) die "unsupported Linux architecture: $arch (v0.4.0 ships x86_64 only)" ;; + *) die "unsupported Linux architecture: $arch (v0.5.0 ships x86_64 only)" ;; esac ;; Darwin) @@ -54,7 +54,7 @@ detect_target() { esac ;; *) - die "unsupported operating system: $os (v0.4.0 ships Linux x86_64 and macOS)" + die "unsupported operating system: $os (v0.5.0 ships Linux x86_64 and macOS)" ;; esac } diff --git a/mix.exs b/mix.exs index 168ce7b..d91da54 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule DashFloat.MixProject do def project do [ app: :dash_float, - version: "0.4.0", + version: "0.5.0", elixir: "~> 1.20.0", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()),