Commit Graph

4594 Commits

Author SHA1 Message Date
Fabien Potencier 8d82f62418 disabled Drupal tests on 3.x 2019-05-01 16:00:56 +02:00
Fabien Potencier 6139edc1e5 Merge branch '2.x' into 3.x
* 2.x:
  required 8.7 for Drupal tests
  fixed Drupal script
  added Drupal in the CI process
2019-05-01 15:49:37 +02:00
Fabien Potencier d997512294 required 8.7 for Drupal tests 2019-05-01 15:44:34 +02:00
Fabien Potencier 3c6c0fec46 Merge branch '1.x' into 2.x
* 1.x:
  fixed Drupal script
2019-05-01 10:58:16 +02:00
Fabien Potencier ed083c8a93 fixed Drupal script 2019-05-01 10:58:08 +02:00
Fabien Potencier c451535c46 Merge branch '1.x' into 2.x
* 1.x:
  added Drupal in the CI process
2019-05-01 10:42:11 +02:00
Fabien Potencier 364f4cb024 feature #2993 Add tests to avoid regressions (via Drupal) (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Add tests to avoid regressions (via Drupal)

Commits
-------

9c313e3c added Drupal in the CI process
2019-05-01 10:41:10 +02:00
Fabien Potencier 9c313e3c2d added Drupal in the CI process 2019-05-01 10:06:25 +02:00
Fabien Potencier 23a5d57cfa Merge branch '2.x' into 3.x
* 2.x:
  removed wrong link in docs
  fixed doc markup
  optimized context access on PHP 7.4
2019-04-30 15:02:09 +02:00
Fabien Potencier 804cf65ec0 Merge branch '1.x' into 2.x
* 1.x:
  optimized context access on PHP 7.4
2019-04-30 15:01:59 +02:00
Fabien Potencier 7395b7ab95 feature #2985 Optimize context access on PHP 7.4 (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Optimize context access on PHP 7.4

Commits
-------

5b5f5659 optimized context access on PHP 7.4
2019-04-30 14:47:37 +02:00
Fabien Potencier d03684c9f2 Merge branch '1.x' into 2.x
* 1.x:
  removed wrong link in docs
  fixed doc markup
2019-04-30 14:27:24 +02:00
Fabien Potencier bd7ca26497 removed wrong link in docs 2019-04-30 14:26:21 +02:00
Fabien Potencier 61eb901f16 fixed doc markup 2019-04-30 14:23:18 +02:00
Fabien Potencier 9a4fbac715 fixed doc indexes 2019-04-30 14:19:58 +02:00
Fabien Potencier 12f612f4d9 Merge branch '2.x' into 3.x
* 2.x:
  fixed doc indexes
  fixed doc indexes
  add column filter to index
  bumped version to 1.40.2-DEV
  prepared the 1.40.1 release
  revert 1.x changes
  fixed regression in NodeTraverser
2019-04-30 14:19:00 +02:00
Fabien Potencier 3806c6db7d fixed doc indexes 2019-04-30 14:18:53 +02:00
Fabien Potencier ad467a74d1 Merge branch '1.x' into 2.x
* 1.x:
  fixed doc indexes
  add column filter to index
  bumped version to 1.40.2-DEV
  prepared the 1.40.1 release
2019-04-30 14:17:39 +02:00
Fabien Potencier bd5c53f1b2 fixed doc indexes 2019-04-30 14:16:53 +02:00
Fabien Potencier fc87a0a2c1 minor #2992 add column filter to index (pableu)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #2992).

Discussion
----------

add column filter to index

Commits
-------

e804338b add column filter to index
2019-04-30 14:14:24 +02:00
Pablo Schläpfer e804338b2c add column filter to index 2019-04-30 14:14:19 +02:00
Fabien Potencier 5b5f5659a2 optimized context access on PHP 7.4 2019-04-29 19:20:52 +02:00
Fabien Potencier e2df99a9d0 feature #2966 Make the "in" operator and <,>,<=,>=,==,!= more strict when comparing strings and integers/floats (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Make the "in" operator and <,>,<=,>=,==,!= more strict when comparing strings and integers/floats

The PHP non-strict comparison operator has some counter-intuitive behaviors, which we inherit in Twig. For instance, `{{ 'text' in [0] }}` returns `true`.

PHP is probably going to fix it in version 8: https://wiki.php.net/rfc/string_to_number_comparison

I propose to implement the same semantics in Twig for 3.0.

closes #2824, closes #341, closes #340

Commits
-------

58923b09 made the in, <, >, <=, >=, ==, and != operators more strict when comparing strings and integers/floats
2019-04-29 19:19:57 +02:00
Fabien Potencier 58923b095c made the in, <, >, <=, >=, ==, and != operators more strict when comparing strings and integers/floats 2019-04-29 19:16:59 +02:00
Fabien Potencier d7eaeead8b bumped version to 1.40.2-DEV 2019-04-29 16:13:05 +02:00
Fabien Potencier 35889516bb prepared the 1.40.1 release v1.40.1 2019-04-29 16:12:28 +02:00
Fabien Potencier 55890640d0 revert 1.x changes 2019-04-29 15:51:41 +02:00
Fabien Potencier a1fef612c3 Merge branch '1.x' into 2.x
* 1.x:
  fixed regression in NodeTraverser
2019-04-29 15:49:34 +02:00
Fabien Potencier 732c489693 bug #2991 Fix regression in NodeTraverser (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix regression in NodeTraverser

Commits
-------

e89800de fixed regression in NodeTraverser
2019-04-29 15:49:19 +02:00
Fabien Potencier 95394ccbc9 Merge branch '2.x' into 3.x
* 2.x:
  fixed phpdocs
2019-04-29 15:35:14 +02:00
Fabien Potencier ee45e20955 fixed phpdocs 2019-04-29 15:34:41 +02:00
Fabien Potencier e89800dea6 fixed regression in NodeTraverser 2019-04-29 15:28:41 +02:00
Fabien Potencier 21f46d8bb3 Merge branch '2.x' into 3.x
* 2.x:
  bumped version to 2.9.1-DEV
  prepared the 2.9.0 release
  bumped version to 1.40.1-DEV
  prepared the 1.40.0 release
2019-04-29 15:12:52 +02:00
Fabien Potencier 081c823479 Merge branch '1.x' into 2.x
* 1.x:
  bumped version to 1.40.1-DEV
  prepared the 1.40.0 release
2019-04-29 15:12:10 +02:00
Fabien Potencier 6463d6377d bumped version to 2.9.1-DEV 2019-04-28 07:58:23 +01:00
Fabien Potencier 82a1c055c8 prepared the 2.9.0 release v2.9.0 2019-04-28 07:57:38 +01:00
Fabien Potencier b10a8fad8f bumped version to 1.40.1-DEV 2019-04-28 07:56:01 +01:00
Fabien Potencier 2ba4eaf6b0 prepared the 1.40.0 release v1.40.0 2019-04-28 07:54:53 +01:00
Fabien Potencier 7ce118060b added type hints 2019-04-27 17:06:24 +01:00
Fabien Potencier 711ad38d86 feature #2971 [WIP] Add type hints (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

[WIP] Add type hints

Commits
-------

54cec4e3 added type hints
2019-04-27 17:03:48 +01:00
Fabien Potencier fa813bed88 Merge branch '2.x' into 3.x
* 2.x:
  tweaked the doc
2019-04-27 16:57:20 +01:00
Fabien Potencier 27a9a4d91d Merge branch '1.x' into 2.x
* 1.x:
  tweaked the doc
2019-04-27 16:57:11 +01:00
Fabien Potencier c35f48fdc0 minor #2986 Tweak the docs (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Tweak the docs

Commits
-------

5ac239ca tweaked the doc
2019-04-27 16:53:47 +01:00
Fabien Potencier 5ac239ca4f tweaked the doc 2019-04-27 15:54:47 +01:00
Fabien Potencier 54cec4e3b8 added type hints 2019-04-26 12:01:21 +02:00
Fabien Potencier 3ada819420 removed deprecated feature 2019-04-26 11:49:42 +02:00
Fabien Potencier b3cfba5329 Merge branch '2.x' into 3.x
* 2.x:
  deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode()
2019-04-26 11:48:29 +02:00
Fabien Potencier 2e68b5fdc4 feature #2984 Deprecate returning "false" to remove a Node from NodeVisitorInterface::leaveNode() (fabpot)
This PR was merged into the 2.x branch.

Discussion
----------

Deprecate returning "false" to remove a Node from NodeVisitorInterface::leaveNode()

We now need to return "null" instead.

Commits
-------

8faef933 deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode()
2019-04-26 11:48:17 +02:00
Fabien Potencier 090eaf8f20 Merge branch '2.x' into 3.x
* 2.x:
  added missing items in the CHANGELOG
  Add Parser typehint
  allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning)
2019-04-26 11:46:06 +02:00
Fabien Potencier 3398ba2d06 feature #2970 Remove InitRuntimeInterface (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Remove InitRuntimeInterface

Commits
-------

829cb717 removed InitRuntimeInterface and RuntimeExtensionInterface
2019-04-26 11:45:39 +02:00