Skip to content

chore(release): v2.9.0 - #294

Merged
traoreera merged 1 commit into
mainfrom
chore/release-2.9.0
Oct 12, 2026
Merged

traoreera merged 1 commit into
mainfrom
chore/release-2.9.0

Conversation

@traoreera

@traoreera traoreera commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Test plan

  • poetry run pytest tests/unit tests/integration -q — 1415 passed, 1 pre-existing unrelated skip
  • poetry run mkdocs build --strict — clean (pre-existing unrelated warnings only)
  • version consistent across all three files
  • pre-commit hooks passed on the commit

Summary by Sourcery

Release version 2.9.0 with updated version metadata, changelog coverage, and documentation for the new action authorization and schema capabilities.

Bug Fixes:

  • Correct the stale __version_info__ value so it matches the released version.

Enhancements:

  • Document action permission groups and their authorization behavior.
  • Document the updated HTTP middleware flow and the distinction between action permissions and plugin ACL permissions.

Build:

  • Bump the project version to 2.9.0 across package metadata and runtime version information.

Documentation:

  • Add the 2.9.0 changelog covering permission groups, side-effect metadata, enriched action schemas, and schema registration changes.

CHANGELOG entry for permission_groups, side_effect, and the ActionSchema/
registry work from the last two merged PRs; version bump across
pyproject.toml, xcore/__version__.py (also fixes __version_info__, which
had drifted to (2, 7, 1) since the 2.8.1 bump), and CLAUDE.md. Updated
CLAUDE.md's HTTP call-flow diagram and doc/advanced/middleware.md's
Action Permissions section to mention permission_groups, not just
permissions.
@sourcery-ai

sourcery-ai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

This release PR prepares xcore 2.9.0 by documenting the permission_groups, side_effect, and ActionSchema/registry features, updating middleware and advanced usage guidance, and synchronizing the release version across packaging, runtime, and project documentation while fixing the stale version_info tuple.

Sequence diagram for action authorization with permission groups

sequenceDiagram
    participant Caller
    participant AuthResolverMiddleware
    participant ActionPermissionMiddleware
    participant Handler
    participant Plugin

    Caller->>AuthResolverMiddleware: get_current_principal()
    AuthResolverMiddleware-->>ActionPermissionMiddleware: principal
    ActionPermissionMiddleware->>Handler: get_action_permissions(action)
    ActionPermissionMiddleware->>Handler: get_action_permission_groups(action)
    alt requirements satisfied
        ActionPermissionMiddleware->>Plugin: handler.call()
        Plugin-->>Caller: action result
    else requirement unmet or no principal
        ActionPermissionMiddleware-->>Caller: action_permission_denied
    end
Loading

File-Level Changes

Change Details Files
Documents the 2.9.0 release and the newly released action authorization, risk, and schema-registry capabilities.
  • Adds changelog entries for permission groups, side-effect metadata, enriched ActionSchema exports, and registry coverage.
  • Explains the permission_groups OR-of-AND semantics, combination with permissions, fail-closed behavior, and legacy-handler compatibility.
  • Updates the middleware flow and advanced documentation to distinguish action permissions from plugin ACL permissions.
doc/changelog.md
CLAUDE.md
doc/advanced/middleware.md
Bumps the package version consistently and corrects the previously stale version tuple.
  • Sets the release version to 2.9.0 in project metadata and runtime version constants.
  • Synchronizes the documentation-facing version string.
pyproject.toml
xcore/__version__.py
CLAUDE.md

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

@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file core config labels Oct 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="doc/changelog.md" line_range="8" />
<code_context>
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

+## [2.9.0] - 2026-10-12
+
+### Added
</code_context>
<issue_to_address>
**Root changelog misses release notes**

When readers consult the repository-root `CHANGELOG.md` for release history, `doc/changelog.md` contains the 2.9.0 entry while the root `CHANGELOG.md` still starts at 2.8.1, so readers of the root changelog miss the release notes.

Add the 2.9.0 entry to the repository-root `CHANGELOG.md`.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: doc/changelog.md:8


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

Comment thread doc/changelog.md
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.9.0] - 2026-10-12

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Medium · Root changelog misses release notes

When readers consult the repository-root CHANGELOG.md for release history, doc/changelog.md contains the 2.9.0 entry while the root CHANGELOG.md still starts at 2.8.1, so readers of the root changelog miss the release notes.

Add the 2.9.0 entry to the repository-root CHANGELOG.md.

Prompt for AI agents
In `doc/changelog.md` at line 8:

**Root changelog misses release notes**

When readers consult the repository-root `CHANGELOG.md` for release history, `doc/changelog.md` contains the 2.9.0 entry while the root `CHANGELOG.md` still starts at 2.8.1, so readers of the root changelog miss the release notes.

Add the 2.9.0 entry to the repository-root `CHANGELOG.md`.

@traoreera
traoreera merged commit d4422ec into main Oct 12, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config core dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant