Skip to content

Releases: tylersuehr7/django-autowired

Django Global Scanner

Choose a tag to compare

@tylersuehr7 tylersuehr7 released this 08 May 02:37
acf1f6e

Introduces AutowiredDjangoConfig — a single AppConfig users add to INSTALLED_APPS that reads settings.DJANGO_AUTOWIRED and bootstraps the container for the entire project. Eliminates per-app apps.py boilerplate and is the preferred path for projects with many domain apps.

  • Three discovery modes: explicit PACKAGES, AUTODISCOVER_PREFIX (filters INSTALLED_APPS by namespace), and AUTODISCOVER_SUBPACKAGE (appends e.g. "adapters" and silently skips apps that don't yet follow the convention, enabling incremental migration in a large codebase).
  • EXTRA_MODULES accepted as "module.path:attr" strings, resolved post Django-ready.
  • STRICT flag plumbed through container.initialize() and scan_packages() so import errors fail fast in CI rather than logging warnings.
  • Mutex validation (PACKAGES + AUTODISCOVER_PREFIX raises) and an explicit error if neither is set.
  • New examples/django_autodiscover_demo/ — a "shop" project with two bounded contexts, cross-app DI (orders depends on users), a @provides feature flag, and a real Django request round-trip test.
  • Docs reorganized: project-wide auto-discovery is now the leading section in the Django integration guide, with per-app config demoted to a secondary pattern. Adds a Spring Boot mental-model mapping table.

Injection Factories

Choose a tag to compare

@tylersuehr7 tylersuehr7 released this 08 May 01:34
0f75a14
  • Support for @provider to build instance that will be bound to the interface

Consistent Python Version

Choose a tag to compare

@tylersuehr7 tylersuehr7 released this 20 Apr 16:19
7b20875

Supports Python 3.12+ instead of just Python 3.13+

CI Job Fixes

Choose a tag to compare

@tylersuehr7 tylersuehr7 released this 19 Apr 17:33

Fixes publish.yml workflow verify command for Python version

Supported Framework Example Projects

Choose a tag to compare

@tylersuehr7 tylersuehr7 released this 19 Apr 17:04

Functional example projects for supported frameworks + minor bug fixes.

Initial Release

Choose a tag to compare

@tylersuehr7 tylersuehr7 released this 19 Apr 15:29

Initial release version.