Migrating from 0.28 to 0.29
🐍 Python API -python-api
New API for defining visualizer overrides new-api-for-defining-visualizer-overrides
The Python API for setting blueprint overrides now uses special visualizer objects under the hood.
A sideffect of that is that VisualizerOverrides no longer exists, instead you just list the visualizers out:
Before:
rr.send_blueprint(
rrb.TimeSeriesView(
overrides={
"trig/sin": [
rrb.VisualizerOverrides([rrb.visualizers.SeriesLines, rrb.visualizers.SeriesPoints]),
],
},
)
)After:
rr.send_blueprint(rrb.TimeSeriesView(overrides={"trig/sin": [rr.SeriesLines(), rr.SeriesPoints()]}))In general, you can now pass any archetype that has a corresponding visualizer.
Internally, passing such a VisualizableArchetype is a shorthand for calling .visualizer() on the object.
Entry.update() is deprecated in favor of Entry.set_name() entryupdate-is-deprecated-in-favor-of-entrysetname
The Entry.update() method has been deprecated. Use Entry.set_name() instead for renaming entries.
# Before (deprecated)
entry.update(name="new_name")
# After
entry.set_name("new_name")The deprecated method will emit a DeprecationWarning and will be removed in a future release.
CatalogClient: Renamed addr constructor parameter catalogclient-renamed-addr-constructor-parameter
The first argument to CatalogClient is now called url.
The other arguments (including token) are now kw-args.
Server: Renamed addr constructor parameter server-renamed-addr-constructor-parameter
The first argument to Server is now called host.
Deprecated rerun.dataframe API has been removed deprecated-rerundataframe-api-has-been-removed
The rerun.dataframe module and its associated APIs, which were deprecated in 0.28, have now been fully removed. This includes RecordingView, Recording.view(), and the ability to run dataframe queries locally via this module.
Please refer to the 0.28 migration guide section on RecordingView and local dataframe API for details on updating your code to use rerun.server.Server and the rerun.catalog API instead.
Deprecated rerun.catalog APIs have been removed deprecated-reruncatalog-apis-have-been-removed
The deprecated rerun.catalog APIs that were marked for removal in 0.28 have now been fully removed. If you were using any of these deprecated methods, you must update your code to use the new APIs.
Please refer to the 0.28 migration guide section on catalog API overhaul for more details on the new API patterns.
Multiple internal submodules were move to properly mark internal multiple-internal-submodules-were-move-to-properly-mark-internal
Most of their functionality is already exposed indirectly through re-exports. If you still need to use any functionality directly you can still find them in their new location.
rr.color_conversion->rr._color_conversionrr.event->rr._eventrr.legacy_notebook->rr._legacy_notebookrr.logging_handler->rr._logging_handlerrr.memory->rr._memoryrr.script_helpers->rr._script_helpers
CLI cli
rerun server --addr … has been renamed rerun server --host …
Overrides in blueprint files can't be imported overrides-in-blueprint-files-cant-be-imported
Rerun 0.29 cannot currently load component overrides from .rbl files created in previous versions. Support for legacy overrides is coming soon.
Dataset re-registration required to fix missing name and start_time in segment table dataset-reregistration-required-to-fix-missing-name-and-starttime-in-segment-table
This release fixes a bug where the built-in properties (RecordingInfo, including name and start_time) would not be displayed in the segment table. On Rerun Data Platform deployments, property extraction happens at registration time. This means that datasets will need to be re-registered for these columns to be populated.
The OSS server is not affected because it generates the segment table on the fly.