Skip to content

Checkgate v0.2.0

Latest

Choose a tag to compare

@akosidencio akosidencio released this 22 Nov 10:47
db6cbc0

Checkgate 0.2.0 brings feature flags to more of your stack: OpenFeature, Python and the main Node.js frameworks. It adds a local quickstart, an evaluation playground, SDK health diagnostics, and an MCP server for AI agents that works within your approval workflow. Every SDK evaluates flags locally with the same Rust engine, and none of the new features adds a network request per evaluation.

Developer ecosystem

  • OpenFeature provider: @checkgate/openfeature-provider is an OpenFeature server-SDK provider built on @checkgate/node. It maps reasons and variants and reports READY, STALE, ERROR and FATAL.
  • Python SDK: checkgate uses the Rust engine through PyO3, with SSE plus a polling fallback, revision ordering, an offline cache, get_details() and get_health(). Abi3 wheels for CPython 3.11+ on Linux x86_64/aarch64, macOS x86_64/arm64 and Windows x86_64. Examples for FastAPI, Flask and Django.
  • Express, NestJS and Fastify: @checkgate/node-integrations shares one client per process and gives each request its own evaluation context.

Developer experience

  • Five-minute quickstart: quickstart/start.sh --seed runs a local, development-only setup with Node.js and Python examples.
  • Evaluation playground: shows what an SDK would answer for a given user, and why. Read-only.
  • SDK health diagnostics: the server reports the delivered revision per stream and convergence per environment; the SDKs offer getHealth() / get_health() and status listeners.

Automation

  • @checkgate/mcp-server: a stdio MCP server for AI agents. It is read-only by default. With writes enabled and a propose token, it can propose changes, which go through the normal approval workflow. No tool creates, approves or applies anything.

Reliability and security

  • Protected-environment governance: in environments that require approval, creating an enabled flag now goes through a change request (202 Accepted). Inert flags are still created directly.
  • SSE and revision ordering: shared fault-injection and evaluation-vector suites run against the Node.js, Python and OpenFeature SDKs.
  • Validation: cross-platform wheel and native-addon builds, npm and wheel package checks, and a tested 0.1.31 → 0.2.0 upgrade and rollback.

Performance

0.2.0 was compared with v0.1.31 in a controlled A/B on a dedicated 6-CPU Linux workstation. No measured regression exceeds the 10 % threshold. Rule matching and weighted-variant selection in the Rust core are 2.7–4.6 % slower (2–10 ns per evaluation), tracked in #72 and #73. Node.js SDK evaluation, server throughput, SSE propagation and memory are unchanged within noise. Details: CHANGELOG, benchmarks.

Upgrading from 0.1.31

  • The release has two additive database migrations, applied on start. A 0.1.31 binary will not start against an upgraded database, so replace all instances rather than rolling them. Take a database backup first.
  • In approval-required environments, scripts that create enabled flags must handle 202 (a pending change request).
  • Do not create propose tokens while any 0.1.31 instance is still serving.
  • The SDK protocol is unchanged: 0.1.31 SDKs work with a 0.2.0 server and the reverse.
  • Rollback steps: Upgrading to 0.2.0.

Known limitations

  • Python SDK: the stream event queue is unbounded by count (#74) and snapshot persistence is not debounced (#77). There is no source distribution, so platforms without a wheel (for example Alpine/musl) cannot install it.
  • The evaluation playground has no dedicated concurrency limit (#75), and /health/ready probes the database on every call (#76).
  • Kubernetes operator: retrying an approval-gated update can leave duplicate pending change requests (#78).
  • React Native: iOS is not certified. Flutter: you build and link the Rust engine yourself.
  • Security hardening carried over from 0.1.31 (#89–#91) and the docker run stop timeout (#92) are tracked for 0.2.1.

Packages

Package Install
Node.js SDK npm install @checkgate/node@0.2.0
OpenFeature provider (new) npm install @checkgate/openfeature-provider@0.2.0 @openfeature/server-sdk
Express · Fastify · NestJS (new) npm install @checkgate/node-integrations@0.2.0
Python SDK (new) pip install checkgate==0.2.0
MCP server (new) npx -y @checkgate/mcp-server@0.2.0
Browser SDK npm install @checkgate/web@0.2.0
React Native SDK npm install @checkgate/react-native@0.2.0
Flutter SDK flutter pub add checkgate_flutter:^0.2.0
SSR · Edge npm install @checkgate/ssr@0.2.0 @checkgate/edge@0.2.0
CLI npm install -D @checkgate/cli@0.2.0

npm packages carry npm provenance; the Python wheels carry PyPI attestations.

Container image: ghcr.io/checkgate-sh/checkgate:0.2.0 (also 0.2 and latest), digest sha256:fc57525438619606face777560eb1c6d2b9d0e53e04e41f731bb513df10c8d61, linux/amd64 and linux/arm64, signed with Cosign (keyless, release.yml at v0.2.0).

Full changelog: CHANGELOG.md