New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rerun-io/web-viewer

Package Overview
Dependencies
Maintainers
0
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rerun-io/web-viewer - npm Package Versions

23
12

0.22.0

Diff

Changelog

Source

0.22.0 - Entity filter & improved partial update API - 2025-02-06

The new entity filtering:

https://github.com/user-attachments/assets/75ae114b-a55c-452e-9003-d8f447854d2a

The new notification panel:

notification-panel

Copy any view as screenshot with right-click (now works in web-viewer):

image

New help texts for all our views:

image

📖 Release blogpost: https://rerun.io/blog/graphs

🧳 Migration guide: https://rerun.io/docs/reference/migration/migration-0-22

✨ Overview & highlights

Viewer
  • 🔎 Added entity filtering/searching
  • 🔔 Recent notifications show now in a dedicated panel
  • 🖱️ Entity ranges can now be selected with shift + click
  • ❓ Improved panel help
  • 🖼️ Crisper UI rendering
  • 🧊 Faster 3D transforms
APIs

The API & related under-the-hood changes pave the way for better support for multiple archetypes on the same entity and components with generic types in future releases. Stay tuned!

⚠️ Breaking changes

Passing raw batches of components is no longer supported. Instead, use the partial update APIs (or in rare cases, explicitly serialize the components).

Check the 🧳 Migration guide for before/after snippets for all languages for this and other smaller breaking changes.

🔎 Details

🪵 Log API
  • Tensor shape and dimension names are now separate arrow fields #8376
  • Remove deprecated DisconnectedSpace archetype & component #8545
  • Add any_values and extra_values snippets for rust #8718
  • Implement gRPC log sink #8709
  • Implement gRPC log stream #8730
🌊 C++ API
  • Fix compilation for GCC 13.3 (missing cstdint include) #8609 (thanks @plumonito!)
  • Introduce eager serialization & update/clear APIs in the C++ SDK #8727
  • Make all C++ archetypes eager serialized & provide generated update/clear APIs #8779
  • C++ columns method for convenient send_columns call through archetypes #8828
  • Add with_many_ variants for C++ archetype mono fields & port remaining snippets #8836
  • Require descriptors to be provided on all log calls in C++ (either explicitly or implicitly via archetype) #8853
  • Deprecate C++ TimeColumn::from_sequence_points in favor of TimeColumn::from_sequence #8882
  • AsComponents::serialize is now AsComponents::as_batches and returns Collection<ComponentBatch> #8884
  • Make it easy to log custom arrow data in C++ #8880
  • Rerun CMake dependency now automatically ensures C++17 or newer #8898
🐍 Python API
  • Autogenerated partial updates APIs for Python #8671
  • Remove unused num_instances() method #8702
  • Tagged columnar updates: Python #8792
  • Include a python API for routing time control commands to the notebook instance #8809
  • Python: remove legacy send_columns and update everything left #8799
  • Deprecate Python's log_components #8892
🦀 Rust API
  • Update MSRV to 1.81 #8529
  • Fix RecordingStream::log implicitly requiring Sized #8587
  • Add example for extending the viewer with custom callbacks #8284
  • EntityPathFilter variable substitutions are now delegated to (new) ResolvedEntityPathFilter #8543
  • Specify, test, and fix all broken AsComponents<>ComponentBatch interactions from blanket impls #8591
  • New types and traits for (co-existing!) eager serialization #8642
  • Autogenerate tagging-compliant descriptor methods for all archetypes #8643
  • Automatically generate partial update APIs for eager archetypes #8647
  • Tagged columnar updates: Rust #8764
  • Make Box/AssetVideo/ViewCoordinates/Asset3D eager serialized in Rust #8785
  • Make Pinhole archetype in Rust eager serialized #8789
  • Make Image & Mesh3D archetypes in Rust eager serialized #8793
  • Make rust Tensor archetype eager serialized #8801
  • Rust: remove legacy send_columns and update everything left #8804
  • ComponentBatch doesn't implement AsComponents anymore #8820
  • Set default log level in re_log to warn #8918
🪳 Bug fixes
  • Fix WSL support, update troubleshooting guide #8610
  • Handle empty line strips in the viewer #8653
  • Fix clicking of links in markdown #8794
  • Fix CPU spike caused by hanging connection after socket closure (#8806) #8810 (thanks @goktug97!)
  • Make it possible to change the contents of a view multiple times per frame #8854
  • Fix playback issues with some h264 videos on native & Safari #8850
  • Fix handling null timestamps in the dataframe #8897
🌁 Viewer improvements
  • Remove all legacy Chunk iteration APIs #8556
  • Implement copy-screenshot-to-clipboard on Web #8607
  • Improve transform performance (by caching affine transforms resulting from transform components) #8691
🧑‍🏫 Examples
📚 Docs
  • Add new Transform3D partial updates snippet for all languages #8690
  • doc: Update annotation-context.rs to use correct API #8708 (thanks @OlivierLDff!)
🖼 UI improvements
  • Show the GraphNode as a label by default #8542
  • Short circuit graph simulation if all nodes are fixed #8549
  • Panel with recent notifications #8465
  • Fix tooltips being dragged along in graph view #8573
  • Restore the time panel help button #8599
  • Filter entities in the UI (part 0): Make CustomContent more useful #8645
  • Filter entities in the UI (part 1): Introduce a filter widget #8652
  • Filter entities in the UI (part 2): Introduce entity filtering in the time panel #8654
  • Filter entities in the UI (part 3): Move action to a menu in the blueprint panel and keep default blueprint when using heuristics #8672
  • Filter entities in the UI (part 4): Add entity filtering in the blueprint tree #8706
  • Draw nodes above edges in graph view #8738
  • Filter entities in the UI (part 5): Add snapshot tests for the blueprint tree #8728
  • Filter entities in the UI (part 6): Refactor re_blueprint_tree and add more tests #8795
  • Improve performance for Blueprint & Streams Panel for many entities #8808
  • The empty/full entity icon now reflects presence of component on the current timeline #8839
  • Show start of large arrow values instead of just their size #8861
  • Implement range selection with shift-click in the blueprint tree #8852
  • Filter entities in the UI (part 7): Refactor and optimize re_time_panel and add more tests #8863
  • Clickable URLs in named components / AnyValues #8864
  • Implement range selection with shift-click in the time panel #8870
  • Improve look of bar charts slightly #8875
🕸️ Web
  • Add JS timeline control and callback APIs #8673
✨ Other enhancement
  • Remove Chunk::iter_component_arrays #8548
  • Introduce new Chunk iteration APIs #8553
📈 Analytics
  • Add analytics for wgpu backend and whether the viewer runs in WSL #8612
📦 Dependencies
  • Update wgpu to 24.0.0 #8743
🤷‍ Other
  • Introduce snapshot unit tests for re_component_ui #8546
rerun-bot
published 0.22.0-rc.1 •

rerun-bot
published 0.22.0-alpha.2 •

rerun-bot
published 0.21.0 •

Changelog

Source

0.21.0 - Graph view, 3D Grid & UI/UX improvements

📖 Release blogpost: https://rerun.io/blog/graphs

🧳 Migration guide: https://rerun.io/docs/reference/migration/migration-0-21

✨ Overview & highlights

Graph view

We've added two new logging primitives: GraphNodes and GraphEdges that can be used to visualize node-link diagrams. For this, we have implemented a new Graph View that uses force-based layouts to draw graphs.

This video demonstrates the main features of the new graph view:

https://github.com/user-attachments/assets/77db75c9-a8d8-401d-b90d-3daf08baf0ba

You can also have a look at https://github.com/rerun-io/rerun/pull/7500 if you want to learn to more.

UX improvements

This video demonstrates the main UX improvements that went into this release:

https://github.com/user-attachments/assets/bef071b5-0681-41b2-9ef0-1c6a557ff138

3D grid

The 3D view now offers an infinite 3D grid, enabled by default. Further controls and settings are available as usual through the blueprint API and/or the selection panel.

<p align="center"> <picture> <img src="https://static.rerun.io/changelog_grid/cc7177ee485a3b29b8a4b7f52be29c1ae9970e3d/480w.png" alt=""> </picture> </p>

All the nitty gritty details in https://github.com/rerun-io/rerun/pull/8230 and https://github.com/rerun-io/rerun/pull/8234.

Undo/Redo support & many more UI/UX improvements

You can now undo/redo blueprint changes in the viewer! Watch @emilk putting it to action and explains how it works:

https://github.com/user-attachments/assets/a29c099d-35a3-4d32-8946-932b5a184943

Other UX improvements

But that's not the only thing that improved in the viewer:

  • Breadcrumbs show up in the selection menu now

    image

  • Take screenshots of views from context menus

    image

  • Entities can now be dragged from Blueprint & Streams panel into views

    image

Index of code snippets

We now have a new index for all our code snippets.

You can use it to quickly find copy-pastable snippets of code for any Rerun feature you're interested in (API, Archetypes, Components, etc). No special tools required -- all you need is a keyword of interest, and plain old text search.

It's still the early days so it is far from perfect, but we think it can already be quite helpful; feedback welcome. Most of it is auto-generated, so it will never get out of sync!

⚠️ Breaking changes

  • Near clip plane for Spatial2D views now defaults to 0.1 in 3D scene units.
  • Blueprint: types and fields got renamed from .*space_view.*/.*SpaceView.* to .*view.*/.*View.*.
  • 3D transform arrow visualization show up less often by default.
  • DisconnectedSpace archetype/component is deprecated in favor of implicit invalid transforms (like zero scale or zero rotation matrix).
  • RotationAxisAngle with zero rotation axis is no longer treated as identity.

Read our 🧳 migration guide for more detailed information: https://rerun.io/docs/reference/migration/migration-0-21.

🔎 Details

🪵 Log API
  • End-to-end tagging: Rust #8304
  • Encode LogMsg using protobuf #8347
🌊 C++ API
  • End-to-end tagging: C++ #8316
🐍 Python API
  • Never direct users towards using rr.log_components #8151
  • Make it possible to log custom components using rr.send_columns #8163
  • Lint and fix python SDK (Py)RecordingStream upcasting issues #8184
  • End-to-end tagging: Python #8298
  • Rename space view to view everywhere #8396
  • Fix broken notebook loading on firefox by compressing the encoded wasm payload #8426
  • Add utility to rr.components.Color to generate colors from any string (and use it in the air traffic data example) #8458
  • Introduce new API to send a dataframe to Rerun #8461
🦀 Rust API
  • Update MSRV to 1.80 #8178
  • Remove Loggable::NAME -- Loggables do not have any semantics #8082
  • Never direct users towards using RecordingStream::log_component_batches #8149
  • Rust API: be explicit about when we're using the arrow2 crate #8194
  • Add from_gray16 for DepthImage #8213 (thanks @fawdlstty!)
  • Rust: more impl<AsComponents> helpers #8401
🪳 Bug fixes
  • Fix outlines for lines having more perceived aliasing since 0.20 #8317
  • Fix handling unnormalized axis for (Pose)RotationAxisAngle #8341
  • Fix 2D/3D view artifacts on view's border when using fractional zoom #8369
🌁 Viewer improvements
  • World grid part 1/2: add world grid renderer to re_renderer #8230
  • World grid part 2/2: Integrate into Viewer #8234
  • Add Undo/Redo support in the viewer #7546
  • Space view screenshotting in native viewer #8258
  • Remove selection history #8296
  • Make the near clipping plane editable in 2D views #8348
  • Don't show transform arrows on all entities without any other visualizer #8387
  • Do query for default components only once per view #8424
  • Improve hovered order in 2D views #8405
  • Remove wait-time when opening settings panel #8464
  • Deprecate DisconnectedSpace archetype/component in favor of implicit invalid transforms #8459
  • Improve graphics device capability detection, warn on old devices, early error on unsupported render targets #8476
🧑‍🏫 Examples
  • Add a new "Air Traffic Data" example #5449
  • Use video logging api in detect_and_track example #8261 (thanks @oxkitsune!)
  • Add hloc_glomap example and update manifest #8352 (thanks @pablovela5620!)
  • Introduce the Snippet Index #8383
  • Implement complete Graph View example #8421
📚 Docs
  • Update wheel build instruction #8235
  • Fix various doc links in SDKs #8331
🖼 UI improvements
  • Implement graph components and archetypes #7500
  • Add support for Bezier-curve multi (self-)edges #8256
  • Implement incremental graph layouts #8308
  • Revert label background color to that in 0.19 #8337
  • Add selection hierarchy breadcrumbs #8319
  • More compact selection panel when multiple items selected #8351
  • Make Position2D components editable in selection panel #8357
  • Dynamic configuration of graph layout forces through blueprints #8299
  • Document legend interaction in the timeseries view help text #8406
  • Allow drag-and-dropping multiple containers and views in the blueprint tree #8334
  • Improve picking in 2D views #8404
  • Make our collapsing triangle thinner for more consistency with our icons #8408
  • Entities can be dragged from the blueprint tree and streams tree to an existing view in the viewport #8431
🎨 Renderer improvements
  • Update egui to latest, update wgpu to 23.0.0 #8183
✨ Other enhancement
  • Improve rrd print's verbosity modes #8392
  • Miscellaneous improvements to archetype reflection #8432
  • Migration kernel for the blueprint space-view-related breaking changes #8439
🗣 Refactors
  • Add arrow(1)-interface on top of Loggable and ArrowBuffer #8197
  • re_types_blueprint -> re_types::blueprint #8419
  • re_viewer::reflection -> re_types::reflection #8420
📦 Dependencies
  • Numpy 2.0 allowed in pyproject.toml #8306 (thanks @Ipuch!)
  • Upgrade to egui 0.30 (+ ecosystem) #8516
🧑‍💻 Dev-experience
  • Add MainThreadToken to ensure file-dialogs only run on the main thread #8467
🤷‍ Other
  • Deprecate --serve, add --serve-web #8144
  • Clean up pass over all superfluous hashing happening on the query path #8207
  • Improve performance of time panel #8224
rerun-bot
published 0.21.0-rc.5 •

rerun-bot
published 0.21.0-rc.3 •

rerun-bot
published 0.21.0-rc.2 •

rerun-bot
published 0.21.0-rc.1 •

rerun-bot
published 0.21.0-alpha.1 •

rerun-bot
published 0.20.3 •

Changelog

Source

0.20.3 - Web viewer fix

🔎 Details

🪳 Bug fixes
  • Fix web viewer feature flags #8295
23
12
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc