Rushikesh and GitHub
871041e655
Avoid duplicate pkl-gradle publication ( #1777 )
...
The java-gradle-plugin already creates the pluginMaven publication. Applying the library publishing convention creates another publication with the same coordinates, causing an overwrite warning during Sonatype publishing.
Configure the shared POM metadata, validation, signing, and archive artifacts directly so pkl-gradle retains the convention behavior without creating the duplicate library publication.
Fixes #1742
2026-07-29 22:26:51 +00:00
Jen Basch and GitHub
50a09f59dc
Remove abstract properties ( #1781 )
2026-07-29 15:05:19 -07:00
Daniel Chao and GitHub
f6107b6e86
Fix libpkl and windows builds ( #1799 )
...
* Fix issue where linker can't find object files
* Fix issue where macOS libpkl builds time out due to exhausting host resources
2026-07-28 23:32:19 +00:00
Daniel Chao and GitHub
79dd95c4e6
Fix deploy build ( #1798 )
...
* Fix issue where the DeployJob and GithubRelease jobs download
artifacts using a glob that only matches one artifact
* Make NativeImageBuild task only produce outputs as declared by build;
ensure there's no build_artifacts.txt, sources/ dir, etc.
2026-07-28 20:42:50 +00:00
Daniel Chao and GitHub
be03023499
Fix snippet test mismatch between hotspot and native test ( #1797 )
2026-07-28 18:18:36 +00:00
Islon Scherer and GitHub
1a3dc52a96
Fix bug in force ( #1790 )
2026-07-28 09:19:15 +02:00
67df676359
Introduce C library for Pkl ( #1238 )
...
This uses native-image to generate a C library for Pkl.
This generated library from native-image is wrapped with our own library,
in `pkl.h`.
This produces a static and a dynamic library for each os/arch variant
that Pkl currently supports.
Co-authored-by: Kushal Pisavadia <kushal.p@apple.com >
Co-authored-by: Jen Basch <jbasch94@gmail.com >
Co-authored-by: Islon Scherer <i_desouzascherer@apple.com >
2026-07-25 04:15:26 +00:00
175e2b6273
Fix negative caret width rendering multi-line expression errors ( #1793 )
...
The expression preamble length was subtracted from endColumn even
when endColumn came from the already-stripped sourceLine.length(),
so multi-line frames got a negative caret width and String.repeat
threw. Apply the offset only to the frame-derived columns.
---------
Co-authored-by: Dan Chao <dan.chao@apple.com >
2026-07-24 20:57:05 +00:00
2c9e3161d8
Import release notes for 0.32.1 ( #1789 ) ( #1791 )
...
Co-authored-by: Daniel Chao <dan.chao@apple.com >
2026-07-23 19:06:15 +02:00
Daniel Chao and GitHub
2242cc9c82
Fix variable resolution of object body params ( #1788 )
...
Fixes a regression introduced in Pkl 0.32.
2026-07-22 13:04:36 -07:00
Daniel Chao and GitHub
03792be984
Add more third party licenses ( #1784 )
...
Some new third-party libs ended up in our distributions, but we didn't
add them to our third party notices.
2026-07-17 18:59:11 +00:00
Daniel Chao and GitHub
3b5e9df0da
Migrate Gradle delegated properties ( #1782 )
...
There were some more that we missed last time around
2026-07-16 15:41:28 -07:00
Kushal Pisavadia and GitHub
50cfc0bcde
Close intermediate redirect response bodies before following ( #1749 )
...
When following redirects, `RequestRewritingClient` discarded each 3xx
response without closing its body, leaking the underlying connection.
Close the body as soon as we know the status is a redirect and won't
be returned, so the too-many-redirects, missing-`Location`,
invalid-URI and downgrade error paths all release the connection too.
This prevents leaking one `BodyHandlers.ofInputStream()` connection
per hop. Now the code closes the body before following the redirect.
2026-07-16 21:11:53 +00:00
3d03a47933
Revert "Revert "Reject abstract members in non-abstract classes" ( #1688 )" ( #1780 )
...
This reverts commit 1bf00b84ea .
Co-authored-by: Vinayak <vinayak@vama.app >
2026-07-16 11:34:20 -07:00
a1421ff667
Bump shadowPlugin from 9.4.2 to 9.5.1 ( #1772 )
...
Bumps `shadowPlugin` from 9.4.2 to 9.5.1.
Updates `com.gradleup.shadow:com.gradleup.shadow.gradle.plugin` from 9.4.2 to 9.5.1
- [Release notes](https://github.com/GradleUp/shadow/releases )
- [Commits](https://github.com/GradleUp/shadow/compare/9.4.2...9.5.1 )
Updates `com.gradleup.shadow` from 9.4.2 to 9.5.1
- [Release notes](https://github.com/GradleUp/shadow/releases )
- [Commits](https://github.com/GradleUp/shadow/compare/9.4.2...9.5.1 )
---
updated-dependencies:
- dependency-name: com.gradleup.shadow:com.gradleup.shadow.gradle.plugin
dependency-version: 9.5.1
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.gradleup.shadow
dependency-version: 9.5.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 23:36:31 +00:00
773e964ea2
Bump com.diffplug.spotless:spotless-plugin-gradle from 8.7.0 to 8.8.0 ( #1773 )
...
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless ) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/diffplug/spotless/releases )
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/gradle/8.7.0...gradle/8.8.0 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
dependency-version: 8.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 23:35:45 +00:00
c44cbc546b
Bump nu.validator:validator from 26.6.24 to 26.7.3 ( #1776 )
...
Bumps [nu.validator:validator](https://github.com/validator/validator ) from 26.6.24 to 26.7.3.
- [Release notes](https://github.com/validator/validator/releases )
- [Commits](https://github.com/validator/validator/compare/26.6.24...26.7.3 )
---
updated-dependencies:
- dependency-name: nu.validator:validator
dependency-version: 26.7.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 23:35:16 +00:00
71a0b6d113
Bump gradle-wrapper from 9.6.0 to 9.6.1 ( #1775 )
...
Bumps [gradle-wrapper](https://github.com/gradle/gradle ) from 9.6.0 to 9.6.1.
- [Release notes](https://github.com/gradle/gradle/releases )
- [Commits](https://github.com/gradle/gradle/compare/v9.6.0...v9.6.1 )
---
updated-dependencies:
- dependency-name: gradle-wrapper
dependency-version: 9.6.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 23:34:59 +00:00
4f2d2873ae
Bump actions/setup-java from 5.4.0 to 5.5.0 in the first-party group ( #1774 )
...
Bumps the first-party group with 1 update: [actions/setup-java](https://github.com/actions/setup-java ).
Updates `actions/setup-java` from 5.4.0 to 5.5.0
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/1bcf9fb12cf4aa7d266a90ae39939e61372fe520...0f481fcb613427c0f801b606911222b5b6f3083a )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: first-party
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 23:34:39 +00:00
Jen Basch and GitHub
42f107881f
Update dependabot schedule ( #1771 )
2026-07-14 16:23:14 -07:00
Jen Basch and GitHub
71948d69c4
Upgrade to GraalVM 25.1.3, drop macOS Intel builds ( #1769 )
2026-07-13 15:52:02 -07:00
Daniel Chao and GitHub
60b0d86b5f
Fix eval -x of local members ( #1760 )
...
This fixes a regression where local members cannot be seen by the
expression evaluator.
Because variable are now parse-time resolved, this builds a truffle node
by first constructing a synthetic module of all defined local members,
and calls AstBuilder on this synthetic module first.
2026-07-11 00:03:15 +00:00
b4ca82bf36
Bump kotlinToolchain from 2.3.21 to 2.4.0 ( #1678 )
...
Bumps `kotlinToolchain` from 2.3.21 to 2.4.0.
Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 2.3.21 to 2.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.3.21...v2.4.0 )
Updates `org.jetbrains.kotlin.plugin.serialization` from 2.3.21 to 2.4.0
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.3.21...v2.4.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.plugin.serialization
dependency-version: 2.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
dependency-version: 2.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 16:19:56 -07:00
1cc47faac3
Bump junit from 6.1.0 to 6.1.1 ( #1750 )
...
Bumps `junit` from 6.1.0 to 6.1.1.
Updates `org.junit.jupiter:junit-jupiter-api` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1 )
Updates `org.junit.jupiter:junit-jupiter-engine` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1 )
Updates `org.junit.jupiter:junit-jupiter-params` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1 )
Updates `org.junit.platform:junit-platform-launcher` from 6.1.0 to 6.1.1
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-engine
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-params
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.junit.platform:junit-platform-launcher
dependency-version: 6.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 15:51:53 -07:00
d6107c071b
Bump com.palantir.javapoet:javapoet from 0.16.0 to 0.17.0 ( #1751 )
...
Bumps [com.palantir.javapoet:javapoet](https://github.com/palantir/javapoet ) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/palantir/javapoet/releases )
- [Commits](https://github.com/palantir/javapoet/compare/0.16.0...0.17.0 )
---
updated-dependencies:
- dependency-name: com.palantir.javapoet:javapoet
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 15:51:33 -07:00
f21175df9a
Bump jline from 4.2.1 to 4.3.1 ( #1752 )
...
Bumps `jline` from 4.2.1 to 4.3.1.
Updates `org.jline:jline-reader` from 4.2.1 to 4.3.1
- [Release notes](https://github.com/jline/jline3/releases )
- [Commits](https://github.com/jline/jline3/compare/4.2.1...4.3.1 )
Updates `org.jline:jline-terminal` from 4.2.1 to 4.3.1
- [Release notes](https://github.com/jline/jline3/releases )
- [Commits](https://github.com/jline/jline3/compare/4.2.1...4.3.1 )
Updates `org.jline:jline-terminal-jni` from 4.2.1 to 4.3.1
- [Release notes](https://github.com/jline/jline3/releases )
- [Commits](https://github.com/jline/jline3/compare/4.2.1...4.3.1 )
---
updated-dependencies:
- dependency-name: org.jline:jline-reader
dependency-version: 4.3.1
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.jline:jline-terminal
dependency-version: 4.3.1
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.jline:jline-terminal-jni
dependency-version: 4.3.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 15:51:11 -07:00
a59fd9d2ad
Bump the codeql group with 2 updates ( #1757 )
...
Bumps the codeql group with 2 updates: [github/codeql-action/analyze](https://github.com/github/codeql-action ) and [github/codeql-action/init](https://github.com/github/codeql-action ).
Updates `github/codeql-action/analyze` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a )
Updates `github/codeql-action/init` from 4.36.2 to 4.36.3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a )
---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
dependency-version: 4.36.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: codeql
- dependency-name: github/codeql-action/init
dependency-version: 4.36.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: codeql
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-09 15:09:48 -07:00
Jen Basch and GitHub
ed1d600779
Bump pkl.impl.ghactions to version 1.8.2 ( #1756 )
2026-07-09 13:50:20 -07:00
Daniel Chao and GitHub
7a7f3abc50
Migrate Gradle deprecations ( #1745 )
2026-07-08 12:05:19 -07:00
Dan Chao and Jen Basch
25d86db416
Update changelog with release notes link
2026-07-08 10:29:48 -07:00
Dan Chao and Jen Basch
997cfc9ae2
Start next dev iteration
2026-07-08 10:29:48 -07:00
Dan Chao and Jen Basch
9916c23cfc
Prepare 0.32.0 release
2026-07-08 10:29:48 -07:00
Daniel Chao and GitHub
c3d570c769
Fix docsite ( #1740 )
2026-07-08 09:45:07 -07:00
Daniel Chao and GitHub
7499a89d83
Add 0.32 release notes ( #1699 )
...
This adds release notes for the 0.32 release
2026-07-08 09:38:37 -07:00
Daniel Chao and GitHub
010d971af0
Add tests for empty IntSeq iteration ( #1739 )
2026-07-08 06:37:56 -07:00
Daniel Chao and GitHub
bd83e29641
Normalize asset paths in local dependencies ( #1737 )
...
This changes local asset path resolution so that `..` segments at the
dependency root just resolves to the dependency root.
This makes import resolution work the same between local and remote dependencies.
2026-07-08 05:43:36 -07:00
Daniel Chao and GitHub
2ec62c99a7
Enforce stricter rules on reference access ( #1718 )
...
This changes the following:
1. If given a union type, the member must exist on each member of that type
2. If accessing a member off `Reference<D, Null>`, give a `Reference<D, Null>`
Also:
* Improve error messages thrown during member access.
* Add test around accessing members off of a function type
2026-07-06 19:24:14 -07:00
Daniel Chao and GitHub
3fc97d8dad
Allow projectpackage: resource reads by default in Gradle plugin ( #1735 )
...
Fix an inconsistency: they are allowed as imports, but not reads.
2026-07-06 14:41:52 -07:00
Daniel Chao and GitHub
eaf73af247
Improve thread safety for pkl:base ( #1719 )
...
Stdlib modules are singletons that are shared across multiple evaluators.
This improves thread safety by evaluating its `output.bytes` during
initialization, which initializes truffle nodes (e.g. TypeTestNode),
and also initializes the member cache of the module output of `pkl:base`
2026-07-06 11:19:29 -07:00
Daniel Chao and GitHub
2ec83198f5
Fix replacements of types nested within nested constraints ( #1731 )
...
Also, adjust tests
2026-07-06 08:58:56 -07:00
dependabot[bot] and GitHub
26c115aea6
Bump gradle-wrapper from 9.5.1 to 9.6.0 ( #1727 )
...
Bumps [gradle-wrapper](https://github.com/gradle/gradle ) from 9.5.1 to 9.6.0.
- [Release notes](https://github.com/gradle/gradle/releases )
- [Commits](https://github.com/gradle/gradle/compare/v9.5.1...v9.6.0 )
---
updated-dependencies:
- dependency-name: gradle-wrapper
dependency-version: 9.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-02 22:19:24 +00:00
Jen Basch and GitHub
6a4d3acf21
Fix incorrect isNoopTypeCheck() calls ( #1717 )
...
`isNoopTypeCheck()` is not reliable when inside a TypeNode's constructor. This defers these calls to node execution time.
2026-07-02 14:24:55 -07:00
08b0975af9
Bump actions/setup-java from 5.3.0 to 5.4.0 ( #1726 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/ad2b38190b15e4d6bdf0c97fb4fca8412226d287...1bcf9fb12cf4aa7d266a90ae39939e61372fe520 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-version: 5.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-02 11:29:36 -07:00
1ad63d32b3
Bump nu.validator:validator from 26.5.29 to 26.6.24 ( #1725 )
...
Bumps [nu.validator:validator](https://github.com/validator/validator ) from 26.5.29 to 26.6.24.
- [Release notes](https://github.com/validator/validator/releases )
- [Commits](https://github.com/validator/validator/compare/26.5.29...26.6.24 )
---
updated-dependencies:
- dependency-name: nu.validator:validator
dependency-version: 26.6.24
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-02 11:29:14 -07:00
f44ff9904d
Bump commonMark from 0.28.0 to 0.29.0 ( #1724 )
...
Bumps `commonMark` from 0.28.0 to 0.29.0.
Updates `org.commonmark:commonmark` from 0.28.0 to 0.29.0
- [Release notes](https://github.com/commonmark/commonmark-java/releases )
- [Changelog](https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md )
- [Commits](https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.28.0...commonmark-parent-0.29.0 )
Updates `org.commonmark:commonmark-ext-gfm-tables` from 0.28.0 to 0.29.0
- [Release notes](https://github.com/commonmark/commonmark-java/releases )
- [Changelog](https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md )
- [Commits](https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.28.0...commonmark-parent-0.29.0 )
---
updated-dependencies:
- dependency-name: org.commonmark:commonmark
dependency-version: 0.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.commonmark:commonmark-ext-gfm-tables
dependency-version: 0.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-02 11:28:45 -07:00
Daniel Chao and GitHub
45912c504f
Fix incorrect member links ( #1723 )
...
This fixes various incorrect member links in the stdlib.
2026-07-02 11:04:01 -07:00
1c1a39e37f
Fix type argument lost in constraint expressions within generic typealiases ( #1709 )
...
Co-authored-by: Daniel Chao <daniel.h.chao@gmail.com >
2026-07-01 10:10:03 -07:00
Jen Basch and GitHub
bfa6a989be
Generalize TypeNode validation ( #1715 )
2026-06-30 08:50:35 -07:00
Jen Basch and GitHub
70fc1d4ba3
Correctly handle type aliases with a type variable as the root ( #1714 )
2026-06-30 06:49:21 +00:00
Daniel Chao and GitHub
139d1ae8ec
Fix many editor diagnostics ( #1707 )
...
This addresses many IDE warnings resulting from the switch to JSpecify.
Also, this changes the behavior of exporting VmObject; there's no place
in our code that does not force a VmObject prior to export, so
the existing logic around handling nullable values has been removed.
2026-06-29 16:22:19 +00:00