Skip to content

v1.2.9 — auto-update opt-out (COZEMPIC_NO_AUTO_UPDATE)

Choose a tag to compare

@junaidtitan junaidtitan released this 23 Mar 13:46
· 513 commits to main since this release

What's new

Set COZEMPIC_NO_AUTO_UPDATE=1 to disable all automatic upgrade behaviour — PyPI checks, silent pip upgrades, and npm postinstall hook wiring.

Intended for security-conscious teams who want to control when and how cozempic updates, without any trust surface running alongside active development sessions.

export COZEMPIC_NO_AUTO_UPDATE=1

Or in your shell profile to make it permanent.

Changes

  • updater.py: maybe_auto_update() exits immediately when COZEMPIC_NO_AUTO_UPDATE is set
  • npm/install.js: skips global hook wiring and auto-configure when env var is set
  • New test: test_skips_when_env_var_set
  • 196 passing, 1 xfailed (no regressions)