From a83deb2cc00ec330c238314623aebbd37756a65c Mon Sep 17 00:00:00 2001 From: Ilan Harel Date: Mon, 9 Nov 2026 08:05:58 +0200 Subject: [PATCH] chore: release v0.1.0-rc.3 Signed-off-by: Ilan Harel --- CHANGELOG.md | 11 +++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- actions/check/action.yml | 2 +- actions/setup/action.yml | 4 ++-- docs/GITHUB_ACTIONS.md | 20 ++++++++++---------- 7 files changed, 27 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c81c445..212a29a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,22 @@ version section and adds the squash-merged PR titles since the previous tag. Ver ## [Unreleased] +## [0.1.0-rc.3] - 2026-11-09 + - fix(generate): MCP endpoints emit `mcp.allow_all_known_mcp_methods` instead of an access preset - fix(generate): emit `operation_type` only on GraphQL rules, and only as query, mutation, or subscription - fix(generate): reject `rest`, `websocket`, and `graphql` directives that set neither rules nor an access preset - fix(lint): check `lint --policy`, `drift`, and generated policies with the OpenShell gateway validator +Merged pull requests since v0.1.0-rc.2: + +- feat(actions): shared GitHub Actions for CI/CD (setup, drift, lint, generate, diff-logs, check) (#62) +- fix(lint): check policies with the OpenShell gateway validator (#59) +- fix(generate): reject L7 protocols that name neither rules nor access (#58) +- fix(generate): emit GraphQL operation_type only for GraphQL rules (#60) +- fix(generate): emit MCP allow-all instead of an access preset (#56) +- docs: add examples/README.md for the polyglot example (#51) + ## [0.1.0-rc.2] - 2026-11-04 Merged pull requests since v0.1.0-rc.1: diff --git a/Cargo.lock b/Cargo.lock index 244d32e..5257029 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2086,7 +2086,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "openshell-annotate" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index c905dcb..e8741f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "openshell-annotate" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" edition = "2021" rust-version = "1.94" description = "Policy-as-code for OpenShell: scan @openshell source directives and generate/validate policy.yaml" diff --git a/README.md b/README.md index 4cc1b3e..976e087 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Downstream repositories can run drift, lint, generate, and diff-logs in CI with [docs/GITHUB_ACTIONS.md](docs/GITHUB_ACTIONS.md) for inputs, outputs, and copy-paste workflows. ```yaml -- uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.2 +- uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.3 with: policy: openshell/policy.yaml providers: openshell/providers.json diff --git a/actions/check/action.yml b/actions/check/action.yml index 2e2ff9e..f416923 100644 --- a/actions/check/action.yml +++ b/actions/check/action.yml @@ -8,7 +8,7 @@ inputs: version: description: Release tag for setup (`latest`, a tag, or `source` to build this repository). required: false - default: v0.1.0-rc.2 + default: v0.1.0-rc.3 root: description: Repository root for drift and lint. required: false diff --git a/actions/setup/action.yml b/actions/setup/action.yml index 5efcca0..a9bcaf3 100644 --- a/actions/setup/action.yml +++ b/actions/setup/action.yml @@ -7,10 +7,10 @@ branding: inputs: version: description: > - Release tag to install (e.g. v0.1.0-rc.2), `latest`, or `source` to build from the checked-out + Release tag to install (e.g. v0.1.0-rc.3), `latest`, or `source` to build from the checked-out repository with cargo (Rust 1.94+ required; for this repo's CI only). required: false - default: v0.1.0-rc.2 + default: v0.1.0-rc.3 install-dir: description: Directory for the openshell-annotate binary (added to PATH). required: false diff --git a/docs/GITHUB_ACTIONS.md b/docs/GITHUB_ACTIONS.md index 154f451..01606bb 100644 --- a/docs/GITHUB_ACTIONS.md +++ b/docs/GITHUB_ACTIONS.md @@ -9,11 +9,11 @@ and `macos-*` runners (linux/darwin, x86_64 and arm64). Pin the **same ref** for every action in a workflow, for example a release tag: ```yaml -uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.2 +uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.3 ``` Tags track [releases](https://github.com/ilanh/openshell-annotate/releases). You may also pin a commit SHA for -maximum stability. The `setup` action’s `version` input is the **CLI** version (defaults to `v0.1.0-rc.2`; `latest` is +maximum stability. The `setup` action’s `version` input is the **CLI** version (defaults to `v0.1.0-rc.3`; `latest` is supported). That is independent of the `@ref` on `uses:` — keep the action ref on a tag/SHA you trust. Do not rely on `@main` in production workflows; it moves with every merge. @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4.2.2 - - uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.2 + - uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.3 with: root: . policy: openshell/policy.yaml @@ -52,7 +52,7 @@ jobs: | Input | Default | Description | | --- | --- | --- | -| `version` | `v0.1.0-rc.2` | Release tag, `latest`, or `source` (build with cargo; needs checkout + Rust 1.94) | +| `version` | `v0.1.0-rc.3` | Release tag, `latest`, or `source` (build with cargo; needs checkout + Rust 1.94) | | `install-dir` | `$RUNNER_TOOL_CACHE/openshell-annotate` | Install location | | `verify-attestation` | `false` | `gh attestation verify` (needs GitHub CLI) | | `cache` | `true` | Cache the binary between runs | @@ -119,8 +119,8 @@ Combines `setup`, `drift`, and `lint`. Inputs: `version`, `root`, `policy`, `pro ## CD: regenerate policy in CI ```yaml - - uses: ilanh/openshell-annotate/actions/setup@v0.1.0-rc.2 - - uses: ilanh/openshell-annotate/actions/generate@v0.1.0-rc.2 + - uses: ilanh/openshell-annotate/actions/setup@v0.1.0-rc.3 + - uses: ilanh/openshell-annotate/actions/generate@v0.1.0-rc.3 id: policy with: policy-out: openshell/policy.yaml @@ -139,7 +139,7 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4.2.2 - - uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.2 + - uses: ilanh/openshell-annotate/actions/check@v0.1.0-rc.3 with: root: . policy: openshell/policy.yaml @@ -150,12 +150,12 @@ jobs: Split steps (same pins): ```yaml - - uses: ilanh/openshell-annotate/actions/setup@v0.1.0-rc.2 - - uses: ilanh/openshell-annotate/actions/drift@v0.1.0-rc.2 + - uses: ilanh/openshell-annotate/actions/setup@v0.1.0-rc.3 + - uses: ilanh/openshell-annotate/actions/drift@v0.1.0-rc.3 with: policy: openshell/policy.yaml providers: openshell/providers.json - - uses: ilanh/openshell-annotate/actions/lint@v0.1.0-rc.2 + - uses: ilanh/openshell-annotate/actions/lint@v0.1.0-rc.3 with: policy: openshell/policy.yaml failure-threshold: warning