Migrating from 0.19 to 0.20
⚠️ Breaking changes -breaking-changes
connect
-> connect_tcp
& serve
-> serve_web
connect--connecttcp--serve--serveweb
In all SDKs:
connect()
is now deprecated in favorconnect_tcp()
serve()
is now deprecated in favorserve_web()
The rationale behind this change is that it was common for users (see https://github.com/rerun-io/rerun/issues/7766).
We frequently had reports from users that were understandably expecting a serving process (rr.serve()
) to be ready to accept connections from other processes (rr.connect()
), when in reality the two things are completely unrelated: one is hosting a websocket server to be polled by the web-viewer, while the other is trying to connect to the TCP SDK comms pipeline.
You can learn more about Rerun's application model and the different servers and ports by reading our new documentation page on the matter.
re_query::Caches
-> re_query::QueryCache
& re_query::CacheKey
-> re_query::QueryCacheKey
requerycaches--requeryquerycache--requerycachekey--requeryquerycachekey
re_query::Caches
has been renamed re_query::QueryCache
, and similarly for re_query::CacheKey
.
Note that this doesn't affect re_dataframe
, where this type was already re-exported as QueryCache
.
❗ Deprecations -deprecations
Support for Python 3.8 is being deprecated. Python 3.8 is past end-of-life. See: https://devguide.python.org/versions/ In the next release, we will fully drop support and switch to Python 3.9 as the minimum supported version.