Skip to content

chore(release): prepare 0.40.1 - #115

Merged
elkaix merged 1 commit into
mainfrom
release/0.40.1
Jun 10, 2026
Merged

chore(release): prepare 0.40.1#115
elkaix merged 1 commit into
mainfrom
release/0.40.1

Conversation

@elkaix

@elkaix elkaix commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Hotfix release for Windows/Linux native installer regressions introduced in 0.40.0:

  • Web UI 404 on / in native installers. Installer CI froze the app without building the gitignored web/vis frontend bundles. Both windows-installer.yml and linux-installer.yml now build the bundles before PyInstaller. Every spec aborts loudly on missing assets. Apps serve an explanatory 503 page as last-resort fallback.
  • Startup banner crashes on legacy Windows code pages. print_banner() now uses the existing ASCII-glyph detection with width-preserving fallbacks and per-line degradation instead of raising UnicodeEncodeError on cp1252/redirected stdout.

pip/wheel installs (PyPI) were never affected — this only impacts users on the native Windows installer or Linux .deb/.rpm packages.

Test plan

  • All local gates pass: check_version_tag, README grep, CHANGELOG grep, check_pythinker_dependency_versions, test_installation_docs, test_homebrew_formula
  • Required CI checks green before merge
  • After merge: squash-merge, pull main, push v0.40.1 tag to trigger release workflow

Summary by CodeRabbit

  • Bug Fixes

    • Fixed native Windows and Linux installers to prevent web UI 404 errors on the root path when bundled assets are unavailable.
    • Improved startup banner rendering on legacy Windows consoles with ASCII fallback support.
  • Documentation

    • Updated installation and upgrade documentation for version 0.40.1 release.

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c91982ec-2abf-46e4-9c24-0930f379bb06

📥 Commits

Reviewing files that changed from the base of the PR and between 2d7b17e and fc76c8e.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • CHANGELOG.md
  • README.md
  • docs/en/guides/getting-started.md
  • docs/en/release-notes/breaking-changes.md
  • docs/en/release-notes/changelog.md
  • packages/linux-installer/README.md
  • pyproject.toml

📝 Walkthrough

Walkthrough

This PR releases version 0.40.1, a patch addressing two bugs: native installer handling for missing bundled web assets and legacy Windows console rendering. The project version is updated in pyproject.toml, release notes are added across changelog and breaking-changes documentation, and all user-facing installation guides reference the new version's artifacts.

Changes

0.40.1 Release Documentation

Layer / File(s) Summary
Project version declaration
pyproject.toml
Version is bumped from 0.40.0 to 0.40.1 in the project metadata.
Release notes and changelog entries
CHANGELOG.md, docs/en/release-notes/breaking-changes.md, docs/en/release-notes/changelog.md
CHANGELOG.md adds the new 0.40.1 release section with upgrade instructions. Release-notes/breaking-changes.md declares no breaking changes relative to 0.40.0. Release-notes/changelog.md provides detailed notes on the web UI 404 fix and Windows console rendering improvements.
Installation and getting-started guides
README.md, docs/en/guides/getting-started.md, packages/linux-installer/README.md
README.md updates the "What's New" section, all Windows installer artifact names to PythinkerSetup-0.40.1.exe, Linux .deb/.rpm download URLs and filenames, and checksum verification examples. Getting-started.md updates the Windows manual download filename. Linux-installer/README.md updates end-user install commands and build instructions to reference v0.40.1 packages and artifacts.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested labels

bug, documentation

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Title follows conventional commits format with valid 'chore' type and clear scope 'release', accurately describing the version bump to 0.40.1.
Description check ✅ Passed PR description provides detailed context, fix descriptions, and test plan checklist, covering the main sections required by the template structure.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.40.1

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@elkaix
elkaix merged commit 0b99d2c into main Jun 10, 2026
54 checks passed
@elkaix
elkaix deleted the release/0.40.1 branch July 17, 2026 20:04
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.

1 participant