Releases: yamcs/python-yamcs-client
Releases · yamcs/python-yamcs-client
yamcs-client 1.9.5
Add purge_parameter_archiveto archive client
yamcs-client 1.9.4
- Add
rebuild_ccsds_indexto archive client - Add
run_scriptto processor client - Fix few more typing issues
yamcs-client 1.9.3
- Everything (excluding generated protobuf classes) can now be imported directly from
yamcs.client. Previous imports remain functional, but we'll gradually start recommending to use the shorter import. This was done for ease of use, but also because the current modules are not all underyamcs.client, and we'd like to change that in a future update. - Many typing fixes (many more remaining)
- Added static
YamcsClient.from_environment()method which initializes the client from environment properties. The main goal here is to make it easy to instantiate a YamcsClient when used in a Python script ran by the Yamcs Activity Service (the activity service sets the necessary environment variables automatically). - Storage: Added capability to set an object's metadata
- Storage: Add
createoption toget_bucket() - Processing: Add
await_first_delivery()toParameterSubscription. This makes it easier to await an expected value update (for example following a telecommand). - Timeline: Add capability to schedule activities (Yamcs v5.9.0+)
- Timeline: Allow changing the styling of individual items (Yamcs v5.9.0+)
yamcs-client 1.9.2
- Add
aliases,assignmentsandall_assignmentsproperties toCommandHistoryandIssuedCommandclasses. - MDB: Temporarily deprecate
aliasesproperty of MDB items, in favor ofaliases_dict. Eventuallyaliaseswill become preferred again, but with a different type (dictionary instead of list of 2-tuples). - ArchiveClient: Fix "namespace/alias" syntax not working with
list_parameter_values.
yamcs-client 1.9.1
- Add Python 3.12, drop Python 3.6
- Bump minimum protobuf version from 3.8 to 3.11
- Add streaming operations for packets/events/commands
- Add method to load a large amount of parameter values into Yamcs (via client-streaming)
- Add method to export parameter values in CSV format
- Add methods to create Parameters and Parameter Types (in case of a writable space system)
yamcs-client 1.9.0
- This release introduces the use of Python's typing library for better editor support. Previously, type hints were supplied in method comments.
- YamcsClient:
- Add method to delete a processor
- ProcessorClient:
- Allow setting sequence number when submitting commands
- Use non-deprecated API to pass command arguments (the newer API was first introduced in Yamcs v5.5.4)
- Alarm methods require passing a sequence number (used by Yamcs to validate the correct alarm instance)
create_packet_subscriptionwill now default to subscribe torealtimeprocessor, instead of thetm_realtimestream. This capability was first introduced on Yamcs v5.5.x branch.
- ArchiveClient:
- Add query option to dump_table
- Add method to list alarms
- MdbClient: Add method to export XTCE for a space system
- FileTransferClient: Fix backwards compatibility around changes to upload options API (reliable, overwrite, createPath).
yamcs-client 1.8.8
- Generate ConnectionFailure exception when login attempt is made and Yamcs is not available (previously this would generate an error coming from the requests dependency)
- Fix possibility of mutation error when iterating command acknowledgements that are still being updated
- Add a reconnection example: https://docs.yamcs.org/python-yamcs-client/examples/reconnection/ (#17)
yamcs-client 1.8.7
- Fix WebSocket connections not closed when monitoring file transfers #21
- FileTransferClient:
- Add support for remote file listing (requires Yamcs 5.7.10+)
upload(...): Argumentsreliable,createPathandoverwriteshould be passed inside the newoptionsargument. For example, replace:with:service.upload("somebucket", "myfile", "/CF:/mytarget", reliable=True)
This change was done to further make FileTransferClient independent of a specific implementation like CFDP.service.upload("somebucket", "myfile", "/CF:/mytarget", options={"reliable": True})
download(...): The order of arguments was changed to allow forobject_nameto be optionaldownload(...): Argumentsoverwrite,parentsandreliableshould be passed inside the newoptionsargument. For example, replace:service.download("somebucket", "targetfile", reliable=True)
This change was done to further make FileTransferClient independent of a specific implementation like CFDP.service.download("somebucket", "targetfile", options={"reliable": True})
yamcs-client 1.8.6
- Add
is_failure()toMonitoredCommandinstances returned fromCommandSubscription.issue(...)(to complement existingis_success()). - Make
MonitoredCommand.is_complete()always return eitherTrueorFalse. Prior to this release, it was returningNonewhen the completion could not yet be established. - Add support for the websocket-client dependency to releases between 0.48.0 and 0.57.0. This range of versions had a breaking change which we did not support until now (although we did support both earlier and later versions). Some LTS Linux distributions still use these versions in their standard repositories, so it made sense to add support.
yamcs-client 1.8.5
- Fix decode issue with
list_itemsinTimelineClient