Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 11, 2021

Bumps handlebars from 3.5.1 to 4.1.2.

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.2 - 2021-08-11

  • [Added] Support for generic types in handlebars_helper!.
  • [Added] Getter and setter for rhai Engine from registry.
  • [Fixed] Improve doc for dev_mode that it has to be enabled before adding templates.

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

... (truncated)

Commits
  • 68bb096 (cargo-release) version 4.1.2
  • c191f61 (doc) update changelog
  • d6d3278 (test) add test for engine setter/getter
  • 8f57d74 Merge pull request #463 from sunng87/feature/engine-access-methods
  • d487756 (feat) registry now has getter/setter for internal rhai engine
  • d8d9c6e (test) refactor dev_mode example
  • 9fcff37 (fix) draining template sources when dev mode disbaled
  • 9d72595 (fix) keep template sources consistent with templates
  • 3d495f8 (doc) clarify dev mode use cases with doc
  • bd2eccd Merge pull request #461 from bugadani/master
  • 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)

Bumps [handlebars](https://github.com/sunng87/handlebars-rust) from 3.5.1 to 4.1.2.
- [Release notes](https://github.com/sunng87/handlebars-rust/releases)
- [Changelog](https://github.com/sunng87/handlebars-rust/blob/master/CHANGELOG.md)
- [Commits](sunng87/handlebars-rust@v3.5.1...v4.1.2)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 11, 2021

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

@performance-testing-bot
Copy link

Unable to locate .performanceTestingBot config file

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 13, 2021

Superseded by #25.

@dependabot dependabot bot closed this Sep 13, 2021
@dependabot dependabot bot deleted the dependabot/cargo/handlebars-4.1.2 branch September 13, 2021 03:49
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.

1 participant