Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to handlebars v5 #1971

Merged
merged 2 commits into from
May 24, 2024
Merged

Update to handlebars v5 #1971

merged 2 commits into from
May 24, 2024

Conversation

senekor
Copy link
Contributor

@senekor senekor commented May 23, 2024

closes #1918

@senekor senekor requested a review from a team as a code owner May 23, 2024 22:25
Comment on lines -159 to +162
return Err(RenderError::new(
return Err(RenderErrorReason::ParamNotFoundForIndex(
"{{team-text}} must have at least two parameters",
));
0,
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wasn't a hard error, only a deprecation warning. I hope the variants I chose make some sense. It's a bit late.

@@ -137,6 +137,5 @@ fn main() {
src="/static/images/ferris.gif" />
</div>
</section>
{{> components/tools/install-script }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was removed in a commit from 2019. It seems that until now, handlebars silently ignored the missing component. I believe the new error was introduced in this PR The result was that the server would crash on the get-started page and the user would see a 404.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I clicked trough a bunch of the pages on the website looking for other occurrances, but couldn't find any. I could've missed something though.

@Manishearth Manishearth merged commit 3103b07 into master May 24, 2024
2 checks passed
@Manishearth Manishearth deleted the remo/quqswvxktukm branch May 24, 2024 00:25
@Manishearth
Copy link
Member

We should carefully check staging before deploying this one. But it should be fine

@senekor senekor mentioned this pull request Jun 3, 2024
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.

Update to handlebars v5
2 participants