What's new for node authors¶
This page tells you what changed in the Python Node SDK from the point of view of a node author: which behaviour is different, whether your node code needs a change, and where in this guide the new behaviour is described. After reading it you can decide whether to move your project to a newer SDK, find out which SDK your project uses today, and check which API calls that version has.
This documentation was generated from SDK 2.52.0.
Each release below has three parts: what changed for node code, what to do in your project, and where to read more. Releases newer than the SDK your project pins are the ones that matter; a project pinned to 2.37.0 reads everything above the SDK 2.37.0 heading.
SDK 2.52.0¶
What changed
- The base image now ships the AI stack message package
neura_ai_stack_msgfor amd64 and arm64:Detection,DetectionArray,Grasp,GraspArray,GraspPose,GraspPoses,ObjectGraspPosesArray,ObjectPickPosesArray,Pick,PickArray,PickPose,PickPoses,RgbdFrame,Workspace, and theGenerateGraspsaction. A node can declare these asrosTypeand import them without installing anything. - The existing message packages are unchanged.
What to do
Nothing, unless you want the new types. If your node image installs neura_ai_stack_msg itself, drop that step when you move to SDK 2.52.0. Write the full rosType: several names also exist in neura_grasp_planning_msgs and neura_ai_database_msgs, as different types.
Read more: Message types.
SDK 2.51.0¶
What changed
get_frames(),get_robots()andget_paths()can read the scene from project-v2. Setproject_service_v2_endpointin the service config to switch; empty (the default) keeps the v1 scene builder.- On project-v2,
get_frames()also returnsSCENEframes, and framesourcevalues readSCENE_FRAME_SOURCE_*instead ofFRAME_SOURCE_*. - Path segments lose
jerk,via_frame_idandtool_frame_idand gainactionandaction_param. Paths gainis_trajectory,disabledandclosing_segment. Motion typesMOVE_CandMOVE_Pdo not exist there. - The project id must be the project-v2 UUID. Authorization is taken from the engine's calls; your node adds nothing.
- C++ nodes get the same two config keys and the same project-v2 behaviour.
- C++ API change:
getFrames(),getRobots()andgetPaths()return plain structs (SceneFrame,ScenePath) instead of the v1 scene builder protos. Fields are members, soframe.id()becomesframe.id.jerk,via_frame_idandtool_frame_idare no longer exposed on the v1 backend.
What to do
Python: nothing, unless your operator switches the service to project-v2. Then check code that reads source, jerk, via_frame_id, tool_frame_id or the MOVE_C and MOVE_P motion types.
C++: rebuild against the new SDK and replace proto accessor calls on frames and paths with the struct members (see C++ SDK).
Read more: Platform data, service_config.yaml reference.
SDK 2.50.2¶
What changed
- Configure now fails when a port name would put a wildcard or reserved character into a transport topic. MQTT rejects
#and+; Zenoh rejects*,$,?and#. This applies to Python and C++ nodes, to output ports and to the upstream output an input subscribes to, and to the trigger adapters. - Before, such a port configured fine but either received every output of the upstream node or never delivered. The error names the port and the character:
Output '+' maps to MQTT topic 'uuid/node-0/+', which contains reserved character '+'; rename the port. - A failed reconfigure keeps the running dataflow. Topic names are unchanged, so nodes on different SDK versions keep interoperating.
- Python Zenoh outputs and triggers now publish on the node id, like C++ and MQTT, so they reach subscribers. Before they never did. The visualization topic name of such an output changes with it.
What to do
Rebuild node images with SDK 2.50.2. If configure reports a reserved character, rename the port; keep port names to [A-Za-z][A-Za-z0-9_]*.
Read more: Dataflow, Schema file.
SDK 2.50.1¶
What changed
- A node you rename in the frontend to a name with spaces or other special characters, for example "Robot Cartesian State Publisher", no longer fails at configure with
InvalidNodeNameException. This applies to Python and C++ nodes. - Display names can be any free text. The SDK derives a valid ROS node name from the name and the node id.
- Topic names are unchanged for ASCII ids and port names.
- On the ROS transport, configure now fails with a clear
DataFlowExceptionwhen two output ports of a node map to the same ROS topic after sanitizing ("pose out" and "pose_out"), or when a port name ends in/or contains//. rcl used to fail with a cryptic error for the second case. Fan-in (several inputs on one source) still works.
What to do
Rebuild node images with SDK 2.50.1 if renamed nodes fail to configure. Keep port names to [A-Za-z][A-Za-z0-9_]*; if configure reports two outputs on one topic, rename one of them.
Read more: Dataflow.
SDK 2.50.0¶
What changed
- A graph can now end its own run. Place the misc
EndRunNodein the graph and trigger it. - The node chooses how the run ends. Hard stop, its default, stops every node and removes the graph, so the graph has to be configured again before it can run. Soft stop returns every node to
CONFIGUREDand leaves the graph loaded, so you can run it again without reconfiguring; this is the same stop you get from the UI. - Nothing in the node API changed. The request travels on the node status stream, which the platform owns; your node code neither sends nor sees it.
- Ending the run needs a node engine that understands the request. On an older engine the node logs a warning and the run keeps going.
- Requires entities 2.69.0.
What to do
Nothing is required if you install from the package index. Rebuild node images with SDK 2.50.0 when you want to use EndRunNode, and set its Stop mode if you want the graph to stay loaded. If your project vendors wheels by hand, move the neuraverse_entities_apis_messages wheel to 2.69.0 with the SDK wheel.
Read more: Lifecycle and states.
SDK 2.49.0¶
What changed
- Node containers answer liveness and readiness probes without a token: HTTP
/health/live(alias/health) and/health/ready, and gRPCgrpc.health.v1.Health/Check(""for readiness,"liveness"for liveness). Python and C++ behave the same. - Readiness fails while the gRPC server is not up yet or the container is shutting down. Liveness fails when the registry monitor has stopped. A node that reports itself unhealthy never fails a probe.
- A C++ node's gRPC health service no longer answers
SERVINGunconditionally and no longer supportsWatch.
What to do
Nothing is required. Point your container HEALTHCHECK at /health/live on your HTTP port instead of /health on port 8000, which never answered.
Read more: Deployment: Probes, Health reporting.
SDK 2.48.0¶
What changed
- C++ nodes can escalate a lasting health fault. With
escalate_unhealthy_to_errorset inNodeServiceConfig, aRUNNINGnode that stays unhealthy forunhealthy_escalate_after_s(default7.0) moves toERRORand fires itsErrortrigger witherr_typeHealthFaultEscalation, as on Python. It is off by default. - C++ health check results are logged only when they change.
- C++ nodes get the typed error vocabulary:
NodeError,NodeDataError,NodeDependencyErrorandautoRetry. Only errors thrown fromonConfigure()reach the caller typed. The existing exceptions behave as before. grpc__addressandhttp__addressset the bind addresses of a C++ node.- A slow log sink can no longer block
isPaused()orgetState()in a C++ node. - The base image ships LiveKit C++ client SDK 1.12.2 (was 1.12.0). It fixes a memory leak when the server closes a room and a deadlock on room disconnect when many data tracks are published at once. No API change.
What to do
Rebuild C++ nodes on the new base image to get the LiveKit fixes. To opt in to the rest, set the two health fields in main() and throw the typed errors from onConfigure().
Read more: C++ SDK mapping, Health reporting.
SDK 2.47.0¶
What changed
- C++ nodes now validate a bearer JWT on every NodeService call. Before, anyone who reached the gRPC port of a C++ node could configure, run and stop its nodes. Rejected calls return
UNAUTHENTICATED, orUNAVAILABLEwhen the key set cannot be fetched. - The configuration is
NodeServiceConfig.jwtand thejwt__*environment variables, with the same names as the Pythonjwtblock. A C++ node needsjwt__domainand an audience per application, otherwise every call is rejected. GrpcServiceRegistration::createtakes a new first argument,Authentication::InHandlersorAuthentication::None. WithInHandlersevery handler starts withneuraverse::sdk::authenticate(context).- The C++ admin HTTP routes (off unless
admin.enabled) now require a bearer JWT too, matched against the allowlist, and no longer read mesh-forwarded identity headers. This breaks callers that relied on those headers. - C++ validation differs from Python in a few details: RS, PS and ES algorithms only,
kidrequired,nbfwith 60 s leeway, andaudrequired whenever an audience is configured.
What to do
Python nodes need nothing. For a C++ node, set the jwt__* variables in your container (the C++ page lists them) and add the new argument to every GrpcServiceRegistration::create call, plus the authenticate guard in each handler of a custom service.
Read more: C++ SDK mapping, Custom gRPC services.
SDK 2.46.2¶
What changed
- Every hard stop now waits up to
stop_execution_join_timeout_s(default 5 s) foron_executeto return before teardown,on_stopandon_cleanup. Before, only stop and cleanup waited. This covers the deprecated Stop, a re-Initialize or Configure of a running node, service shutdown and stop and cleanup. on_cleanupno longer runs whileon_executeis still returning, unless the timeout expires. This fixes a C++ hang or crash for nodes that join their own worker thread inonExecuteand inonCleanup.- A hard stop drops the late completion of the run: no
RUNNINGtoCONFIGUREDbeforeSTOPPED, and noERRORstate orErrortrigger from anon_executethat fails on its way out. - A legacy node whose blocking
on_executeis only released byon_stopwaits the full timeout, with a warning, on every hard stop.
What to do
End the run in on_stop_execution, so on_execute returns as soon as the stop arrives. Nothing else changes for nodes that already do.
Read more: Lifecycle and states, Migrating to stop execution.
SDK 2.46.1¶
What changed
- C++ only. The bundled MQTT client moves to Paho C 1.3.15 and Paho C++ 1.6.0, Zenoh to 1.10.1 and the embedded HTTP server to cpp-httplib 0.58.0, which brings security fixes and a
thread_queuedeadlock fix. - Paho no longer honours
http_proxyunlessPAHO_C_CLIENT_USE_HTTP_PROXY=TRUEis set, and it reads only lowercasehttp_proxyandno_proxy. - The C++ HTTP server rejects regex-routed request paths over 256 characters.
- The Python SDK requires
eclipse-zenoh>=1.10.1,<2.0.0.
What to do
Nothing, unless a C++ node connects to its broker through an HTTP proxy: set PAHO_C_CLIENT_USE_HTTP_PROXY=TRUE and use lowercase variable names. Node projects that only link neuraverse_node_sdk need no CMake change.
Read more: C++ SDK mapping.
SDK 2.46.0¶
What changed
- C++ only.
NodeBasenow enforces the author boundary at compile time: the methods you call are public, the hooks you override are protected, and the lifecycle methodsNodeController/NodesRegistrydrive plus every data member are private. getNodeVersion()andsetProjectId()narrow from public to protected.- Overriding a hook under
public:in your subclass still compiles. Calling a lifecycle method (configure(),execute(),stop(), ...) on aNodeBasepointer, or reading a formerly protected data member from a subclass, no longer compiles. - Python's
NodeBaseis unchanged.
What to do
Nothing, if your node only overrides hooks and calls the public helpers, the usual
pattern. If a test or a subclass called a runtime lifecycle method directly, or read a
data member such as state_machine_, move that code to override the corresponding hook
and read state through the public getters instead. If you called getNodeVersion() or
setProjectId() from outside a hook, call them from onConfigure() or another hook.
Read more: C++ SDK mapping.
SDK 2.45.0¶
What changed
- Python MQTT input setup waits for broker acknowledgement. Reconfiguration after Stop waits for the previous network loop to finish shutting down.
- Python and C++ nodes accept external Start, Stop, built-in and registered custom events on declared input ports, including disconnected ports. Start uses normal execution and downstream dispatch; custom handlers receive trigger context. Acknowledgement means accepted for dispatch, not completed work.
- Input Stop follows the existing 2.x teardown sequence for its target while
other branches continue. Reconfigure the stopped target before sending more
input; Start does not re-arm it. Python work can observe
is_run_active(); C++ work can use a cancellation flag set byonStopExecution(). - Typed ROS JSON populates ordinary input reads and handlers without submitting execution. Scalar fields, nested messages and arrays use generated defaults; invalid data leaves the previous input unchanged. Native messages continue to replace input values normally.
- Stop and reconfiguration discard stale queued input work. Completion or failure from an older execution cannot update a replacement run or fire its downstream triggers.
- Tested Python/C++ examples demonstrate acknowledged injection, explicit Start, downstream output and target-only Stop.
What to do
Rebuild node images with SDK 2.45.0 and install the message packages your inputs use. Use decimal strings for 64-bit integers, including nested fields and array elements; binary data is an integer array. Register custom handlers before configuration. Keep the existing 2.x cleanup and stop hooks; this release does not change their order.
See external triggers, typed JSON input and the tested tutorial.
SDK 2.44.1¶
What changed
- The base image ships LiveKit C++ client SDK 1.12.0 (was 1.10.2). C++ nodes that stream visualizations get the newer client; reconnect behaviour on a dropped connection may differ slightly due to internal changes in livekit-ffi v0.12.80.
SDK 2.44.0¶
What changed
- Python and C++ NodeService hosts can serve custom generated gRPC APIs without graph nodes, or alongside them. Clients discover those APIs by reflection at a known endpoint.
- Configured factories create process-lifetime servicers. Node stop execution, stop and cleanup, and the deprecated Stop leave their state intact; invalid/conflicting registrations fail the whole startup.
- The host's existing authentication and transport policy applies to custom calls. All four RPC shapes are supported.
- Whole-host shutdown drains gRPC for five seconds; handlers must cooperate with cancellation. Existing node-only startup calls remain valid.
- Python's optional
NodeServiceBase.on_shutdown()releases service-owned resources before forced exit, including on SIGTERM or startup failure. Hook exceptions are logged and make the process exit with status1. neuraverse-generate-protosships in the wheel and SDK image. Generate Python and/or C++ bindings from your application's proto directory during its build.
What to do
Register your generated service before startup and package its proto/bindings
with your application. Use --python-out and/or --cpp-out with
neuraverse-generate-protos; C++ generation needs the matching native builder
toolchain. Try the Python/C++ CRUD example with its in-memory store.
No additional entities update or graph-node schema is required.
Move Python service cleanup that currently follows run() into the synchronous
on_shutdown() class method. Register the class with set_node_service_class();
the hook also works when the host has no graph nodes.
Read more: Custom gRPC services.
SDK 2.43.0¶
What changed
- The graph editor can now end a run and keep the graph configured (Stop execution), so the next Run needs no Initialize and no Configure. Releasing the graph is a separate control (Cleanup). The old Stop, which did both at once, still exists and is deprecated.
- New optional hook
on_stop_execution(trigger_context): make a blockingon_executereturn and stop per-run work. Called at most once per run, also on an idle node. The SDK closes the node's run latch first, so aStartstill on the wire for the ended run is dropped and a lateon_executedoes not fire itsStartoutputs. on_cleanup()is now the final step of the hard stop, after the SDK has torn down dataflow and triggers, and is the place to release whaton_configureacquired. Before 2.43.0 it ran before the transports were destroyed; a node that published or broke its loop fromon_cleanupmoves that code toon_stop_executionor the end ofon_execute.on_stopis deprecated and no longer abstract. It is still called by the hard stop, once per lifecycle, beforeon_cleanup. A node service logs one warning per class that overrideson_stopwithouton_stop_execution.- An incoming
Stoptrigger ends the run of a node that overrideson_stop_executionand tears down a node that does not, exactly as before. - The hard stop waits up to
stop_execution_join_timeout_s(newservice_config.yamlkey, default 5 s) foron_executeto return before it tears down, soon_cleanupnormally runs after your run has finished. - C++:
onStopExecution()added,onStop()no longer pure virtual and deprecated,onStopRequested()removed (rename it toonStopExecution()). - Requires entities 2.58.0. Engines from 2.32.0 use the new verbs; older engines keep sending the deprecated Stop, which still works with this SDK.
What to do
Nothing is required for the node to keep running on any engine. To make your node re-runnable without Configure, follow Migrating to stop execution: move the run-ending part of on_stop to on_stop_execution, the release part to on_cleanup, and reset per-run state at the top of on_execute.
Read more: Lifecycle and states, Migrating to stop execution.
SDK 2.42.0¶
What changed
- You can raise typed errors from a hook:
NodeDataErrorwhen the input is at fault,NodeDependencyErrorwhen something the node talks to is at fault,NodeErrorwhen the node itself is at fault. Always construct them through a factory (invalid,missing,timeout, ...), not the bare class. - The engine call that hit the hook (
Configure,Stop,Pause, ...) now gets an accurate gRPC status and a safe message. Node errors are private by default: the developer message is logged and dropped on the wire. Call.as_public()only when the message is about the graph's own data. - Mark a transient failure
.retryable()and optionally.with_retry_hint_min_wait_ms(...).@auto_retryon your own helper retries only those. Input errors should not be marked retryable. - An error raised from
on_executestill fires theErrortrigger and moves the node toERROR. ANodeErroris no longer wrapped inNodeExecutionError, soerr_typeis the class you raised.err_msgis still the exception text, unscrubbed. - The older
NodeExecutionError/NodeConfigurationErrorfamily still works. Tutorials keep using it so they run on a Mock Runner pinned to 2.37.0. - Python only. C++ nodes keep throwing
NodeSdkErroras before.
What to do
Nothing required. New raise sites should use the vocabulary; existing nodes can migrate one site at a time. Import from neuraverse_sdk.models.errors.
Read more: Errors.
SDK 2.41.0¶
What changed
- A sustained health fault can now stop a node. When the node service sets
escalate_unhealthy_to_error: true, a node that isRUNNINGand stays unhealthy forunhealthy_escalate_after_s(default7.0) moves toERRORand fires its Error trigger once, witherr_type=HealthFaultEscalation. - The key is
falseby default, so on every node that does not opt in health remains telemetry-only exactly as before, and an unhealthy node keeps receiving triggers and keeps executing. - One continuous unhealthy period escalates at most once. A healthy sample cancels a pending escalation, and reconfigure and stop cancel it too.
- Health checks log less. The
Healthy check result: ...INFO line is now written only when the result or its message changes, so a shorthealth_stream_check_interval_sno longer fills Node Logs with one identical line per poll. The first check after each configure still logs, and a hook that raises is logged at ERROR with its traceback.
What to do
Nothing, unless you want the behaviour. To opt in, set escalate_unhealthy_to_error: true in your service_config.yaml and keep health_stream_check_interval_s above 0, because the periodic health check is what samples your hook. Two things are worth checking before you do: on_health_check() must return False only for faults that should really end the run, and if a downstream node should react, wire an Error edge from the node in the graph.
Read more: Health reporting.
SDK 2.40.1¶
What changed
- Zenoh data edges work. A port the engine resolved to the Zenoh transport used to be published on ROS topics or served by nothing at all, so data on it never arrived; it is now served by the Zenoh transport.
- One unreachable transport no longer stops the whole node. If the Zenoh router or the MQTT broker cannot be reached while the node configures itself, the ports on that transport report as not connected and the node's other ports keep working.
- ROS and MQTT graphs are unchanged, including an output port that publishes on several transports at once.
What to do
Nothing, unless your graph has Zenoh edges. Those need this version and a zenoh: block in your service_config.yaml.
Read more: Dataflow.
SDK 2.40.0¶
What changed
- C++ nodes now stream data visualizations to the graph editor without node-author code, as Python nodes already do: images as video, occupancy grids as a map, audio as a waveform, segmentation as masks, everything else as JSON. The last value per output port is cached so a viewer that opens late still sees a frame.
- C++ fix: nodes read their real configuration again instead of compiled-in defaults (a protobuf map lookup failed across shared-library boundaries).
- C++ fix: an exception thrown from
onExecute()no longer terminates the whole node process.
What to do
Python nodes: nothing. C++ nodes: rebuild against the 2.40.0 base image; remove any hand-written visualization publishing if you added some.
Read more: Data visualization.
SDK 2.39.1¶
What changed
Node configurations are stored in the service registry per namespace and container instead of one flat key per class, so two devices running the same node class no longer overwrite each other's entry.
What to do
Nothing. The engine and the graph editor never read the old key, and node code does not touch it.
SDK 2.39.0¶
What changed
Pause became cooperative, in Python and C++:
| Before 2.39.0 | From 2.39.0 |
|---|---|
pause() outside RUNNING raised NodeStateError and put the node in ERROR; a graph-wide pause errored every idle node. |
CONFIGURED and RUNNING pause to PAUSED; IDLE, STOPPED and ERROR are silent no-ops. Resume on a node that is not paused is a no-op too. |
An exception in on_pause() or on_resume() parked the node in ERROR. |
The exception still reaches the engine as NodePauseError or NodeResumeError, but the state is unchanged. |
Resume always landed in RUNNING, even for a node paused from CONFIGURED. |
Resume returns to the state the node was paused from. Configure and execute while paused update that remembered state and the node stays PAUSED. |
| No polling API. | self.is_paused() reads the state machine. |
| Hooks could fire on a repeated pause or resume. | on_pause() and on_resume() fire only on the call that actually changes the state. |
The SDK suspends nothing on pause. Triggers, dataflow and the execute worker keep running; a paused node still runs on_execute on an incoming Start.
What to do
- If your node does real work in a loop or on a timer, stop it in
on_pause()and restart it inon_resume(), or pollself.is_paused()and skip the work while it returnsTrue. - If your node detected a bad pause by catching
NodeStateErroror by watching forERROR, read the state instead. - Code that must also run on 2.37.0 keeps its own flag set in
on_pause()and cleared inon_resume(), becauseis_paused()does not exist there.
Read more: Lifecycle and states, Smart home tutorial.
SDK 2.38.0¶
What changed
Startup no longer wedges when the service registry is not reachable yet, which is routine after a cluster restart:
- The first registration retries with exponential backoff for up to
registry_config.registration_timeout_sseconds (default120), starting atregistry_config.registration_retry_delay_s(default2) and doubling up to a 60 second cap. The environment variablesNEURAVERSE_CONSUL_REGISTRATION_TIMEOUT_SandNEURAVERSE_CONSUL_REGISTRATION_RETRY_DELAY_Sprovide the defaults for code that builds the registry client directly; in a node service the YAML keys apply. - A registration that never succeeded is never advertised, so the platform cannot route to a node whose server is not up.
- A failed bootstrap ends the process:
run()logs the error, flushes logging and exits with code 1, so the container restarts instead of staying alive without a gRPC server. A clean return orKeyboardInterruptexits with code 0.
What to do
Nothing for most projects. Set registration_timeout_s: 0 in service_config.yaml if you prefer the old fail-fast behaviour, for example in a local compose setup where a missing registry is a configuration error you want to see immediately.
Read more: service_config.yaml reference, Deploying on an engine.
SDK 2.37.0¶
What changed
- Custom trigger ports. A schema may declare trigger ports of any type name besides the built-in
Start,Stop,Error,IfTrue,IfFalse,InLoopandBreakLoop, for example aTaskInterruptoutput or aSpecialStartinput. New API:self.fire_trigger("<port key>")fires a custom output;@trigger_handler("<rosType>")orself.register_trigger_handler(...)binds a method to a custom input type. Handlers run on the transport callback thread, concurrently withon_execute. A declared custom input with no bound handler fails configure, even while unconnected. Built-in type names cannot be rebound, and the automaticStartandStopfan-out afteron_executeis unchanged. Erroris a valid input trigger. Before 2.37.0 a connectedErrorinput raisedAttributeErrorduring configure. It now runson_execute, and the handler node checkstrigger_context.is_triggered_by_error().- Outgoing triggers are keyed by port name internally, so two outputs of the same type no longer collide. Wire format and topics are unchanged; existing graphs keep working.
- A wrong decorator (built-in name, duplicate registration) raises
NodeConfigurationErrorwhen the node object is created. In a multi-node service that happens at service startup, so the whole service fails fast.
What to do
Nothing for nodes that only extend NodeBase. Projects that ship their own trigger transport (a subclass of ITrigger) must implement _publish_trigger(topic, payload) and fill the name-keyed outgoing maps in configure().
Read more: Triggers, Schema file reference, Cloud upload tutorial for an Error handler node.
Earlier releases: SDK 2.27 to 2.36¶
Releases that changed nothing for Python node code are marked "none" in the last column.
| SDK | What changed | What to do |
|---|---|---|
| 2.36.1 | Visualization streaming no longer aborts its session when a topic name is not a valid ROS name; late viewers get cached frames again. | none |
| 2.36.0 | Access tokens from a partner identity provider are accepted through an additional jwt.applications entry; the common libraries were bumped (lib-python-neuraverse-common ^2.9.0, service libraries 2.6.0 / 2.3.0). |
none |
| 2.35.1 | Fix: TURN credentials for the visualization publisher are mapped onto the right field, so an off-cluster node can stream. | none |
| 2.35.0 | The visualization publisher receives per-user TURN servers from the platform. Entities package bumped to 2.38.0. |
none |
| 2.34.0 | C++ SDK: schema self-registration (as Python since 2.27.0). Schemas are found in NODE_SCHEMA_DIR by their executionContext.className. |
C++ projects: normalized schema files, set NODE_NAMESPACE, CONTAINER_NAME, SERVICE_VERSION, NODE_SCHEMA_DIR. |
| 2.33.1 | NodeServiceBase.on_prepare_node_dependencies gained an optional configuration parameter carrying the request's map. |
Subclasses overriding the hook must accept the new optional parameter. See Service-level hooks. |
| 2.33.0 | Base image: arm64 builds of three vendored Neura message packages, so those message types exist on ARM gateways. |
none |
| 2.32.0 to 2.32.2 | Build infrastructure, a packaging fix for a vendored message package and a security bump in the C++ SDK. | none |
| 2.31.1 | One shared registry client per process; no more connection floods after many stop and re-init cycles. | none |
| 2.31.0 | Data repository: create_data, read_data, update_data, delete_data on NodeBase (records keyed by namespace and key, JSON values). Requires entities 2.33.0. |
Use it instead of a private key-value store. |
| 2.30.0 | get_paths(target_robot_ids=None) next to get_frames() and get_robots(). Entities bumped for the new stubs. |
none |
| 2.29.3 / 2.29.4 | The SDK image moved from .../neuraverse-node-sdk/sdk to registry.gitlab.neura-robotics.com/neuraverse/neuraverse-node-sdk. A vendored message package was bumped. |
Update BASE_IMAGE in your Dockerfile if it still uses the old path. |
| 2.29.2 | New grpc_server_max_workers setting (default 50, was a hard-coded 10; the engine opens two streams per node). Stale node generations are released on re-init. |
none |
| 2.29.1 | Stopping a node no longer stops registration monitoring. Minimum version for self-registration. | Do not deploy 2.27.x or 2.28.x. |
| 2.29.0 / 2.28.0 | C++ SDK: health stream and Error trigger, matching Python 2.23.0 and 2.25.0. |
none |
| 2.27.1 | C++ SDK: gRPC built against system OpenSSL. | C++ projects: remove neuraverse_link_openssl_first() from CMakeLists.txt. |
| 2.27.0 | Schema self-registration: every class registers its <module>_schema.json at startup so the graph editor can list it. NodeBase.get_schema(), optional node_version class attribute, registry_config.node_namespace (default gateway), container_name used in the service id. |
One <module>_schema.json next to every node module; set container_name and registry_config.node_namespace in service_config.yaml. See Schema file reference. |
Compatibility matrix¶
The SDK, the entities package it is compiled against, the node engine on the target host and the Docker base image move together. Keep all four rows of your project on the same line.
| SDK | Entities package neuraverse_entities_apis_messages |
Node engine on the host | Base image tag |
|---|---|---|---|
| 2.40.0 | 2.38.0 | 2.13.0 or newer | registry.gitlab.neura-robotics.com/neuraverse/neuraverse-node-sdk:v2.40.0 |
| 2.39.0 / 2.39.1 | 2.38.0 | 2.13.0 or newer | ...neuraverse-node-sdk:v2.39.0, :v2.39.1 |
| 2.38.0 | 2.38.0 | 2.13.0 or newer | ...neuraverse-node-sdk:v2.38.0 |
| 2.37.0 | 2.38.0 | 2.13.0 or newer | ...neuraverse-node-sdk:v2.37.0 |
Notes:
- The entities requirement was last raised in SDK 2.50.0, to 2.69.0. Earlier steps: 2.61.0 (SDK 2.45.0, ROS message decoding), 2.58.0 (SDK 2.43.0, stop execution), 2.35.0, 2.33.0 (SDK 2.31.0, data repository) and 2.30.1 (SDK 2.27.0, schema registration).
- The engine minimum of 2.13.0 comes with schema self-registration and applies to every SDK from 2.29.1. There is nothing to install in the node repo for it; it is a deployment prerequisite of the target host.
- The base image tag is always
vplus the SDK version; the SDK wheel inside the image has the same version. The template'sDockerfilepins the tag inARG BASE_IMAGE. - Other library pins of SDK 2.40.0:
lib-python-neuraverse-common ^2.9.0,lib-python-neuraverse-service-http 2.3.0,lib-python-neuraverse-service-grpc 2.6.0. When you vendor wheels, ship these versions together with the SDK wheel.
Am I on an older SDK?¶
Four places name the version; in a healthy project they agree.
| Where | What to look for |
|---|---|
SDK_VERSION in the template repository root |
The bare version, for example 2.37.0. The template's scripts/check-sdk-pins.sh fails CI when any other pin disagrees with it. |
pyproject.toml |
Vendored: lib-python-neuraverse-node-sdk = {path = "wheels/lib_python_neuraverse_node_sdk-<version>-py3-none-any.whl"}. From the package registry: lib-python-neuraverse-node-sdk = { source = "gitlab-hrg", version = "<version>" }. |
Dockerfile |
ARG BASE_IMAGE=registry.gitlab.neura-robotics.com/neuraverse/neuraverse-node-sdk:v<version>. |
| A running container | poetry run pip show lib-python-neuraverse-node-sdk prints the installed version. |
If your project is older than a feature you want, the table below tells you the first SDK that has it. The version column is the release whose changelog introduced the call.
| API | First SDK | Notes |
|---|---|---|
NodeDataError, NodeDependencyError, NodeError, auto_retry |
2.42.0 | Typed error vocabulary; import from neuraverse_sdk.models.errors. |
is_paused() |
2.39.0 | Cooperative pause; see above. |
registry_config.registration_timeout_s, registration_retry_delay_s |
2.38.0 | Bootstrap registration retry. |
fire_trigger(), @trigger_handler, register_trigger_handler() |
2.37.0 | Custom trigger ports. |
Error as an input trigger |
2.37.0 | Crashed configure before. |
on_prepare_node_dependencies(cls, configuration=None) |
2.33.1 | The hook itself exists since 2.26.0 together with NodeServiceBase and set_node_service_class(). |
create_data(), read_data(), update_data(), delete_data() |
2.31.0 | Data repository. |
get_paths() |
2.30.0 | Scene paths. |
grpc_server_max_workers in service_config.yaml |
2.29.2 | |
get_schema(), node_version class attribute, registry_config.node_namespace |
2.27.0 | Schema self-registration. |
trigger_context parameter on on_execute() and on_stop(), TriggerContext, ErrorInformation, is_triggered_by_error() |
2.25.0 | Zero-argument hooks keep working. |
neuraverse-node-profiler console script |
2.24.1 | Memory-leak profiler run inside the node image. |
send_health_update(is_healthy, message), health stream |
2.23.0 | See Health reporting. |
get_cached_output(port) |
present in 2.37.0 and newer | Not recorded in the changelog; the last published value per output port. |
on_health_check() |
2.16.0 | |
on_toggle_simulation_mode(is_simulation) |
2.9.0 | See Simulation mode. |
get_robots() |
2.5.0 | First mention in the changelog; the entry narrows the call to robot frames, so the call itself may be older. |
dynamic_config parameter on on_configure(), get_frames() |
2.2.0 |
Port-key convention: migrating an existing schema¶
The guide's schemas use one convention for every port: lowercase snake_case keys, the type name verbatim in rosType, trigger inputs start and stop, trigger outputs start and error, and no stop output. Older schemas with capitalised keys such as Start or with a Stop output still load and still run. The rule is stated once in the Schema file reference.
When you move an old schema to the convention, keep two facts in mind:
- Built-in trigger keys are free to rename. The SDK binds
Start,Stop,Errorand the other built-in triggers by the type inrosType, not by the key, so a port map that still carriesStartinstead ofstartkeeps working. - Custom trigger keys are bound to your code.
fire_trigger("<key>")addresses the key in the port map the engine sends for the node and raisesTriggerFlowExceptionwhen that key is missing. Rename the port and the call in the same commit and re-drop the node in every graph that uses it. - Data keys are bound to your code.
publish("<key>")andget_data("<key>")must match the schema literally.publish()on a key the port map does not carry raisesDataFlowException, which fails the run and puts the node inERROR;get_data()on an unknown key returnsNone. Rename a data port the same way: calls and schema in one commit, then re-drop the node.
Removing a Stop output is safe in every case: the SDK fires every declared Stop output after every successful on_execute, so its absence only stops the downstream node from being stopped on each run of yours. Keep the stop input.
The full changelog¶
This page is curated for node authors and leaves out platform-internal entries. The complete engineering changelog, one entry per released version back to 1.0.0, is the CHANGELOG.md file in the root of the SDK repository. Release notes for the template repository and the Mock Runner are kept in their own repositories.