Changelog
0.9.0 (2026-07-09)
Fixes
-
Fix decoding of
Intvalues into struct fields of typeDouble(#121). -
Fix some concurrency issues in the evaluator manager (#131).
-
Fix pipe partial-read de-synchronization in message transport (#132).
-
Use POSIX
read()for pipe I/O to avoidNSConcreteDataallocation churn (#135). -
Preserve
caCertificates`when merging HTTP settings from project evaluator settings (#138). -
Correct message type mapping for
ListResourcesResponse(#140). -
Allow custom and external readers to produce "not found" results for nullable reads (
read?()) (#127). -
Fix some bounds check in
PklDecoder(#154). -
Improve enum case generation for string literal unions with uppercase and numeric elements (#160).
-
Use
DecodingError.keyNotFounderror across the board when coding key is missing (#172).
Breaking Changes
-
The
EvaluatorOptions.withProject(: Project)method now applies the resolved evaluator settings (introduced in Pkl 0.32). Users that need lower versions of Pkl should useEvaluatorOptions.withProjectLegacy(: Project).
0.8.0 (2026-02-27)
|
This release removes the |
0.7.0 (2025-11-05)
Additions
-
Support for configuring the new trace mode evaluator option introduced in Pkl 0.30 (#74, #76).
-
Support for using the
PklSwiftandMessagePacklibraries on non-macOS Apple platforms (#78).-
Features of
PklSwiftthat require process spawning have been removed or modified to throw errors on these platforms.
-
Miscellaneous
-
Enforce Pkl code formatting (#82).
0.6.0 (2025-10-02)
Breaking Changes
-
The code generation of optional keys has changed. A
MappingorMapwith an optional key will be represented asOptionalDictionaryKey<T>in Swift. For example,Mapping<String?, String>becomes[OptionalDictionaryKey<String>: String]in Swift (#66).This is a breaking change to code that was already technically broken, because pkl-swift was incorrectly decoding
nullkeys (see #66).
0.5.0 (2025-07-2)
Breaking Changes
-
pkl-gen-swiftrequires Pkl 0.29.0. -
In
EvaluatorOptions.withProjectEvaluatorSettings: Thehttp.proxy.addressandhttp.proxy.noProxyoptions are applied separately (#56).This means that if a PklProject’s evaluator settings only sets
http.proxy.address, the currentnoProxyoptions are preserved.
0.4.0 (2025-01-24)
Additions
-
Add a new API for creating external readers, called
ExternalReaderClient(#26). -
Add new fields to support new options available in Pkl 0.27 (#26, #32):
-
In struct
EvaluatorOptions:externalModuleReadersandexternalResourceReaders. -
In struct
PklEvaluatorSettings:externalModuleReaders,externalResourceReaders, andcolor.
-
0.3.0 (2024-10-10)
Breaking Changes
-
Remove support for custom
Pair, because it is not meant to describe configuration data, and also can be better implemented as a tuple (#21).
Contributors ❤️
Thank you to all our contributors!
0.2.3 (2024-02-04)
Fixes
-
Fixes one more Pkl module whose name was incorrect
0.2.2 (2024-02-04)
Fixes
-
Fixes an issue where module names in Pkl module pkl.swift do not match the package name
-
Fix some documentation issues on the website
0.2.1 (2024-02-02)
Fix bug in pkl package url.
0.2.0 (2024-02-02)
Initial library release.