webterm icon indicating copy to clipboard operation
webterm copied to clipboard

chore(deps): bump handlebars from 2.0.2 to 4.1.1

Open dependabot-preview[bot] opened this issue 3 years ago • 0 comments

Bumps handlebars from 2.0.2 to 4.1.1.

Release notes

Sourced from handlebars's releases.

v4.1.1

  • [Changed] Update rhai to 1.0 #455
  • [Fixed] Empty line stripping for partial include statement, and other corner cases #458

v4.1.0

Detailed Changelog

  • [Added] export StringOutput as requested in #442
  • [Changed] strict mode now applies to our helper macro handlebars_helper! and built-in helpers based on it.
  • [Fixed] Line stripping feature for standalone statement introduced in #404 is now aligned with handlebarsjs. #448

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] Empty lines around block helpers are now stripped #404
  • [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] Breaking zero-arity subexpressions support #433 Zero-arity subexpression no longer resolved as variable. The behaviour is now aligned with handlebarsjs.
  • [Removed] Breaking option to disable source map is removed #395
  • [Removed] Breaking TemplateFileError and TemplateRenderError are removed and merged into TemplateError and RenderError #395

... (truncated)

Changelog

Sourced from handlebars's changelog.

4.1.1 - 2021-07-31

  • [Changed] Update rhai to 1.0 #455
  • [Fixed] Empty line stripping for partial include statement, and other corner cases #458

4.1.0 - 2021-07-05

  • [Added] export StringOutput as requested in #442
  • [Changed] strict mode now applies to our helper macro handlebars_helper! and built-in helpers based on it.
  • [Fixed] Line stripping feature for standalone statment introduced in #404 is now aligned with handlebarsjs. #448

4.0.1 - 2021-06-15

  • [Fixed] Each block render error with empty array or object #445

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] Empty lines around block helpers are now stripped #404
  • [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] Breaking zero-arity subexpressions support #433 Zero-arity subexpression no longer resolved as variable. The behaviour is now aligned with handlebarsjs. For instance, {{(parent)}} can no longer access parent field of the context object, use {{lookup this "parent"}} instead. This change applies to partial inclusion, too.
  • [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

... (truncated)

Commits
  • 51cbc54 (cargo-release) version 4.1.1
  • 6a97d17 (fix) fix clippy warnings for unneeded borrow
  • 624e315 (fix) clippy warnings for redundent pattern matching and more
  • 61e9c3c (doc) update changelog
  • 6d251e6 (chore) update evn_logger
  • b98ad62 Merge pull request #458 from sunng87/fix/whitespace-elimination-with-newline-...
  • 094fa36 (doc) update crates.io version badge
  • 13ebfed (fix) stripping empty line for partial/include
  • e15e475 (test) adding test for windows line break
  • c635706 (test) adding line stripping test for partial/include stmts
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

dependabot-preview[bot] avatar Aug 02 '21 07:08 dependabot-preview[bot]