Skip to content

Releases: runemalm/py-dependency-injection

Version 1.0.0-alpha.7

24 Mar 12:00
0d3e5b2
Compare
Choose a tag to compare
Version 1.0.0-alpha.7 Pre-release
Pre-release
  • Documentation Update: Updated the documentation to provide clearer instructions and more comprehensive examples.
  • Preparing for Beta Release: Made necessary adjustments and refinements in preparation for the upcoming first beta release.

This release focuses on enhancing the documentation and making final preparations for the transition to the beta phase. If you have any more updates or need further assistance, feel free to reach out!

Version 1.0.0-alpha.6

23 Mar 12:51
Compare
Choose a tag to compare
Version 1.0.0-alpha.6 Pre-release
Pre-release
  • Factory Registration: Added support for registering dependencies using factory functions for dynamic instantiation.
  • Instance Registration: Enabled registering existing instances as dependencies.
  • Tag-based Registration and Resolution: Introduced the ability to register and resolve dependencies using tags for flexible dependency management.

Version 1.0.0-alpha.5

03 Mar 12:18
e84eddd
Compare
Choose a tag to compare
Version 1.0.0-alpha.5 Pre-release
Pre-release
  • Critical Package Integrity Fix: This release addresses a critical issue that affected the packaging of the Python library in all previous alpha releases (1.0.0-alpha.1 to 1.0.0-alpha.4). The problem involved missing source files in the distribution, rendering the library incomplete and non-functional. Users are strongly advised to upgrade to version 1.0.0-alpha.5 to ensure the correct functioning of the library. All previous alpha releases are affected by this issue.

Version 1.0.0-alpha.4

02 Mar 12:11
33ae0b8
Compare
Choose a tag to compare
Version 1.0.0-alpha.4 Pre-release
Pre-release
  • Constructor Arguments: Support for constructor arguments added to dependency registration.

Version 1.0.0-alpha.3

02 Mar 08:34
Compare
Choose a tag to compare
Version 1.0.0-alpha.3 Pre-release
Pre-release
  • Breaking Change: Starting from this version, the @inject decorator can only be used on static class methods and class methods. It can't be used on instance methods anymore.
  • Documentation Update: The documentation has been updated to reflect the new restriction on the usage of the decorator.

Version 1.0.0-alpha.2

27 Feb 08:23
Compare
Choose a tag to compare
Version 1.0.0-alpha.2 Pre-release
Pre-release
  • Python Version Support: Added support for Python versions 3.7, 3.9, 3.10, 3.11, and 3.12.
  • New Feature: Method Injection with Decorator: Introduced a new feature allowing method injection using the @Inject decorator. Dependencies can now be injected into an instance method, providing more flexibility in managing dependencies within class instance methods.
  • New Feature: Multiple Containers: Enhanced the library to support multiple containers. Users can now create and manage multiple dependency containers, enabling better organization and separation of dependencies for different components or modules.
  • Documentation Update: Expanded and improved the documentation to include details about the newly added method injection feature and additional usage examples. Users can refer to the latest documentation at readthedocs for comprehensive guidance.

Version 1.0.0-alpha.1

25 Feb 07:29
Compare
Choose a tag to compare
Version 1.0.0-alpha.1 Pre-release
Pre-release
  • Initial alpha release.
  • Added Dependency Container: The library includes a simple dependency container for managing object dependencies.
  • Added Constructor Injection: Users can leverage constructor injection for cleaner and more modular code.
  • Added Dependency Scopes: Define and manage the lifecycle of dependencies with support for different scopes.
  • Basic Documentation: An initial set of documentation is provided, giving users an introduction to the library.
  • License: Released under the GPL 3 license.