Repository navigation
chore: prepare release 0.6.0 - #277
Merged
Merged
Conversation
- CITATION.cff: version 0.6.0, date 2026-10-28. - docs/releases/0.6.0.md: curated notes of everything since 0.5.0, linked from the changelog and the docs nav. - Rephrase mentions of the release version that the version drift guard rejects once 0.6.0 is the current version. Closes #276 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThis release-preparation PR updates citation metadata and adds curated, versioned 0.6.0 release notes covering the upgrade and compatibility implications of the already-merged functionality, then wires those notes into the documentation navigation and removes current-version mentions that would violate release checks. No application logic is changed. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #277 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 2008 2008
=========================================
Hits 2008 2008 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
October 28, 2026 08:02
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/releases/0.6.0.md" line_range="29-32" />
<code_context>
+ or the new value `publicUrl`) and rejects the removed keys, so the 0.6.0
+ chart needs images built with FOCA 0.18 (0.6.0 or later); older images
+ refuse to start (#226, #261)
+- Access control: admins act as admins only in **admin mode**, i.e., in
+ requests with the header `X-Request-Roles: admin`; otherwise they have the
+ permissions of other users. `GET /me` reports `admin` only in admin mode
+ and has the new field `admin_available`. Configured rules that grant the
+ role `admin` are refused on startup. Clients and scripts that need admin
+ rights must send the header: deploy a UI that sends it before upgrading
</code_context>
<issue_to_address>
**Persisted admins bypass admin mode**
When a deployment upgrades with legacy API-stored `admin` grants, fOCA continues to honor persisted `admin` role grants created through the permissions API, so those users can call admin operations without `X-Request-Roles: admin`, contrary to the release-note claim that admins act only in admin mode.
Qualify the admin-mode claim and tell deployments to revoke legacy stored grants during the upgrade.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: docs/releases/0.6.0.md:32
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares release 0.6.0 (do not merge before the maintainer decides; the tag is pushed by the maintainer). Everything merged into
devsince v0.5.0 is in the notes: #260, #259, #262, #261, #263, #264, #266, and the pre-release review fixes #273, #269, #275.CITATION.cff: version 0.6.0, date 2026-10-28 (scripts/citation.py set 0.6.0). Update the date (scripts/citation.py set 0.6.0 --date YYYY-MM-DD) if the tag is pushed on another day.docs/releases/0.6.0.md: curated notes in the agreed format: intro with the link to the upgrade steps (/en/v0.6.0/upgrading/#from-050), then Breaking changes, Features, Security, Fixes, Documentation; bullets end with(#issue, #PR), links are versioned. The file holds only the curated part: the release workflow appends## Commits(GitHub's generated notes) and the**Full Changelog**line (scripts/release_notes.py body). Linked fromdocs/changelog.mdand the mkdocs nav.custom.endpoints.serviceremoved andserver.public_urlrequired for every deployment; the 0.6.0 chart needs 0.6.0 images; the deploy order for admin mode with web UIs (UI that sendsX-Request-Rolesfirst, oropt_in_roles: []); the widerowners-change-permissionsrule;409 service-busyduring renames.tests/test_version_mentions.pyrejects mentions of the current release version outside the notes onceCITATION.cffsays 0.6.0: two lines of the chart README ("app 0.6.0 or later") now say "the app version of this chart (or later)", and two docstrings say "unlike in 0.5.0".Closes #276
Light lane: release metadata, notes and wording only (no logic changed); I reviewed the diff myself.
Verification
Locally (Python 3.13):
ci.ymlandrelease.yml:scripts/release_version.py outputs v0.6.0(version 0.6.0, chart 0.6.0),scripts/check_release_pins.py,scripts/release_notes.py require 0.6.0,scripts/release_notes.py check docs/releases/0.6.0.md, noTODO,scripts/citation.py check 0.6.0: all passedcoverage run -m pytest(mongomock): 1423 passed, 257 skipped (Helm not installed), coverage 100%pytestagainst MongoDB 7.0.34: 1425 passed, 255 skippedpre-commit run --all-files: passed;mkdocs build --strict: passedOpen questions
None. If this becomes v1.0.0-rc1 instead, rename the notes file and set the version with
scripts/citation.py set 1.0.0rc1; the sections can be extended as they are.🤖 Generated with Claude Code