Skip to main content

What's new

Safer releases: build first, roll back in one click, copy data with a preview

A release history table above the Roll back section, with a button to roll back to the previous release and a line showing when it was verified and what has shipped since.

The moments that make you nervous with a live app are the ones where something changes: shipping a release, undoing one, and moving your data across before real customers arrive. Each of those now has a safer path.

Releases build first and swap second

A release now builds in its own directory while your running version keeps serving. Once the build passes, the old version stops and the new one starts from the finished build, in seconds. There's still a brief gap during the swap, but the long outage is gone, and a release that fails to build fails with nothing stopped. If a new version fails after the swap, 1904 puts your app back on its live release.

Your app needs a fast start script plus either its own build script or a launch script whose last line starts the server, and 1904 asks for this shape when it builds or prepares an app. Migrations now apply before the swap, while the old version is still serving, so write them so that version keeps working for those few minutes.

Roll back in one click

Below your release history, the Roll back section has a button named for the release before the live one. Next to it you can see when that release was verified and what has shipped since. Click it and you get a review showing the commits and files rolling back would remove, then one confirmation. The release notes come prefilled with which release came back and what it undid, so you only need to add the reason. To go back further, Roll back to an earlier release is still there, with the same review.

Code goes back, your data stays

A rollback restores the earlier code as a new commit, rebuilds your app and runs its health checks. It changes code only and never touches the database, so your live data is kept. When database-related files changed between the two releases, automatic rollback is blocked, the review lists those files, and the way forward is a reviewed release that works with the current database.

Copy development data to your live app

You've spent weeks building up good data in development: accounts, content, uploads. Before real customers arrive, you may want all of it in your live app. Open your app's settings and go to the section for its live version, where the data copy card sits. It runs in one direction only, development to live, and only an owner can start a copy.

The first step does the counting. You see how many files your live app will get, how many it has now and is about to lose, and any uploads sitting in development's code folder. The same step compares the structure of the two databases, and Continue stays off until they match or you've approved the differences.

A copy permanently replaces every record and uploaded file in your live app, and 1904 keeps no backup of what's being replaced, so the flow asks twice: tick a box, then type your live app's name. Your live app stops while the copy runs, and if the copy fails, it keeps its current data and files. Every finished copy goes in the card's history, with who ran it and how it went.

A release ships code and keeps your live data, so once real customers are using your app, a release is almost always what you want.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.