Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2023

Bumps django-jinja from 2.10.2 to 2.11.0.

Release notes

Sourced from django-jinja's releases.

Version 2.11.0

  • Drop Django 2.2 support, now require >=3.2.
  • Drop Python 3.6 and 3.7 support, now require >=3.8.
  • Add Django 4.1 and 4.2 support.
  • Add Python 3.11 support.
  • Provide a better default template engine NAME than 'backend' (#303):

Previously, when configuring TEMPLATES in Django's settings, NAME had to be set to avoid the template engine's name becoming "backend":

TEMPLATES = [
    {
        "NAME": "jinja2",
        "BACKEND": "django_jinja.backend.Jinja2",

If your code matches that pattern, it can now be simplified to:

TEMPLATES = [
    {
        "BACKEND": "django_jinja.jinja2.Jinja2",

There are no plans to remove support for the old backend import path, for consideration of existing projects. Also, be careful if you've set NAME to "jinja" (not "jinja2")!

Changelog

Sourced from django-jinja's changelog.

Version 2.11.0

Released September 3rd, 2023

  • Drop Django 2.2 support, now require >=3.2.
  • Drop Python 3.6 and 3.7 support, now require >=3.8.
  • Add Django 4.1 and 4.2 support.
  • Add Python 3.11 support.
  • Provide a better default template engine NAME than 'backend' (#303):

Previously, when configuring TEMPLATES in Django's settings, NAME had to be set to avoid the template engine's name becoming "backend":

[source,python]

TEMPLATES = [ { "NAME": "jinja2", "BACKEND": "django_jinja.backend.Jinja2",

If your code matches that pattern, it can now be simplified to:

[source,python]

TEMPLATES = [ { "BACKEND": "django_jinja.jinja2.Jinja2",

There are no plans to remove support for the old backend import path, for consideration of existing projects. Also, be careful if you've set NAME to "jinja" (not "jinja2")!

Commits
  • 59fec9e v2.11.0
  • 3c227d3 Provide a better default template engine NAME than 'backend'
  • b18e701 update support versions at Aug 2023
  • 8a75174 Merge pull request #301 from m000/patch-1
  • 3b9d62f add recommendation for setting NAME setting in the docs
  • ddfc75c fixes typo in csrf extension
  • 6b0db8e Django 4.1 (#297)
  • 2a26a25 fixed a space!
  • a654692 CI tests to run Mondays at 03:33 UTC to proactively look for breakages
  • ecadcd3 README: replace travis badge with github actions badge
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-jinja](https://github.com/niwinz/django-jinja) from 2.10.2 to 2.11.0.
- [Release notes](https://github.com/niwinz/django-jinja/releases)
- [Changelog](https://github.com/niwinz/django-jinja/blob/master/CHANGES.adoc)
- [Commits](niwinz/django-jinja@2.10.2...2.11.0)

---
updated-dependencies:
- dependency-name: django-jinja
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 29, 2023
@fjsj fjsj closed this Nov 29, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 29, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/django-jinja-2.11.0 branch November 29, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants