fix(deps): update dependency mustache/mustache to v3#5
Open
renovate-fastnorth[bot] wants to merge 1 commit into
Open
fix(deps): update dependency mustache/mustache to v3#5renovate-fastnorth[bot] wants to merge 1 commit into
renovate-fastnorth[bot] wants to merge 1 commit into
Conversation
renovate-fastnorth
Bot
force-pushed
the
renovate/mustache-mustache-3.x
branch
from
June 2, 2026 17:14
9daf929 to
ee7d116
Compare
carcunha
requested changes
Jun 2, 2026
carcunha
left a comment
There was a problem hiding this comment.
Blocked — production dependency with breaking API change.
- Bumps
mustache/mustache2.x → 3.x inrequire(not dev). Formatter.phpuses Mustache 2 API:new \Mustache_Engine— Mustache 3 uses namespacedMustache\Engine.- Merging without code changes would break address formatting at runtime.
Needs a code migration + manual test pass before merge; consider widening with || ~3.0 only after compatibility work.
renovate-fastnorth
Bot
force-pushed
the
renovate/mustache-mustache-3.x
branch
from
June 2, 2026 17:57
ee7d116 to
ea4edc6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~2.0→~3.0Release Notes
bobthecow/mustache.php (mustache/mustache)
v3.2.0: Mustache.php v3.2.0Compare Source
This release fixes a longstanding inheritance spec compliance bug, adds opt-in strict handling for missing tags, hardens filesystem template loading, and improves rendering diagnostics.
New:
debug_rendering, an engine option for capturing the active Mustache tag stack when rendering fails. UseDEBUG_RENDERING_ON_EXCEPTIONto retry failed renders with debug traces, orDEBUG_RENDERING_ALWAYSto compile traces into every render.strict_tags, a bitmask-based engine option for treating missing interpolation values, sections, partials, parent templates, and extra block overrides as failures.Improved:
content; overrides stay scoped to the parent they belong to instead of leaking outward and causing surprising recursion.FilesystemLoaderagainst path traversal and null-byte template names, including dynamic partial and parent names.strict_tagscan now relax coercion to render these values as empty strings.Heads up:
DEBUG_RENDERING_ALWAYSadds trace collection to every render, with up to 25% overhead. It is useful in development, but probably not what you want all the time.DEBUG_RENDERING_ON_EXCEPTIONkeeps successful renders fast and only pays the tracing cost after a failure. Failed templates render twice, so watch out for side effects in lambdas, helpers, or custom escaping callbacks. You don't have those in your data model, right? Right?v3.1.0: Mustache.php v3.1.0Compare Source
Mustache.php v3.1.0 is primarily a performance release:
Rendering performance is significantly improved since v3.0.0; render throughput is improved by 1.66x on average. Template inheritance and deep context lookup workloads see gains of up to 2.7x. Memory usage in general is fairly flat, but for more extreme cases, peak memory usage is reduced by up to 46%.
In addition to performance, this release includes:
template_class_prefixengine option validates at configuration time, rejecting invalid class-name prefixes that would lead to broken compilation.Heads up:
{{ }}delimiters, regardless of the surrounding section. Templates that use lambdas inside custom-delimiter sections may produce different output than under v3.0.0.v3.0.0: Mustache.php v3.0.0Compare Source
Mustache.php v3.x drops support for PHP 5.2–5.5, but is otherwise backwards compatible with v2.x.
To ease the transition, previous behavior can be preserved via configuration:
strict_callablesconfig option now defaults totrue. Lambda sections should use closures or callable objects. To continue supporting array-style callables for lambda sections (e.g.[$this, 'foo']), setstrict_callablestofalse.buggy_property_shadowingconfig option.double_render_lambdastotrue. This is not recommended.New
\Mustache_Engineand other prefixed classnames are all available as\Mustache\Engine, etc. You can keep using the old style for now, if you feel nostalgic for 2008, but you'll want to update eventually.Improved
{{% BLOCKS }}pragma is now part of the Mustache spec, and is enabled by default.lambdas,inheritance, anddynamic_names) can now be disabled via config options.Configuration
📅 Schedule: (in timezone America/Toronto)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.