Measurement Plug-In SDK for Python v2.4.0-dev2
Pre-release
Pre-release
What's Changed
- gRPC stubs have been extracted into separate packages (#1216 #1217 #1218)
ni_measurement_plugin_sdk_service._internal.stubshas moved to ni.protobuf.types, ni.measurementlink.discovery.v1.proto, ni.measurementlink.pinmap.v1.proto, ni.measurementlink.sessionmanagement.v1.proto, and other packages.- These were technically internal APIs, but some of them were used externally and will now redirect to the new location. The redirects will be deprecated and removed in future releases.
- gRPC extensions and client classes have been extracted into separate packages (#1220 #1222 #1228)
ni_measurement_plugin_sdk_service.discoveryhas moved to ni.measurementlink.discovery.v1.client.ni_measurement_plugin_sdk_service.pin_maphas moved to ni.measurementlink.pinmap.v1.client.ni_measurement_plugin_sdk_service.session_managementhas moved to ni.measurementlink.sessionmanagement.v1.client- These are public APIs, so the existing modules now redirect to the new location. The redirects will be deprecated and removed in future releases.
- Previously deprecated functionality has been removed:
DiscoveryClient.register_measurement_servicewas replaced byregister_servicein version 1.2.0.DiscoveryClient.registration_idandDiscoveryClient.stubwere deprecated in version 1.2.0.session_management.Reservationwas replaced byMultiSessionReservationin version 1.1.0.
- Fix tests with resource names when InstrumentStudio 2025Q3 is installed (#1225)
- Enable PyPI "Trusted Publishing" (#1230)
New Contributors
- @github-actions[bot] made their first contribution in #1231
Full Changelog: 2.4.0-dev1...2.4.0-dev2