Skip to content

Commit 494996f

Browse files
committed
Bump rate limiter to v0.0.2 and document versioning process (#6)
- Bump version in Cargo.toml and plugin-manifest.yaml - Add versioning section to CLAUDE.md documenting the bump process Signed-off-by: Jonathan Springer <jps@s390x.com> Signed-off-by: lucarlig <luca.carlig@ibm.com>
1 parent e0bbea0 commit 494996f

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,13 @@ make check-all # fmt-check + clippy + Rust tests
3030
- Rust: stable toolchain, `cargo fmt`, `clippy -- -D warnings`.
3131
- All source files must include Apache-2.0 SPDX license headers.
3232
- Versions are defined in `Cargo.toml` and pulled dynamically by maturin (`dynamic = ["version"]`).
33+
34+
## Versioning
35+
36+
When bumping a plugin version, update all of these:
37+
38+
1. `Cargo.toml` — the single source of truth for the version number.
39+
2. `cpex_<plugin>/plugin-manifest.yaml` — the `version` field.
40+
3. `Cargo.lock` — updates automatically on the next build.
41+
42+
Tag releases as `<plugin>-v<version>` (e.g., `rate-limiter-v0.0.2`) on `main` to trigger the PyPI publish workflow.

rate_limiter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rate_limiter"
3-
version = "0.0.1"
3+
version = "0.0.2"
44
edition = "2024"
55
authors = ["ContextForge Contributors"]
66
license = "Apache-2.0"

rate_limiter/cpex_rate_limiter/plugin-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: "Rate limiting by user/tenant/tool — memory (single-process) or Redis (shared across instances)"
22
author: "ContextForge Team"
3-
version: "0.0.1"
3+
version: "0.0.2"
44
available_hooks:
55
- "prompt_pre_fetch"
66
- "tool_pre_invoke"

0 commit comments

Comments
 (0)