Skip to content

Fix compilation against ponyc 0.65.0 - #54

Merged
SeanTAllen merged 1 commit into
mainfrom
support-ponyc-0.65.0
Jun 4, 2026
Merged

Fix compilation against ponyc 0.65.0#54
SeanTAllen merged 1 commit into
mainfrom
support-ponyc-0.65.0

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

ponyc 0.65.0 renames the standard library json package's serialization methods (JsonObject/JsonArray string() -> print()). livery uses these to encode and decode the WebSocket wire protocol, so it no longer compiles against the new API. This updates the wire protocol to print() and bumps the minimum ponyc to 0.65.0.

Because the json change is only available on nightly until 0.65.0 ships, the workflows that compile livery (pr, generate-documentation, release) temporarily move to the nightly builder images. Switching them back to release is tracked as a post-release task on ponylang/ponyc#5392.

@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jun 4, 2026
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Jun 4, 2026
@SeanTAllen SeanTAllen changed the title Support ponyc 0.65.0 Fix compilation against ponyc 0.65.0 Jun 4, 2026
ponyc 0.65.0 renames the stdlib json package's serialization methods
(JsonObject/JsonArray string() -> print()). Update livery's wire
protocol encode/decode to the new API and require ponyc 0.65.0.

The json change is only on nightly until 0.65.0 ships, so the
workflows that compile livery (pr, generate-documentation, release)
move to the nightly builder images temporarily. They switch back to
release once 0.65.0 is out (tracked on ponylang/ponyc#5392).
@SeanTAllen
SeanTAllen force-pushed the support-ponyc-0.65.0 branch from 7598eba to 17d5c69 Compare June 4, 2026 02:00
@SeanTAllen
SeanTAllen merged commit 0fc475d into main Jun 4, 2026
7 checks passed
@SeanTAllen
SeanTAllen deleted the support-ponyc-0.65.0 branch June 4, 2026 02:03
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Jun 4, 2026
github-actions Bot pushed a commit that referenced this pull request Jun 4, 2026
github-actions Bot pushed a commit that referenced this pull request Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants