Fastapi-injector

Latest version: v0.5.4

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

Scan your dependencies

Page 1 of 2

0.5.4

What's Changed
* Set the middleware scope to starlette.types.Scope by ljnsn in https://github.com/matyasrichter/fastapi-injector/pull/21
* Bind RequestScopeFactory to make it work with `auto_bind=False` by matyasrichter in https://github.com/matyasrichter/fastapi-injector/pull/25
* Update dev dependencies in https://github.com/matyasrichter/fastapi-injector/pull/22, https://github.com/matyasrichter/fastapi-injector/pull/23, https://github.com/matyasrichter/fastapi-injector/pull/24

New Contributors
* ljnsn made their first contribution in https://github.com/matyasrichter/fastapi-injector/pull/21

**Full Changelog**: https://github.com/matyasrichter/fastapi-injector/compare/0.5.3...0.5.4

0.5.3

What's Changed
* Add deterministic cleanup of context manager dependencies by richtea in https://github.com/matyasrichter/fastapi-injector/pull/19

New Contributors
* richtea made their first contribution in https://github.com/matyasrichter/fastapi-injector/pull/19

**Full Changelog**: https://github.com/matyasrichter/fastapi-injector/compare/0.5.2...0.5.3

0.5.2

Python 3.12 support

0.5.1

What's Changed
* Add support for websockets by soldag in https://github.com/matyasrichter/fastapi-injector/pull/15


**Full Changelog**: https://github.com/matyasrichter/fastapi-injector/compare/0.5.0...0.5.1

0.5.0

What's Changed
* Allow to create request scopes outside of the middleware by soldag in https://github.com/matyasrichter/fastapi-injector/pull/12
* Drop support for Python 3.7 in https://github.com/matyasrichter/fastapi-injector/pull/13

New Contributors
* soldag made their first contribution in https://github.com/matyasrichter/fastapi-injector/pull/12

**Full Changelog**: https://github.com/matyasrichter/fastapi-injector/compare/0.4.0...0.5.0

0.4.0

- Added CI for Python 3.11

New contribution by zenndos / danielknell:
- The dependency created by `Injected` is now async. The original sync implementation would run on a separate thread, wasting resources and causing issues with dependencies that need the event loop.
- Added a `SyncInjected` dependency factory that preserves the original behaviour (note that blocking IO in providers is still discouraged).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.