Cherry pick changes from 0.28.1 (#1004)

* Add release notes for 0.28.1
* Update Pkl version in jbang catalog
This commit is contained in:
Daniel Chao
2025-03-03 10:18:35 -08:00
committed by GitHub
parent 09166ba165
commit a0a64923a6
3 changed files with 18 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
= Pkl 0.28 Release Notes
:version: 0.28
:version-minor: 0.28.0
:version-minor: 0.28.1
:release-date: February 26th, 2025
include::ROOT:partial$component-attributes.adoc[]

View File

@@ -6,6 +6,20 @@ include::ROOT:partial$component-attributes.adoc[]
xref:0.29.adoc[Release notes]
[[release-0.28.1]]
== 0.28.1 (2025-03-03)
=== Fixes
* Fixes an issue where Pkl Gradle tasks can possibly fail with `java.lang.UnsatisfiedLinkError` (https://github.com/apple/pkl/pull/995[#995]).
* Fixes an issue where the artifacts pkl-tools and pkl-config-java-all fail with `java.lang.ClassFormatError` (https://github.com/apple/pkl/pull/998[#998]).
=== Changes
* Adds the ability to configure `native-image` build with Gradle system properties (https://github.com/apple/pkl/pull/1001[#1001]).
+
Now, any system property starting with `"pkl.native"` will have that prefix stripped, and the rest passed as CLI arguments to `native-image`. For example, the native-image resource cache can be configured by passing Gradle flag `-Dpkl.native-Dpolyglot.engine.userResourceCache=/my/cache/dir`.
[[release-0.28.0]]
== 0.28.0 (2025-02-26)

View File

@@ -2,15 +2,15 @@
"catalogs": {},
"aliases": {
"pkl": {
"script-ref": "org.pkl-lang:pkl-cli-java:0.28.0",
"script-ref": "org.pkl-lang:pkl-cli-java:0.28.1",
"java-agents": []
},
"pkl-codegen-java": {
"script-ref": "org.pkl-lang:pkl-codegen-java:0.28.0",
"script-ref": "org.pkl-lang:pkl-codegen-java:0.28.1",
"java-agents": []
},
"pkl-codegen-kotlin": {
"script-ref": "org.pkl-lang:pkl-codegen-kotlin:0.28.0",
"script-ref": "org.pkl-lang:pkl-codegen-kotlin:0.28.1",
"java-agents": []
}
},