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

Package changelog out of date #68663

Open
2 of 6 tasks
circlecube opened this issue Jan 14, 2025 · 0 comments
Open
2 of 6 tasks

Package changelog out of date #68663

circlecube opened this issue Jan 14, 2025 · 0 comments
Labels
[Tool] WP Scripts /packages/scripts [Type] Bug An existing feature does not function as intended

Comments

@circlecube
Copy link
Contributor

Description

I have a project using wp-scripts for builds.

I updated to the latest version 30.8.0 according to the changelog. My build started failing locally due to some missing packages which after investigation, I saw were dependencies of wp-scripts. I was digging into how they were not installed with npm install and noticed a version discrepancy. npmjs lists 30.8.1 as the latest, but the docs on GitHub list 30.8.0.

I updated it to 30.8.1 and my build worked again. I'm unsure if 30.8.0 is broken for anyone else, but this issue is simply about the discrepancy between the changelog and the published version. I don't know the differences between these two releases, but we do have this: @wordpress/[email protected]...@wordpress/[email protected] and I assume this #68467 is related.

The easy fix is to update the changelog file to include the latest version and list relevant changes. I don't know what steps are required to update the changelog(s) but I expect there is some command to generate based on commits/PRs so I won't submit a PR to update that file (yet).

Note: I haven't checked if other packages are having similar issues, and I am not sure why 30.8.0 build didn't work but 30.8.1 did.

Step-by-step reproduction instructions

  1. Check changelog at https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md and find 30.8.0 listed at the latest.
  2. Check available versions at https://www.npmjs.com/package/@wordpress/scripts?activeTab=versions and find 30.8.1 as latest.
  3. Scratch head.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@circlecube circlecube added the [Type] Bug An existing feature does not function as intended label Jan 14, 2025
@Mamaduka Mamaduka added the [Tool] WP Scripts /packages/scripts label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Tool] WP Scripts /packages/scripts [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants