Skip to content

Wails v3.0.0 release preparation - #6344

Merged
leaanthony merged 46 commits into
masterfrom
release-prep/v3.0.0
Oct 26, 2026
Merged

leaanthony merged 46 commits into
masterfrom
release-prep/v3.0.0

Conversation

@taliesin-ai

@taliesin-ai taliesin-ai commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Prepares Wails v3.0.0 for a manual release from master: dependency/security fixes, release tooling, documentation and announcement drafts. The v3.0.0 version bump, final changelog and publication remain separate release-owner steps.

Release policy and publication

  • v3.1.0 is feature-only. Automatic releases stay on the current minor's next patch as dated nightly previews; feature releases are manual, require an explicit minor version, and must come from master.
  • Explicit GA/feature versions select the feature gate even if the dispatch's channel input is left at its default. Gate checks fail closed, and feature releases select a passing CI snapshot.
  • Feature versions cannot move backwards or duplicate a normal release. Patch nightlies remain available alongside previews of a later feature release.
  • Syncing version metadata from an older release snapshot preserves current master's package dependencies, lockfile entries and integrity hashes. npm publishing builds the release tag.
  • CLI update selection and generated project runtime versions follow the selected release channel.

Security and documentation

Retains the dependency updates and Linux cross-origin child-frame guard from the preparation work, along with the release documentation, translations, navigation changes, v2 link recovery and blog drafts. Known limitations remain documented: same-origin Linux frames can reach the native handler through their parent; Android's experimental bridge remains exposed to frames; the guard does not restrict bound-method HTTP calls.

Includes the subsequently merged Windows DLL-lifetime fix (#6358) and updater restart-ownership fix (#6350). Payload validation is tracked separately by #6351 and replacement PR #6360 (superseding #6352).

Agent guidance and changelog ownership

AGENTS.md, the new repository CLAUDE.md entry point, the v3 guide and contributor checklist now direct ordinary v3 contributors to leave generated changelog entries to automation. The release template and generated-file notices follow the same rule, preserving all staged notes and published history. The agent guide explains the separate project/build MCP server and running-application MCP server.

The release and changelog publication tests pass for this follow-up. coderabbit --plain was invoked before committing, but its free OSS quota was exhausted, so this documentation follow-up has not received a new CodeRabbit review.

Validation

  • Race-enabled release-tool, release-gate, GitHub version-selection, template and updater tests pass.
  • An executable regression test verifies version synchronisation preserves newer dependency versions and integrity hashes.
  • Workflow shell syntax and cadence scenarios pass: only the nightly is scheduled, explicit features use the gate, and feature releases from other branches are rejected.
  • M-Press strict build passes (2,040 pages); link/asset and generated-site checks pass.
  • Translation coverage passes with nine expected stale release-policy translation warnings; the established translation workflow must synchronise those pages.
  • Local CodeRabbit review completed; its release ordering and source-branch findings were fixed and regression-tested.

Hosted release workflows, native desktop smoke tests and publication have not been run. The nightly workflow remains disabled until the release owner completes the launch checks.

@github-actions github-actions Bot added Bug Something isn't working Security Security-related bug v3 labels Oct 25, 2026
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

@github-actions github-actions Bot added Documentation Improvements or additions to documentation cli templates runtime labels Oct 25, 2026
taliesin-ai and others added 21 commits October 26, 2026 19:55
Point the READMEs, contributor guide, issue/PR templates and v3 project
docs at the v3.0.0 stable release: version badge and install commands
pin v3.0.0, contributors are directed to releases/v3.0.0, and example
versions in templates drop the beta suffix.

Ported from the parked wip/v3.0.0-prep work, excluding non-release
changes (CodeRabbit acknowledgement line).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Describe v3.0.0 as the stable desktop release across all languages,
pin install commands to @v3.0.0, and point repository links, the edit
URL and the contribution branch at releases/v3.0.0. Repository-wide
policy links (CONTRIBUTING, CODE_OF_CONDUCT) stay on master.

Ported from the parked wip/v3.0.0-prep work, which targeted the old
.mpd sources: both trees were converted with `mpress convert --to
markdown` and three-way merged onto master's .md files. Translation
audit exceptions are rehashed only where they matched master before
the edit; already-stale entries are left untouched. The M-Press 1.0.19
bump is not included.

Validated: check_translations.py (0 errors, warning set unchanged
from master), mpress build --strict, mpress check, check_site.py.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Describe the repository layout and release policy in the root
AGENTS.md and add per-area AGENTS.md files for v2, v3, docs, website,
scripts, tools and assets. Deeper files may add constraints for their
subtree but do not override the root. Subsystem paths now carry their
v3/ prefix and point at the Markdown docs sources.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pin the docs setup task and contributor instructions to M-Press
v1.0.19, the version the docs build script already resolves as the
latest release. Thank CodeRabbit for supporting Wails with AI code
reviews.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lnerability fixes

Fixes GHSA-259r-337f-4rfw, GO-2026-6222/5066/5062/5061/4961 and GO-2026-6809.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…5f-2gx8-mh8m)

WebKitGTK passes no frame info to the external script message handler, so
inject a document-start, all-frames user script that replaces the handler in
child frames with a wrapper dropping wails:-prefixed messages.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…olicy

The keyword classifier defaulted unclassified issues to Enhancement, which
triggers the redirect workflow that closes the issue, and its high-priority
label could be set by anyone through keywords. Labelling is now done by the
maintainers' triage tooling, governed by .github/triage/AGENT_PROMPT.md.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Nightlies are v<M>.<m+1>.0-nightly.<date> pre-releases (npm next); weeklies are
v<M>.<m+1>.0 releases (Latest, npm latest); hotfixes are explicit patch releases.
Go's @latest picks the highest release version, so nightlies never become @latest.
Also fixes wails3 update cli for v3 tags (filter, pagination, cmd/wails3 path).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ase gate

Adds the Sydney-time weekly schedule, find-green-commit.sh, check-release-blockers.sh,
tag-triggered npm publish with dist-tags, releases/** CI triggers and the release policy doc.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The model is now configurable (CHANGELOG_MODEL), reasoning is requested off with
a single retry if a model rejects that, and AB_MODELS/AB_PRS compare models on
real merged PRs without touching the changelog.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…and user-facing wording

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
taliesin-ai and others added 16 commits October 26, 2026 19:55
Use the Introducing Wails v3 thumbnail for the release draft, explain nightly prereleases and weekly minor releases, and acknowledge the support backlog and automation. Replace the installation doctor placeholder with v3.0.0 in English and all nine locale copies.

Refs #6337. Preview build and link checks passed; CodeRabbit reviewed all 11 changed files with no new findings.
Adds v3/tasks/releasegate, a stdlib-only Go port of
.github/scripts/check-release-blockers.sh with the same rules, environment
variables, defaults, exit codes (0/1/2), report format, status-comment
marker and fail-closed semantics. It talks to the GitHub REST API directly
(GH_TOKEN, falling back to GITHUB_TOKEN; GITHUB_API_URL overrides the base)
and follows Link-header pagination.

The bash script needs bash 4 (declare -A), so neither it nor its tests ran
on macOS. The Go tests run the original TestGate_* cases in-process against
an httptest fake, plus fail-closed (403/404/500, malformed JSON, per-item
failures), pagination, token, report-output and code-scanning cases.

Unlike the script, an alert whose path or severity field is empty is no
longer mis-parsed: bash `read` collapsed empty tab-separated fields and
shifted the rest, which silently dropped such alerts.
The weekly "Release gate" step now runs `go run ./tasks/releasegate` from
v3 (after checkout and setup-go) with the same environment. The bash script
and its bash-driven test are removed, the release policy doc points at the
Go source, and the docs/automation CI job now also tests the gate.
…ker label

A 5xx, rate limit or network error while checking a label's applier made
the label count as set by a non-maintainer: ignored, and the release could
pass. Only a 404 is a definite 'not allowed' now; any other failure is
'could not evaluate' (exit 2), as the gate's fail-closed rule says.
… in website lockfiles

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Add nine translations with reviewed translation state and navigation entries in all ten languages. Align the release gate path and clarify pinned-version and nightly examples. Refs #6337.
Add the full-screen viewing caption, remove editorial notes, and simplify the v2 support wording. Keep the post outside published content until the code release. Refs #6337.
…uard npm/Go version lockstep

Nightly pre-releases use the dist-tag `nightly` instead of `next`. A new test
asserts that the runtime package.json and package-lock.json versions equal
version.txt without its leading v, so the npm version and the Go release tag
cannot drift apart.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Address the documentation accuracy audit in #6337, align all locale navigation and updated guides, prepare release-post translations as drafts, and serve contributor images from the v3 site.
Nightlies are dated previews of the next weekly (vX.Y.0-nightly.YYYYMMDD),
weekly releases bump the minor (Sunday 20:00 Sydney, newest green master
commit) and hotfixes bump the patch. This reverts the manual 'feature release'
model introduced in 0b5c06b and the v3.1.0 feature-scope wording on the
status page, and keeps that commit's version-only sync back to master so
dependency updates merged after a weekly's commit are preserved.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Auto Changelog (v3) writes the entry after merge and the release tooling resets
the file, so edits in ordinary PRs only cause merge conflicts between PRs. On
pull_request_target the file is put back to the base branch's version on the
PR branch through the contents API (no PR code is checked out or run), with a
comment explaining why. Release PRs (bump/*), github-actions[bot] PRs and PRs
labelled allow-changelog-edit are exempt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
taliesin-ai and others added 8 commits October 26, 2026 20:10
…rafts

Regenerated with M-Press v1.0.24 (translate --scope stale): one new segment in
each of the nine locales. The post stays a draft until v3.0.0 ships.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The guard used POSIX-only commands (true, command -v, /dev/null), but wake
runs preconditions through cmd /C on Windows, where true does not exist. Use
exit 0 / exit 1, which behave the same under sh -c and cmd /C.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Regenerated the changed segments with M-Press v1.0.24 so all nine locales match
the English page (draft banner removed, weekly model wording).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Move the release post and its nine translations from docs/mpress/drafts into
the blog, with their translation state, remove draft: true and set the date to
2026-10-26. Built and checked with M-Press v1.0.24.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
On macOS a plist that failed the strict XML reader was retried with plutil,
whose parser accepts XML the reader rightly rejects (an unclosed dict, content
after </plist>). Malformed XML plists therefore passed validation on darwin
only, failing TestValidatePayloadRejectsMalformedPlist on darwin/arm64. Keep
plutil for real binary plists (the bplist header).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Remove the empty imported feed; M-Press v1.0.25 generates RSS during the build. Validate item coverage, metadata and duplicates so an empty feed cannot pass the site checks. Release preparation: #6344.
Update the two mobile header selectors to the namespaced menu control. Compared every generated HTML file and asset between the published 1.0.24 and 1.0.25 binaries; after this change, HTML, CSS and JS differ only by the four control names and asset hashes. The generated RSS contains all eight published blog posts. Refs #6344.
@leaanthony
leaanthony merged commit e2fd3df into master Oct 26, 2026
70 of 74 checks passed
@leaanthony
leaanthony deleted the release-prep/v3.0.0 branch October 26, 2026 10:43
leaanthony pushed a commit that referenced this pull request Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working cli Documentation Improvements or additions to documentation runtime Security Security-related bug templates v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants