Changelog
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.