Molten

Latest version: v1.0.2

Safety actively analyzes 628936 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.6.1

Fixed

* OpenAPI UI assets are now loaded over https. ([20], [joranbeasley])

[20]: https://github.com/Bogdanp/molten/issues/20
[joranbeasley]: https://github.com/joranbeasley

0.6.0

Added

* Support for `typing.Union` in schemas.
* Support for `forward_ref`s.

Fixed

* `Any` can now be used to annotate schema fields that contain values of any type.
* `APIKeySecurityScheme` now takes a `param_name` that correctly identifies the header/query param/cookie name. (17)

0.5.1

Fixed

* An issue where OpenAPI docs containing typed list fields would blow up at render time. (12)
* OpenAPI docs now use `{read,write}Only` field markers instead of generating one schema per context (request, response). This may be a breaking change if your tests depended on the old way for some reason, but I'm treating it as a bugfix.

0.5.0

Added

* Support for [websockets](https://moltenframework.com/v0.5.0/reference.htmlwebsockets).
* Support for returning (status, data, headers) from handlers.
* `handle_parse_error` to `App` class.

Changed

* `ResponseRendererMiddleware` now looks up renderers directly off of
the app object. This means you no longer have to pass them to the
middleware upon instantiation. This is a *breaking change*.

To upgrade, change code that looks like this:

python
app = App(
middleware=[ResponseRendererMiddleware([JSONRenderer()])],
)


to:

python
app = App(
middleware=[ResponseRendererMiddleware()],
renderers=[JSONRenderer()],
)

0.2.0

Added

* Support for Python 3.7.
* [Dramatiq support](https://moltenframework.com/reference.htmldramatiq-contrib)
* [OpenAPI document support](https://moltenframework.com/reference.htmlopenapi-reference)
* [Prometheus metrics support](https://moltenframework.com/reference.htmlprometheus-contrib)
* [Request Id support](https://moltenframework.com/reference.htmlrequest-id-contrib)
* [Session support](https://moltenframework.com/reference.htmlsessions-contrib)

Fixed

* Schema field metadata inheritance.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.