Skip to content

chore(release): 2.0.0 - #808

Merged
aryanjasala merged 5 commits into
mainfrom
chore/release
Oct 1, 2026
Merged

aryanjasala merged 5 commits into
mainfrom
chore/release

Conversation

@aryanjasala

@aryanjasala aryanjasala commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Prepares the theme's 2.0.0 release, the first since v2 landed in #692.

Changes

  • CHANGELOG.md (new), in the same Keep a Changelog format as plugin-elementary: the 2.0.0 notes, plus the 2022 1.0.0 and 1.0.1 releases summarised from their GitHub release notes.
  • release:bump and release:changelog scripts from @rtcamp/wp-tooling, as in plugin-elementary. This release was cut with them: release:bump --to 2.0.0 set the version in style.css and package.json, and release:changelog stamped the 2.0.0 - 2026-10-01 heading.
  • rtcamp/wp-primitives ^2.1.0 in composer.json, with composer.lock refreshed. 2.1.0 reads feature names and descriptions only when the registry is read, which fixes wp-admin login with the examples kept (fix: read feature names and descriptions when the registry is read wp-primitives#102). The lock also takes the in-range dev-tool updates: PHPUnit 9.6.37, phpstan-phpunit 2.0.21, phpstan-wordpress 2.0.4 and a few transitive packages. No major versions change.
  • Tested up to: 7.0 (was 6.6), the newest WordPress version in the CI matrix.

Themes created with npm run init still start at 1.0.0: init writes the version from bin/scaffold.config.js.

release:zip is not added yet. Without a .distignore it uses a default exclude list, and the theme needs its own list (the plugin's excludes /src/, but the theme's components load PHP templates from src/components/).

After merging: tag v2.0.0 with a GitHub release, then submit rtcamp/theme-elementary on Packagist.

Testing

  • composer validate, PHPCS and PHPStan pass with the refreshed lock
  • lint:all (including lint:package-json) passes
  • npm run init -- --yes --name="Acme Blog" on a copy: the new theme's style.css and package.json are at 1.0.0

Adds CHANGELOG.md, with the v2 notes and the 2022 1.0.0 and 1.0.1 releases,
and the release:bump and release:changelog scripts from @rtcamp/wp-tooling,
which cut this release: version 2.0.0 in style.css and package.json, and the
2.0.0 heading in the changelog. Tested up to moves to 7.0, the newest
WordPress version in the CI matrix. New themes from npm run init still start
at 1.0.0.
….lock

wp-primitives 2.1.0 reads feature names and descriptions only when the
registry is read. The lock also takes the in-range updates of the dev tools
(PHPUnit 9.6.37, phpstan-phpunit 2.0.21 and others).
@aryanjasala
aryanjasala merged commit 51a74a4 into main Oct 1, 2026
31 checks passed
@aryanjasala
aryanjasala deleted the chore/release branch October 1, 2026 23:19
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.

2 participants