mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1277] [MERGED] Switch yaml.Parser to parse binary scalars as Bytes
#995
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1277
Author: @HT154
Created: 10/30/2025
Status: ✅ Merged
Merged: 10/31/2025
Merged by: @HT154
Base:
main← Head:yaml-parser-bytes📝 Commits (1)
950aafeSwitchyaml.Parserto parse binary scalars asBytes📊 Changes
8 files changed (+59 additions, -13 deletions)
View changed files
📝
docs/modules/ROOT/partials/component-attributes.adoc(+2 -0)📝
docs/modules/release-notes/pages/0.30.adoc(+25 -2)📝
pkl-core/src/main/java/org/pkl/core/stdlib/yaml/ParserNodes.java(+5 -4)📝
pkl-core/src/test/files/LanguageSnippetTests/input/api/yamlParser1Compat.pkl(+10 -2)📝
pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser1Compat.pcf(+5 -1)📝
pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser1Yaml11.pcf(+5 -1)📝
pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser1Yaml12.pcf(+5 -1)📝
stdlib/yaml.pkl(+2 -2)📄 Description
This is a breaking change! Parsing YAML data containing
!!binaryscalars now produces a different Pkl value.Builds on #1276
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.