Skip to content

replace express-hbs with more recent express-handlebars - #209

Merged
paul90 merged 2 commits into
mainfrom
replace-hbs
May 11, 2026
Merged

paul90 merged 2 commits into
mainfrom
replace-hbs

Conversation

@paul90

@paul90 paul90 commented Apr 14, 2026

Copy link
Copy Markdown
Member

No description provided.

@paul90

paul90 commented Apr 16, 2026

Copy link
Copy Markdown
Member Author

NOT TO BE MERGED

There are significant differences between the two libraries. I currently can't get app.render() to work from inside plugins with this update.

@WardCunningham

Copy link
Copy Markdown
Member

I wonder, is there anything we do with Handlebars that can be open coded with ES6 as it exists today. I'm not sure how to search for uses of Handlebars, but if I could find them I'd enjoy rewriting them.

@paul90

paul90 commented Apr 18, 2026

Copy link
Copy Markdown
Member Author

NOT TO BE MERGED

There are significant differences between the two libraries. I currently can't get app.render() to work from inside plugins with this update.

Resolved in wiki-security-social by using a separate renderer. Will need to apply the same change to other plugins, like wiki-security-passportjs, that make use of res.render()

paul90 added a commit to fedwiki/wiki-security-social that referenced this pull request Apr 18, 2026
needed to work with express-handlebars migration in fedwiki/wiki-server#209
@paul90
paul90 merged commit ca525e0 into main May 11, 2026
3 checks passed
@paul90
paul90 deleted the replace-hbs branch May 11, 2026 10:18
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.

2 participants