Changelog
0.8.0 (2024-07-04)
Additions
-
Support for Pkl 0.26
Fixes
-
Make the loading of
generator-settings.pkl
observe the CLI’s--cache-dir
for air-gapped use. -
Fix decoding of sets when input type is any.
Miscellaneous
-
Improved performance and clarity of version comparison.
-
Fix unhandled error in the evaluator manager.
-
Reduced lock contention in
atomicRandom
. -
Use
path.join
to make the resolution ofPklProject
files platform independent.
Breaking changes
-
NewProjectEvaluator
now interpretsPklProject
files with the same configuration as the modules in the project.
0.7.0 (2024-06-06)
Additions
-
Add a way to set the cache dir when running
pkl-gen-go
.-
Add
--cache-dir
flag to the CLI. -
Add
cacheDir
property toGeneratorSettings.pkl
.
-
Fixes
-
Correct typos in some doc comments.
-
Address a possible race condition that prevents correctly closing the evaluator.
-
Gracefully shut down the
pkl
child process. The process is now given five seconds to shut down before forcefully terminated. -
Change pkl-gen-go to handle path separators correctly on Windows.
-
Fix unix file permissions when writing files.
-
Correctly resolve pkl-gen-go’s
--project-dir
flag when given a relative path.
Miscellaneous
-
Fix typos.
-
Update doc comments on modules to prevent godoc from processing license headers as documentation.
Breaking changes
-
type DurationUnit
andtype DataSizeUnit
are now backed byint64
, to avoid possible int overflow issues on 32 bit systems. -
EvaluatorOptions.ProjectDir
is renamed toEvaluatorOptions.ProjectBaseURI
to be forwards-compatible with scheme-agnostic projects coming in Pkl 0.27.
Contributors ❤️
Thank you to all the contributors for this release!
0.6.0 (2024-03-11)
Additions
-
Add support for using
pkl-gen-go
with projects (#22)-
Add
--project-dir
flag topkl-gen-go
command. -
Add
uri
andprojectDir
setting toGeneratorSettings.pkl
.
-
Micellaneous
-
Documentation fixes (#19)
0.5.3 (2024-02-09)
Fixes
-
Fixes an issue where
pkl-gen-go
can address an invalid path if installed throughgo install
.
0.5.1 (2024-02-02)
-
Fixes an issue where pkl-gen-go includes broken links
0.5.0 (2024-02-02)
Initial library release.