0.45

Highlights

Transforms view

The transform debugging UI moved from the dev panel into a dedicated Transforms view, allowing you to add and arrange it freely in the Viewer's blueprint.

It shows how your coordinate frames are connected as a tree, with frames as nodes and transforms as edges. The layout direction and which types of transforms it shows can be changed in the selection panel.

Compared to the previous dev panel, this view is now linked to the rest of the Viewer. Hovering or selecting a frame or transform highlights the entities it relates to in the other views (e.g. a robot mesh), and hovering or selecting an entity elsewhere highlights its frame and transforms. See the video for an example:

Rulers in the 2D view

The 2D view can show rulers with tick values and axis names along its top and left edge: 2D view with rulers, tick values and axis names along its top and left edge

Turn them on in the selection panel, or with rrb.Spatial2DView(rulers=rrb.Rulers(visible=True, name_x="x", name_y="y")). See the Spatial2DView reference.

ViewCoordinates in the 2D view

The axes of SpatialInformation now also work in the 2D view, where they set whether X points left or right and whether Y points up or down.

For example, rrb.Spatial2DView(spatial_information=rrb.SpatialInformation(axes=rr.ViewCoordinates.for_2d(x="right", y="up"))) shows +Y pointing up, like in a plot. See the Spatial2DView reference.

The rulers follow the axes and lie along the edges where X and Y are lowest.

Rerun Hub is now Rerun DB, and the open-source server is Rerun DB Local

Rerun Hub, our managed offering, is now called Rerun DB. The open-source Rerun DB server that you start with rerun server or rr.server.Server is now called Rerun DB Local. In the Viewer, "Connect to a server…" is now "Connect to Rerun DB…".

New features

MuJoCo push recovery example

The new MuJoCo push recovery example evaluates humanoid locomotion policies in MuJoCo, saves every episode as a Rerun recording, and queries those recordings to find out when and why the robot falls.

MuJoCo push recovery example

Persistent local storage for Rerun DB Local

Rerun DB Local now keeps uploaded and staged files on disk across restarts. By default, it stores files in:

  • Linux: $XDG_DATA_HOME/rerun/default_storage (normally ~/.local/share/rerun/default_storage)
  • macOS: ~/Library/Application Support/rerun/default_storage
  • Windows: %APPDATA%\rerun\data\default_storage

Use --default-storage PATH to override this directory. Use --storage ALIAS=PATH to configure named directories and select a destination when staging files. For throwaway sessions, use rerun server --temporary or rr.server.Server(temporary=True). Temporary servers use a private temporary directory removed on shutdown and reject configured storage locations. The catalog itself remains in memory.

Experimental web view

The new web view shows a web page in the viewer, either from a URL or from raw HTML in the blueprint. It is experimental and may change, and is only built with the webview feature. The web viewer shows pages in an <iframe>. To show pages in the native viewer, build it with Chromium support using pixi run rerun-webview-cef.

Other

  • The Python logging APIs support Numpy 1.26: The logging and chunk processing APIs of rerun-sdk now work with NumPy 1.26 or newer, so rerun-sdk installs alongside ROS 2 Jazzy and Kilted and other packages that still require NumPy 1, without pip install --no-deps. With NumPy 1, run pip install 'rerun-sdk[numpy1]', which also picks a pyarrow that works with NumPy 1. A plain pip install rerun-sdk no longer upgrades an existing NumPy 1 to NumPy 2, so it can now pair NumPy 1 with an incompatible pyarrow; import rerun then explains how to fix it. The catalog and dataloader APIs still require NumPy 2 or newer, so the catalog, dataloader and all extras that install them do too. See Python installation.
  • Catalog requests retry transient failures: The Viewer and SDKs now retry catalog requests for up to 10 seconds on network failures, or when the server is restarting or overloaded. Only requests that are safe to repeat are retried.
  • gRPC-Web for catalog connections: Set RERUN_FORCE_GRPC_WEB=1 to connect the desktop Viewer or Python SDK to catalogs through proxies that do not support native gRPC.
  • Set up cards for a segment table: The cards toggle of a dataset's segment table now always shows. Without a card layout, the cards view explains what cards are, and offers to set them up with the agent panel or to write the layout in Python.
  • Antigravity CLI in the agent panel: The agent panel now supports Google's Antigravity CLI (agy) instead of the retired Gemini CLI. See Agent panel.
  • Views can hide their tooltips: Views take a new tooltips blueprint option, for example rrb.Spatial2DView(tooltips=False), which hides the tooltips that the view shows for the data under the pointer. Hovering still highlights the data.
  • Blueprint type stability: The SDK and view reference no longer label ordinary blueprint types as unstable. Types specific to the table blueprint format remain unstable. This does not change the saved blueprint format or the experimental status of the Python table blueprint API.
  • New markdown renderer: The Viewer renders markdown with egui_markdown instead of egui_commonmark. You can now select text across paragraphs, and wide tables scroll horizontally on their own.
  • Compact "Add view or container" dialog: The "Add view or container" dialog now shows its entries as a grid of cards, so all of them fit on screen without scrolling.
  • Web Viewer API reference: Browse WebViewer methods by task and TypeScript types by subject in the improved Web Viewer API reference.

Breaking changes

Recursive clears are deprecated

A recursive Clear also clears every entity below the one it is logged to. Recursive clears still work, but they are deprecated and will be removed in a future release. rr.Clear(recursive=True) and rr.Clear.recursive() now emit a DeprecationWarning in Python, and Clear::recursive() in Rust and Clear::RECURSIVE in C++ warn at compile time.

Log a flat clear on each entity instead:

# before
rr.log("tracked", rr.Clear(recursive=True))

# after
for path in ["tracked", "tracked/box", "tracked/center"]:
    rr.log(path, rr.Clear())

In Python, recursive now defaults to False, so rr.Clear() is a flat clear.

re_server is now re_db_local

The Rust crate re_server is renamed to re_db_local. Before:

re_server = "0.44"

After:

re_db_local = "0.45"

Component mappings have a list of sources

A component mapping now has a target and a list of sources. In Python, the source_kind, source_component and selector attributes moved to sources[0] as kind, source and selector. The constructor is unchanged. In Rust, use the VisualizerComponentMapping constructors instead of the struct fields.

A blueprint's TimePanel no longer contains play_state

The play state is no longer part of the blueprint. TimePanel in Python and Rust no longer takes a play_state, and the TimePanelBlueprint archetype no longer has a play_state field in any SDK.

Blueprints that still contain a play state open as before, and the Viewer ignores the value.

To pause, play or follow from code, use ViewerClient.set_time on a running Viewer:

# Before
rr.send_blueprint(rrb.Blueprint(rrb.TimePanel(play_state="paused")))

# After
from rerun.experimental import ViewerClient

client = ViewerClient.connect()
client.set_time(play_state="paused")

See Control playback and drive the Viewer from code. PreviewsConfig.play_state for table previews is unchanged.

Registering an RRD with several recordings registers only the first one

An RRD file can hold several recordings. When such a file is registered with a dataset, Rerun DB Local (rerun server, rr.server.Server) now registers only the first recording written to the file, as Rerun DB already does. It used to register every recording, each as its own segment. The server logs a warning when it leaves recordings out. For a file written by rerun rrd merge, which recording comes first is unspecified.

A file with no recording at all is now refused, instead of registering nothing.

The Viewer is unaffected: opening an RRD with several recordings still loads all of them. So are the datasets that the server loads when it starts, with rerun server --dataset <dir> or rr.server.Server(datasets=…).

Migration

Before, registering recordings.rrd added one segment per recording it holds:

dataset.register(["file:///data/recordings.rrd"]).wait()

After, write each recording to its own file, and register these files:

from rerun.chunk import RrdReader

reader = RrdReader("/data/recordings.rrd")
uris = []
for recording in reader.recordings():
    path = f"/data/{recording.recording_id}.rrd"
    reader.stream(store=recording).write_rrd(
        path,
        application_id=recording.application_id,
        recording_id=recording.recording_id,
    )
    uris.append(f"file://{path}")

dataset.register(uris).wait()

Staging returns the storage location

The experimental CatalogClient.stage() now returns the uploaded object's URL and its storage location alias instead of just the URL. Omit storage_location to use the server default. The Rust catalog client's stage and stage_opt methods have the same change.

Before:

uri = client.stage("recording.rrd", key="runs/recording.rrd")
dataset.register([uri]).wait()

After:

uri, alias = client.stage("recording.rrd", key="runs/recording.rrd")
dataset.register([uri], storage_location=alias).wait()

The dataloader requires PyTorch 2.11 or newer

The dataloader now requires PyTorch 2.11 or newer instead of 2.5, including per-field collation (packed=False). Upgrade with pip install --upgrade 'rerun-sdk[dataloader]'.

Use PooledBatchCollator(packed=True) to combine tensor fields into one shared CPU buffer and pin them with one copy, while consuming dictionary-compatible batches through the standard PyTorch DataLoader. See the dataloader guide and pooled-batch example.

Removed deprecated SDK APIs

Rerun 0.45 removes SDK APIs that were deprecated in 0.37 or earlier.

Removed deprecated SDK datatype namespaces

Rerun 0.45 removes the datatypes namespaces deprecated in 0.37.

Use encodings instead of datatypes in Rust and Python, including blueprint imports. In C++, include <rerun/encodings.hpp> and use rerun::encodings instead of <rerun/datatypes.hpp> and rerun::datatypes.

Removed deprecated data loader names and executable prefix

Rerun 0.45 removes the data loader aliases and executable prefix deprecated in 0.32.

Rename executables from rerun-loader-* to rerun-importer-* so the SDK can discover them. Use EXTERNAL_IMPORTER_INCOMPATIBLE_EXIT_CODE instead of EXTERNAL_DATA_LOADER_INCOMPATIBLE_EXIT_CODE in Rust, Python, and C++. In C, replace the rr_data_loader_settings typedef with rr_importer_settings. In Rust, replace EXTERNAL_DATA_LOADER_PREFIX, DataLoader, DataLoaderError, DataLoaderSettings, and LoadedData with EXTERNAL_IMPORTER_PREFIX, Importer, ImporterError, ImporterSettings, and ImportedData.

Removed deprecated Python catalog entry methods and single-URI registration shorthand

Rerun 0.45 removes three Python catalog APIs:

  • Entry.update(), deprecated in 0.29: use entry.set_name(name) instead of entry.update(name=name).
  • The single-string form of DatasetEntry.register(), deprecated in 0.32: pass a list even for one recording, as in dataset.register([uri]).
  • DatasetEntry.manifest(), deprecated in 0.34: this method was for internal diagnostics and has no public replacement.

Removed deprecated Python connection and event aliases

Rerun 0.45 removes the connection and event aliases deprecated in 0.29.

Use CatalogClient(url=…) and Server(host=…) instead of addr=. Replace server.address() with server.url() and event.partition_id with event.segment_id.

Removed deprecated Python transform and blueprint panel arguments

Rerun 0.45 removes Transform3D’s from_parent argument and the blueprint panels’ expanded argument, both deprecated since at least 0.18.

Replace rr.Transform3D(from_parent=True) with rr.Transform3D(relation=rr.TransformRelation.ChildFromParent); omit relation for the old False case. Replace expanded=True or False on blueprint panels with state="expanded" or state="collapsed".

Removed deprecated C++ time setters and column constructors

Rerun 0.45 removes the following RecordingStream setters and TimeColumn constructors, deprecated in 0.23.

To preserve the old duration timeline, replace rec.set_time(name, point) with rec.set_time_duration(name, point.time_since_epoch()) for a time point, or rec.set_time_duration(name, duration) for a duration. Use set_time_timestamp only if you intend to change the timeline to a timestamp. Replace set_time_seconds and set_time_nanos with set_time_duration_secs and set_time_duration_nanos. For TimeColumn, replace from_sequence_points with from_sequence and from_times with from_durations. Replace from_seconds and from_nanoseconds with from_duration_secs and from_duration_nanoseconds to keep their duration semantics.

Removed deprecated C++ asset, image, and video helpers

Rerun 0.45 removes the Asset3D, AssetVideo, and VideoTimestamp helpers deprecated in 0.23 and Image::from_greyscale8, deprecated in 0.24.

On Asset3D, use from_file_path and from_file_contents instead of from_file and from_bytes. Use AssetVideo::read_frame_timestamps_nanos instead of read_frame_timestamps_ns, and Image::from_grayscale8 instead of from_greyscale8. On VideoTimestamp, replace from_seconds, from_milliseconds, and from_nanoseconds with from_secs, from_millis, and from_nanos.

Looking for an older release? See the migration guides for 0.33 and earlier.