[TASK] Update devtheorem/php-handlebars to v2#35
Merged
Conversation
| datasource | package | from | to | | ---------- | ------------------------- | ----- | ----- | | packagist | devtheorem/php-handlebars | 1.2.3 | 2.0.0 |
Contributor
Author
|
Collaborator
Coverage Report for CI Build 25041895880Coverage remained the same at 0.556%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
1caa563 to
2d5e762
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:
^1.0→^1.0 || ^2.0Release Notes
devtheorem/php-handlebars (devtheorem/php-handlebars)
v2.0.0Compare Source
Added
compatcompile option to enable recursive field lookup. When set totrue, if a template variable is notfound in the current scope it will automatically be looked up in parent scopes, matching Mustache's behavior.
compatfunctionality.partialResolverruntime option: aClosure(string $name): ?Closurecalled lazily the first time eachunresolved partial is called. This replaces the previous compile-time
partialResolveroption.Changed
Removed
partialsandpartialResolvercompile-time options. These options baked partials into the generated PHP closure,causing each partial to be recompiled and duplicated across every template that referenced it.
Partials should now be supplied when invoking a template via the
partialsorpartialResolverruntime options.Upgrade: if you were passing partials via
Options, move them to the runtime options instead:This change makes it possible to precompile all partials in a directory, and then lazily import them
on first use for optimal performance. See the example in the readme.
Fixed
@datavariables containing a closure when passed toiforunlesshelpers.include/require.{{> true}},{{> false}},{{> null}},{{> undefined}}) were notresolved correctly: boolean names caused a type error, and
null/undefinedsilently rendered nothing.Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.