Skip to content

Latest commit

 

History

History
70 lines (40 loc) · 1.63 KB

CHANGES.md

File metadata and controls

70 lines (40 loc) · 1.63 KB

Change Log

This long shows interesting changes that happen for each release of django-includecontents.

Version 1.1.1 (2024-07-25)

Bugfixes

  • Fix a bug where the component context wasn't being set correctly, especially noticeable inside of a loop. (5)

Version 1.1 (2024-06-03)

Bugfixes

  • Allow attributes with dashes which don't have values. For example, <include:foo x-data />. (1)

Version 1.0 (2024-05-16)

Features

  • Update the template engine location so that it will be picked up as the standard Django engine when replaced.

Improved Documentation

  • Fix some grammar.
  • Add a note about how to workaround Prettier stripping AlpineJS' x-data quotes.

Deprecations and Removals

  • Since the template engine location has changed, any users of pre 1.0 versions will need to update their Django settings to point to the new location:

    TEMPLATES = [
        {
            "BACKEND": "includecontents.django.DjangoTemplates",
            ...
        },
    ]

Version 0.8 (2024-05-09)

Features

  • Add shorthand attribute syntax (<include:foo {title}>).

Bugfixes

  • Fix component context isolation.

Version 0.7 (2024-05-01)

Features

  • Allow self-closing tags. For example, <include:foo />.
  • Handle > inside <include: tags.
  • Allow kebab-case attributes. For example, <include:foo x-data="bar" />.

Improved Documentation

  • Add a note about pretier-plugin-jinja-template.
  • Readme improvements.