]>
git.ipfire.org Git - thirdparty/jinja.git/log
Takuto Ikuta [Wed, 26 May 2021 08:09:33 +0000 (17:09 +0900)]
make compile_templates deterministic
Python3 doesn't keep insertion order for set(), so this sorts some
places for deterministic output for compiled template.
David Lord [Mon, 9 Aug 2021 17:19:58 +0000 (10:19 -0700)]
Merge pull request #1449 from amy-lei/loop-scoping
fix loop scoping bug
David Lord [Tue, 25 May 2021 13:44:22 +0000 (06:44 -0700)]
Merge pull request #1451 from greyli/improve-contributing-guide
Improve the contributing guide
Grey Li [Mon, 24 May 2021 08:59:22 +0000 (16:59 +0800)]
Improve the contributing guide
Amy [Fri, 21 May 2021 17:56:58 +0000 (13:56 -0400)]
clear assignments in loops at end of iteration
David Lord [Fri, 21 May 2021 03:52:48 +0000 (20:52 -0700)]
Merge pull request #1447 from pallets/update-theme
Update theme
David Lord [Fri, 21 May 2021 03:49:38 +0000 (20:49 -0700)]
update pallets and sphinx requirements
David Lord [Fri, 21 May 2021 03:48:16 +0000 (20:48 -0700)]
update pallets-sphinx-themes
David Lord [Tue, 18 May 2021 20:39:52 +0000 (13:39 -0700)]
start version 3.0.2.dev0
David Lord [Tue, 18 May 2021 20:37:58 +0000 (13:37 -0700)]
Merge pull request #1445 from pallets/release-3.0.1
release version 3.0.1
David Lord [Tue, 18 May 2021 20:35:09 +0000 (13:35 -0700)]
release version 3.0.1
David Lord [Tue, 18 May 2021 20:31:11 +0000 (13:31 -0700)]
Merge pull request #1444 from pallets/event-loop
use asyncio.run
David Lord [Tue, 18 May 2021 20:22:46 +0000 (13:22 -0700)]
use asyncio.run
David Lord [Tue, 18 May 2021 17:32:26 +0000 (10:32 -0700)]
Merge pull request #1442 from dannysepler/use-pathlib-in-places
Use pathlib in some test places
Danny Sepler [Mon, 17 May 2021 03:45:06 +0000 (23:45 -0400)]
Use pathlib in some test places
David Lord [Mon, 17 May 2021 13:48:44 +0000 (06:48 -0700)]
Merge pull request #1440 from pallets/deprecated-markup
fix deprecated `Markup` subclass
David Lord [Mon, 17 May 2021 13:41:42 +0000 (06:41 -0700)]
fix deprecated `Markup` subclass
David Lord [Fri, 14 May 2021 00:54:32 +0000 (17:54 -0700)]
Merge pull request #1436 from pallets/deprecated-extensions
fix context for deprecated extensions
David Lord [Fri, 14 May 2021 00:48:19 +0000 (17:48 -0700)]
show context for deprecated extensions
David Lord [Fri, 14 May 2021 00:35:29 +0000 (17:35 -0700)]
Merge pull request #1435 from pallets/update-typing
Update typing
David Lord [Fri, 14 May 2021 00:24:19 +0000 (17:24 -0700)]
fix typing that wasn't available in Python 3.6.0
David Lord [Fri, 14 May 2021 00:19:23 +0000 (17:19 -0700)]
mark top-level names as exported
David Lord [Tue, 11 May 2021 23:25:39 +0000 (16:25 -0700)]
Merge pull request #1420 from pallets/default-branch
rename default branch in files
David Lord [Tue, 11 May 2021 23:22:14 +0000 (16:22 -0700)]
rename default branch in files
David Lord [Tue, 11 May 2021 23:15:13 +0000 (16:15 -0700)]
Merge pull request #1419 from ThiefMaster/fix-sphinx-build
Install sphinx 4.1-dev from git
Adrian Moennich [Tue, 11 May 2021 23:04:07 +0000 (01:04 +0200)]
Remove type annotation breaking sphinx builds
Adrian Moennich [Tue, 11 May 2021 22:18:42 +0000 (00:18 +0200)]
Install sphinx 4.1-dev from git
Otherwise docs builds are broken due to sphinx-doc/sphinx#9216
David Lord [Tue, 11 May 2021 21:23:04 +0000 (14:23 -0700)]
Merge pull request #1418 from pallets/update-markupsafe
update markupsafe minimum version
David Lord [Tue, 11 May 2021 21:19:25 +0000 (14:19 -0700)]
update markupsafe minimum version
David Lord [Tue, 11 May 2021 21:10:02 +0000 (14:10 -0700)]
start version 3.0.1.dev0
David Lord [Tue, 11 May 2021 21:04:48 +0000 (14:04 -0700)]
Merge pull request #1417 from pallets/release-3.0.0
Release 3.0.0
David Lord [Tue, 11 May 2021 21:02:01 +0000 (14:02 -0700)]
release version 3.0.0
David Lord [Tue, 11 May 2021 21:01:39 +0000 (14:01 -0700)]
update requirements
David Lord [Tue, 11 May 2021 14:09:27 +0000 (07:09 -0700)]
Merge pull request #1416 from pallets/pre-commit-ci-schedule
update pre-commit monthly
David Lord [Tue, 11 May 2021 14:05:21 +0000 (07:05 -0700)]
update pre-commit monthly
David Lord [Mon, 10 May 2021 20:41:59 +0000 (13:41 -0700)]
Merge pull request #1415 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] [Mon, 10 May 2021 20:26:14 +0000 (20:26 +0000)]
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.14.0 → v2.15.0](https://github.com/asottile/pyupgrade/compare/v2.14.0...v2.15.0)
- [github.com/psf/black: 21.4b2 → 21.5b1](https://github.com/psf/black/compare/21.4b2...21.5b1)
- [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.1...3.9.2)
David Lord [Mon, 10 May 2021 13:58:42 +0000 (06:58 -0700)]
Merge pull request #1414 from pallets/typing-marker
fix py.typed in manifest
David Lord [Mon, 10 May 2021 13:53:52 +0000 (06:53 -0700)]
fix py.typed in manifest
David Lord [Sat, 8 May 2021 20:38:35 +0000 (13:38 -0700)]
Merge pull request #1412 from pallets/typing
add type annotations
David Lord [Sat, 8 May 2021 20:03:15 +0000 (13:03 -0700)]
add type annotations
David Lord [Mon, 3 May 2021 18:13:49 +0000 (11:13 -0700)]
Merge pull request #1411 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] [Mon, 3 May 2021 17:22:40 +0000 (17:22 +0000)]
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.13.0 → v2.14.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.14.0)
- [github.com/psf/black: 21.4b0 → 21.4b2](https://github.com/psf/black/compare/21.4b0...21.4b2)
dependabot[bot] [Wed, 28 Apr 2021 20:57:26 +0000 (20:57 +0000)]
Merge pull request #1410 from pallets/dependabot/pip/babel-2.9.1
dependabot[bot] [Wed, 28 Apr 2021 20:56:09 +0000 (20:56 +0000)]
Merge pull request #1409 from pallets/dependabot/pip/pre-commit-2.12.1
dependabot[bot] [Wed, 28 Apr 2021 20:55:15 +0000 (20:55 +0000)]
Bump babel from 2.9.0 to 2.9.1
Bumps [babel](https://github.com/python-babel/babel) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.9.0...v2.9.1)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 28 Apr 2021 20:54:26 +0000 (20:54 +0000)]
Bump pre-commit from 2.12.0 to 2.12.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.0...v2.12.1)
Signed-off-by: dependabot[bot] <support@github.com>
David Lord [Wed, 28 Apr 2021 20:53:11 +0000 (13:53 -0700)]
Merge pull request #1408 from pallets/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
dependabot-preview[bot] [Wed, 28 Apr 2021 16:46:45 +0000 (16:46 +0000)]
Upgrade to GitHub-native Dependabot
David Lord [Tue, 27 Apr 2021 13:28:15 +0000 (06:28 -0700)]
Merge pull request #1407 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] [Mon, 26 Apr 2021 17:22:03 +0000 (17:22 +0000)]
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0)
- [github.com/asottile/reorder_python_imports: v2.4.0 → v2.5.0](https://github.com/asottile/reorder_python_imports/compare/v2.4.0...v2.5.0)
- [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0)
David Lord [Sun, 25 Apr 2021 15:11:17 +0000 (08:11 -0700)]
Merge pull request #1406 from pallets/release-3.0.0rc2
release version 3.0.0rc2
David Lord [Sun, 25 Apr 2021 15:08:40 +0000 (08:08 -0700)]
release version 3.0.0rc2
David Lord [Sun, 18 Apr 2021 01:39:40 +0000 (18:39 -0700)]
Merge pull request #1401 from pallets/deprecated-markup
fix deprecated `Markup` subclass
David Lord [Sun, 18 Apr 2021 01:17:35 +0000 (18:17 -0700)]
fix Markup subclass
str subclass must override __new__ instead of __init__
David Lord [Fri, 16 Apr 2021 15:24:21 +0000 (08:24 -0700)]
Merge pull request #1399 from pallets/release-3.0.0rc1
Release 3.0.0rc1
David Lord [Fri, 16 Apr 2021 15:21:34 +0000 (08:21 -0700)]
release version 3.0.0rc1
David Lord [Fri, 16 Apr 2021 15:21:12 +0000 (08:21 -0700)]
update minimum install requirements
David Lord [Fri, 16 Apr 2021 15:18:09 +0000 (08:18 -0700)]
update deprecated pre-commit hook
David Lord [Fri, 16 Apr 2021 15:17:55 +0000 (08:17 -0700)]
update requirements
David Lord [Fri, 16 Apr 2021 15:17:18 +0000 (08:17 -0700)]
update pallets-sphinx-themes
David Lord [Thu, 15 Apr 2021 22:32:57 +0000 (15:32 -0700)]
mention jinja in deprecation message
David Lord [Tue, 13 Apr 2021 17:41:17 +0000 (10:41 -0700)]
Merge pull request #1398 from pallets/docs-filter-anchor
unique links for filters, tests, globals
David Lord [Tue, 13 Apr 2021 17:36:11 +0000 (10:36 -0700)]
unique links for filters, tests, globals
David Lord [Mon, 12 Apr 2021 17:24:41 +0000 (10:24 -0700)]
Merge pull request #1394 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] [Mon, 12 Apr 2021 17:12:51 +0000 (17:12 +0000)]
[pre-commit.ci] pre-commit autoupdate
David Lord [Mon, 12 Apr 2021 06:58:46 +0000 (23:58 -0700)]
Merge pull request #1393 from pallets/deprecate-legacy-resolve
deprecate legacy resolve mode
David Lord [Mon, 12 Apr 2021 06:53:59 +0000 (23:53 -0700)]
deprecate legacy resolve mode
David Lord [Mon, 12 Apr 2021 01:55:36 +0000 (18:55 -0700)]
Merge pull request #1392 from pallets/inline-async
async support doesn't require patching
David Lord [Sat, 10 Apr 2021 23:12:25 +0000 (16:12 -0700)]
async support doesn't require patching
David Lord [Sat, 10 Apr 2021 17:24:58 +0000 (10:24 -0700)]
Merge pull request #1391 from pallets/markupsafe-imports
Markup and escape should be imported from markupsafe
David Lord [Sat, 10 Apr 2021 17:22:24 +0000 (10:22 -0700)]
Markup and escape should be imported from markupsafe
David Lord [Sat, 10 Apr 2021 17:19:30 +0000 (10:19 -0700)]
Merge pull request #1389 from pallets/unify-decorators
unify/rename context function decorators
David Lord [Sat, 10 Apr 2021 15:58:16 +0000 (08:58 -0700)]
unify/rename filter and function decorators
Use pass_context instead of contextfilter and contextfunction, etc.
David Lord [Fri, 9 Apr 2021 23:49:55 +0000 (16:49 -0700)]
extract common code for import/from nodes
David Lord [Fri, 9 Apr 2021 22:33:14 +0000 (15:33 -0700)]
Merge pull request #1152 from angelafrentz/refactor_ternary_statement_compiler
angelafrentz [Mon, 10 Feb 2020 22:15:23 +0000 (14:15 -0800)]
refactor compiler environment.is_async checks
dependabot-preview[bot] [Tue, 6 Apr 2021 18:03:18 +0000 (18:03 +0000)]
Merge pull request #1387 from pallets/dependabot/pip/urllib3-1.26.4
dependabot-preview[bot] [Tue, 6 Apr 2021 18:01:52 +0000 (18:01 +0000)]
[Security] Bump urllib3 from 1.26.3 to 1.26.4
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.4. **This update includes a security fix.**
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
David Lord [Mon, 5 Apr 2021 21:44:37 +0000 (14:44 -0700)]
Merge pull request #1360 from lisongmin/add-default-value-to-groupby
Ability to set default value in groupby filter
lisongmin [Tue, 23 Feb 2021 06:34:36 +0000 (14:34 +0800)]
add default parameter to groupby
David Lord [Mon, 5 Apr 2021 21:27:12 +0000 (14:27 -0700)]
Merge pull request #1367 from mvolfik/docs-fix
line statements have no default
Matěj Volf [Tue, 9 Mar 2021 19:42:11 +0000 (20:42 +0100)]
Fix incorrect docs - line statements have no default
David Lord [Mon, 5 Apr 2021 21:23:33 +0000 (14:23 -0700)]
Merge pull request #1364 from Dreamsorcerer/patch-2
Fix map documentation
Sam Bull [Fri, 5 Mar 2021 10:52:39 +0000 (10:52 +0000)]
Fix map documentation
David Lord [Mon, 5 Apr 2021 21:18:56 +0000 (14:18 -0700)]
Merge pull request #1236 from sixtyfathoms/fix/issue-1184
Update wording on dictionary default ordering
jeff [Sat, 13 Jun 2020 23:30:27 +0000 (13:30 -1000)]
update wording on dictionary default ordering
David Lord [Mon, 5 Apr 2021 21:08:20 +0000 (14:08 -0700)]
Merge pull request #1226 from geographika/patch-1
Add symbol names for tilde and pipe
Seth G [Tue, 26 May 2020 16:46:18 +0000 (18:46 +0200)]
add symbol names for tilde and pipe operators
David Lord [Mon, 5 Apr 2021 18:50:38 +0000 (11:50 -0700)]
Merge pull request #1366 from mvolfik/fix-unicode-newlines
Fix unicode newlines
Matěj Volf [Tue, 9 Mar 2021 13:19:58 +0000 (14:19 +0100)]
Split lines in lexer only by \r\n, \r and \n
Python str.splitlines() splits by more characters[1], which, however,
causes problems when keeping these special characters in processed
templates is desirable, i.e. these bug reports: #769, #952, #1313.
The keep_trailing_newlines logic is reworked because splitlines()
removes them already (so they had to be added), while re.split doesn't
so they have to be removed.
[1] https://docs.python.org/3/library/stdtypes.html#str.splitlines
David Lord [Mon, 5 Apr 2021 18:38:54 +0000 (11:38 -0700)]
Merge pull request #1363 from remidebette/add-native-async-support
Add async support to NativeEnvironment
remidebette [Tue, 2 Mar 2021 22:12:30 +0000 (23:12 +0100)]
NativeEnvironment supports async mode
David Lord [Mon, 5 Apr 2021 17:53:57 +0000 (10:53 -0700)]
Merge pull request #1294 from Jafnee/chainableundefined-aiter-bug
Add __aiter__ to Undefined
Jafnee [Wed, 23 Sep 2020 10:34:58 +0000 (18:34 +0800)]
add Undefined.__aiter__
David Lord [Mon, 5 Apr 2021 17:46:24 +0000 (10:46 -0700)]
Merge pull request #1204 from dparker2/undefined-contains
Raise UndefinedError from Undefined.__contains__
David Parker [Sat, 9 May 2020 20:04:28 +0000 (13:04 -0700)]
Undefined.__contains__ raises UndefinedError
David Lord [Mon, 5 Apr 2021 17:40:02 +0000 (10:40 -0700)]
Merge pull request #1171 from amykyta3/feature/base-integer-literals
Add support for hex, octal, and binary integer literals
Alex Mykyta [Wed, 11 Mar 2020 03:57:28 +0000 (20:57 -0700)]
parse hex, octal, and binary integer literals
David Lord [Mon, 5 Apr 2021 17:24:35 +0000 (10:24 -0700)]
Merge pull request #1385 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate