github EmilStenstrom/django-components 0.85

latest releases: 0.102, 0.101, 0.100...
3 months ago

What's Changed

🚨 Breaking changes

  • Autodiscovery module resolution changed. Following undocumented behavior was removed:
    • Previously, autodiscovery also imported any [app]/components.py files, and used SETTINGS_MODULE to search for component dirs.
      • To migrate from:
        • [app]/components.py - Define each module in COMPONENTS.libraries setting,
          or import each module inside the AppConfig.ready() hook in respective apps.py files.
        • SETTINGS_MODULE - Define component dirs using STATICFILES_DIRS
    • Previously, autodiscovery handled relative files in STATICFILES_DIRS. To align with Django, STATICFILES_DIRS now must be full paths (Django docs).

Fix

Refactor

Docs

New Contributors

Full Changelog: 0.84...0.85

Don't miss a new django-components release

NewReleases is sending notifications on new releases.