vault / twigphp-twig / v3.31.0
twigphp-twig @ v3.31.0
integrity
- size
- 314.8 KiB
- downloaded
- last checked
- overlays
- composer
- detected
- composer twig/twig
release notes
Changelog (https://github.com/twigphp/Twig/compare/v3.30.0...v3.31.0)
- bug #5042 Skip caching class lists longer than 2 KB in
html_cva()(@nicolas-grekas) - bug #5043 Don't cache Intl formatters built from long patterns, attributes, or symbols (@nicolas-grekas)
- bug #5044 Fully normalize template names in FilesystemLoader (@nicolas-grekas, @fabpot)
- bug #5039 Fix a variable not being escaped when it has the name of a macro import alias of another scope (@jack-worman)
- bug #4985 Normalize the template name in FilesystemLoader::getSourceContext() (@KalimeroMK)
- bug #4987 Fix compiled templates depending on the directory of their source when debug is disabled (@nicolas-grekas)
- minor #5009 Speed up the
withtag by adding the globals to the new context in place (@nicolas-grekas) - feature #4995 Allow extending AttributeExtension to declare callables with attributes (@GromNaN)
- bug #5017 Fix html_cva() ignoring a boolean default variant (@fabpot)
- bug #5014 Fix PHP 8.5 deprecation in html_cva() when a recipe value is null (@goba)
- feature #4997 Add the collate function to compare strings in the alphabetical order of a locale (@fabpot)
- feature #4989 [3.x] Allow registering an extension class lazily with
AttributeExtension(@nicolas-grekas) - feature #4991 Allow marking a Markup instance as safe for some escaping strategies only (@fabpot)
- feature #4990 Consider a class safe for html_attr also safe for html_attr_relaxed and html at runtime (@fabpot)
- bug #4992 Fix reading an attribute through its getter initializing a lazy object when the property is not public (@abp002)
- minor #4984 Speed up applying
html_cva()recipes that resolve to classes already seen (@Kocal) - bug #4988 Fix compiled float literals depending on the serialize_precision ini setting (@nicolas-grekas)
- minor #4954 Speed up loading compiled templates that OPcache already holds (@nicolas-grekas)
- minor #4976 Speed up traversing nodes with node visitors (@nicolas-grekas)
- feature #4951 Allow skipping the directory check when adding paths to
FilesystemLoader(@nicolas-grekas) - bug #4980 Fix the deprecated tag generating invalid PHP for an integer message (@fabpot)
- bug #4974 Fix the loop variable of a for tag being undefined in the sequence of a nested loop (@fabpot)
- bug #4979 Reject the spread operator outside sequences, mappings, and call arguments (@fabpot)
- bug #4964 Discard what the non-selected branch of a guard tag registers on the parser (@fabpot)
- bug #4960 Reset the escaping state when compiling a new template after a compilation error (@fabpot)
- bug #4959 Reject a Template instance created by another environment when resolving templates (@fabpot)
- bug #4972 Fix the sandbox not reporting the line of a rejected guard tag (@fabpot)
- minor #4965 Rewrite the sandbox documentation around what developers need to know (@fabpot)
- minor #4949 Skip the property checker call and memoize the class constant probe when reading an object attribute (@fabpot)
- bug #4947 Stop looking up a macro twice in its own namespace when it is declared by a parent (@fabpot)
download
unix · zip
curl -fL -o v3.31.0.zip https://ratatoskr.space/pkg/twigphp-twig/v3.31.0.zip
printf '%s %s\n' 'e383aa81bed12f4aac66dd5af805cfbba4087788372163ecccc37c04ad7be984' 'v3.31.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/twigphp-twig/v3.31.0.zip"
$out = "v3.31.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e383aa81bed12f4aac66dd5af805cfbba4087788372163ecccc37c04ad7be984") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.31.0.tar.gz https://ratatoskr.space/pkg/twigphp-twig/v3.31.0.tar.gz
printf '%s %s\n' '16ba3c466b63c023ba3c1f5255328e959c79b3bb21e00d1d068edc7132d4ad38' 'v3.31.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/twigphp-twig/v3.31.0.tar.gz"
$out = "v3.31.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "16ba3c466b63c023ba3c1f5255328e959c79b3bb21e00d1d068edc7132d4ad38") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v3.31.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.31.0.zip
printf '%s %s\n' 'e383aa81bed12f4aac66dd5af805cfbba4087788372163ecccc37c04ad7be984' 'v3.31.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.31.0.zip"
$out = "v3.31.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e383aa81bed12f4aac66dd5af805cfbba4087788372163ecccc37c04ad7be984") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.31.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.31.0.tar.gz
printf '%s %s\n' '16ba3c466b63c023ba3c1f5255328e959c79b3bb21e00d1d068edc7132d4ad38' 'v3.31.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.31.0.tar.gz"
$out = "v3.31.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "16ba3c466b63c023ba3c1f5255328e959c79b3bb21e00d1d068edc7132d4ad38") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v3.31.0.zip | zip | 320.5 KiB |
blake3-24 8bd03de3ab65cfdc02b5a8419dfe429477b6086c76bc0923
sha256 e383aa81bed12f4aac66dd5af805cfbba4087788372163ecccc37c04ad7be984
sha1 c13e9279d89f6f62c00045426bc79539a362e92f
|
| v3.31.0.tar.gz | tar.gz | 153.2 KiB |
blake3-24 38c3c9aa5c41dd9e10b5730a6013608e1b80b35807be0e4f
sha256 16ba3c466b63c023ba3c1f5255328e959c79b3bb21e00d1d068edc7132d4ad38
sha1 5c0cdf054fe5e10b87a8766775feee3ce9dfeefb
|
install
bazel
http_archive(
name = "twigphp-twig",
urls = ["https://ratatoskr.space/pkg/twigphp-twig/v3.31.0.tar.gz"],
integrity = "sha256-Fro8RmtjwCO6PB9SVTKOlZx5s7sh4A0dBo7ccTLUrTg=",
strip_prefix = "twigphp-twig-v3.31.0",
)
zig
.url = "https://ratatoskr.space/pkg/twigphp-twig/v3.31.0.tar.gz",
composer
composer config repositories.yggvault composer https://ratatoskr.space/pkg composer require twig/twig:v3.31.0
install via yggdrasil mesh
bazel
http_archive(
name = "twigphp-twig",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.31.0.tar.gz"],
integrity = "sha256-Fro8RmtjwCO6PB9SVTKOlZx5s7sh4A0dBo7ccTLUrTg=",
strip_prefix = "twigphp-twig-v3.31.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.31.0.tar.gz",
composer
composer config secure-http false composer config repositories.yggvault composer http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg composer require twig/twig:v3.31.0