Releases: yamcs/python-yamcs-client
yamcs-client 2.0.0
-
This release removes the external dependency to the protobuf package. Instead protobuf is embedded into this yamcs-client package. This avoids issues with other installed packages depending on conflicting versions of protobuf. #32
-
This release removes old-style imports. Reminder: all classes can be imported from
yamcs.clientmodule.For example, instead of:
from yamcs.core.auth import Credentials from yamcs.client import YamcsClient credentials = Credentials(username="admin", password="admin") client = YamcsClient("http://localhost:8090", credentials=credentials)
do instead:
from yamcs.client import Credentials, YamcsClient credentials = Credentials(username="admin", password="admin") client = YamcsClient("http://localhost:8090", credentials=credentials)
-
TimelineClient: Add
delete_itemsoperation to batch-delete items. This is a lot faster than deleting items one-by-one. -
TimelineClient: Default for the
ItemBandsettingspace_between_itemswas changed from 0 to 7. Andspace_between_lineswas changed from 2 to 7. This allows for a bit more whitespace between items, which gives the Yamcs Web UI some space to draw connections between depending activities. -
TimelineClient: The code was adjusted to API changes in Yamcs 5.13.0. Backwards compatibility with older Yamcs versions is untested (and unlikely to succeed).
-
TimelineClient: The code to add/update items to the Yamcs Timeline was changed. A best-effort was made to keep old code functional, however that will emit deprecation warnings.
In summary, instead of:
item = Item() item.name = "Test" item.start = now item.duration = timedelta(seconds=3600) item.tags = ["abc"] timeline.save_item(item)
do instead:
item = TimelineEvent( name="Test", start=now, duration=timedelta(seconds=3600), tags=["abc"], ) timeline.save_item(item)
New classes are available for three different kinds of items:
TimelineEvent,TimelineTaskandTimelineActivity. See the online documentation for more on this topic.
yamcs-client 1.13.0
-
ArchiveClient: Added
sourceoption toexport_parameter_values. By default this function will now use the Parameter Archive instead of doing a packet replay. -
MDBClient: Added
versionoption toexport_space_system. This defaults to XTCE1.2, but you could set it to1.3to use the newly introduced namespace. -
If you are still using old-style imports, you will now start seeing deprecation warnings. Reminder: all classes can be imported from
yamcs.clientpackage.For example, instead of:
from yamcs.core.auth import Credentials from yamcs.client import YamcsClient credentials = Credentials(username="admin", password="admin") client = YamcsClient("http://localhost:8090", credentials=credentials)
do instead:
from yamcs.client import Credentials, YamcsClient credentials = Credentials(username="admin", password="admin") client = YamcsClient("http://localhost:8090", credentials=credentials)
-
ArchiveClient: the method
sample_parameter_valueswas renamed todownsample_mean. The previous method still works but will generate a deprecation warning. Likewise theSampleclass was renamed toMeanSample. -
Improves error handling when querying URLs that do not appear to be Yamcs URLs.
yamcs-client 1.12.1
- Fixes a py3.8/py3.9 setuptools compatibility issue, introduced by 1.12.0 release
yamcs-client 1.12.0
- LinkClient: Add methods for SDLS API interaction (thanks @thezeroalpha)
- Avoid pkg_resources warnings with recent versions of setuptools #35
- Rename
yamcs.client.CommandStackActivitytoyamcs.client.StackActivity. The previous name will remaining working for a while, but may generate deprecation warnings.
yamcs-client 1.11.3
- Archive: Make start/stop arguments on
rebuild_parameter_archiveoptional - Add extension mechanism for non-core activities
yamcs-client 1.11.2
- Timeline: add new band types
ParameterPlotandParameterStateBandfor use with Yamcs 5.11.2 or higher - Parameter Archive: add operations to enable/disable automatic backfilling for use with Yamcs 5.11.1 or higher
yamcs-client 1.11.1
- Fixes an issue introduced in v1.11.0 when using string arguments #30 (thanks @AnsgarSchmidt)
yamcs-client 1.11.0
-
For a few releases already, it has been possible to import all classes directly from the
yamcs.clientpackage. In this release, all docs and examples have been modified accordingly, and source files were physically moved under this package. Old-style imports continue to work, but will eventually be deprecated for removal (in the distant future).For example, instead of:
from yamcs.core.auth import Credentials from yamcs.client import YamcsClient credentials = Credentials(username="admin", password="admin") client = YamcsClient("http://localhost:8090", credentials=credentials)
prefer instead:
from yamcs.client import Credentials, YamcsClient credentials = Credentials(username="admin", password="admin") client = YamcsClient("http://localhost:8090", credentials=credentials)
-
Fixes API issue when using array-type TC arguments
yamcs-client 1.10.0
- Fix compatibility issues with Yamcs 5.10.x
- Require Python 3.8 or higher (Python 3.7 removed)
- Fix circularity issue when using a deep import #28
- Fix client close issue when no creds are used
- MDB: provide access to command arguments and types
- Archive: add CSV command export method\
- Link subscription was adapted to changed server API. The subscription callback returns a
List[Link]now, instead ofLinkEvent, containing the state of all links.
yamcs-client 1.9.8
- YamcsClient: Add
list_rdb_tablespacesandcompact_rdb_column_familymethods