Skip to content

Releases: autotraderuk/fastapi-mlflow

0.6.3

09 Nov 14:55
Compare
Choose a tag to compare

[0.6.3] - 2023-11-08

Added

  • Emit error message when an exception is handled by the built application. Add X-Request-ID header value to log message when present

0.6.2

23 Aug 18:00
Compare
Choose a tag to compare

[0.6.2] - 2023-08-23

Fixed

  • Adapt to pydantic 2.x API changes
  • Assume naive datetimes to be UTC

0.6.1

23 Aug 13:09
Compare
Choose a tag to compare

[0.6.1] - 2023-08-23

Fixed

  • Generic error handling passes correct request and exception arguments

0.6.0

23 Aug 13:09
Compare
Choose a tag to compare

[0.6.0] - 2023-08-23

Changed

  • Return an asynchronous function from build_predictor
  • Use orjson to serialize responses from app returned by build_app
  • Improved error handling in app returned by build_app; will catch and format generic Exceptions
  • Use newer pydantic and fastapi for potential performance improvements

0.5.0

09 Jun 14:14
Compare
Choose a tag to compare

[0.5.0] - 2023-06-09

Added

  • Support for Python 3.10, 3.11

Security

  • mlflow 2.x
  • fastapi 0.96.x

0.4.1

17 Apr 15:00
Compare
Choose a tag to compare

[0.4.1] - 2023-04-17

Fixed

  • Raise an error for unsupported field types. Previously would silently return a None resulting in request time errors.
  • Support objects for predictions in array-like structures by mapping them to strings
  • Improve support for models that return 1d arrays / tensors of strings
  • Catch errors when model result does not conform to expected schema, and format as JSON response

0.4.0

31 Jan 13:24
Compare
Choose a tag to compare

[0.4.0] - 2023-01-31

Added

  • Catch errors raised by ML model's predict method, format them as JSON, and return as the body of the 500 status response.

0.3.2

13 Jan 13:50
52e4f6c
Compare
Choose a tag to compare

0.3.1

24 Nov 15:21
Compare
Choose a tag to compare

Bug fix release to support ML models that can return null predictions.

See CHANGELOG for full details.

0.3.0

24 Nov 15:23
Compare
Choose a tag to compare

Support ML models that have more than 1 return value.

See CHANGELOG for full details