+
Skip to content

Releases: tandemdude/linkd

v0.1.0

24 Aug 10:56

Choose a tag to compare

Features

  • Implement SINGLETON (default) and PROTOTYPE dependency lifetimes. (#28)

v0.0.10

25 Jul 15:29

Choose a tag to compare

Features

  • Slight increase in performance of DI across multiple calls for the same dependency expression. (#12)

Miscellaneous

  • Dependency resolution exceptions now include the name of the function that would have been called to help with debugging.

v0.0.9

19 Jun 16:17

Choose a tag to compare

Bugfixes

  • Fix code generation raising a SyntaxError when it happens to generate a reserved Python keyword (such as async).

v0.0.8

19 Jun 15:06

Choose a tag to compare

Features

  • Improved error output when dependency resolver function fails to generate for whatever reason.

v0.0.7

08 May 13:18

Choose a tag to compare

Features

  • Add Compose class to group multiple dependencies into a single object for cleaner function signatures. (#9)

Miscellaneous

  • Increase test coverage to 100% for the core library, excluding extension modules.

v0.0.6

02 May 12:52

Choose a tag to compare

Bugfixes

  • Fix fastapi extension not working due to wrapping the route handlers incorrectly.

v0.0.5

28 Apr 18:29

Choose a tag to compare

Features

  • Generate independent dependency resolver functions for each injection-enabled callable, increasing performance by up to 4x. (#8)

v0.0.4

13 Apr 14:29

Choose a tag to compare

Breaking Changes

  • Renamed linkd.Contexts.DEFAULT to linkd.Contexts.ROOT for clarity.

Features

  • Add support for Starlette applications through the linkd.ext.starlette submodule. (#5)
  • Add support for Quart applications through the linkd.ext.quart submodule. (#6)
  • Added convenience DependencyInjectionManager.contextual decorator to allow easily entering a DI context as a one-off.

v0.0.3

10 Apr 09:48

Choose a tag to compare

Features

  • Add support for FastAPI applications through the linkd.ext.fastapi submodule. (#1)

v0.0.2

08 Apr 18:58

Choose a tag to compare

Breaking Changes

  • Renamed with_di decorator to inject - use @linkd.inject instead of @linkd.with_di.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载