Fix compilation against ponyc 0.65.0 - #54
Merged
Merged
Conversation
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
force-pushed
the
support-ponyc-0.65.0
branch
from
June 4, 2026 02:00
7598eba to
17d5c69
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
ponyc 0.65.0 renames the standard library json package's serialization methods (
JsonObject/JsonArraystring()->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 toprint()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.