chore(release): v0.2.0#26
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts v0.2.0. Stamps the version in
src/yarlpattern/_version.pyand adds a v0.2.0 section toCHANGELOG.mddescribing the six PRs that landed since v0.1.0 (PRs #17–#25).v0.2 highlights (full text in CHANGELOG)
URLPattern.generate(component, groups)implemented — closes the only tentative-spec gap. 19 / 19 upstream WPT cases pass.compare_component/has_regexp_groupsare canonical;compareComponent/hasRegExpGroupsare kept as IDL-faithful aliases. No breaking change.SPEC_DEVIATIONS.md— explicit accounting of where yarlpattern delegates, where it's stricter than yarl, and the now-empty list of tentative-spec gaps.benchgroup.invoke-ai/InvokeAI#7518as the seed case.Conformance
TestPyPI dry-run
The release pipeline was rehearsed end-to-end before opening this PR:
gh workflow run nightly.ymldispatched against main → greenyarlpattern-0.1.0.dev20260513published to TestPyPI via Trusted Publishinggh attestation verifypassed on the wheel + sdistpip install --index-url https://test.pypi.org/simple/ --prefrom a fresh venv pulled the package cleanlytest/exec/generate/compare_component/compareComponent(alias) all work as expectedTest plan
uv run pytest -q— 951 passed, 8 skippedjust lint— all tools greenjust docs— strict-mode build cleanjust compliance-report— regenerates as 469 cases, 0 failingAfter merging
just release-tag 0.2.0to create the signed annotated tag and push it..github/workflows/release.yml→ builds with PEP 740 + SLSA attestations →gh attestation verify→pypa/gh-action-pypi-publishto PyPI via Trusted Publishing → draft GitHub release with checksums → release published.Known follow-up (not in this PR)
The
just release-preparerecipe currently switches torelease/v0.2.0before invokingsemantic-release version, but PSR'sbranches.mainfilter only stamps when running onmain— so PSR no-ops and the recipe's user has to stamp manually (as done here). Tracked for fix in a follow-up PR.