]>
git.ipfire.org Git - thirdparty/jinja.git/log
David Lord [Sat, 14 Jun 2025 20:34:58 +0000 (13:34 -0700)]
Merge branch 'stable'
David Lord [Sat, 14 Jun 2025 20:10:44 +0000 (13:10 -0700)]
remove slsa provenance (#2105)
David Lord [Sat, 14 Jun 2025 20:08:46 +0000 (13:08 -0700)]
remove slsa provenance
PyPI and trusted publishing has built-in attestation support now.
David Lord [Thu, 12 Jun 2025 20:59:39 +0000 (13:59 -0700)]
Merge branch 'stable'
David Lord [Thu, 12 Jun 2025 20:58:36 +0000 (13:58 -0700)]
svg logo
David Lord [Wed, 11 Jun 2025 17:38:29 +0000 (10:38 -0700)]
Merge branch 'stable'
David Lord [Wed, 11 Jun 2025 17:37:58 +0000 (10:37 -0700)]
svg logo (#2102)
David Lord [Wed, 11 Jun 2025 17:28:39 +0000 (10:28 -0700)]
svg logo
David Lord [Wed, 28 May 2025 19:14:31 +0000 (12:14 -0700)]
update identifier pattern for Python 3.10 (#2099)
David Lord [Wed, 28 May 2025 19:10:09 +0000 (12:10 -0700)]
update identifier pattern for Python 3.10
David Lord [Wed, 28 May 2025 19:09:42 +0000 (12:09 -0700)]
add Python version comment
David Lord [Wed, 28 May 2025 18:44:50 +0000 (11:44 -0700)]
fix typo
David Lord [Wed, 28 May 2025 18:43:08 +0000 (11:43 -0700)]
deprecate `__version__` (#2098)
David Lord [Wed, 28 May 2025 18:39:42 +0000 (11:39 -0700)]
deprecate `__version__`
David Lord [Wed, 28 May 2025 18:20:08 +0000 (11:20 -0700)]
bump minimum versions of dependencies (#2097)
David Lord [Wed, 28 May 2025 18:17:40 +0000 (11:17 -0700)]
bump minimum versions of dependencies
David Lord [Wed, 28 May 2025 18:15:29 +0000 (11:15 -0700)]
drop end of life python versions (#2096)
David Lord [Wed, 28 May 2025 18:10:30 +0000 (11:10 -0700)]
fix ruff pyupgrade findings
David Lord [Wed, 28 May 2025 18:10:03 +0000 (11:10 -0700)]
drop end of life python versions
David Lord [Wed, 28 May 2025 17:10:27 +0000 (10:10 -0700)]
Updated dependency management to uv (#2093)
Adam Englander [Wed, 28 May 2025 17:06:54 +0000 (10:06 -0700)]
fix type/lint/format findings
Adam Englander [Wed, 28 May 2025 17:06:18 +0000 (10:06 -0700)]
use uv for dependency management
drop python 3.7 and 3.8
move tox config into pyproject
use new license metadata
David Lord [Wed, 5 Mar 2025 20:15:40 +0000 (12:15 -0800)]
Merge branch 'stable'
David Lord [Wed, 5 Mar 2025 20:05:21 +0000 (12:05 -0800)]
release version 3.1.6 (#2077)
David Lord [Wed, 5 Mar 2025 19:51:17 +0000 (11:51 -0800)]
release version 3.1.6
David Lord [Wed, 5 Mar 2025 19:49:35 +0000 (11:49 -0800)]
Merge commit from fork
attr filter uses env.getattr
David Lord [Wed, 5 Mar 2025 18:08:48 +0000 (10:08 -0800)]
attr filter uses env.getattr
David Lord [Wed, 5 Mar 2025 17:50:59 +0000 (09:50 -0800)]
start version 3.1.6
David Lord [Tue, 14 Jan 2025 21:45:32 +0000 (13:45 -0800)]
use global contributing guide (#2070)
David Lord [Tue, 14 Jan 2025 21:43:41 +0000 (13:43 -0800)]
use global contributing guide
Remove the per-project files so we don't have to keep them in sync.
GitHub's UI links to everything except the contributing guide, so add a
section about that to the readme.
David Lord [Sat, 21 Dec 2024 18:47:46 +0000 (10:47 -0800)]
Merge branch 'stable'
David Lord [Sat, 21 Dec 2024 18:47:08 +0000 (10:47 -0800)]
use project advisory link instead of global
David Lord [Sat, 21 Dec 2024 18:30:50 +0000 (10:30 -0800)]
release version 3.1.5 (#2066)
David Lord [Sat, 21 Dec 2024 18:16:13 +0000 (10:16 -0800)]
release version 3.1.5
David Lord [Sat, 21 Dec 2024 18:14:49 +0000 (10:14 -0800)]
remove test pypi
David Lord [Sat, 21 Dec 2024 18:14:25 +0000 (10:14 -0800)]
update dev dependencies
David Lord [Sat, 21 Dec 2024 17:46:55 +0000 (09:46 -0800)]
Fix bug involving calling set on a template parameter within all branches of an if block (#1665)
Kevin Brown-Silva [Mon, 2 May 2022 21:33:58 +0000 (15:33 -0600)]
Fix bug where set would sometimes fail within if
There was a bug that came as the result of an early optimization done
within ID tracking that caused loading parameters to fail in a very
specific and rare edge case. That edge case only occurred when the
parameter was being set within all 3 standard branches of an if block,
since the optimization would assume that the parameter was never being
referenced and was only ever being set. This would cause the variable to
be set to undefined.
The fix for this was to remove the optimization and still continue to
load in the parameter even if it is set in all 3 branches.
David Lord [Fri, 20 Dec 2024 22:52:51 +0000 (14:52 -0800)]
Add support for namespaces in tuple parsing (#1664)
David Lord [Fri, 20 Dec 2024 22:02:31 +0000 (14:02 -0800)]
more comments about nsref assignment
only emit nsref instance check once per ref name
refactor primary name parsing a bit
Kevin Brown-Silva [Mon, 2 May 2022 18:01:08 +0000 (12:01 -0600)]
Add support for namespaces in tuple assignment
This fixes a bug that existed because namespaces within `{% set %}`
were treated as a special case. This special case had the side-effect
of bypassing the code which allows for tuples to be assigned to.
The solution was to make tuple handling (and by extension, primary token
handling) aware of namespaces so that namespace tokens can be handled
appropriately. This is handled in a backwards-compatible way which
ensures that we do not try to parse namespace tokens when we otherwise
would be expecting to parse out name tokens with attributes.
Namespace instance checks are moved earlier, and deduplicated, so that
all checks are done before the assignment. Otherwise, the check could be
emitted in the middle of the tuple.
David Lord [Fri, 20 Dec 2024 16:31:34 +0000 (08:31 -0800)]
Triple quotes in docs (#2064)
David Lord [Fri, 20 Dec 2024 16:29:04 +0000 (08:29 -0800)]
edit block assignment section
ratchek [Wed, 13 Dec 2023 01:43:36 +0000 (20:43 -0500)]
Make ease of use update to template documentation
Add the phrases 'multiline comment' and 'triple quotes' to docs
in the templates/#block-assignments section. This allows for new
users to find this alternative easily.
David Lord [Fri, 20 Dec 2024 15:58:33 +0000 (07:58 -0800)]
document SandboxedNativeEnvironment pattern (#2063)
David Lord [Fri, 20 Dec 2024 15:57:11 +0000 (07:57 -0800)]
document SandboxedNativeEnvironment pattern
David Lord [Fri, 20 Dec 2024 04:49:09 +0000 (20:49 -0800)]
Pass context to test when using select (#1762)
Rens Groothuijsen [Wed, 16 Nov 2022 00:25:49 +0000 (01:25 +0100)]
Pass context when using select
David Lord [Fri, 20 Dec 2024 04:41:36 +0000 (20:41 -0800)]
don't apply `urlize` to `@a@b` (#2062)
наб [Thu, 20 Jul 2023 02:20:13 +0000 (04:20 +0200)]
don't apply `urlize` to `@a@b`
David Lord [Fri, 20 Dec 2024 04:28:13 +0000 (20:28 -0800)]
improve annotations for methods returning copies (#1880)
Victor Westerhuis [Wed, 23 Aug 2023 07:01:55 +0000 (09:01 +0200)]
improve annotations for methods returning copies
David Lord [Fri, 20 Dec 2024 04:17:25 +0000 (20:17 -0800)]
Improve the PackageLoader error message (#1706)
David Lord [Fri, 20 Dec 2024 04:15:10 +0000 (20:15 -0800)]
separate messages, add test
Lily Foote [Thu, 11 Aug 2022 14:22:08 +0000 (15:22 +0100)]
Improve the PackageLoader error message
This exception is raised when the `package_path` directory (default "templates") is not
found, so explain this.
David Lord [Fri, 20 Dec 2024 03:38:22 +0000 (19:38 -0800)]
`FileSystemLoader` include paths in error (#1663)
David Lord [Fri, 20 Dec 2024 03:34:34 +0000 (19:34 -0800)]
clean up message, add test
Yourun-Proger [Mon, 2 May 2022 12:42:19 +0000 (15:42 +0300)]
FileSystemLoader includes search paths in error
David Lord [Fri, 20 Dec 2024 02:23:52 +0000 (18:23 -0800)]
fix default for `Environment.overlay(enable_async)` (#2061)
SamyCookie [Thu, 19 Dec 2024 09:59:57 +0000 (10:59 +0100)]
Bugfix: wrong default argument for `Environment.overlay(enable_async)` parameter
David Lord [Fri, 20 Dec 2024 02:10:28 +0000 (18:10 -0800)]
fix f-string syntax error in code generation (#1852)
Sigurd Spieckermann [Fri, 26 May 2023 12:32:36 +0000 (14:32 +0200)]
fix f-string syntax error in code generation
David Lord [Thu, 19 Dec 2024 22:33:08 +0000 (14:33 -0800)]
Merge commit from fork
fix format string vulnerability
Lydxn [Mon, 23 Sep 2024 22:09:10 +0000 (15:09 -0700)]
sandbox indirect calls to str.format
David Lord [Thu, 19 Dec 2024 20:07:14 +0000 (12:07 -0800)]
rearrange change entry
David Lord [Thu, 19 Dec 2024 16:36:07 +0000 (08:36 -0800)]
sandbox disallows `clear` and `pop` on mutable sequence (#2033)
Dylan Scott [Fri, 4 Oct 2024 20:17:07 +0000 (13:17 -0700)]
sandbox disallows `clear` and `pop` on mutable sequence
David Lord [Thu, 19 Dec 2024 16:20:38 +0000 (08:20 -0800)]
Fix pickle/copy support for the `missing` singleton (#2029)
Matt Clay [Tue, 1 Oct 2024 22:18:27 +0000 (15:18 -0700)]
Fix pickle/copy support for the `missing` singleton
David Lord [Thu, 19 Dec 2024 16:14:53 +0000 (08:14 -0800)]
Preserve `__slots__` metadata on Undefined types (#2026)
Matt Davis [Tue, 1 Oct 2024 19:20:19 +0000 (12:20 -0700)]
preserve `__slots__` on Undefined classes
David Lord [Thu, 19 Dec 2024 16:05:48 +0000 (08:05 -0800)]
Make compiled output deterministic for tuple unpacking in set tag (#2022)
Anentropic [Tue, 3 Sep 2024 21:16:33 +0000 (22:16 +0100)]
make tuple unpacking deterministic in compiler
David Lord [Thu, 19 Dec 2024 15:59:45 +0000 (07:59 -0800)]
fix how int filter handles scientific notation (#1984)
Felipe Moreno [Mon, 20 May 2024 15:02:20 +0000 (11:02 -0400)]
int filter handles OverflowError to handle scientific notation
David Lord [Thu, 19 Dec 2024 15:26:24 +0000 (07:26 -0800)]
make unique filter async aware (#1782)
Mehdi ABAAKOUK [Fri, 23 Dec 2022 08:46:29 +0000 (09:46 +0100)]
make unique filter async-aware
David Lord [Thu, 19 Dec 2024 15:15:37 +0000 (07:15 -0800)]
Use correct concat function for blocks evaluation (#1702)
Martin Krizek [Tue, 9 Aug 2022 08:12:27 +0000 (10:12 +0200)]
use env.concat when calling block reference
David Lord [Thu, 19 Dec 2024 00:08:33 +0000 (16:08 -0800)]
Simplify example for ModuleLoader (#1695)
Charles-Axel Dein [Tue, 26 Jul 2022 09:03:16 +0000 (11:03 +0200)]
Simplify example for ModuleLoader
The `ModuleLoader` example seems copy pasted from `ChoiceLoader`. As a result it's not immediately clear how their API differ.
David Lord [Wed, 18 Dec 2024 17:47:24 +0000 (09:47 -0800)]
fix Jinja syntax in example (#2056)
JamesParrott [Mon, 9 Dec 2024 15:03:27 +0000 (15:03 +0000)]
fix Jinja syntax in example
David Lord [Wed, 18 Dec 2024 17:39:32 +0000 (09:39 -0800)]
clarify blocks docs (#2060)
David Lord [Wed, 18 Dec 2024 17:36:11 +0000 (09:36 -0800)]
clarify block outer scope docs
David Lord [Wed, 18 Dec 2024 17:33:31 +0000 (09:33 -0800)]
change "per default" to "by default"
David Lord [Wed, 18 Dec 2024 17:21:09 +0000 (09:21 -0800)]
fix list comprehension example (#2017)
Andreas Lindhé [Mon, 12 Aug 2024 08:54:47 +0000 (10:54 +0200)]
fix list comprehension example
David Lord [Wed, 18 Dec 2024 17:13:55 +0000 (09:13 -0800)]
Slightly improve clarity of logical bool ops (#1938)
Stephen Rosen [Fri, 16 Feb 2024 07:39:44 +0000 (01:39 -0600)]
improve clarity of logical bool ops
co-authored-by: David Lord <davidism@gmail.com>
David Lord [Wed, 18 Dec 2024 16:54:02 +0000 (08:54 -0800)]
Fix typo on filter name (#1911)
Vitor Buxbaum [Fri, 17 Nov 2023 12:04:42 +0000 (09:04 -0300)]
Fix typo on filter name
David Lord [Wed, 18 Dec 2024 16:50:01 +0000 (08:50 -0800)]
fix a typo in docs/templates.rst (#1881)
Meng Xiangzhuo [Tue, 29 Aug 2023 05:19:59 +0000 (13:19 +0800)]
fix a typo in docs/templates.rst
David Lord [Wed, 18 Dec 2024 16:46:48 +0000 (08:46 -0800)]
fix boolean error about whitespace control (#1819)
Hugo Vassard [Fri, 3 Mar 2023 10:42:07 +0000 (11:42 +0100)]
fix boolean error about whitespace control
David Lord [Wed, 18 Dec 2024 16:36:06 +0000 (08:36 -0800)]
Clarify what operations the default "Undefined" supports (#1818)
Clay Sweetser [Thu, 2 Mar 2023 21:53:14 +0000 (16:53 -0500)]
Clarify what operations the default Undefined supports
David Lord [Wed, 18 Dec 2024 16:29:29 +0000 (08:29 -0800)]
Add link to MarkupSafe project mentioned in FAQ (#1767)
Matheus Felipe [Thu, 1 Dec 2022 04:31:40 +0000 (01:31 -0300)]
Add link to MarkupSafe in FAQ