Repository navigation
v2 release prep #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v2 release prep #100
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
fd63dbe
fix(encryptor): reject payloads shorter than the IV plus a full tag
aryanjasala c5b8340
test(encryptor): cover the fail-closed path when OpenSSL is missing
aryanjasala 7f593d1
fix(transients): hash names past the 172-character transient limit
aryanjasala 3210a02
test: cover the remaining Cache, Timer and legacy-core registrar paths
aryanjasala 40335db
chore(phpstan): raise static analysis to level 6
aryanjasala 8b01539
ci: run on Node 24, pin the docs action and stop persisting credentials
aryanjasala 421494e
ci: rebuild Dependabot auto-merge on the pull_request pattern
aryanjasala 5b166f1
build: trim the dist archive and complete the Packagist metadata
aryanjasala 835e05a
docs: make the install instructions Packagist-first
aryanjasala 8187acb
docs(changelog): complete the unreleased 2.0.0 entry
aryanjasala d426513
fix(sync-ai): prune only generated legacy files, and log the real path
aryanjasala 2d1c3c6
build: alias dev-main as 2.x-dev
aryanjasala 73219ad
build(deps-dev): patch the PHPCS toolchain security advisories
aryanjasala 67d93c0
docs(maintainers): document the release procedure
aryanjasala 261244f
docs: add a security policy for the public package
aryanjasala cb370b9
build(deps-dev): bump @wordpress/env to 11.16.0
aryanjasala 3b376b8
fix(sync-ai): discover site-repo packages through the vendored framework
aryanjasala d256dff
test(asset-loader): cover a malformed manifest on the pre-6.8 fallback
aryanjasala cc487f0
fix(block): fall back to the block name when the build dir is missing
aryanjasala 9e3ded1
build(deps-dev): update PHPStan, the WordPress stubs and wp-phpunit
aryanjasala 755ccc3
ci: test WordPress 7.1 and correct the action version comments
aryanjasala ba80c92
ci(docs): bump actions/deploy-pages to v5.0.1
aryanjasala 45f4162
docs(changelog): list the block and sync-ai fixes, correct the upgrad…
aryanjasala 193caf3
docs: keep the package rename to the changelog
aryanjasala ec3c13e
docs(changelog): cut 2.0.0 and fold the rename into one entry
aryanjasala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,42 @@ | ||
| name: Pull Requests auto-merge | ||
| name: Dependabot auto-merge | ||
|
|
||
| on: | ||
| workflow_run: | ||
| workflows: ["Test and Measure"] | ||
| types: | ||
| - completed | ||
| # GitHub's documented pattern: run on the Dependabot pull request itself (no | ||
| # workflow_run, no checkout), read the update type from Dependabot's metadata and | ||
| # enable auto-merge for minor and patch updates. Auto-merge then waits for every | ||
| # ruleset requirement, so the "Test and Measure" jobs must be required status | ||
| # checks for a red run to block the merge. | ||
| # | ||
| # Repository prerequisites (Settings): "Allow auto-merge" enabled, and the main | ||
| # ruleset's required reviews satisfiable for Dependabot pull requests. | ||
|
|
||
| on: pull_request | ||
|
|
||
| permissions: | ||
| pull-requests: write | ||
| contents: write | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }} | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| dependabot: | ||
| name: Dependabot PR auto-merge | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.actor == 'dependabot[bot]' }} | ||
| # The pull request author cannot be spoofed, unlike github.actor. | ||
| if: github.event.pull_request.user.login == 'dependabot[bot]' | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 | ||
| - name: Fetch Dependabot metadata | ||
| id: metadata | ||
| uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0 | ||
|
|
||
| - name: Approve and merge the PR | ||
| if: | | ||
| contains( github.event.workflow_run.head_commit.message, 'version-update:semver-minor' ) || | ||
| contains( github.event.workflow_run.head_commit.message, 'version-update:semver-patch' ) | ||
| run: gh pr merge "$PR_NUMBER" --auto --merge --delete-branch | ||
| - name: Enable auto-merge for minor and patch updates | ||
| if: >- | ||
| steps.metadata.outputs.update-type == 'version-update:semver-minor' || | ||
| steps.metadata.outputs.update-type == 'version-update:semver-patch' | ||
| run: gh pr merge --auto --merge "$PR_URL" | ||
| env: | ||
| PR_NUMBER: ${{ github.event.workflow_run.pull_requests[0].number }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PR_URL: ${{ github.event.pull_request.html_url }} | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Security policy | ||
|
|
||
| ## Supported versions | ||
|
|
||
| | Version | Supported | | ||
| |---|---| | ||
| | 2.x | Yes | | ||
| | 1.0.x | No further releases; upgrade to 2.x | | ||
|
|
||
| ## Reporting a vulnerability | ||
|
|
||
| Please do not report security issues in public issues, pull requests or | ||
| discussions. | ||
|
|
||
| Report them privately through GitHub instead: open the repository's | ||
| **Security** tab and choose **Report a vulnerability**, or go straight to | ||
| <https://github.com/rtCamp/wp-primitives/security/advisories/new>. The report | ||
| stays visible only to you and the maintainers, and the fix, the release and | ||
| the advisory are coordinated in that same thread. | ||
|
|
||
| Include what you can of: | ||
|
|
||
| - the affected class or method and the package version; | ||
| - the impact, and the conditions an attacker needs; | ||
| - steps or a minimal proof of concept that reproduce it. |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please cut the 2.0.0 release heading before tagging, as
docs/maintainers.mddescribes.Please also update the compare links at the bottom of the file, which are outside this diff: