Closed LaurentGoderre closed 7 years ago
@jonschlinkert I am using the 0.6.0 handlebars-helpers combination for which the helpers have been tested against.
@LaurentGoderre how extensive are the tests? I'm not sure how compatible the 0.6.0 helpers are.
@jonschlinkert I just updated the tests. 0.6.0 was not quite compatible but I think I fixed it. Can you review the change to this as well as the tests I wrote? https://github.com/assemble/assemble-handlebars/blob/master/test/core_test.js
@jonschlinkert I also ran the tests in grunt-assemble with this and it all passed.
@jonschlinkert any objection with me merging this?
@LaurentGoderre I'm testing this out by running it through a few projects. I think the reason that we haven't updated this is because when handlebars-helpers@0.6.0
was published there were a lot of changes to how the helpers were registered and helpers were removed and added. Because of this, we'll need to bump the minor here and in grunt-assemble
since these are breaking changes.
Have you tried the latest version of handlebars-helpers
yet?
I haven't tested the latest but I know that the version here fixes the issues mentioned at the top. That is what I'm trying to solve. I was thinking of bumping it and bumping minor version and do the same to assemble so users can choose which version they want.
We'll definitely have to bump the minors. Most of the helpers are working fine but upgrading a project will require template changes.
I commented in the code on a change that should be made, then I think this is okay to merge. We'll then need to update grunt-assemble
and document some of the changes.
Any update on this?
Sorry for the delay. I'll get this published and update grunt-assemble
too.
Fixes assemble/grunt-assemble#31