Three versions of every module

A module is one part of an app, such as billing, sign in or search. Each one moves through the same three versions.

Last

The version that current replaced. It stays ready, so going back is one step, not a rebuild.

Current

The version people use today.

Next

The new version, checked on the live system behind a flag. It reaches a share of people first, then everyone.

There is no separate staging copy to keep in step. Next runs on the real system with the real settings, so what gets checked is what people will use.

How a change ships

Every change takes the same eight steps.

1. Change

A change is made to one module, with its tests.

2. Test what changed

Checks run on the module that changed and everywhere it is used.

3. AI review

A second AI model reviews the change, then a person approves it.

4. Release behind a flag

Next reaches 10% of people first, then more, up to 100%.

5. Promote

When next is good, it becomes current and current becomes last.

6. Watch

Health checks watch errors, speed and the module's own checks.

7. Fail back

If current fails its checks, people go back to last.

8. Patch

The fix ships as a patch version and becomes current again.

Why it matters to you

  • Safer releases. New work reaches a few people before everyone, so a problem is caught while it touches few.
  • A quick way back. Last is always ready. Going back is a switch, not an emergency rebuild.
  • Each module moves on its own. A fix to billing does not wait for search or sign in, and one release never holds up another.
  • A clear record. Every release has a version number and a written history, so you can see what changed and when.

How Lucasia uses Versimo

Every Lucasia app is Versimo based. It is the rule for everything we build: no staging, and every module keeps a last, a current and a next version.

  • lucasia.ai, this website, is released with Versimo. Each release goes up as next beside the live site, is checked on the live address, sign in included, and is then promoted. The release before it stays ready as last.
  • The Lucasia app is built on Versimo, with its release tools and its three versions per module.

Open source

Versimo is free and open source under the MIT license. Its library answers one question: which version of this module should this person get? It comes in TypeScript, Python, Go, Kotlin and Swift, with no runtime dependencies, and every language gives the same answer for the same record.

Read the model and try it on versimo.dev (opens in a new tab), or read the code, open an issue or contribute on GitHub (opens in a new tab).

Questions

What is Versimo?

Versimo is the open source release model and library that Lucasia uses. Every module keeps a last, a current and a next version, and a release can always go back to last.

Does Versimo replace staging?

Yes. Next is checked on the live system behind a flag, so there is no separate staging copy to keep in step.

What happens if a release goes wrong?

Current goes back to last. With health checks switched on, this happens on its own. The fix then ships as a patch version.

Is Versimo free?

Yes. The library is free and open source under the MIT license.

Which languages does Versimo support?

TypeScript and JavaScript, React Native included, Python, Go, Kotlin and Swift.

Want releases like this on your product?

Lucasia Studio can set up last, current and next releases on your website or app, so every change has a way back.