Mike Drob
975de92001
Run macOS CI on goldengate with Xcode_swift_6.4
2026-11-10 16:19:51 -07:00
Jen Basch
2d7a368b48
Remove protobuf stdlib module ( #1976 )
2026-11-10 17:03:09 +00:00
Jen Basch
155fc5a867
Turn module type usage warnings into errors ( #1977 )
2026-11-10 09:59:40 -07:00
Jen Basch
5b53816463
Fix release notes links ( #1970 )
2026-11-05 13:25:51 -08:00
Dan Chao
095f064148
Start next dev iteration
2026-11-05 12:52:24 -08:00
Dan Chao
1c785a75af
Prepare 0.33.0 release
2026-11-05 12:52:24 -08:00
Daniel Chao
72b237e204
Fix link in binary encoding docs ( #1967 )
2026-11-05 12:30:49 -08:00
Daniel Chao
c43feddbac
Update release date changelog ( #1966 )
2026-11-05 12:23:07 -08:00
c39b1e7a59
Add release notes for 0.33 ( #1939 )
...
Co-authored-by: Jen Basch <jbasch@apple.com >
Co-authored-by: Dan Chao <dan.chao@apple.com >
2026-11-05 12:20:48 -08:00
Daniel Chao
3dccfe3d8b
Make publish pipeline create draft GitHub releases ( #1965 )
...
If something goes wrong with the maven publish, we can delete the
draft and try again.
2026-11-05 12:20:16 -08:00
Islon Scherer
fc5d658aa3
Add an s-exp renderer to pkl:syntax ( #1955 )
2026-11-05 17:10:33 +00:00
Daniel Chao
85b4a4669a
Rename render to renderValue ( #1964 )
...
Motivation: preserve a possible API change to have `FormattingRenderer`
extend `ValueRenderer`.
2026-11-05 08:39:33 -08:00
Daniel Chao
1f5c62ecef
Refine requirements around const and this type ( #1962 )
...
This introduces a rule that const properties cannot use the `this` type if that referenced type exceeds the scope.
This code is an error:
```pkl
const foo: this
```
This is not:
```pkl
const foo = new {
local myself: this
}
```
Additionally, this fixes:
* const depth logic to account for eager scopes
* behavior of `this` type inside custom this scopes
2026-11-04 11:30:50 -08:00
Daniel Chao
7e8e5f648d
Remove logic to publish libpkl ( #1960 )
...
For reasons, we can't publish this just yet.
2026-11-03 17:00:51 -08:00
Daniel Chao
875fac857c
Generic parser fixes ( #1959 )
...
This fixes some issues with the handling of separators in GenericParser
2026-11-03 16:31:40 -08:00
Jen Basch
7fa1ce7852
upgrade musl, apply patches ( #1958 )
2026-11-03 15:02:49 -08:00
Daniel Chao
70947166a3
Mark pkl:ref as no longer experimental ( #1957 )
...
This API is considered stable and usable for production use-cases.
2026-11-03 19:49:38 +00:00
Daniel Chao
56e178934a
Fix flakey GenericParserTest ( #1956 )
...
The 10ms timeout will fail on slower machines.
2026-11-03 10:06:18 -08:00
Daniel Chao
ffd8a5d484
Remove treatment of %5c as a slash on Windows ( #1954 )
...
We reject any filepath that contains a `\` character;
all Pkl code must use `/` as the path separator.
So, we don't need to normalize `%5c` as a path sep on Windows.
2026-11-03 13:21:36 +00:00
Daniel Chao
a9b7fe3a33
Switch type argument syntax ( #1940 )
...
This changes type argument syntax to "standard" style, and away from turbofish.
The motivation here is that turbofish-style type arguments are hard to read, and developers who are not already deeply knowledgeable about Pkl might struggle to understand such code.
In most languages, the grammar for "method call with type args" don't introduce any additional symbols between the identifier and the type argument list (e.g. C++, TypeScript, C#, Scala, Go).
2026-11-03 05:09:40 -08:00
Daniel Chao
6ad50eb589
Make stack overflows more robust ( #1953 )
...
Fixes an issue where we fail to initialize class
`VmStackOverflowException` when re-throwing a StackOverflowEexception.
2026-11-03 05:07:24 -08:00
Daniel Chao
d54dda0d83
Fix macOS native builds ( #1952 )
...
`cc` is borked on some macOS runners right now.
This adds a workaround until the issue is fixed.
2026-11-02 15:19:41 -08:00
Daniel Chao
89cb6c98a1
Improve normalization of URIs ( #1937 )
...
This adds changes such that URIs like `file:///path/to/%2E%2E/bar.txt`
are considered path traversal sequences.
These URIs are treated as dot segments, and normalized prior to calling
into security checks.
For package URIs, the same treatment is applied to the
URI fragment.
jar-file URIs are special-cased and normalized as well.
Additionally, `%2f` is treated as `/` for file, jar-file and asset path segments.
However, these are left alone for other URIs (RFC-3986 treats `%2e` as identical to `.`, but `%2f` as distinct from `/`)..
2026-10-30 21:04:27 -07:00
Daniel Chao
5cb5d41a44
Fix VmDynamicCursor ( #1948 )
...
This fixes an issue where it fails to iterate over this entry:
`new Dynamic { [-1] = 2 }`
2026-10-30 21:45:36 +00:00
Daniel Chao
b1b36b09ac
Fix computation of hash codes for Listing, Duration, DataSize ( #1922 )
...
These are currently breaking the principle of: if two objects are
`equals`, then they have the same hash code.
2026-10-30 10:31:06 -07:00
Daniel Chao
0b582b50b4
Fix some GraalVM PE issues ( #1944 )
...
* VmObject.getRootFirstObject() is a recursive call, which sometimes
fails with "too deep inlining"
* Incorrect loop condition profile usage in some places
* Need to mark `checkedReturnTypeNode` final so that GraalVM knows
that it is PE constant
2026-10-30 10:27:18 -07:00
Daniel Chao
99c2d84c43
Fix enforcement of const member access inside methods ( #1945 )
2026-10-30 16:57:49 +00:00
Aashish Mahato
ec2d12a654
Fix toString/.value saturation for Duration and DataSize values too large for a long ( #1935 )
2026-10-29 09:11:21 -07:00
Aashish Mahato
e0d727be60
Fix toString/.value saturation for Duration and DataSize values too large for a long ( #1935 )
2026-10-29 08:23:50 -07:00
Jen Basch
ea68f7b258
Fix evaluating dependency notation URIs with multiple file output ( #1942 )
2026-10-28 16:46:27 -07:00
Islon Scherer
434f699887
Add limits to parser recursion ( #1918 )
2026-10-27 16:57:36 +01:00
Jen Basch
3e703995ca
Add user generic methods ( #1849 )
2026-10-27 07:44:03 -07:00
Jen Basch
21d278eba5
Add user generic methods ( #1849 )
2026-10-27 07:17:08 -07:00
Islon Scherer
939e844c03
Add pkl:syntax stdlib module ( #1821 )
2026-10-23 15:51:22 +02:00
Jen Basch
0cb9843af7
Fix module type check defined in parent member bodies ( #1936 )
2026-10-22 12:00:49 -07:00
Jen Basch
05d8e88592
Fix checking of subscript key types references to Map/Mapping ( #1933 )
2026-10-22 17:01:46 +00:00
Daniel Chao
dd026c7023
Minimize thrown IllegalStateException when profiling ( #1931 )
...
Sometimes we see a thrown IllegalStateException when CPU profiling,
where the underlying cause is a ConcurrentModificationException in
the underlying GraalVM internals.
This attempts to minimize the chances of this exception being thrown
by starting proiling after the evaluator and its context have been
created.
2026-10-22 09:44:10 -07:00
Aashish Mahato
dd83b9ab4f
Fix hashCode/equals inconsistency for negative zero in Duration and DataSize ( #1932 )
2026-10-22 09:07:34 -07:00
Daniel Chao
3f5797de6f
Fix changelog links ( #1929 )
2026-10-21 15:32:55 -07:00
Daniel Chao
ac0d9f1d31
Run GitHub release in parallel with Maven ( #1928 )
2026-10-21 15:09:53 -07:00
Jen Basch
95d7a4bcc9
Prepare 0.32.2 release ( #1924 ) ( #1926 )
2026-10-21 14:12:21 -07:00
Jen Basch
23897fd8c3
Remove extra checkout from java executable build jobs ( #1925 )
2026-10-21 20:35:39 +00:00
Jen Basch
f7adfceaeb
Update bundled CA certs ( #1923 )
2026-10-21 16:45:39 +00:00
Daniel Chao
a06684b2c0
Improve error message thrown for "cannot instantiate" ( #1916 )
...
If the parent comes from an implicit node (e.g. read super entry node),
Pkl will currently bury its source section when rendering the error
message.
2026-10-20 08:42:18 -07:00
Goutam Adwant
ce977f1ffe
Fix parameterized type checks in alias constraints ( #1906 )
...
Fixes an issue where a constraint inside a typealias that writes to frame slots is unable to resolve type arguments.
2026-10-19 23:29:30 +00:00
Daniel Chao
08f0c3781b
Improve error messages when typealiases fail to check ( #1914 )
...
This adds the typealias' usage site to the stack frame.
2026-10-19 12:34:04 -07:00
Daniel Chao
97c73e7c28
Fix qualified type resolution ( #1915 )
...
Fixes an issue where `GetModuleOwnerNode` resolves to levelsUp == 0,
but its enclosing owner is a parse-time invisible scope.
2026-10-19 12:23:38 -07:00
Sam Gammon
78c0ebce9d
Add summaries and groups to gradle tasks ( #190 )
...
Fixes and closes apple/pkl#188 by adding task names and groups to
major Pkl Gradle Plugin tasks
Signed-off-by: Sam Gammon <sam@elide.ventures >
2026-10-18 16:48:20 +00:00
Daniel Chao
ef5e34c210
Fix failing Windows build ( #1912 )
...
This test is failing, but is also moot now because file URIs now
forbid authority components.
2026-10-16 19:18:11 +00:00
Aagam Shah
e18d962033
Force the returned value in test.catch() and test.catchOrNull() ( #1910 )
2026-10-16 12:02:33 -07:00