xuezhou_yan
9232421ee2
issue:#I9SPO8 update jinja to 3.1.3
...
Signed-off-by: xuezhou_yan <yangang20@huawei.com>
2024-05-28 10:37:23 +08:00
David Lord
1e68ba8617
release version 3.1.2
2022-04-28 10:14:05 -07:00
David Vitek
746bb95780
Fix race conditions in FileSystemBytecodeCache
2022-04-25 14:09:33 -07:00
Tom Brouwer
21da8f5298
add missing options to overlay from __init__
2022-04-04 06:40:57 -07:00
David Lord
ea69e41db3
start version 3.1.2
2022-04-04 06:18:39 -07:00
David Lord
d80ffb47e6
release version 3.1.1
2022-03-25 15:27:45 -07:00
David Lord
1b02fccaf4
normpath on final template filename
2022-03-25 15:23:00 -07:00
David Lord
155e51d90b
start version 3.1.1
2022-03-25 15:05:58 -07:00
David Lord
7b0c47fe1c
release version 3.1.0
2022-03-24 07:10:11 -07:00
David Lord
040088a395
use posixpath.join
when loading template names
2022-03-15 13:58:22 -07:00
David Lord
e690f7c596
add case_sensitive parameter groupby filter
...
Co-authored-by: Yuri Sukhov <yuri.sukhov@gmail.com>
2022-03-08 06:55:05 -08:00
David Lord
a150ff749a
add parens around auto_await for filters and calls
2022-03-07 09:14:21 -08:00
Armin Ronacher
1c036cac2f
add items filter
2022-03-07 08:29:16 -08:00
Jeff Dairiki
ac3ac6c965
async_variant filters are pickleable
2022-03-07 07:52:04 -08:00
David Lord
4a33989236
update identifier pattern for Python 3.7
2022-01-13 15:06:18 -08:00
David Lord
b6f50df85b
specify context for translation block
2021-12-26 11:51:54 -07:00
Martin Krizek
2903565262
support native types in macros
2021-11-10 11:17:33 -08:00
David Lord
04126f9e49
remove deprecated unicode_urlencode
2021-11-10 11:07:04 -08:00
David Lord
6faf093f9d
remove deprecated legacy resolve mode for context subclass
2021-11-10 11:07:04 -08:00
David Lord
88745a2b9e
remove deprecated unicode_join runtime alias
2021-11-10 11:07:04 -08:00
David Lord
824b4d3e5b
remove deprecated Markup and escape aliases
2021-11-10 11:07:04 -08:00
David Lord
c6caa4c5b0
remove deprecated template function decorators
2021-11-10 11:07:04 -08:00
David Lord
ac9dbfcf50
remove deprecated extensions
2021-11-09 12:37:01 -08:00
David Lord
a42b291bf2
Merge branch '3.0.x'
2021-11-09 12:28:39 -08:00
David Lord
ce1a539a69
release version 3.0.3
2021-11-09 12:22:19 -08:00
David Lord
eec0db8642
PackageLoader works with single module file
2021-11-09 12:18:53 -08:00
David Lord
e01e0a21f9
Merge pull request #1509 from kianmeng/fix-typos
...
Fix typos
2021-11-09 09:17:51 -08:00
Kristian Klette
9b96b4817a
Use object.__hash__ for Node.__hash__
...
This fixes a regression in commit 60293416db
that
changed the `__hash__` implementation of Node from the default pointer
hash, to a hash based on the node fields.
Since these fields contains list objects, they are not hashable, making
every call to `Node.__hash__` fail.
This breaks some third-party usage such as in `django-compressor`
(See: https://github.com/django-compressor/django-compressor/issues/1060 )
This changed reverts the hash method back to using `object.__hash__` as
the hash implementation.
2021-11-09 09:12:22 -08:00
Mohamed Akram
b756b1924a
Reduce async overhead due to auto_await
2021-11-09 08:52:20 -08:00
Martin Krizek
bb0db82b91
native: keep same behavior on Python 3.10
2021-11-09 08:41:02 -08:00
David Lord
99435a4e69
simplify CodeType rewriting
2021-11-09 07:10:53 -08:00
Kian-Meng, Ang
8cc3a64fa6
Fix typos
2021-10-12 22:36:44 +08:00
David Lord
f20a9c9ccb
Merge branch '3.0.x'
2021-10-04 17:54:36 -07:00
David Lord
76c9cf832a
release version 3.0.2
2021-10-04 17:48:23 -07:00
David Lord
8931077058
omit curdir from PackageLoader root path
...
fixes compatibility with zip imports
Co-authored-by: kuepe-sl <peter_kueffner@web.de>
2021-10-04 17:39:39 -07:00
Daniel Stone
baff54fe1d
imported macros can access template globals in async mode
2021-10-04 13:49:13 -07:00
David Lord
35c69e9ec3
Merge remote-tracking branch 'origin/3.0.x'
2021-08-10 06:34:22 -07:00
Joachim Jablon
d5f49f5cc1
Fixes #1448 : Revert Undefined.__contains__ to 2.x behaviour
2021-08-09 11:07:35 -07:00
Takuto Ikuta
4c703ec44d
make compile_templates deterministic
...
Python3 doesn't keep insertion order for set(), so this sorts some
places for deterministic output for compiled template.
2021-08-09 10:58:24 -07:00
Amy
f3bc9c6a91
clear assignments in loops at end of iteration
2021-05-21 11:24:04 -07:00
David Lord
cdbda09e44
Merge branch '3.0.x'
2021-05-18 13:40:36 -07:00
David Lord
738644d816
start version 3.0.2.dev0
2021-05-18 13:39:52 -07:00
David Lord
4d23bfb317
release version 3.0.1
2021-05-18 13:35:09 -07:00
David Lord
7d0b7accff
use asyncio.run
2021-05-18 13:22:46 -07:00
David Lord
ab7840328f
Merge pull request #1439 from pallets/deprecated-markup
...
fix deprecated `Markup` subclass
2021-05-17 06:45:26 -07:00
David Lord
f562a4fdea
fix deprecated Markup
subclass
2021-05-17 06:41:42 -07:00
David Lord
55848d36c0
Merge branch '3.0.x'
2021-05-13 18:01:18 -07:00
David Lord
b4d31e7b8d
show context for deprecated extensions
2021-05-13 17:48:19 -07:00
David Lord
a2e83d07a3
Merge pull request #1434 from pallets/update-typing
...
Update typing
2021-05-13 17:30:40 -07:00
David Lord
9f34d2ac87
fix typing that wasn't available in Python 3.6.0
2021-05-13 17:25:08 -07:00