Skip to content

Announce node 24 is now the default Node.js version#87

Merged
anthonydahanne merged 4 commits into
paketo-buildpacks:mainfrom
pacostas:announce-node-24-default
Jan 8, 2026
Merged

Announce node 24 is now the default Node.js version#87
anthonydahanne merged 4 commits into
paketo-buildpacks:mainfrom
pacostas:announce-node-24-default

Conversation

@pacostas

@pacostas pacostas commented Jan 8, 2026

Copy link
Copy Markdown
Member

Merge after

There is a nodejs release buildpack with the PR from node-engine in it.

Summary

This PR:

  • Fixes hugo command to run locally hugo server -D
  • Minor fix on the stacks article, as the title ends up showing two times instead of one
  • Fixing my photo to appear on the blogpost by renaming the pacostas.jpeg to pacostas.jpg
  • Adding the blog post that announces that nodejs 24 is the default node version

Use Cases

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@pacostas pacostas requested review from a team as code owners January 8, 2026 14:34
Comment thread layouts/partials/head.html Outdated
</script>

{{- $style := resources.Get "scss/main.scss" | resources.ToCSS | resources.Minify -}}
{{- $style := resources.Get "scss/main.scss" | css.Sass | resources.Minify -}}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what is it for?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Running hugo locally with command hugo server -D , it fails due to resources.ToCSS has been deprecated from 0.128 version, based on their documentation https://gohugo.io/functions/resources/tocss/#article instead we should use css.Sass as it says. Practically, this is something internal that hugo uses, and it does not affect the outcome of the website.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We are quite a few versions behind, https://github.com/paketo-buildpacks/blog/blob/main/.github/workflows/deploy.yml#L27. Not sure if this is supported in the old version too? That would be my only concern making this change.

You might want to omit this for now. We should do a dedicated PR to udpate Hugo.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ooops, you are right. Ok, I removed the commit.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I guess, we would like to have something similar to what we do with jam and pack and in general with all the tools. Like a tools.json file with the version and a bash script that will do the installation locally and will also be used on the github action. That way is also going to be easier to update as we can have an action for doing that, similar to what we do with all the tools. The problem though is still the review process, as we can not be 100% that nothing breaks on the rendering side, in terms of styling etc. but having an installation script, definetely will make the review much easier as it will be easier to install and test it locally

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, that would be a great improvement for running this locally. I have the same issue that I think you're hitting. I install hugo on my own, which means I get the latest, and that's not always aligned with the project. I'll open an issue.

Comment thread content/posts/0037-bump-node-default-to-24.md Outdated
Comment thread content/posts/0037-bump-node-default-to-24.md Outdated
@pacostas pacostas force-pushed the announce-node-24-default branch from 13aaf81 to 053635d Compare January 8, 2026 18:07
dmikusa
dmikusa previously approved these changes Jan 8, 2026
@anthonydahanne

anthonydahanne commented Jan 8, 2026

Copy link
Copy Markdown
Member

@pacostas I noticed and suggested changes to 2 typos : throught -> through and take at look on -> take a look at but even though those suggestions were closed, the typos are still here? Is it on purpose?

@pacostas

pacostas commented Jan 8, 2026

Copy link
Copy Markdown
Member Author

@anthonydahanne Oops, you are right, I force pushed and accidentally overridden the typos, I added them 116ef53 Can you also approve and merge the PR? New default nodejs has been also pushed to the builders so we can announce it now.

@anthonydahanne anthonydahanne merged commit eddb98d into paketo-buildpacks:main Jan 8, 2026
1 check passed
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.

3 participants