Skip to content

Releases: labthings/labthings-fastapi

v0.0.9

09 Jun 13:47
7e82c45
Compare
Choose a tag to compare

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

08 Apr 08:13
371e2d7
Compare
Choose a tag to compare

What's Changed

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

28 Nov 15:45
b446f8d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.6...v0.0.7

This release brings improvements to the handling of non-JSON-serialisable data. Specifically, Actions 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

11 Oct 17:58
c198dd7
Compare
Choose a tag to compare

This is purely a metadata change, removing the dependency on pydantic_numpy which is no longer required. This restores compatibility with numpy<2.0

v0.0.5

11 Oct 14:48
e290ef5
Compare
Choose a tag to compare

This release relaxes the numpy version requirement to allow <2.0. This is useful as some older libraries still require numpy <2.0.

v0.0.4

09 Oct 21:17
Compare
Choose a tag to compare

This release reverts the change to pydantic-numpy because it was not compatible with the Thing Description generation code. It also includes improvements to testing and CI.

v0.0.3

08 Oct 15:00
Compare
Choose a tag to compare

This release was yanked due to #79

This release adds some more support for websockets courtesy of @akaplanyan, fixes some CI issues, adds a documentation page on dependencies, and adopts pydantic_numpy for typing np.ndarray parameters.

v0.0.2

30 May 22:39
Compare
Choose a tag to compare

This patch release fixes a dependency issue and allows labthings_fastapi.client to be used without installing fastapi and all the associated server dependencies.

v0.0.1

30 May 22:28
ec45561
Compare
Choose a tag to compare

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.