Release quarantine for mobile and web apps

For teams whose API serves iOS, Android and web apps

Block a broken app release from your API in seconds

When an app release ships with a bug that costs money, your API refuses that release on the endpoints that cause harm.

09:14 · version live rule off
  1. api-1
  2. api-2
  3. api-3
  4. api-4
  5. api-5
  6. api-6
0 of 6 instances blocking

Every other version
keeps working

upforcer refuses the broken release on the endpoints that cause harm.
Other versions, other endpoints and your next deploy carry on as before.

A mobile release cannot be rolled back, but your API can still refuse it

Apps on phones and old browser tabs keep calling your API until each user updates.

On its ownWith upforcer
Your serverRolls back in a minuteRedeploy the previous build and every request uses it.Your endpoints are guardedEach endpoint you name refuses broken releases.
Your mobile appNo rollback existsApple and Google cannot remove a version from phones.Refused in secondsUsers see an update screen.
Your web appStuck in open tabsOld code runs until the tab reloads.Refused the same wayThe page asks the user to reload.

Find the business closest to yours

The companies are invented.

android 4.7.2

ACME Eats charges dinner twice

Payment calls lost their idempotency key when a retry helper was added.

What it cost

In the dinner rush, timeouts are normal. Every retry is a new charge, and forty customers write in within fifteen minutes.

Rule block payOrder · android 4.7.2

Your API checks each request in 3 µs, without calling us

Each request names its release, and your API checks it against signed rules it already holds.

  1. 01Your app names its release

    The client SDK adds a release header to every request.

  2. 02Your API checks it in memory

    The middleware compares it with signed rules in memory. There is no call to us.

  3. 03You block a release

    Upforce it from the dashboard, the CLI or Slack. Every instance has the rule within seconds.

  4. 04That release gets an update screen

    Only the blocked release on the blocked endpoint gets a 403. Every other version keeps working.

2.9s
until every instance blocks the release
3µs
to decide, in your process, no call to us
1
version and 1 endpoint refused, nothing else
0
inbound connections to your infrastructure

Support spots it, the on-call engineer blocks it, everyone goes back to dinner

upforcer blocks the release from the same thread and confirms when every instance is in sync.

Support tickets per minute · ACME Eats
# incidentsACME Inc. · invented
  1. MS

    Maya Support · 18:55

    Forty "charged twice" tickets in fifteen minutes. All from Android.

  2. TR

    Tomás On-call · 18:57

    Found it. 4.7.2 retries payOrder on timeout without an idempotency key. Blocking it until the fix ships.

    /upforcer block payOrder android 4.7.2

  3. upforcer APP 18:57

    Draft rule r_42: block payOrder for Android 4.7.2 in prod. Preview: about 310 requests an hour match, all from Android 4.7.2. It is under the blast-radius limit, so no second approver is needed.

    UpforceCancel

  4. Tomás blocked Android 4.7.2. All 6 instances in sync in 3.1 s. People on Android 4.7.2 now see "Update to 4.7.3 to order."

  5. MS

    Maya Support · 19:04

    Tickets stopped. Refunding the forty now.

  6. PK

    Priya Payments · 21:30

    4.7.3 is live with the idempotency key. Keep the block on. People will reopen 4.7.2 for months.

  7. upforcer APP 21:30

    Rule r_42 stays on. Anyone who opens 4.7.2 later, even months from now, gets the update screen instead of a double charge.

Create a project, add two libraries, done

Your dashboard lists the live versions before you write a single rule.

  1. 1

    Create a project

    Sign in, name the project and copy its key into your API's environment.

    UPFORCER_PROJECT=wallet
    UPFORCER_KEY=uf_sk_…
  2. 2

    Add the middleware to your API

    It reads the release header and decides in your process. Name the endpoints you may want to block.

    // npm i @upforcer/hono
    app.use(upforcer())
    app.post("/orders/:id/pay",
      upforcer.operation("payOrder"),
      payOrder)

    Also Express, Fastify, Next.js, NestJS, Go and Python.

  3. 3

    Add the SDK to your app

    It names the release on every request and shows the update screen on a refusal.

    // Swift Package Manager
    Upforcer.configure(
      service: "wallet")

    Also web and Kotlin.

One SDK in your API, one in your app

Both are Apache 2.0 at github.com/upforcer.

In your API

Server SDKs

Read the release header, decide in your process, refuse with a 403 and the decision header.

TypeScript
ExpressFastifyHonoNext.jsNestJS
Go
net/httpchiechogin
Python
FastAPIDjango
Cloudflare
Worker template

Coming soon: Rust, JVM, .NET, PHP and Ruby.

In your app

Client SDKs

Send the release header on every request, and turn a refusal into an update screen or a typed error.

WebSwiftKotlinFlutterReact Native

Runs on Vercel, Fly, Render, Railway, Cloudflare and AWS Lambda.

What teams ask before they install it

How is this different from a force update check in the app?

Keep it, but it only exists in builds that shipped with it, runs at launch and locks the whole app. upforcer refuses the broken release on its next request, only on the endpoints that cause harm, and covers open web tabs too.

Can we build this with a WAF rule or a feature flag?

The first version takes an afternoon. Then rules must be per operation, some instances keep the old rule, and users see generic errors. A quarantine is all or nothing for one release, and it holds when the client is the broken part.

Is upforcer an API gateway or a kill switch?

Neither. A gateway is a network hop for auth, rate limits and routing. A kill switch turns a feature off for everyone. upforcer is a library inside your handler that refuses one app version on the endpoints you name and keeps serving the rest.

What happens if upforcer goes down? Does it slow my API?

Nothing on your request path depends on us. The middleware decides in about 3 µs inside your own process, from signed rules it already holds. If our servers go down, your API keeps those rules and keeps serving.

Featuresupforcer · prod
  1. 01Per-version rulesMatch one app version, platform and environment.
  2. 02Per-endpoint blockRefuse only the operations that cause harm.
  3. 03Instant previewSee what a draft would hit before you Upforce.
  4. 04Seconds to every instancePer-instance status shows which instance runs which rule.
  5. 05RFC 9457 update screenThe 403 carries what the app should show.
  6. 06Unlimited requestsThe decision runs in your process. Volume is never metered.

Unlimited requests on every plan

Plans are priced on what the control plane does for you, never on traffic.

Free$0
  • Core rules and preview
  • 1 project, unlimited requests
  • Rule status for up to 5 instances
  • 7-day audit log
Start free
Pro$49/month
  • Unlimited projects and environments
  • Hosted attestation
  • Approvals and alerts
  • 90-day audit log
Start Pro
Business$199/month
  • Everything in Pro
  • SSO and SIEM export
  • 1-year audit log
  • Self-serve, no sales call
Start Business
EnterpriseCustom
  • Dedicated control plane
  • Your own domain, like rules.yourcompany.com
  • Bring your own signing keys
  • SLA
Talk to us

Install it before the release that needs it

The middleware goes into your API in minutes.

$ npm i @upforcer/hono

upforcer is release quarantine for mobile and web apps. A broken release stays away from your money until the fix is in the store.