Skip to content

docs: add the 1.0.1 changelog entry - #83

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

docs: add the 1.0.1 changelog entry#83
aryanjasala merged 1 commit into
mainfrom
docs/changelog-1.0.1

Conversation

@aryanjasala

@aryanjasala aryanjasala commented Jul 29, 2026

Copy link
Copy Markdown
Member

What

Docs only — moves the [Unreleased] Singleton entry into a dated ## [1.0.1] - 2026-07-29 section so I can tag the release with a finished changelog.

Changes

  • New [1.0.1] section, dated today.
  • Filed under ### Fixed instead of ### Changed — this release exists because 1.0.0 broke a consumer contract (theme-elementary fatals on boot with Access to undeclared static property), so Fixed is the honest heading. Matches the fix(singleton)! commit from fix(singleton)!: restore protected static $instance storage #82.
  • Added the concrete symptom to the entry so the changelog records why the patch exists, not just what moved.
  • Link refs updated: [Unreleased] compares from v1.0.1, new [1.0.1] ref compares v1.0.0...v1.0.1.

Next

Once this is in, I'll tag v1.0.1 on the merge commit and cut the release, then bump the lock files on theme-elementary#747 and features-plugin-skeleton#734 to pick it up.

Moves the Singleton storage restoration from [Unreleased] into a dated 1.0.1
section, under Fixed rather than Changed — the release exists because 1.0.0
broke a consumer contract, and the entry now names the concrete symptom
(theme-elementary fataling on an undeclared static property).
Copilot AI review requested due to automatic review settings July 29, 2026 11:35
@aryanjasala
aryanjasala merged commit 87774ee into main Jul 29, 2026
22 of 23 checks passed
@aryanjasala
aryanjasala deleted the docs/changelog-1.0.1 branch July 29, 2026 11:39

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.

Updates the changelog in preparation for the v1.0.1 tag by moving the Singleton entry out of [Unreleased] into a dated 1.0.1 section and adjusting compare links accordingly.

Changes:

  • Adds a new ## [1.0.1] - 2026-07-29 release section and leaves [Unreleased] empty.
  • Reclassifies the entry under ### Fixed and adds a concrete reported symptom/error.
  • Updates link references for [Unreleased] and adds [1.0.1] compare link.

Comment thread CHANGELOG.md
Comment on lines +20 to +21
first so work done during construction can re-enter `get_instance()`, which
fataled theme-elementary on 1.0.0 with "Access to undeclared static property".
Comment thread CHANGELOG.md
Comment on lines 16 to +20
- `Singleton` returns to the ecosystem-standard storage shape:
`protected static $instance`, stored by `get_instance()` once the constructor
returns. The class-string-keyed private map introduced for 1.0.0 broke a real
consumer contract — a heavy constructor assigning `static::$instance = $this;`
first so work done during construction can re-enter `get_instance()`. That
early-assignment guard is now the documented, tested pattern. Trade-off, also
documented on the trait: a class using the trait and its subclasses share one
storage slot, so do not call `get_instance()` on a subclass of a singleton.
first so work done during construction can re-enter `get_instance()`, which
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