Skip to content

Package changelog out of date #68663

@circlecube

Description

@circlecube

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/scripts@30.8.0...@wordpress/scripts@30.8.1 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Tool] WP Scripts/packages/scripts[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions