Skip to content

Commit f344d88

Browse files
Cmochanceclaude
andauthored
chore(release): prep v1.5.9 (#37)
Bumps `package.json` to 1.5.9 (`version-sync.mjs` propagates to Cargo.toml + lockfiles) and stamps the 1.5.9 CHANGELOG entry. Patches landing as 1.5.9: - **#36** — Five-in-one refresh hot-path perf bundle: reqwest client reuse, conditional OAuth rotation gated on `last_plan_check_ms`, bulk-refresh 6 h skip-window, `load_profiles_index` 250 ms in-process cache, and snapshot-only post-refresh on the front-end. Plus the review follow-up commit that surfaces relogin signatures from the HTTP fast path, replaces the OnceLock<Result<Client, _>> with a rebuild-on-error shape, and hoists the 6 h threshold to a single shared constant. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 158f40a commit f344d88

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 1.5.9 - 2026-05-10
44

55
- Bulk plan refresh (run on app launch + each local-day rollover) now skips any profile whose `last_plan_check_ms` was confirmed within the last 6 hours. On a workspace with several OAuth accounts the previous launch trickled cards updating one-by-one for 10–25 s of background work; with the gate, repeat launches inside the same working day cost zero round-trips.
66
- Per-card Refresh button stops forcing an OAuth token rotation on every click. Rotation now only fires when the cached `last_plan_check_ms` is older than 6 hours (or absent); within that window the click reuses the cached `id_token` claims and only refreshes the access_token if it's actually about to expire. Saves the OAuth POST round-trip (~0.5–2 s on a slow network) on a repeat-click without losing the "user-initiated → fresh plan info" guarantee — once a day per profile the heavier path still runs.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codex_switch",
33
"private": true,
4-
"version": "1.5.8",
4+
"version": "1.5.9",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codex_switch"
3-
version = "1.5.8"
3+
version = "1.5.9"
44
description = "Native Tauri control panel for Codex account switching"
55
authors = ["Cmochance"]
66
edition = "2021"

0 commit comments

Comments
 (0)