You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There’s a bug in handlebars 4.0.6 which prevents using ‘@partial-block’ more than once in a partial. Please update the version to 4.0.8 which fixes it.
The text was updated successfully, but these errors were encountered:
jtwebman
pushed a commit
to jtwebman/express-hbs
that referenced
this issue
Aug 22, 2018
FixedTryGhost#144 registerAsyncHelper using the wrong replace call
FixesTryGhost#143 Update handlebars to 4.0.8 (did latest handlebars)
FixedTryGhost#101 Cached blocks should be stored per request
FixedTryGhost#100 Conflict between content blocks
FixedTryGhost#99 Blocks prone to memory leaks
After digging round most of the weekend I fixed the block and sync cache issues by storing them
on the options which is setup once per request and passed to everything that needed it. This
also fixes the issue with using replace and special strings that can do funny things with
JavaScript replace vs using the function version.
I also update TravisCI to run the newer node versions for tests and update all the dependencies
to the latest versions.
There’s a bug in handlebars 4.0.6 which prevents using ‘@partial-block’ more than once in a partial. Please update the version to 4.0.8 which fixes it.
The text was updated successfully, but these errors were encountered: