Releases: bluesky/event-model
Releases · bluesky/event-model
v1.19.2
Changed
- Fix warnings about distutils being deprecated in Python>=3.10
v1.19.1 (2022-12-09)
v1.19.1 (2022-12-09)
This release fixes compatibility with Python 3.7, which was inadvertently
broken in the previous release, 1.19.0.
event-model v1.19.0
v1.19.0 (2022-11-03)
Added
- Add two experimental new document types: a
stream_resource
that manages an
unknown number of contiguousstream_datum
, with the potential for multiple
streams. This is especially relevant when the data is expected to be ragged
or has no pre-determined shape (number of rows).
Changed
- Added
object_name
to Event Descriptor schema. The RunEngine has been
adding this for many years. This change merely documents the status quo. - Use
importlib
instead of__version__
to implement logic conditional
on jsonschema version.
event-model v1.18.0
What's Changed
- CI: add a workflow to publish on PyPI by @mrakitin in #216
- Fix for
databroker.v0
API by @mrakitin in #218 - Fix versioneer compat with py311 by @tacaswell in #217
Full Changelog: v1.17.2...v1.18.0
event-model v1.17.2
v1.17.2 (2021-06-21)
Added
- Event, Datum Page were added to TOC
Changed
- The
start document
parameter to :func:~event_model.compose_resource
is now optional - :meth:
~event_model.RunRouter.descriptor
has been modified to record descriptor document
id before executing callbacks
v1.17.1
Any object that implements array is accepted by the schema validators as any array. This enables the validator to tolerate numpy-like variants that are not literal numpy arrays, such as dask, sparse, or cupy arrays.
v1.17.0
Added
*Added data_session and data_groups to Run Start document schema.
Changed
- The package requirements have been relaxed to accept jsonschema versions 2 or 3. Both are supported.
v1.16.1
- The "projections" schema in the Run Start document has been enhanced to accept "configuration" locations intended to link to fields that are in Event stream Configuration See :ref:
projections
. Additionally, validation of projections was enhanced. - The method https://github.com/bluesky/event-model/blob/b7a5fd8f54a9ee96c33a2171e8ecb243f0b08391/event_model/__init__.py#L1283 was enhanced to check for repeated runs with colliding uids, raising an ValueError when this occurs.
event-model-1.16.1.tar.gz
event-model-1.16.1.zip
v1.16.0
Added
- The schema for Run Start documents now includes an optional “projections” key. See Projections (Experimental).
- Added the method emit and an emit parameter to DocumentRouter to support chaining them.
- The Filler now provides public methods for clearing its caches, clear_handler_cache() and clear_document_caches().
- The method deregister_handler() returns the handler that it has deregistered.
- The filler_state attribute of Filler now includes attributes resource and datum which may be used by coercion functions to work around incorrect shape metadata.
Changed
The function register_coercion() replaces the misspelled register_coersion(), which is retained as an alias for backward-compatibility.