Skip to content

Release 1.5.0 - #181

Merged
danielplohmann merged 1 commit into
masterfrom
release/1.5.0
Sep 21, 2026
Merged

danielplohmann merged 1 commit into
masterfrom
release/1.5.0

Conversation

@danielplohmann

Copy link
Copy Markdown
Collaborator

Bumps setup.py to 1.5.0 and adds the version history entry.

Draft on purpose — the version number and the tone of the entry are the maintainer's call, and tagging is a separate act. Nothing here publishes anything.

Why 1.5.0 and not 1.4.9

46 merged PRs, four security fixes, three schema migrations and a new function comparison view. #177 argued a patch bump understates that, and this agrees.

What the entry does

Folds in the three unreleased: lines that each said "merge this line into the next release's entry" — the login throttle (#101), the query-upload security fix (#169) and the query result identity fix (#40). They are gone from the list and their content is in the 1.5.0 entry.

It leads with the four changes that affect existing deployments, because two of them need an operator to do something:

  1. Three schema additions on first start (login_attempt, query_upload, UTC user timestamps) — idempotent migrations, nothing existing altered, no action beyond restarting.
  2. TRUSTED_PROXY_COUNT for anyone behind a reverse proxy. Without it the new login throttle keys on the proxy's address, so ten failed logins from anywhere refuse everyone's next login.
  3. Query uploads move from sha256-named to job-id-named, so every existing file in instance/temp/uploads/ is orphaned and pre-upgrade queries cannot be promoted to samples.
  4. An .smda report with a malformed sha256 is now accepted rather than refused with 400.

Checked rather than carried over

  • Test count measured on this master: 962 passed, 6 skipped → 968 collected, against 239 at v1.4.8, so "adds 729 tests". Run with FLASK_DEBUG=0; the mcritweb:1.4.8 image sets it to 1, which makes app.debug true and fails three SESSION_COOKIE_SECURE / route-policy tests that are not actually broken.
  • The six skipped tests are Playwright: five for the type-ahead escaping, one for the function-vs browser. They are currently the only automated proof the innerHTML sink from Security: a family name is rendered as HTML by the type-ahead #168 stays closed, and CI does not install Playwright — worth fixing separately.
  • Two claims corrected while drafting. A valid MCRIT export refused for a config mismatch is reported as malformed JSON #167 is a misleading message, not a server error, so the entry says five server errors rather than six; and the skipped tests are not all about the type-ahead.
  • TRUSTED_PROXY_COUNT, both new tables and the UTC timestamp format were each confirmed present in the tree rather than taken from the PR descriptions.

Interaction with #176

If #176 lands first, the version moves to pyproject.toml and this bump belongs there instead — this PR would then need rebasing onto that. #176 also has open questions on its requires-python floor and CI matrix (commented there).

🤖 Generated with Claude Code

https://claude.ai/code/session_01GwSfzAD1ZwEoWY3eWvbYvX

Bumps setup.py and adds the version history entry, folding in the three
"unreleased" lines that asked to be merged into the next release's entry
(the login throttle, the query-upload security fix, and the query result
identity fix).

1.5.0 rather than a patch: 46 PRs, four security fixes, three schema
migrations and a new comparison view is not a patch on 1.4.8.

The entry leads with the four things that affect existing deployments,
two of which need an operator decision - TRUSTED_PROXY_COUNT for anyone
behind a reverse proxy, and the orphaned files in instance/temp/uploads
left by the query-upload change.

Test count measured on master rather than carried over: 962 passed, 6
skipped, for 968 collected against 239 at v1.4.8.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwSfzAD1ZwEoWY3eWvbYvX
@danielplohmann
danielplohmann marked this pull request as ready for review September 21, 2026 13:10
@danielplohmann
danielplohmann merged commit 98cfdc0 into master Sep 21, 2026
10 checks passed
@r0ny123
r0ny123 deleted the release/1.5.0 branch October 30, 2026 06:08
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.

2 participants