Rive CLI 1.2.0
This release puts your project on the web. Build a game, run rive mygame --publish=web, and it goes live on a page anyone can open and play, with nothing to host yourself. Before, --publish only wrote a signed .riv to disk. Keyboard and gamepad input now work in the viewer on Windows, and --fullscreen runs a project as a full-screen game. rive push now updates changed objects in place instead of deleting and recreating them, so an editor with the file open keeps their keyframes. Update with rive update (curl install) or brew upgrade --cask rive-cli.
Publishing
🌐 --publish=web builds the project, signs it, uploads it to a hosted page and prints the page's URL. A page belongs to a Workspace: with one Workspace it is picked for you, with several the CLI asks, and --team=<id> skips the question. --unpublish=web takes the page down, and --list-published shows where the project is published. Bare --publish still writes a signed .riv to disk, and --publish=local is the same thing spelled out.
📄 rive myproject --publish --quiet now prints the path of the .riv it wrote. Before, the path went to the build log on stderr, so a script capturing stdout got an empty string. Both targets now end with what they produced: a path for local, a URL for web.
🔑 An expired session now says Not logged in. Run: rive login on the first try. Before, it reported refresh failed (HTTP 400), and the login hint only showed up if you ran the command a second time.
🧩 Published projects with scripts that are not declared in the markup now run on the web. Before, the web runtime rejected the file's script signature and silently disabled every script, while the same file ran fine in the CLI viewer.
Push
🔁 rive push patches a changed object property by property and keeps its id. Before, it deleted the object and created a new one, so an editor with the file open saw it vanish and lost its keyframes, layers or states. A property you remove from the markup resets to its default. Only removed objects and type changes still delete.
🖼️ Images in a pushed file now carry their width and height, read from the PNG, JPEG, WebP or KTX2 header. Before, the editor treated them as unanalyzed, and a file with many images could flood the log with failed image conversions while it waited.
Viewer
🎮 Keyboard and gamepad input now work in the viewer on Windows, matching macOS and Linux.
🖥️ --fullscreen opens the viewer over the whole display and hides the pointer, on macOS, Linux (X11 and Wayland) and Windows. A project can still show the pointer by naming a cursor, and hidden is a new cursor name a scene can request.
🏷️ The live window's title now starts with the project name, and its icon in the Dock, Cmd-Tab and the taskbar shows the project's initials, so several open projects are easy to tell apart. Set window.icon in rive.yaml to pick a color and a label of up to three characters, use artboard to draw one of the project's artboards as the icon, or false to keep the stock icon.
🐧 Fixed the viewer drawing nothing on Linux with Mesa graphics drivers older than 25.3. Thanks to a community contribution.
RML
📐 Grid layouts, layout participants for shapes, text and images, and Solos in layouts are now supported in RML, with docs to match. rive inspect flags a GridTrack placed inside the layout style or a LayoutParticipant placed next to its shape instead of inside it.
🎯 Draw rules the editor would reject are no longer exported. A rule pointing at a missing drawable crashed the runtime on load, and a rule in a cycle silently switched off every other draw rule on the artboard, on a file that built and inspected clean.
Runtime fixes
⬅️ Pressing Left with text selected in a Text Input now moves the cursor to the start of the selection. Before, it landed one character before the selection's end.
🧍 Data binds inside a collapsed Component no longer write zeros into the view model. A rig that reused one artboard several times could draw the head in the wrong place because hidden copies overwrote the visible one's values.
Built-in CLI docs (rive docs)
These ship with the CLI and are what agents read to author scenes; open them with rive docs.
🧭 The docs, and the scene rive create writes, declare the state machine before any timeline. The editor opens Animate mode on whatever is listed first, so new projects opened on a timeline instead of the state machine.
🔀 State machine docs now steer toward view model properties throughout, and mark state machine inputs as deprecated wherever the old wording still used them as the default.
🗺️ New guidance on placing states so transitions are not hidden behind other states in the editor's graph. A transition that skips a state or goes back along a row is drawn behind the states in between.