yaml.Parser
Bytes
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
main
yaml-parser-bytes
950aafe
8 files changed (+59 additions, -13 deletions)
📝 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)
docs/modules/ROOT/partials/component-attributes.adoc
docs/modules/release-notes/pages/0.30.adoc
pkl-core/src/main/java/org/pkl/core/stdlib/yaml/ParserNodes.java
pkl-core/src/test/files/LanguageSnippetTests/input/api/yamlParser1Compat.pkl
pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser1Compat.pcf
pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser1Yaml11.pcf
pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser1Yaml12.pcf
stdlib/yaml.pkl
This is a breaking change! Parsing YAML data containing !!binary scalars now produces a different Pkl value.
!!binary
Builds on #1276
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 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.