Skip to content

🦋 New version release#115

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 4, 2026
Merged

🦋 New version release#115
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/config@6.9.0

Minor Changes

  • 6377b67: SMOODEV-2306: Add limits — a fourth config kind. A limit is a numeric,
    segment-resolved, clamp-aware value that resolves live through the same server
    segment evaluator as feature flags (never baked) and tunes a soft target
    within a client-applied [min, max] clamp.

    • Schema: defineConfig({ limitsSchema }) + defineLimit({ default, min, max, step }), exposing LimitKeys + _limitsMeta, serialized as bounded JSON-Schema number nodes.
    • TS client: ConfigClient.evaluateLimit, createLimitEvaluator, getClientLimit, clampLimit, and a limit tier (getLimit sync + evaluateLimit async, clamped) on buildClientConfig / buildConfig.
    • Polyglot parity (mirroring the feature-flag evaluator): Rust evaluate_limit + clamp_limit, Python evaluate_limit + clamp_limit, Go EvaluateLimit + ClampLimit, .NET EvaluateLimitAsync + LimitSpec.Clamp, each with typed Limit* error types.

    Endpoint contract: POST /organizations/{org_id}/config/limits/{key}/evaluate.

@brentrager brentrager merged commit ad1c026 into main Jul 4, 2026
@brentrager brentrager deleted the changeset-release/main branch July 4, 2026 21:57
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.

1 participant