Skip to content

Releases: matyasrichter/fastapi-injector

0.6.2

14 Sep 19:33
0.6.2
0b0359a
Compare
Choose a tag to compare

This release only fixes the build status badge in README.

0.6.1

14 Sep 19:16
0.6.1
8e4a96f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.0...0.6.1

0.6.0

04 Jun 15:19
0.6.0
baf43a0
Compare
Choose a tag to compare

What's Changed

Potentially breaking

  • Make FastAPI an optional dependency by @hasier in #30
    • Allows using fastapi-injector with fastapi-slim
    • If you used to install fastapi only as a transitive dependency of fastapi-injector, you will need to either use the new extras or install fastapi separately.

Other changes

New Contributors

Full Changelog: 0.5.4...0.6.0

0.5.4

03 Feb 13:59
0.5.4
1d89575
Compare
Choose a tag to compare

What's Changed

  • Set the middleware scope to starlette.types.Scope by @ljnsn in #21
  • Bind RequestScopeFactory to make it work with auto_bind=False by @matyasrichter in #25
  • Update dev dependencies in #22, #23, #24

New Contributors

  • @ljnsn made their first contribution in #21

Full Changelog: 0.5.3...0.5.4

0.5.3

16 Nov 12:56
0.5.3
f0d5c4d
Compare
Choose a tag to compare

What's Changed

  • Add deterministic cleanup of context manager dependencies by @richtea in #19

New Contributors

Full Changelog: 0.5.2...0.5.3

0.5.2

13 Nov 05:15
0.5.2
50b19f6
Compare
Choose a tag to compare

Python 3.12 support

0.5.1

22 Jul 15:46
0.5.1
d1f51f0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.0...0.5.1

v0.5.0

19 May 19:00
0.5.0
388aaf8
Compare
Choose a tag to compare

What's Changed

  • Allow to create request scopes outside of the middleware by @soldag in #12
  • Drop support for Python 3.7 in #13

New Contributors

Full Changelog: 0.4.0...0.5.0

v0.4.0

06 Jan 08:22
0.4.0
25b4a81
Compare
Choose a tag to compare
  • 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).

v0.3.0

17 Jun 18:03
0.3.0
de54557
Compare
Choose a tag to compare

This release adds the RequestScope. See the README for more details.