Skip to content

1.11.1: version from package metadata, license key embedded - #200

Merged
natiixnt merged 2 commits into
mainfrom
release-1.11.1
Jul 28, 2026
Merged

1.11.1: version from package metadata, license key embedded#200
natiixnt merged 2 commits into
mainfrom
release-1.11.1

Conversation

@natiixnt

@natiixnt natiixnt commented Jul 27, 2026

Copy link
Copy Markdown
Owner

What

  • redcon --version and redcon.__version__ now read the installed package metadata via importlib.metadata instead of a hardcoded string. The 1.11.0 wheel shipped reporting 1.10.0 because the two version locations drifted; single-sourcing makes that impossible.
  • Production Ed25519 license verification key embedded in redcon/entitlements.py; Pro licenses purchased for 1.11.1 and later activate offline with redcon license --activate.
  • Version bump to 1.11.1; the changelog section also folds in the prompt_cache_key entry already on main.

Verification

  • Fresh editable install: redcon --version prints 1.11.1, redcon.__version__ matches.
  • Source tree without installed distribution falls back to 0.0.0+source instead of raising.
  • tests/test_entitlements.py and tests/test_prompt_cache_key.py: 22 passed on the rebuilt branch.
  • ruff check and ruff format --check clean on the touched files.

Release checklist (after merge)

  • Tag v1.11.1 to trigger the release workflow.
  • Verify the published wheel: redcon --version, then redcon license --activate with a freshly signed key.

natiixnt added 2 commits July 28, 2026 17:20
redcon --version reported 1.10.0 in the 1.11.0 wheel because the number
was hardcoded in redcon/__init__.py next to the real one in
pyproject.toml. Single-source it from importlib.metadata so the two can
never drift again, and cut the 1.11.1 changelog section, folding in the
prompt_cache_key entry from Unreleased.
1.11.1 turns Pro licensing on. Fill _EMBEDDED_PUBLIC_KEY_B64 with the
production Ed25519 public key (base64url of the raw 32 bytes) so
redcon license --activate can verify purchased licenses offline. The
matching private key never leaves the signer.
@natiixnt natiixnt changed the title 1.11.1: version from package metadata, license public key slot 1.11.1: version from package metadata, license key embedded Jul 28, 2026
@natiixnt
natiixnt merged commit 71eaab4 into main Jul 28, 2026
10 checks passed
@natiixnt
natiixnt deleted the release-1.11.1 branch July 28, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant