Skip to content

Bump handlebars from 3.5.3 to 4.0.0#16

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/handlebars-4.0.0
Closed

Bump handlebars from 3.5.3 to 4.0.0#16
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/handlebars-4.0.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 28, 2021

Bumps handlebars from 3.5.3 to 4.0.0.

Release notes

Sourced from handlebars's releases.

v4.0.0

4.0 Highlights

Development mode

4.0 brings in dev_mode to Handlebars. By turning on dev_mode, templates loaded from files or directories are auto-reloaded each time. This makes development workflow more fluent.

Performance improvement

4.0 provides up to 20% performance boost compared to 3.x.

Bugfixes

Several corner cases were fixed in this release. Some has already been backported on to 3.x branch.

Detailed Changelog

  • [Added] dev_mode for registry: templates and scripts loaded from file are always reloaded when dev mode enabled #395
  • [Added] Registry is now Clone #395
  • [Added] New built-in helper len #421
  • [Changed] Updated rhai to 0.19 and then 0.20 #391
  • [Changed] #each helper now renders else block for non-iterable data #380
  • [Changed] TemplateError and ScriptError is now a cause of RenderError #395
  • [Changed] Breaking RenderContext::get_partial now returns Option<&Template>
  • [Changed] Breaking Capitalize names like HtmlExpression and IoError based on clippy recommendations #424
  • [Changed] Breaking Improved return type of call_inner from HelperDef to avoid misleading #437
  • [Fixed] reference starts with null, true and false were parsed incorrectly #382
  • [Fixed] dir source path separator bug on windows #389 #405
  • [Fixed] stack overflow with nested @partial-block #401
  • [Fixed] value access issue when upper block has a base value #419
  • [Fixed] escape rules for Json string literal #423
  • [Fixed] zero-arity subexpressions support #433
  • [Removed] Breaking option to disable source map is removed #395
  • [Removed] Breaking TemplateFileError and TemplateRenderError are removed and merged into TemplateError and RenderError #395
Changelog

Sourced from handlebars's changelog.

4.0.0 - 2021-05-25

  • [Added] dev_mode for registry: templates and scripts loaded from file are always reloaded when dev mode enabled #395
  • [Added] Registry is now Clone #395
  • [Added] New built-in helper len #421
  • [Changed] Updated rhai to 0.19 and then 0.20 #391
  • [Changed] #each helper now renders else block for non-iterable data #380
  • [Changed] TemplateError and ScriptError is now a cause of RenderError #395
  • [Changed] Breaking RenderContext::get_partial now returns Option<&Template>
  • [Changed] Breaking Capitalize names like HtmlExpression and IoError based on clippy recommendations #424
  • [Changed] Breaking Improved return type of call_inner from HelperDef to avoid misleading #437
  • [Fixed] reference starts with null, true and false were parsed incorrectly #382
  • [Fixed] dir source path separator bug on windows #389 #405
  • [Fixed] stack overflow with nested @partial-block #401
  • [Fixed] value access issue when upper block has a base value #419
  • [Fixed] escape rules for Json string literal #423
  • [Fixed] zero-arity subexpressions support #433
  • [Removed] Breaking option to disable source map is removed #395
  • [Removed] Breaking TemplateFileError and TemplateRenderError are removed and merged into TemplateError and RenderError #395

3.5.5 - 2021-05-03

  • [Fixed] Panic on reporting invalid tag name #427

3.5.4 - 2021-03-27

  • [Fixed] Json string literal with escape char #422
Commits
  • bb68f45 (cargo-release) version 4.0.0
  • 9f549f8 (doc) docstring and changelog update
  • ab7eb21 Merge pull request #437 from sunng87/refacor/call_inner_provided
  • 7a34a1f (doc) update minimal rust version for 4.0
  • 0e6da88 (doc) update code example in README
  • b6745b1 (doc) update changelog
  • f6fef6c (fix) update return type of script helper
  • 7d85921 (fix) clippy warnings
  • 3b39f22 (refactor) call_inner helper API to remove Option from return type
  • c9a1f19 Merge pull request #434 from sunng87/fix/partials-in-dev-mode
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 28, 2021

The following labels could not be found: A2-insubstantial, B0-silent, C1-low.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 16, 2021

Superseded by #18.

@dependabot dependabot bot closed this Jun 16, 2021
@dependabot dependabot bot deleted the dependabot/cargo/handlebars-4.0.0 branch June 16, 2021 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments