# wp-packages-changelog-action v3.1.0 released

**URL:** https://discourse.roots.io/t/wp-packages-changelog-action-v3-1-0-released/30297
**Category:** wp packages
**Tags:** releases
**Created:** 2026-04-13T17:32:31Z
**Posts:** 1

## Post 1 by @ben — 2026-04-13T17:32:31Z

[wp-packages-changelog-action v3.1.0 released](https://github.com/roots/wp-packages-changelog-action/releases/tag/v3.1.0)

## What’s Changed

### Bug fix: detect all updated plugins

Previously, the action parsed the `composer.lock` diff to find changed plugins. This only detected plugins whose `"name"` line appeared in an added diff hunk — most simple version bumps were silently missed.

The action now fetches the full `composer.lock` from both the base and head commits and compares them as JSON, reliably detecting all `wp-plugin/*` changes.

### Recommended: add `contents: read` permission

For full accuracy, add `contents: read` to your workflow permissions:

```
permissions:
+ contents: read
      pull-requests: write
```

Without this permission, the action falls back to the old diff-based detection with a visible warning in the PR comment.

### Other improvements

- Blob API fallback for lockfiles \>1MB
- Warnings surfaced in the PR comment when detection may be incomplete

**Full Changelog** : [Comparing v3.0.0...v3.1.0 · roots/wp-packages-changelog-action · GitHub](https://github.com/roots/wp-packages-changelog-action/compare/v3.0.0...v3.1.0)
