Skip to content

chore(zarr-metadata): build 0.5.0 changelog - #4266

Merged
d-v-b merged 2 commits into
zarr-developers:mainfrom
d-v-b:claude/zarr-metadata-0-5-0-release-5f1822
Aug 14, 2026
Merged

chore(zarr-metadata): build 0.5.0 changelog#4266
d-v-b merged 2 commits into
zarr-developers:mainfrom
d-v-b:claude/zarr-metadata-0-5-0-release-5f1822

Conversation

@d-v-b

@d-v-b d-v-b commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

🤖 AI text below 🤖

Release PR for zarr-metadata 0.5.0. Runs towncrier build --version 0.5.0 in packages/zarr-metadata/, consuming the pending news fragments into CHANGELOG.md.

Why minor, not patch:

  • fix(zarr-metadata): make JSONValue's array arm covariant #4264 widened JSONValue's array arm from the invariant list["JSONValue"] | tuple["JSONValue", ...] to the covariant Sequence["JSONValue"]. That changes the meaning of a published type for every consumer that annotates against it — narrower element types (list[str], Sequence[float]) now count as JSON values, and TypedDicts with precisely-typed fields become assignable to Mapping[str, JSONValue]. Filed as a bugfix fragment, but it is an interface change.
  • refactor(zarr-metadata)!: unify constant naming grammar with type names #4232 removed the version-last SCREAMING_SNAKE constant spellings (ARRAY_METADATA_STORE_KEY_V2ZARR_V2_ARRAY_METADATA_STORE_KEY, and eight siblings). The old names are removed, not aliased.

Two commits:

  1. note the sdist allowlist, and let misc entries speakbuild(zarr-metadata): give the sdist an explicit include allowlist #4248 (the sdist allowlist for this package) merged without a news fragment, so a user-visible packaging change was about to miss the notes; this adds one. Filing it as misc exposed that towncrier's built-in misc type sets showcontent = false, so the entry would have rendered as a bare PR link. This package's towncrier config now restates all five types from the changes/README.md menu — declaring any type replaces the built-in set — as the defaults verbatim except misc, which shows its content.
  2. build 0.5.0 changelog — the towncrier run itself.

No source changes: the version comes from the zarr_metadata-v* tag via hatch-vcs, so tagging zarr_metadata-v0.5.0 after merge is what cuts the release.

Verification: just test in packages/zarr-metadata/ — 595 passed.

🤖 Generated with Claude Code

@github-actions github-actions Bot added the needs release notes Automatically applied to PRs which haven't added release notes label Aug 14, 2026
d-v-b added 2 commits August 14, 2026 14:18
…speak

zarr-developers#4248 gave this package's sdist an explicit allowlist and merged without a
news fragment, so a user-visible packaging change was about to miss the
0.5.0 notes. Add one.

Filing it as `misc` exposed that towncrier's built-in `misc` type sets
`showcontent = false`: the entry would render as a bare PR link, which tells
a reader nothing. Restate all five types the `changes/README.md` menu offers
— declaring any type replaces the built-in set — as the defaults verbatim
except for `misc`, which now shows its content. A change worth a release
note is worth a sentence, whatever its category.

Assisted-by: ClaudeCode:claude-opus-5
Consume the pending news fragments — zarr-developers#4232's constant-naming-grammar removal
note, zarr-developers#4264's note widening `JSONValue`'s array arm to the covariant
`Sequence`, and zarr-developers#4248's sdist allowlist — into CHANGELOG.md via towncrier
for the zarr_metadata-v0.5.0 release.

Minor, not patch: the `JSONValue` widening changes a published type's
meaning for every consumer that annotates against it, and zarr-developers#4232 removes the
old version-last constant spellings outright.

Assisted-by: ClaudeCode:claude-opus-5
@d-v-b

d-v-b commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

sorry for the raw bot content but for chores like this I think there's a very small audience right now

@d-v-b
d-v-b force-pushed the claude/zarr-metadata-0-5-0-release-5f1822 branch from 3e20997 to 3161fca Compare August 14, 2026 12:19
@d-v-b

d-v-b commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

merging cause I need this fixed JSONValue type downstream

@d-v-b
d-v-b merged commit f4a239c into zarr-developers:main Aug 14, 2026
38 checks passed
@d-v-b
d-v-b deleted the claude/zarr-metadata-0-5-0-release-5f1822 branch August 14, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant