Daniel Chao and GitHub
c5b98d6510
CI job polish ( #1341 )
...
Avoids issues where setup-java post-task cacheing will hang with "device
or resource busy".
2025-12-03 15:11:33 -08:00
Jen Basch and GitHub
db6ff394d7
Fix fetch depth for gradle-compatibility and java-executables-* CI jobs ( #1339 )
2025-12-03 10:34:03 -08:00
Daniel Chao and GitHub
53f3be64f3
Fix parsing of URLs with plus signs ( #1335 )
...
This fixes an issue where URLs with schemes that contain `+`, `-`, and
`.` would not be parsed correctly.
For example, `foo+bar:///?baz.pkl` would turn into
`foo+bar:///%3Fbaz.pkl`. The query param is lost, and turned into the
path.
2025-12-03 10:11:23 -08:00
Jen Basch and GitHub
d1c652f736
Vendor paguro's RrbTree, fix an int overflow breaking large Lists ( #1337 )
2025-12-03 09:02:17 -08:00
Islon Scherer and GitHub
6c3683c55e
Fix snapshot publishing ( #1330 )
2025-11-26 09:17:14 +01:00
Spencer Phillip Young and GitHub
cc02b6b685
Fix newline checks in parser ( #1328 )
2025-11-24 14:40:54 +01:00
Jen Basch and GitHub
f4938dccca
Add support for evaluating module output and expressions to ConfigEvaluator ( #1297 )
2025-11-19 15:47:12 -08:00
Jen Basch and GitHub
67f1ff5ab8
Update CLI docs to clarify that --version only applies to the root command ( #1326 )
2025-11-18 21:08:03 -08:00
Spencer Phillip Young and GitHub
ba281e8475
Fix empty parenthesized type unexpected error ( #1323 )
2025-11-18 15:35:44 +01:00
Daniel Chao and GitHub
bc5d675b6e
Fix macos/amd64 image builds ( #1322 )
2025-11-17 12:16:28 -08:00
Daniel Chao and GitHub
a2cc70ae37
Fix deploy jobs ( #1319 )
...
Specify `merge-multiple` to prevent new directories from being created
when downloading artifacts.
2025-11-15 16:30:51 -08:00
Daniel Chao and GitHub
0ff99d31c9
Replace broken references to CircleCI ( #1318 )
2025-11-14 15:44:59 -08:00
Daniel Chao and GitHub
ef9b53be98
Fix release builds ( #1317 )
...
In order to preserve the folder hierarchy in our uploaded artifact,
we need to insert a wildcard in the root path.
Also, fix fan-in of tasks that lead to the publish test result task.
2025-11-14 15:18:30 -08:00
Daniel Chao and GitHub
0ff9125062
Fix build java executable ( #1316 )
2025-11-13 17:46:35 -08:00
Daniel Chao and GitHub
f948ba2a20
Switch to GitHub Actions ( #1315 )
...
This switches our builds over to GitHub Actions!
TODO:
* Add macOS/amd64 native-image builds; this isn't working right now
* Patch musl with security patches
* Add benchmark jobs over time
As part of this build, PRBs will now only run `./gradlew check` on Linux,
but other jobs can be run using slash commands, e.g. `[windows]`
to run `./gradle check` on Windows.
2025-11-13 16:03:05 -08:00
Islon Scherer and GitHub
ecf2d8ba33
Fix Map formatting ( #1312 )
2025-11-11 09:37:09 +01:00
Daniel Chao and GitHub
445d94ccff
Improve plugin logic ( #1296 )
2025-11-04 07:33:54 -08:00
Daniel Chao and GitHub
9e1303ed57
Disable spotless ratcheting of Pkl sources ( #1295 )
...
This causes spotless to _always_ format Pkl files, instead of only
formatting them if there's a diff between the file and what's in main.
This means that formatting changes in pkl-formatter will be propagated
to the standard library.
2025-11-04 05:31:49 -08:00
Dan Chao and Daniel Chao
4c13952b64
Apply spotless formatting
2025-11-03 12:26:58 -08:00
Dan Chao and Daniel Chao
4d70baba86
Start next dev iteration
2025-11-03 12:26:58 -08:00
Dan Chao and Daniel Chao
7f231cd916
Prepare 0.30.0 release
2025-11-03 12:26:58 -08:00
Jen Basch and GitHub
5c944600fa
Use 2xlarge resource class for gradle check in CI ( #1291 )
2025-11-03 10:31:16 -08:00
Islon Scherer and GitHub
5030061412
Fix ordering issue in formatter ( #1289 )
2025-11-03 18:52:38 +01:00
Daniel Chao and GitHub
219e766003
Make format command write relative paths ( #1290 )
2025-11-03 09:52:29 -08:00
Daniel Chao and GitHub
d29ae07e14
Fix formatting of argument lists ( #1283 )
...
This fixes several issues:
1. Leading/trailing line comments surrounding a lambda should make that
lambda not "trailing", because the formatting otherwise looks bad and
also isn't stable
2. Fix incorrect algorithm for detecting trailing lambda (currently,
any number of lambdas makes the alg return `true`)
2025-11-03 09:15:58 -08:00
Islon Scherer and GitHub
4226c21a42
Fix multiline string stability ( #1287 )
2025-11-03 17:41:43 +01:00
Daniel Chao and GitHub
40c88930c5
Normalize paths in pkl format ( #1286 )
2025-11-03 08:24:04 -08:00
Daniel Chao and GitHub
d5beb3f331
Fix flag name ( #1285 )
2025-11-03 08:23:35 -08:00
Daniel Chao and GitHub
d8adb28dd1
Respect line breaks in operator chains and argument lists ( #1268 )
...
If an operator chain or method call is multiline, keep those newlines
in the formatted output.
Help preserve code like:
```
foo
|> (it) -> it + 2
|> (it) -> it / 2
```
2025-11-02 21:51:37 -08:00
Daniel Chao and GitHub
85529c9b7e
Add debug and run button for snippet tests ( #1281 )
2025-10-31 12:28:03 -07:00
Islon Scherer and GitHub
50541d9cda
Make formatter stable ( #1273 )
2025-10-31 18:58:22 +01:00
ea778a7e7a
Don't force multiline interpolation into a single line ( #1280 )
...
Also, fixes an issue where forced single-line formatting would break for if/else
and let expressions
---------
Co-authored-by: Islon Scherer <islonscherer@gmail.com >
2025-10-31 10:47:53 -07:00
Jen Basch and GitHub
ffc9167bf5
Switch yaml.Parser to parse binary scalars as Bytes ( #1277 )
2025-10-30 16:45:59 -07:00
Daniel Chao and GitHub
ede48d0fff
Fix pkl spotless ( #1279 )
2025-10-30 16:17:08 -07:00
Jen Basch and GitHub
eab71229e7
Add support for rendering Bytes values with YamlRenderer ( #1276 )
2025-10-30 15:53:43 -07:00
Daniel Chao and GitHub
10eccb100c
Fix Pkl spotless formatting ( #1278 )
2025-10-30 15:36:30 -07:00
Jen Basch and GitHub
2c18f13d08
Rename Config.from to Config.fromPklBinary ( #1275 )
2025-10-30 11:04:03 -07:00
9427387019
Add release notes for 0.30 ( #1261 )
...
Co-authored-by: Dan Chao <dan.chao@apple.com >
2025-10-30 10:09:35 -07:00
Islon Scherer and GitHub
db800d4521
Fix trailing lambda ending wrap ( #1274 )
2025-10-30 17:06:09 +01:00
Jen Basch and GitHub
08c414f3ac
Normalize mutli-line string indentation ( #1271 )
2025-10-30 08:30:30 -07:00
Islon Scherer and GitHub
9469dd885d
Handle trailing commas in types ( #1272 )
2025-10-30 13:36:56 +01:00
Islon Scherer and GitHub
7df447924e
Coalesce pkl format subcommands into the parent command. ( #1263 )
2025-10-30 10:08:25 +01:00
Jen Basch and GitHub
7bf150055c
Assert that formatter snippet test output is stable ( #1270 )
2025-10-29 17:08:43 -07:00
Jen Basch and GitHub
1d6261b263
Correctly handle trailing commas in function type literals in the generic parser ( #1267 )
2025-10-29 15:08:26 -07:00
Islon Scherer and GitHub
72874ec34a
Get style guide in line with formatter ( #1265 )
2025-10-29 16:00:05 +01:00
Islon Scherer and GitHub
28c20a8652
Don't break lines in module name ( #1266 )
2025-10-29 15:24:08 +01:00
Daniel Chao and GitHub
bbeeffdd32
Adjust formatting of line comments in lets ( #1256 )
2025-10-28 17:53:06 -07:00
Daniel Chao and GitHub
825fcf5d1d
Respect newlines in if/else and let expressions ( #1259 )
...
Change the formatter to prevent multiline if/else and let expressions
from collapsing into a single line.
2025-10-28 11:26:31 -07:00
Daniel Chao and GitHub
fbcf83aa76
Adjust formatting of argument lists ( #1260 )
...
This changes code so that multiple lambda arguments makes the whole
argument list wrap.
Improves the readability of code like:
```
foo
.toMap(
(it) -> makeSomeKey(it),
(it) -> makeSomeValue(it)
)
```
2025-10-28 10:46:19 -07:00
Islon Scherer and GitHub
be0142d46b
Add grammar compatibility option to the formatter ( #1249 )
2025-10-28 13:29:08 +01:00