Releases: bluesky/event-model
Releases · bluesky/event-model
v1.22.0
What's Changed
- Added a
NX_class
field as aPerObjectHint
to theEventDescriptor
document. - Removed
Optional
onDataKey
fieldsprecision
,choices
, andunits
. These fields can still be left out of theDataKey
, but if provided they cannot beNone
. - Added a
Limits
type for storing EPICS limit data and aNotRequired[Limits]
limits
field toDataKey
. - Added a
NotRequired
dtype_numpy
field toDataKey
for specifying the numpy dtype of data. - Bumped from
jsonschema 3.*
tojsonschema 4.*
. - Added all documents to
event_model
namespace.
Full Changelog: v1.21.0...v1.22.0
v1.21.0
What's Changed:
- Update schemas for StreamResource and StreamDatum by @genematx in #301. Introduced
uri
,parameters
, andmimetype
fields; removedpath_semantics
andresource_kwargs
. More detail: #296 - Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 by @dependabot in #303
- DOC: Fix the switcher URL by @AlexanderWells-diamond in #305
Full Changelog: v1.20.0...v1.21.0
v1.20.0
Changed
- Bumped from
pydantic 1.*
topydantic 2.*
Fixed
- Bug in
rechunk_event_pages
affecting Events with an emptyfilled
key
v1.19.9
Changed
Dropped support for jsonschema 2.*.
v1.19.8
What's Changed
- Find schema files relative to source code, this allows tests to be ru… by @clintonroy in #282
- Rethinking external assets 2 by @evalott100 in #272
New Contributors
- @clintonroy made their first contribution in #282
Full Changelog: v1.19.7...v1.19.8
v1.19.7
What's Changed
Patch to prevent pydantic 2 causing errors on the document TypedDicts and schema generation
- Fixed imports to avoid pydantic if the version is >=2 by @evalott100 in #281
Full Changelog: v1.19.6...v1.19.7
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