Skip to content

build: prepare the 0.23.0 release - #823

Merged
uniqueg merged 6 commits into
devfrom
release/0.23.0-prep
Nov 25, 2026
Merged

uniqueg merged 6 commits into
devfrom
release/0.23.0-prep

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Release preparation for FOCA 0.23.0, as for 0.22.0 (#754):

  • CITATION.cff: version 0.23.0, date-released: 2026-11-25 (the planned tag date, after the pre-release review).
  • docs/releases/0.23.0.md: curated release notes in the org format (intro with the migration guide; Breaking changes, Features, Security, Fixes, Documentation, Maintenance, each bullet with issue and PR numbers), covering every PR since v0.22.0, including feat: add page-token pagination helpers #828 (page-token pagination, added to the scope on 2026-11-25), except the chart-only ones (feat(chart): check ingress-nginx body size #787, feat(chart): render worker.startupProbe #788, feat(chart): support namespaced Issuers #820), which belong to the notes of foca-common 0.6.0. Links point to /en/v0.23.0/.
  • mkdocs.yml and docs/changelog.md list the notes.
  • The version guard (tests/test_version_mentions.py) rejects mentions of 0.23.0 once the citation names it: "before FOCA 0.23.0" is now "up to FOCA 0.22", "FOCA 0.23.0 and later" "From FOCA 0.23.0 on" (docs, two docstrings, the help of namespace-subjects, one warning and one comment of the chart's helpers). Text only.

Closes #822

Feather lane: metadata, release notes and text-only rewording forced by the version guard; no logic changes.

Verification

  • python scripts/release_notes.py check docs/releases/0.23.0.md and require 0.23.0: pass.
  • pytest tests/test_citation.py tests/test_version_mentions.py tests/test_release_notes.py tests/test_docs_hooks.py: 332 passed (test_release_version_not_hard_coded failed before the rewording, passes after).
  • ruff check ., ruff format --check .: pass.
  • mkdocs build --strict: pass.
  • Tests needing MongoDB (e.g. tests/test_cli.py::TestNamespaceSubjects) could not run locally (no MongoDB); CI runs them.

Updated on 2026-11-25: merged dev (#825, #828, #829), date 2026-11-25; the notes name #828 (intro, features) and #829 (#830; fixes, documentation). #826/#827 is deferred to v0.24.0: the migration guide says that the endpoints for managing roles and the permissions API still accept bare users, which then apply to nobody.

Open questions

None.

🤖 Generated with Claude Code

https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5

Summary by Sourcery

Prepare FOCA 0.23.0 for release with updated metadata, release documentation, and version-guard-compatible wording changes.

Enhancements:

  • Prepare the FOCA 0.23.0 release with updated citation metadata, curated release notes, changelog navigation, and migration documentation.
  • Clarify version-specific behavior throughout the documentation, CLI help, configuration descriptions, and chart guidance.

Documentation:

  • Add the FOCA 0.23.0 release notes and link them from the documentation navigation and changelog.

Set version 0.23.0 and date-released 2026-11-24 in CITATION.cff, add
the curated release notes docs/releases/0.23.0.md to mkdocs.yml and
the changelog, and reword the mentions of 0.23.0 that the version
guard rejects once the citation names it ("before FOCA 0.23.0" as
"up to FOCA 0.22", "FOCA 0.23.0 and later" as "From FOCA 0.23.0 on").

Closes #822

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fc425f8) to head (6b99a6b).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #823   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           76        76           
  Lines        10831     10831           
=========================================
  Hits         10831     10831           
Flag Coverage Δ
test_unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sourcery-ai

sourcery-ai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Data structures

Clarify the compatibility meaning of an empty issuer namespace in the issuer configuration model.

  • foca/models/config.py L1769

API

Update the CLI help text for the subject-namespacing command to identify the versions whose stored users may be bare.

  • foca/cli.py L300

Implementation

Update access-control comments and warnings to describe bare users as those stored through FOCA 0.22.

  • foca/security/access_control/register_access_control.py L216, L461, L487

Configuration

Set the release citation metadata for FOCA 0.23.0.

  • CITATION.cff L54-55

Documentation

Add the curated 0.23.0 release notes and link them from the changelog and documentation navigation.

  • docs/changelog.md L9
  • docs/releases/0.23.0.md L1-53
  • mkdocs.yml L146

Revise authentication, migration, and CLI documentation to explain the 0.23.0 subject-namespacing changes and related compatibility requirements.

  • docs/authentication.md L228, L267
  • docs/cli.md L95
  • docs/configuration/auth.md L90
  • docs/migration-0.23.md L137-140 (+4 small edits)

Document the release workflow's image tags and update Helm chart guidance for FOCA's default request-body limit.

  • charts/foca-common/templates/_helpers.tpl L712
  • docs/contributing/index.md L314-316
  • docs/helm-chart.md L88, L249, L402

Add InvalidRuleError to the API reference listing.

  • docs/reference.md L93

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Name the stricter checks of backend lists (entries of another API's
type, audience without auth: client_credentials) and the limit of bare
subjects containing "|", list InvalidRuleError in the API reference,
name all image tags in the contributing guide, and add the docs and
release-prep bullets to the release notes.

Refs #822

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
uniqueg and others added 3 commits November 25, 2026 15:21
The tag is due on 2026-11-25. #828 (page-token pagination) is part of
0.23.0: name it in the intro and the features of the release notes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
#826 is deferred out of 0.23.0: say in the migration guide that the
endpoints for managing roles and the permissions API still accept bare
users, which apply to nobody once an issuer namespaces its subjects.
Add #829 (#830) to the release notes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@uniqueg
uniqueg marked this pull request as ready for review November 25, 2026 16:41
@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Linked issues

Checked at commit 6b99a6b

#822 build: prepare the 0.23.0 release · 4 of 5 met

# Requirement Status Notes
1 Set the citation version to 0.23.0. ✅ Met CITATION.cff names version 0.23.0.
2 Set date-released to 2026-11-24. ❌ Not addressed CITATION.cff sets date-released to 2026-11-25, not the date requested in the issue.
3 Add curated release notes covering every PR since v0.22.0, and list them in mkdocs.yml and docs/changelog.md. ✅ Met The 0.23.0 notes are added with the requested sections and PR references, and are listed in both navigation and the changelog.
4 Reword version mentions rejected by the version guard once the citation names 0.23.0. ✅ Met The shown text changes replace “before FOCA 0.23.0” with “up to FOCA 0.22” and use “From FOCA 0.23.0 on” for the later-version wording.
5 Complete the migration guide for behaviour changes in 0.23.0. ✅ Met The guide covers the release’s breaking changes and migration actions, including the added guidance on bare users, backend-list validation, and backend audiences.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit c556c5c into dev Nov 25, 2026
108 checks passed
@uniqueg
uniqueg deleted the release/0.23.0-prep branch November 25, 2026 19:25
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.

build: prepare the 0.23.0 release

1 participant