Releases: labthings/labthings-fastapi
v0.0.9
What's Changed
- Build system changed to hatch from setuptools to make it easier to include non-python files in distribution
- Fix spelling error in fallback server
- Logging message fro deleting expired invocations is changed to debug level to reduce logging noise in applications
- The default argument parser for the CLI can be returned so that downstream programs can add CLI arguments to the parser if needed.
Full Changelog: v0.0.8...v0.0.9
v0.0.8
What's Changed
- Add more information to the fallback server by @julianstirling in #98
- Use pinned dependencies for testing by @rwb27 in #96
- Docs improvements by @rwb27 in #96
Full Changelog: v0.0.7...v0.0.8
This release creates a updated fallback server that can show more information about what caused LabThings to fail to start. We also have improved our testing pipelines to be more robust, and updated the quick start documentation.
v0.0.7
What's Changed
Full Changelog: v0.0.6...v0.0.7
This release brings improvements to the handling of non-JSON-serialisable data. Specifically, Action
s may now use Blob
types in both input and output, and these blobs may be nested inside Pydantic models. This is a breaking change: BlobOutput
has been replaced by Blob
although it should be a drop-in replacement.
The intention here is to be more flexible in how binary data is passed into and out of Actions, and to consolidate code for handling this into a new BlobManager
class (which should not need to be touched directly by a Thing). See #83 for more details.
We also fix an issue where pydantic 2.10 errors when NDArray
annotated types are used: this is now resolved.
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
This is the first published version of labthings-fastapi. It includes a working implementation of Things, with Action and Property affordances. There is an HTTP client, and support for returning files as outputs from actions. FastAPI dependencies are used to manage relations between Things.
There is not yet support for configuring a thing server except through a Python module: this is planned for the near future.