handlebars.js v4.7.7 Release Notes

Release Date: 2021-02-15 // about 3 years ago
    • ๐Ÿ›  fix weird error in integration tests - eb860c0
    • ๐Ÿ›  fix: check prototype property access in strict-mode (#1736) - b6d3de7
    • ๐Ÿ›  fix: escape property names in compat mode (#1736) - f058970
    • ๐Ÿ”จ refactor: In spec tests, use expectTemplate over equals and shouldThrow (#1683) - 77825f8
    • โœ… chore: start testing on Node.js 12 and 13 - 3789a30

    (POSSIBLY) BREAKING CHANGES:

    • ๐Ÿš€ the changes from version 4.6.0 now also apply in when using the compile-option "strict: true". Access to prototype properties is forbidden completely by default, specific properties or methods can be allowed via runtime-options. See #1633 for details. If you are using Handlebars as documented, you should not be accessing prototype properties from your template anyway, so the changes should not be a problem for you. Only the use of undocumented features can break your build.

    That is why we only bump the patch version despite mentioning breaking changes.

    Commits


Previous changes from v4.7.6

  • Chore/Housekeeping:

    Compatibility notes:

    • โช Restored Node.js compatibility

    Commits