Skip to content

v0.3.1 — opt-in update checks

Choose a tag to compare

@riponcm riponcm released this 01 Sep 06:45
· 23 commits to main since this release

Know when there is something to upgrade to — without giving up the promise.

projectmem says it makes no network calls, and that is a reason people choose it. So update checking is opt-in everywhere, and nothing about your machine is ever sent: the request is a plain GET of the same public JSON file pip install reads.

✨ Added

In both dashboards. pjm visualize and pjm dashboard now show which version generated the page — the project dashboard in the sidebar under the star button, the global one in the footer — with a check for updates link beside it. The page makes no request until you click. The result is up to date, X available ↗ linking to PyPI, or could not reach PyPI, which changes nothing else on the page.

On the command line.

pjm doctor            # shows your version and how to check
pjm doctor --online   # one-off check
pjm doctor --auto     # remember to check, at most once a day

--auto is off by default and reversible with --no-auto. When on, the result is cached, so an enabled check costs one request a day.

🐛 Fixed

Version comparison stripped every non-digit, turning 1.0.0rc1 into (1,0,1) and sorting a release candidate above the final release — someone on 1.0.0 would have been told to upgrade to 1.0.0rc1. Leading digits only now.

Upgrading

pip install -U projectmem

Nothing else changes. If you are coming from 0.2.x, read the v0.3.0 notes first — that is the release with global MCP mode and the security fix.

Full notes: CHANGELOG.md