Skip to content

chore: release v0.22.2 - Battery Dispatch: Use at Your Own Risk - #447

Merged
jasonacox merged 1 commit into
mainfrom
release/v0.22.2
Oct 27, 2026
Merged

jasonacox merged 1 commit into
mainfrom
release/v0.22.2

Conversation

@jasonacox

Copy link
Copy Markdown
Owner

Patch release with #446.

Changes: __version__ 0.22.1 → 0.22.2, and ## Unreleased → ## v0.22.2 - Battery Dispatch: Use at Your Own Risk, plus the version-bump bullet.

pytest -m "not live": 1318 passed. upload.sh --dry-run: wheel and sdist pass.

After merge: upload to PyPI, proxy pin PR (pypowerwall==0.22.2), tag v0.22.2 on the pin merge, proxy image.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 27, 2026 07:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The two metadata changes are consistent, follow the release process, and introduce no unresolved issues.

No open issues 🎉

What changed in this PR

Prepares v0.22.2 as a patch release containing the battery-dispatch safety documentation and warning logging from #446. This PR changes release metadata only.

Changes:

  • Bumps the library version from 0.22.1 to 0.22.2.
  • Promotes the Unreleased notes to the v0.22.2 heading and adds the PR reference and version-bump entry.
File Description
RELEASE.md Finalizes the v0.22.2 release notes and references #446.
pypowerwall/​__init__.py Updates the package version to 0.22.2.

Review effort: Balanced

@jasonacox
jasonacox merged commit 49417a5 into main Oct 27, 2026
37 checks passed
@jasonacox

Copy link
Copy Markdown
Owner Author

@jasonacox-sam pypowerwall v0.22.2 is out: battery dispatch is now clearly "use at your own risk". Could you do the release, please?

  1. Review v0.22.1...v0.22.2 and tell me anything my checklist missed.
  2. Create the GitHub release for tag v0.22.2: "v0.22.2 - Battery Dispatch: Use at Your Own Risk", body from RELEASE.md, marked latest.
  3. Post on X. One post with server 0.13.1 (Release prep: bump version to 0.13.1, pypowerwall 0.22.2 pypowerwall-server#189) is fine.

Checklist:

Thanks, Sam! 💙

@jasonacox-sam

Copy link
Copy Markdown
Collaborator

Release is live: https://github.com/jasonacox/pypowerwall/releases/tag/v0.22.2 — X post: https://x.com/jasonacox_sam/status/2115460402687664531

Checklist — all verified ✅

  • PyPI 0.22.2 is live with both the wheel and the sdist, so pip install --upgrade pypowerwall==0.22.2 resolves cleanly.
  • Docker jasonacox/pypowerwall:0.22.2t109 exists (amd64 + arm64) and its digests exactly match the latest tag.
  • Tag v0.22.2 points at the chore(proxy): pin pyPowerwall v0.22.2 #448 commit (7f38afd), so the release source includes the proxy pin.
  • The release body is the v0.22.2 section of RELEASE.md, marked latest, with a Contributors section crediting @BJReplay, @longzheng and @jasonacox.

Step 0 — anything the checklist missed: nothing material. Two small notes from the compare:

  1. The release also carries the new pypowerwall/tests/unit/test_v1r_dispatch.py unit tests from docs(v1r): battery dispatch is use at your own risk; log each accepted dispatch #446 — they ride along in the tag; no action needed.
  2. RELEASE.md's v0.22.2 entry links pypowerwall-server#185 for the PW_BATTERY_DISPATCH opt-in, while the server release itself is Unable to set off-grid mode in local mode #189 (v0.13.1). The X post just says "server 0.13.1," so it's consistent either way — flagging only in case you ever want the release number linked there too.

The X post is a single post covering v0.22.2 plus the server 0.13.1 opt-in note, as requested.

— Sam ⚡

@jasonacox

Copy link
Copy Markdown
Owner Author

@jasonacox-sam, thanks again for the v0.22.2 release and X post, and for the careful step-0 review! 🙏

One small fix: the release body doesn't have the install lines yet. Could you add this block just above Contributors?

**Install / upgrade:**

- PyPI: https://pypi.org/project/pypowerwall/0.22.2/ — `pip install --upgrade pypowerwall==0.22.2`
- Proxy Docker image: `jasonacox/pypowerwall:0.22.2t109` (also `latest`)

Reply here when it's in. Thank you!

@jasonacox-sam

Copy link
Copy Markdown
Collaborator

The install/upgrade block is now in the v0.22.2 release body, just above Contributors — PyPI link, the pip install --upgrade pypowerwall==0.22.2 line, and the 0.22.2t109 (also latest) image. Nothing else in the body was changed.

— Sam ⚡

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.

3 participants