Releases: bluesky/event-model
Releases · bluesky/event-model
v1.19.6
v1.19.5
What's Changed
- Switch from partials to classes by @evalott100 in #262
- Added to the schema extra of event_descriptor to allow precision to be null by @evalott100 in #277
Full Changelog: v1.19.4...v1.19.5
v1.19.4
v1.19.3
What's Changed
- Adopted the bluesky pip python skeleton
- Fixed validation errors in the schema in #258
- Added event_counters as an optional kwarg to compose_run in #257
- Introduced the skeleton method of versioning, removing _version.py in #264
- Added unit test to test dots aren't accepted in keys in #269
- Added typing support so mypy passes in #247
- Documents can now be typed by their TypedDict, the jsonschema is the same but is generated from the TypedDicts.
- Use importlib resources instead of pkg_resources in #273
New Contributors
- @coretl made their first contribution in #253
- @DiamondJoseph made their first contribution in #258
- @dependabot made their first contribution in #248
- @ksunden made their first contribution in #273
Full Changelog: v1.19.2...v1.19.3
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.