Skip to content

docs: promote both composer package changelogs to 1.0.0 - #48

Merged
aryanjasala merged 1 commit into
mainfrom
docs/changelog-1.0.0-composer
Jul 29, 2026
Merged

docs: promote both composer package changelogs to 1.0.0#48
aryanjasala merged 1 commit into
mainfrom
docs/changelog-1.0.0-composer

Conversation

@aryanjasala

Copy link
Copy Markdown
Member

What

Dates the existing ## Unreleased sections in both Composer packages as ## [1.0.0] - 2026-07-30, ahead of tagging v1.0.0. Documentation only.

This has to land before the tag, so v1.0.0 contains its own release notes rather than an open Unreleased heading — the mirrors are cut from the tagged tree.

Your other two asks are already covered

Both packages already ship real documentation, which the split carries to the mirrors automatically:

README CHANGELOG
composer-packages/phpcs 103 lines populated, now dated
composer-packages/phpstan 63 lines populated, now dated

So rtcamp/wp-phpcs and rtcamp/wp-phpstan will stand alone as documented packages with no further work.

Important: tag directly, not with monorepo-builder release

git tag -a v1.0.0 -m "v1.0.0"
git push origin v1.0.0

vendor/bin/monorepo-builder release v1.0.0 will fail partway. Its PushNextDevReleaseWorker pushes a dev-bump commit to the current branch, but main has a ruleset requiring a pull request, so that push is rejected — and it happens after PushTagReleaseWorker, so you'd get the tag and the split, then an error and a dirty local state.

Nothing is lost by skipping it. The workers that would run first are all no-ops here:

  • SetCurrentMutualDependencies / SetNextMutualDependencies / UpdateReplace — neither package requires the other (rtcamp siblings required: none for both), so there are no mutual dependencies to pin or bump.
  • AddTagToChangelogReleaseWorker — there is no root CHANGELOG.md; the per-package ones are updated here instead.

Worth revisiting the worker list separately if the packages ever depend on each other, or if a root changelog is added.

Sequencing

  1. This PR
  2. Bootstrap the mirrors — one-time force_push, because their Initial commits are not ancestors of any subtree split
  3. Tag v1.0.0release-php.yml splits and pushes both mirrors, fast-forward from then on

Dates the existing Unreleased sections ahead of tagging v1.0.0, so the tag
contains its own release notes rather than an open Unreleased heading.

Both packages already ship a README (103 and 63 lines) and a populated changelog,
so the split will carry real documentation to rtcamp/wp-phpcs and
rtcamp/wp-phpstan — nothing else is needed for them to stand alone.

Note the tag should be created directly (git tag -a v1.0.0), not via
`monorepo-builder release`. Its PushNextDevReleaseWorker pushes a dev-bump commit
to the current branch, and main requires a pull request, so that push is rejected
— after the tag has already been pushed, leaving a half-finished release. The
workers it would run first are no-ops here anyway: neither package requires the
other, so the mutual-dependency and replace workers have nothing to update, and
AddTagToChangelogReleaseWorker has no root CHANGELOG.md to write to.
Copilot AI review requested due to automatic review settings July 29, 2026 22:18
@aryanjasala
aryanjasala merged commit 970f455 into main Jul 29, 2026
4 of 5 checks passed
@aryanjasala
aryanjasala deleted the docs/changelog-1.0.0-composer branch July 29, 2026 22:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

This PR updates the per-package changelogs to turn the current “Unreleased” section into a dated 1.0.0 release entry ahead of tagging v1.0.0.

Changes:

  • Replace ## Unreleased with ## [1.0.0] - 2026-07-30 in both Composer package changelogs

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
composer-packages/phpstan/CHANGELOG.md Renames the current release section to 1.0.0 with a specific release date.
composer-packages/phpcs/CHANGELOG.md Renames the current release section to 1.0.0 with a specific release date.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +7 to 9
## [1.0.0] - 2026-07-30

### Added
Comment on lines +7 to 9
## [1.0.0] - 2026-07-30

### Added
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