Improved
1.1.0-RC4
Merged Pull Requests since 1.1.0-RC3
- Update changelog and docs by @lefou in https://github.com/com-lihaoyi/mill/pull/6307
- Document scalaDocGenerated task and configuration of source links by @lefou in https://github.com/com-lihaoyi/mill/pull/6308
- Rebootstrap on 1.1.0-RC3 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6306
- Scala 3.8.0-RC3 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6316
- Bump uPickle to 4.4.2-RC to leverage flexible
@flattencustom keys to preserve key offsets by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6319 - Lock around
info,warn,error,debuglogs to avoid interleaving by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6321 - Logging infrastructure cleanup by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6322
- Fix BSP logger output prefixing by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6324
- More widespread use of Java17/Scala3.8 and narrow Java11/Scala3.7 to necessary code only by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6320
- Update coursier to 2.1.25-M21 by @lefou in https://github.com/com-lihaoyi/mill/pull/6323
- Simplify logging APIs by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6326
- Improve error message for invalid scripts by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6331
- Rebootstrap by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6332
- Add Contrib Modules to Documentation TOC by @gamlerhart in https://github.com/com-lihaoyi/mill/pull/6334
- Bump uPickle 4.4.2-RC2 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6335
- Ensure
must be defs defined in a Module class/trait/object bodyerror happens for commands by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6336 - Extend Native (GraalVM) support by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6315
- Improve offline support for NativeImageModule and SpringBootModule by @lefou in https://github.com/com-lihaoyi/mill/pull/6337
- Fix deprecated API use by @lefou in https://github.com/com-lihaoyi/mill/pull/6328
- Overhaul
Why Millpages andintro.adocby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6342 - Update bouncycastle to 1.83 by @lefou in https://github.com/com-lihaoyi/mill/pull/6340
- Update scoverage to 2.5.0 by @lefou in https://github.com/com-lihaoyi/mill/pull/6338
- More doc improvements by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6343
- Update logback to 1.5.21 by @lefou in https://github.com/com-lihaoyi/mill/pull/6339
- More
Why Mill?overhauls by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6344 - Add explicit
sys.exittoZincWorkerMainto ensure process terminates by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6348 - Ensure zinc worker process is re-used for consecutive compiles by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6349
- CI: Use macos-14 instead of deprecated macos-13 by @lefou in https://github.com/com-lihaoyi/mill/pull/6352
- Fix
./mill __.compileby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6353 - Update mill-moduledefs to 0.12.5-RC1 by @lefou in https://github.com/com-lihaoyi/mill/pull/6351
- Syntax-highlight Java compile errors by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6354
- Unify
CachedFactoryandRefCountedCachelogic into a singleCachedFactoryBaseclass by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6350 - Update jline to 3.30.6 by @lefou in https://github.com/com-lihaoyi/mill/pull/6341
- Update Scala 2.13 to 2.13.18 by @lefou in https://github.com/com-lihaoyi/mill/pull/6358
- Fix androidtodo by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6356
- Integrate Kotlin incremental compilation by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6360
- Add highlighting of definition names in Java by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6361
- More docs overhaul by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6363
- Add asciinema recording for Mill vs Maven performance by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6365
- Tweak error formatting code to scrape the correct line from dotty error messages by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6367
- Android: Fix resource linking on multimodule projects by @souvlakias in https://github.com/com-lihaoyi/mill/pull/6249
- Show overridden
.mill.yamlsource positions for build overrides by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6372 - Rename
Config-Based Modulesterminology toDeclarative Configurationby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6373 - Add a new cross module CLI syntax that is more Zsh friendly by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6376
- More usage of new cross syntax in examples by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6380
- Ensure YAML processing logic preserves original string text by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6382
- Fix cache factory to ensure values are not shared due to wrong release by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6383
- Rebootstrap on top of new-cross-syntax changes by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6378
- Add
jvmIdto declarative config doc page by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6384 - Doc tweaks by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6385
- Initial Groovy setup by @lostiniceland in https://github.com/com-lihaoyi/mill/pull/5747
- Kotlin fix incremental compilation for generated sources by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6381
- When scaladoc fails repeatedly, report the first error by @lefou in https://github.com/com-lihaoyi/mill/pull/6387
- Split
declarative.adocexamples into individual example pages by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6392 - Re-organize
Module Configurationdocs by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6394 - Make PublishInfo.{pom,jar,aar,sourceJar,docJar} helper public by @lefou in https://github.com/com-lihaoyi/mill/pull/6395
- Update changelog and docs for release 0.12.17 by @lefou in https://github.com/com-lihaoyi/mill/pull/6399
- More declarative docs by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6396
- Android: Improve CI performance by @souvlakias in https://github.com/com-lihaoyi/mill/pull/6406
- Bump actions/upload-artifact from 5.0.0 to 6.0.0 by @dependabot[bot] in https://github.com/com-lihaoyi/mill/pull/6390
- Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in https://github.com/com-lihaoyi/mill/pull/6391
- Introduce
mill.api.OneOrMoretype, use it forHeaderData#extendsto allow a single superclass to be passed by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6409 - Fixes for build functionality post auto-migration by @ajaychandran in https://github.com/com-lihaoyi/mill/pull/6083
- Fix
package.mill.yamloverride handling in the presence of a meta-build by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6411 - Fix
nullCommandDefaults = trueon nested mainargs classes by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6419 - Warn if non-platform dependencies are used by @lefou in https://github.com/com-lihaoyi/mill/pull/6408
- Pass message to exception super class in
GenIdeaImplby @lolgab in https://github.com/com-lihaoyi/mill/pull/6420 - Added check for first character of a segment in
Util.backtickWrapby @ajaychandran in https://github.com/com-lihaoyi/mill/pull/6415 - Update zinc to 1.12.0-M2 by @lefou in https://github.com/com-lihaoyi/mill/pull/6422
- Ksp bom resolver by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6359
- Update fansi to 0.5.1 by @lefou in https://github.com/com-lihaoyi/mill/pull/6424
- Update Scala Native to 0.5.9 by @lefou in https://github.com/com-lihaoyi/mill/pull/6423
- Remove dysfunc dependency graph upload by @lefou in https://github.com/com-lihaoyi/mill/pull/6428
- JvmWorkerModule: Do not close already managed worker classloader by @lefou in https://github.com/com-lihaoyi/mill/pull/6429
- Fix worker setup in JvmWorkerModule by @lefou in https://github.com/com-lihaoyi/mill/pull/6430
- Update os-lib to 0.11.6 by @lefou in https://github.com/com-lihaoyi/mill/pull/6433
- Scala 3.8.0-RC4 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6438
- Android: Create
AndroidVirtualDeviceconfiguration by @souvlakias in https://github.com/com-lihaoyi/mill/pull/6418 - Only delete the dest dir when it exists by @lefou in https://github.com/com-lihaoyi/mill/pull/6432
- Rebootstrap by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6445
- Fix synthetic
MillScriptMainclass collision inmill.script.ScalaModuleby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6447 - Properly propagate errors in upstream script
moduleDepsresolution by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6448 - Bump mainargs to 0.7.8 and make use of un-annotated
def maindetection by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6449 - Fix
./mill dist.run testby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6454 - Consolidate
ScalaModule#consoleintoScalaModule#replby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6455 - Add new task type
Task.Uncachedby @lefou in https://github.com/com-lihaoyi/mill/pull/6436 - Added improvements to existing mappings in
./mill initby @ajaychandran in https://github.com/com-lihaoyi/mill/pull/6434 - Allow un-prefixed dependencies in
--importby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6461 - Update zinc to 2.0.0-M10 (released for Scala 3) by @lefou in https://github.com/com-lihaoyi/mill/pull/5767
- Rebootstrap by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6463
- Fix CI by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6465
- Fix CI by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6468
- Change YAML path deserialization logic to default to relative paths and use
//to reference workspace root by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6469 - Rebootstrap and Doc Review by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6471
- Support proguard for java modules by @lemony312 in https://github.com/com-lihaoyi/mill/pull/6473
- Derive some more defaults from
--bspmode by @lefou in https://github.com/com-lihaoyi/mill/pull/6464 - Silence spurious warnings on newer JDK versions by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6475
- Disable
finishProjectCompilationto try and resolve intermittent crashes by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6476 - Scala 3.8.0-RC5 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6474
- Make
bspCleanwork by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6477 - Make
mill.scalalib.scalafmt.ScalafmtModule/default to/scalafmtby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6478 - Doc Review by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6479
- Doc: Update the mill --help output by @lefou in https://github.com/com-lihaoyi/mill/pull/6481
- CLI support for
.supertasks by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6482 - Add unit tests for java/scala error message formatting by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6484
- Improve zinc RPC error message by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6485
- Assign each each test a unique PORT environment variable to use by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6486
- Fix logging handling of scalafmt
\rseparators andESC[2Kclear-line ansi codes by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6487 - Improvements to terminal UI by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6490
- Build Mill graal native images in compat mode by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6491
- Make client-server lock use atomic file creation rather than native file locks by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6472
- Update CLI flag documentation by @lefou in https://github.com/com-lihaoyi/mill/pull/6494
- Avoid
String.stripMarginin code generator templates by @lefou in https://github.com/com-lihaoyi/mill/pull/6489 - Update zinc to 2.0.0-M11 by @lefou in https://github.com/com-lihaoyi/mill/pull/6497
- Add
updateMillScriptscommand to update the Mill bootstrap scripts by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6492 - VcsVersion: include staged files for dirtyness check by @lefou in https://github.com/com-lihaoyi/mill/pull/6498
- Streamline using Mill as sole source of Java installation by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6493
- Use
import foo.*rather thanimport foo._throughout Mill by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6502 - Update coursier to 2.1.25-M23 by @lefou in https://github.com/com-lihaoyi/mill/pull/6499
- Update upickle to 4.4.2 by @lefou in https://github.com/com-lihaoyi/mill/pull/6500
- Update asm to 9.9.1 by @lefou in https://github.com/com-lihaoyi/mill/pull/6501
- Make
PATHchecks case-insensitive by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6506 - Rebootstrap by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6505
- Add chrome profile for BSP by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6508
- Add ability to run
./mill pathbetween queries resolving multiplesrcanddesttasks by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6512 - Make BspEvaluator initialization only evaluate input tasks rather than all
resources/sourcestasks by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6513 - Change VcsVersion.vcsState to Task.Uncached by @lefou in https://github.com/com-lihaoyi/mill/pull/6495
updateMillScripts: Support user-provided install locations by @lefou in https://github.com/com-lihaoyi/mill/pull/6515- Optimize bsp-disabled-module computation by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6514
- Ensure
--bsp-installfollows the BSP out folder convention similar to--bspby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6517 - Try to fix hanging in scala.js unit tests by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6519
- Try to clean up
MillBuildServer.scalaby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6518 - Support selecting the deepest meta-build with
--meta-build -1by @lefou in https://github.com/com-lihaoyi/mill/pull/6516 - Some code cosmetics to make it more readable by @lefou in https://github.com/com-lihaoyi/mill/pull/6524
- Convert some Integration to Unit tests by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6526
- Android CI fix: Workaround for androidlib CI (shared->packaged) by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6527
- Move
.bsp/mill-bsp-outto.bsp/outby @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6525 - Add
resolvedMvnDepsSourcestask to simplify looking up source files by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6537 - Rebootstrap. by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6538
- Flesh out
Setting up Mill in CIpage by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6541 - Convert
./mill initto generate.mill.yamlformat, add!appendsupport by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6441 - Fix "Can't clean external worker" by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6559
- Make
shownot rely on cached.jsonfiles to allow proper handling of build overrides by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6558 - Repro mill init test failures by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6556
- GraalVM: Honor the reachability metadata override flags by excluding configs inside dependency artifacts by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6547
- Fix newer versions of error prone by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6561
- Android CI: Fix concurrent android sdk download by @vaslabs in https://github.com/com-lihaoyi/mill/pull/6551
- Bump requests-scala to 0.9.2 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6568
- Add shared BuildGen interface, add --declarative options for Maven and Gradle converters by @lefou in https://github.com/com-lihaoyi/mill/pull/6566
- Use pre-compiled
build.millstubs when abuild.millis not present by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6569 - Add explicit options for
initcommand and --projectDir support by @lefou in https://github.com/com-lihaoyi/mill/pull/6567 - Update scalafmt to 3.10.3 by @lefou in https://github.com/com-lihaoyi/mill/pull/6575
- Update sementicdb-scalac to 4.14.4 by @lefou in https://github.com/com-lihaoyi/mill/pull/6574
- Make declarative module deps resolved dynamically by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6570
- Update logback to 1.5.24 by @lefou in https://github.com/com-lihaoyi/mill/pull/6573
- Scala 3.8.0 Final by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6577
- Normalize dependency versions in golden tests to avoid need to updating tests every time we bump a version by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6578
- Rebootstrap in preparation for 1.1.0-RC4 by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6580
- Improve prompt completion/success/failure message by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6581
- Version selective invalidateaEnsure changes in
mill-versionormill-jvm-versiontrigger selective execution for all tasks by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6583 - Mill 1.1.0-RC4 Changelog by @lihaoyi in https://github.com/com-lihaoyi/mill/pull/6377
New Contributors
- @lostiniceland made their first contribution in https://github.com/com-lihaoyi/mill/pull/5747
- @lemony312 made their first contribution in https://github.com/com-lihaoyi/mill/pull/6473
Full Changelog: https://github.com/com-lihaoyi/mill/compare/1.1.0-RC3...1.1.0-RC4