Releases: com-lihaoyi/mill
Releases · com-lihaoyi/mill
1.0.0-RC3
Merged Pull Requests since 1.0.0-RC2
- Rebootstrap on 1.0.0-RC2 by @lihaoyi in #5293
- Move internal tasks into dedicated
GenIdeaInternalmodule by @lefou in #5289 - Avoid printing "Some()" and "null" in Server messages by @lolgab in #5207
- Tab complete nested modules and tasks when token is exact match for module by @lihaoyi in #5296
- Use
_mill1.0.0-RCxas mill suffix for release candidates by @lolgab in #5299 - Various cleanups by @lefou in #5303
- ScalaJS API cleanup by @lefou in #5304
- Tweak BSP JVM run / test environment handling by @alexarchambault in #5287
- Rebootstrap by @lihaoyi in #5306
- Update BSP test snapshots via MILL_TESTS_BSP_UPDATE_SNAPSHOTS env var by @arturaz in #5292
- Documentation Review by @lihaoyi in #5307
- Documentation Review by @lihaoyi in #5313
- Move
TestGraphsfromlibs.maintocore.definemodules by @lihaoyi in #5315 - Separate
.mill-jvm-versionfromdefault-jvm-versionby @lihaoyi in #5316 - Android/rework resources by @vaslabs in #5285
- Don't fail fast when evaluating tasks in BSP server by @alexarchambault in #5310
- Automatically reload BSP server upon meta-build change by @alexarchambault in #5305
- Move
VcsVersionandSubfolderModuleout ofmill.maininto its own module, re-enable forgotten tests by @lihaoyi in #5317 - Run some CI jobs with Java 24 by @lihaoyi in #4388
- Remove leftover
mill.main.Tasksalias by @lihaoyi in #5320 - Update to Scala 3.7.1 by @lihaoyi in #5321
- Try and simplify
./mill initcodegen by @lihaoyi in #5324 - Replace
Task.workspace/TaskCtx.workspacewithBuildCtx.workspaceRootby @lihaoyi in #5322 - Fix
Task.Sourcesoverride in./mill initby @lihaoyi in #5325 - Simplify configuration of java home by @lihaoyi in #5327
- Add tests for semanticdb generation in BSP server and make them work for build.mill by @alexarchambault in #5311
- Fix
./mill initcrasher on windows by @lihaoyi in #5330 - Make
RunModule#runBackgroundtake aTask[Args]rather thanString*by @lihaoyi in #5329 - Improve error message for command instantiation failure by @lihaoyi in #5331
- Remove leftover Kotlin multiplatform suffixes by @lihaoyi in #5328
- Replace Agg with Seq by @lefou in #5338
- Fix missing last char of log lines that exactly match terminal width by @lihaoyi in #5336
- Try to free up space on github actions workers. by @lihaoyi in #5342
- Add
--no-filesystem-checkerflag to globally disable filesystem read/write checks by @lihaoyi in #5278 - Clean up Mill CLI flags by @lihaoyi in #5343
- init: copy
.jvmoptsto.mill-jvm-optswhen converting a sbt project by @lefou in #5339 - Protect
moduleNestedCtxto prevent it from being imported byimport build._by @lihaoyi in #5346 - Convert
.mill-jvm-versionfrom a symlink to a normal file by @lihaoyi in #5347 - Fix multiple issues with
UnidocModuleby @arturaz in #5308 - Added support for Spotless formatter by @ajaychandran in #5064
- Readd the deprecated
ivystring interpolator and some fixes by @lefou in #5351 - Fix deprecation warning by @lefou in #5348
- BSP diagnostics fixes / tweaking by @alexarchambault in #5349
- Android compose samples: Jet Lagged by @vaslabs in #5341
- Ensure the coursier cache logger is properly initialized / stopped by @alexarchambault in #5361
- Update classgraph to 4.8.180 by @lefou in #5359
- Make bootstrap scripts more flexible with
//| mill-versionkey by @arturaz in #5354 - Add some logs & error reporting for (unsupported) publishing snapshots to Sonatype Central by @Gedochao in #5367
- Rebootstrap Mill by @lihaoyi in #5369
- Bump OS-Lib version by @lihaoyi in #5370
- Rebootstrap on top of OS-Lib upgrade by @lihaoyi in #5372
- Move launcher-specific cache files into
out/mill-launcher/folder to tidy upout/folder root by @lihaoyi in #5377 - Support command overloading in a binary compatible fashion by @lihaoyi in #5376
- Next attempt to fix
./mill initexample downloads by @lihaoyi in #5380 IntegrationTester.prepEvaland improvedWatchTestsby @arturaz in #5363- Split up unit
testandintegrationtest submodule inwriting-mill-pluginsexample by @lihaoyi in #5382 - Android tests included for jetlagged example by @vaslabs in #5362
- Privatization and cleanup pass by @lihaoyi in #5387
- Fix VcsVersion short hash collision in Mill website publishing by @lihaoyi in #5388
- Cleanup old
Targetterminology in favor ofTaskby @lihaoyi in #5391 - Read coursier env vars via Task.Input by @alexarchambault in #5350
- Android: Replace hardcoded versions with relevant versions from build info by @souvlakias in #5392
- Ignore
Operation not supportedwhen closing watch logs by @lihaoyi in #5400 - Make most example projects Scala 3.7.1 by default by @lihaoyi in #5401
- Revert "Read coursier env vars via Task.Input (#5350)" by @lihaoyi in #5404
- Rename
defaultCommandNametodefaultTaskby @lihaoyi in #5405 - Stableize various modules by @lihaoyi in #5406
- Combine
mill.defineandmill.apiinto samemill.apinamespace by @lihaoyi in #5407 - Android: add android libs to
dummyAndroidmodule for auto update by @souvlakias in #5399 - Move non-Scala-specific classes to the
mill.javalibpackage, leaving an alias inmill.scalalib, renamemill-libs-scalalibtomill-libs-jvmlibby @lihaoyi in #5411 - bump utest to 0.8.8 by @lihaoyi in #5414
- Use
import foo.*rather thanfoo._in examples and docs by @lihaoyi in #5412 - Simplify example test build definitions by @lihaoyi in #5415
- Use comma syntax for multiple inheritance in examples by @lihaoyi in #5417
- Bump utest to 0.8.8 in Mill's own build by @lihaoyi in #5418
- Rebootstrap by @lihaoyi in #5396
New Contributors
Full Changelog: 1.0.0-RC2...1.0.0-RC3
1.0.0-RC2
Merged Pull Requests since 1.0.0-RC1
- Rebootstrap on 1.0.0-RC1 by @lihaoyi in #5190
- Fix changelog milestone by @lefou in #5194
- Fix
./mill initunpack path by @lihaoyi in #5195 - Fix doc generation when there are no unstable releases by @lihaoyi in #5199
- Simplify local test override handling by @lihaoyi in #5196
- Cleanup by @lihaoyi in #5201
- Fix typo in scripts by @lefou in #5206
- Formatting corrections in sbt comparison page by @lefou in #5205
- Factor thread pool used to run tasks by @alexarchambault in #5198
- Rework MillBuildServer concurrency handling by @alexarchambault in #5200
- Fix: tests loading resources don't work in Intellij triggered tests with BSP import by @arturaz in #5202
- Android: Standardize the use of application id and namespace by @vaslabs in #5210
- Add integration test ensuring
-Dproperty passing works by @lihaoyi in #5212 - Add default value for
checkGradleModulesinresolveDependenciesby @lolgab in #5215 - Raise an error if we detect a
//|YAML header comment in an invalid place by @lihaoyi in #5213 - skip broken scalalib migrating tests on windows by @lihaoyi in #5218
- Fix
ClassNotFoundExceptionwhen testing Scala.js module on Scala 2.12 by @lihaoyi in #5226 - Fix grouped
-ihandling in bootstrap script by @lihaoyi in #5232 - Fix crash on empty yaml header line by @lihaoyi in #5233
- Clean up integration test override logic by @lihaoyi in #5234
- Remove the dependency on
BspClientTypein BSP functions by @arturaz in #5217 - Android: working android tests for architecture samples by @vaslabs in #5219
- Fix line numbers of files with yaml predefs by @lihaoyi in #5235
- Add explicit dependency on gson not to depend on an interval by @alexarchambault in #5243
- Android: Example with versions from boms (with compose-bom) by @vaslabs in #5247
- Fix intellij scalac settings by @hwielenberg in #5220
- Export upickle named tuples JSON formatter from
mill.define.JsonFormattersby @lefou in #5258 - Deprecate
mill.Targetfor removal by @lefou in #5257 - Refactor internal BSP tasks out of
JavaModuleApiby @lefou in #5214 - Factor
BspRunModuleApiout ofRunModuleApiby @lefou in #5261 - Add optional deps to the class path of their modules by @alexarchambault in #5246
- Move checkGradleModules parameter last, ensure it has a default value by @alexarchambault in #5266
- Extract
RefCountedClassLoaderCachefromJvmWorkerand use it in Scala.js/Scala-Native/kotlin workers by @lihaoyi in #5269 - Separate android manifest merger to avoid classpath conflicts by @vaslabs in #5259
- Exit client early if the daemon fails to start by @alexarchambault in #5267
- Install to both native and non-native paths in
installLocalCacheby @lihaoyi in #5272 - Improve error reporting for OS checker errors by @lihaoyi in #5273
- Don't send onBuildShowMessage upon simple compilation errors by @alexarchambault in #5275
- Improve
Task.{Source,Sources}API by @lefou in #5245 - Improve error message for discover parens checks by @lihaoyi in #5282
- Sort resolve output with modules first, then commands, then other tasks by @lihaoyi in #5283
- Add
bashandzshcompletions by @lihaoyi in #5279 - Fix:
bspBuildTargetCompileMergedfails when module has no classes by @arturaz in #5276 - Throw an exception in UnitTester instead of doing nothing silently when illegal argument combination is provided by @arturaz in #5288
- Export
MILL_TEST_RESOURCE_DIRto BSP project definitions by @arturaz in #5265 - Rebootstrap by @lihaoyi in #5291
Full Changelog: 1.0.0-RC1...1.0.0-RC2
1.0.0-RC1
Merged Pull Requests since 1.0.0-M1
- Rebootstrap on top of sonatype central published artifacts by @lihaoyi in #5109
- Don't unnecessarily force versions by @alexarchambault in #5069
- Add coursier jvm-index version to dummy dep list for updates by @alexarchambault in #5111
- Remove per-mill-version server dir by @lihaoyi in #5114
- Remove
PublishModule.publishSelfDependencyin favor ofartifactMetadataby @lefou in #5118 - Clean up
millandmill.batscripts, support downloading 0.12.12 and above from the.exeURL, add unit tests by @lihaoyi in #5124 - Update coursier jvm-index to 0.0.4-111-eb6e08 by @alexarchambault in #5122
- Android/cleanup dependency resolution workarounds by @vaslabs in #5098
- Broaden scope of
MillScalaParser.currentdynamic variable binding by @lihaoyi in #5127 - Add
sourcecode.EnclosingtoTask.Anon#toStringandsourcecode.Nameto BSPmill-active-commands by @lihaoyi in #5128 - Stream exit code over
ProxyStreams rather than writing to a file on disk by @lihaoyi in #5131 - Split launcher/daemon terminology from client/server by @lihaoyi in #5135
- Rebootstrap main branch by @lihaoyi in #5137
- Bump uPickle to 4.2.1, test namedtuple integration by @lihaoyi in #5139
- Consolidate build-global APIs in
mill.define.BuildCtxby @lihaoyi in #5142 - Rename
TestBaseModuletoTestRootModuleby @lihaoyi in #5143 - Fixes for
mill initexample zip version and urls by @lihaoyi in #5147 - Add latest unstable release to docsite by @lihaoyi in #5148
- Draft: Implement watching file paths via
oslib.watchby @arturaz in #5068 - Make
runBackgrounduse process IDs by @arturaz in #5115 - Fix NullPointerException when java home not provided by @lihaoyi in #5151
- Fix race condition in DoubleLocked#release by @alexarchambault in #5153
- Use named tuples in Tasks by @lefou in #5146
- Rebootstrap main branch by @lihaoyi in #5158
- Split
MillMainintoMillNoDaemonMainandMillMain0by @lihaoyi in #5162 - Renamed
mvnDepsTreetoshowMvnDepsTreeby @lefou in #5161 - Remove
T.*APIs by @lihaoyi in #5166 - More cleanup for
Task.scalaby @lihaoyi in #5168 Task.Cached->Task.Simpleby @lihaoyi in #5170- Fix internal names mangling in
mvnDepsTreeby @lefou in #5176 - Android/hilt unit tests by @vaslabs in #5169
- Prefix logging for BSP by @alexarchambault in #5180
- Bump OS-Lib by @lihaoyi in #5181
- Rebootstrap on top of OS-Lib upgrade by @lihaoyi in #5182
- Manually stop scalac timers by @alexarchambault in #5171
- Exclude coursier dependencies from compile time classpath by default by @lihaoyi in #5184
- Document
def repositoriestask as the preferred alternative todef repositoriesTaskby @lihaoyi in #5185 - Rebootstrap by @lihaoyi in #5187
- First pass at changelog for Mill 1.0.0-RC1 release by @lihaoyi in #4981
Full Changelog: 1.0.0-M1...1.0.0-RC1
0.12.14
0.12.13
Merged Pull Requests since 0.12.11
- Backports "Tweaks to landing page" by @lihaoyi in #5105
- Backport "Mill sonatype publishing doc" by @lihaoyi in #5107
- Put back sonatype contrib module in 0.12.x by @lihaoyi in #5119
- (Backport) Update
millandmill.batto download 0.12.12 and above from the.exeURL by @lihaoyi in #5123 - Deprecate
PublishModule.publishSelfDependencyby @lefou in #5117 - Fix classloading failure when rebootstrapping by @lihaoyi in #5136
- Rebootstrap 0.12.x branch on top of sonatype central changes by @lihaoyi in #5132
Full Changelog: 0.12.11...0.12.13
1.0.0-M1
Merged Pull Requests since 0.13.0-M2
- Minor changes by @lefou in #4855
- Add robustness around invalid
out/mill-java-homefile by @lihaoyi in #4857 - Re-enable pre-compilation and selective testing by @lihaoyi in #4856
- Propagate JAVA_OPTS to mill subprocess by @kiendang in #4846
- Make
-nativeversion of script default in Mill0.13.xand above, add-jvmsuffix to force JVM version by @lihaoyi in #4858 - Fix wildcard and type selector query bugs by @lihaoyi in #4861
- Remove TestModule.compile by @lefou in #4871
- [WIP] clean up BSP subsystem by @lihaoyi in #4873
- Generate scripts from templates by @lefou in #4867
- More cleanup for Mill BSP integration by @lihaoyi in #4876
- [WIP] avoid usage of
Task.Anonin Mill BSP server by @lihaoyi in #4877 - Fix typo. by @zhongl in #4878
- Use system calls to get terminal size on Linux / Mac by @alexarchambault in #4800
- Fix Junit5 compile classpath access by @lefou in #4880
- [WIP] Enforce classloader isolation between Mill launcher and different meta-levels of Mill builds by @lihaoyi in #4879
- Tighten classpath isolation by @lihaoyi in #4887
- Update the Kotlin compiler plugin setup in Arrow example build by @lefou in #4875
- Move
JavaModule#runBackgroundtoRunModuleand clean up bincompat forwarders by @lihaoyi in #4891 KotlinModulecleanup, better defaults for versions tasks by @lefou in #4890- Set user.language in scalalib tests on macOS and Windows… by @alexarchambault in #4748
- Make main.init.sbt.models[3.6.2].docJar more quiet by @alexarchambault in #4886
- Add TestModule#testLogLevel, make netty tests less verbose by @alexarchambault in #4884
- Initialize jline on all JVM versions by @alexarchambault in #4882
- Split out
mill.runner.metafrommill.runnerby @lihaoyi in #4896 - Implement prepareOffline for ClassgraphWorkerModule by @unlsycn in #4897
- Consolidate define/api/runner-api into just define/api by @lihaoyi in #4899
- Revised latest blog posts and page rendering by @lefou in #4898
- Fix typo in docs by @lefou in #4904
- Don't attempt to get the color of the empty string by @lefou in #4902
- Add integration test for
build.millclasspath by @lihaoyi in #4906 - Fix
dist.runstdout forwarding by @lihaoyi in #4909 - Privatize
mill.internal-specific BSP methods, remove unusedupickle.default.ReadWriter[BspServerResult]by @lihaoyi in #4912 - Use
os.Shellableto handle CLI parameter lists where appropriate by @lihaoyi in #4911 - More classpath/bsp/idea cleanup by @lihaoyi in #4916
- Fix some recurrent CI errors by @alexarchambault in #4907
- Add ability to define
PackageExternalModules that can be called via justpkg.path/rather thanpkg.path.ObjectName/by @lihaoyi in #4918 - Introduce a
--offlineoption and expose it viaTaskCtxby @lefou in #4914 - Rename
PackageDefaultExternalObjectto thepackageobjects by @lihaoyi in #4922 - Rename
ivyDepstomvnDepsby @lihaoyi in #4930 - fix android cmd-line tools on CI by @irodotos7 in #4934
- Fixes for BSP import by @lihaoyi in #4940
- Cleanup MillBuildServer by @lihaoyi in #4941
- Tweak CI version computation by @lihaoyi in #4942
- Change
prepareOfflineto return aSeq[PathRef]by @lefou in #4937 - Android: Hilt support with tranform ASM and todo external app sample build by @vaslabs in #4759
- Rebootstrap on latest 0.13.x by @lihaoyi in #4943
- Inline
mill-bsp-workerclasspath intomill-runnerclasspath by @lihaoyi in #4948 - Consolidate
build.millclasspath undermill-mainartifact by @lihaoyi in #4949 - Fix color prompt logging for broken log lines by @lihaoyi in #4950
- Update readme.adoc by @jackhclee in #4952
- Android: Separate androidlib by @vaslabs in #4947
- Move
ScalaFmtinto its own classloader by @lihaoyi in #4954 - Remove obsolete
compiletask by @lefou in #4888 - Tighten up
mill-runner-metadependencies by @lihaoyi in #4955 - Fix
mainbuild and CI by @lihaoyi in #4958 - Add
Task.failAPI to conveniently fail a task by @lefou in #4964 - Update scoverage to 2.3.0 by @lefou in #4961
- Update scalafmt-dynamic to 3.9.4 by @lefou in #4960
- Update Kotlin to 2.1.20 by @lefou in #4963
- Fix typos and minor improvements to Workers section by @lefou in #4966
- Consolidate Mill runtime libraries under
libs/subfolder by @lihaoyi in #4967 - Use
Task.offlinein dependency download examples by @lefou in #4972 - Fixup snippet rendering by @lefou in #4973
- Fix typos and minor details in installation page by @lefou in #4975
- Simplify Classgraph worker loading by @lefou in #4965
- Add helpers to debug flaky tests, that might have fixed them by @alexarchambault in #4944
- Rename source file of JvmWorkerImpl by @lefou in #4976
- Manage test framework dependencies in
TestModuletraits by @lefou in #4968 - Work around transient error on Windows by @alexarchambault in #4956
- Use R8 optimization tool in Android modules by @irodotos7 in #4892
- fix the screenshot tests problem by @irodotos7 in #4979
- Add a YAML header comment syntax for configuration of
.mill-files,import $ivy,mill-versionby @lihaoyi in #4969 - Fix: Added missing script files by @lefou in #4982
- Update Scala from 3.6.2 to 3.6.4 by @lefou in #4671
- Update asm-tree to 9.8 by @lefou in #4962
- Update semanticdb-scalac to 4.13.4 by @lefou in #4959
- Fail on missing interpolatable variables by @lefou in #4983
- try to fix docs CI by @lihaoyi in #4987
- Parse YAML frontmatter only from file head by @lefou in #4986
- Fix documentation still using outdated dependency imports by @lefou in #4994
- Make BSP/install only create the .bsp/mill-bsp.json file by @alexarchambault in #4881
- More documentation review and corrections with focus on dependencies by @lefou in #4997
- Added module docs for selective execution by @lefou in #4616
- Properly watch testkit sources by @lefou in #4999
- Cleanup imports, compile warnings and other minor refactoring by @lefou in #5000
- Re-add test-cases for version reader by @lefou in #5001
- Copy GraalVM under shorter path on Windows CI by @alexarchambault in #4917
- More careful stream handling when starting BSP server by @alexarchambault in #4980
- Android/cleanup app release install by @vaslabs in #4996
- Remove requirement to
extends RootModuleby @lihaoyi in #5008 - Revert "Copy GraalVM under shorter pa...
0.12.11
Merged Pull Requests since 0.12.10
- Mill 0.13 Compat: Add
JvmWorkerApi,JvmWorkerUtilandJvmWorkerModuleby @lefou in #4838 - Mill 0.13 Compat: Add
Logger.streamsby @lefou in #4840 - Mill 0.13 Compat: Add
Module.{moduleDir,moduleInternal,moduleSegments}by @lefou in #4843 - Backport "Fix wildcard and type selector query bugs" by @lihaoyi in #4862
- Avoid spurious deprecation message when using non-deprecated API by @lefou in #4860
- Backport JS and Python lib improvements from main to 0.12.x by @lihaoyi in #4893
- Don't attempt to get the color of the empty string (backport #4902) by @lefou in #4905
- Backport "Add ability to define
PackageExternalModules that can be called via justpkg.path/rather thanpkg.path.ObjectName/" by @lihaoyi in #4920 - (Backport) Rename
PackageDefaultExternalObjectto thepackageobjects by @lihaoyi in #4923 - Update Windows installation instructions and a PowerShell warning by @lefou in #4974
- Mill 1.0 compat: Add
mvnstring interpolator forivydependencies by @lefou in #5005 - Fix selective execution when multiple changes are made to one module under --watch by @arturaz in #5032
- Fix: UnidocModule does not allow customization of Scala compiler flags, e.g.
-Xsource:3by @arturaz in #5035 - fix: Use root qualifier in Discover macro by @ghostbuster91 in #5055
- Docs update backport by @lihaoyi in #5100
New Contributors
- @ghostbuster91 made their first contribution in #5055
Full Changelog: 0.12.10...0.12.11
0.13.0-M2
Merged Pull Requests since 0.13.0-M1
- Minor changes by @lefou in #4855
- Add robustness around invalid
out/mill-java-homefile by @lihaoyi in #4857 - Re-enable pre-compilation and selective testing by @lihaoyi in #4856
- Propagate JAVA_OPTS to mill subprocess by @kiendang in #4846
- Make
-nativeversion of script default in Mill0.13.xand above, add-jvmsuffix to force JVM version by @lihaoyi in #4858 - Fix wildcard and type selector query bugs by @lihaoyi in #4861
- Remove TestModule.compile by @lefou in #4871
- [WIP] clean up BSP subsystem by @lihaoyi in #4873
- Generate scripts from templates by @lefou in #4867
- More cleanup for Mill BSP integration by @lihaoyi in #4876
- [WIP] avoid usage of
Task.Anonin Mill BSP server by @lihaoyi in #4877 - Fix typo. by @zhongl in #4878
- Use system calls to get terminal size on Linux / Mac by @alexarchambault in #4800
- Fix Junit5 compile classpath access by @lefou in #4880
- [WIP] Enforce classloader isolation between Mill launcher and different meta-levels of Mill builds by @lihaoyi in #4879
- Tighten classpath isolation by @lihaoyi in #4887
- Update the Kotlin compiler plugin setup in Arrow example build by @lefou in #4875
- Move
JavaModule#runBackgroundtoRunModuleand clean up bincompat forwarders by @lihaoyi in #4891 KotlinModulecleanup, better defaults for versions tasks by @lefou in #4890- Set user.language in scalalib tests on macOS and Windows… by @alexarchambault in #4748
- Make main.init.sbt.models[3.6.2].docJar more quiet by @alexarchambault in #4886
- Add TestModule#testLogLevel, make netty tests less verbose by @alexarchambault in #4884
- Initialize jline on all JVM versions by @alexarchambault in #4882
- Split out
mill.runner.metafrommill.runnerby @lihaoyi in #4896 - Implement prepareOffline for ClassgraphWorkerModule by @unlsycn in #4897
- Consolidate define/api/runner-api into just define/api by @lihaoyi in #4899
- Revised latest blog posts and page rendering by @lefou in #4898
- Fix typo in docs by @lefou in #4904
- Don't attempt to get the color of the empty string by @lefou in #4902
- Add integration test for
build.millclasspath by @lihaoyi in #4906 - Fix
dist.runstdout forwarding by @lihaoyi in #4909 - Privatize
mill.internal-specific BSP methods, remove unusedupickle.default.ReadWriter[BspServerResult]by @lihaoyi in #4912 - Use
os.Shellableto handle CLI parameter lists where appropriate by @lihaoyi in #4911 - More classpath/bsp/idea cleanup by @lihaoyi in #4916
- Fix some recurrent CI errors by @alexarchambault in #4907
- Add ability to define
PackageExternalModules that can be called via justpkg.path/rather thanpkg.path.ObjectName/by @lihaoyi in #4918 - Introduce a
--offlineoption and expose it viaTaskCtxby @lefou in #4914 - Rename
PackageDefaultExternalObjectto thepackageobjects by @lihaoyi in #4922 - Rename
ivyDepstomvnDepsby @lihaoyi in #4930 - fix android cmd-line tools on CI by @irodotos7 in #4934
- Fixes for BSP import by @lihaoyi in #4940
- Cleanup MillBuildServer by @lihaoyi in #4941
- Tweak CI version computation by @lihaoyi in #4942
- Change
prepareOfflineto return aSeq[PathRef]by @lefou in #4937 - Android: Hilt support with tranform ASM and todo external app sample build by @vaslabs in #4759
- Rebootstrap on latest 0.13.x by @lihaoyi in #4943
- Inline
mill-bsp-workerclasspath intomill-runnerclasspath by @lihaoyi in #4948 - Consolidate
build.millclasspath undermill-mainartifact by @lihaoyi in #4949 - Fix color prompt logging for broken log lines by @lihaoyi in #4950
- Update readme.adoc by @jackhclee in #4952
- Android: Separate androidlib by @vaslabs in #4947
- Move
ScalaFmtinto its own classloader by @lihaoyi in #4954 - Remove obsolete
compiletask by @lefou in #4888 - Tighten up
mill-runner-metadependencies by @lihaoyi in #4955 - Fix
mainbuild and CI by @lihaoyi in #4958 - Add
Task.failAPI to conveniently fail a task by @lefou in #4964 - Update scoverage to 2.3.0 by @lefou in #4961
- Update scalafmt-dynamic to 3.9.4 by @lefou in #4960
- Update Kotlin to 2.1.20 by @lefou in #4963
- Fix typos and minor improvements to Workers section by @lefou in #4966
- Consolidate Mill runtime libraries under
libs/subfolder by @lihaoyi in #4967 - Use
Task.offlinein dependency download examples by @lefou in #4972 - Fixup snippet rendering by @lefou in #4973
- Fix typos and minor details in installation page by @lefou in #4975
- Simplify Classgraph worker loading by @lefou in #4965
- Add helpers to debug flaky tests, that might have fixed them by @alexarchambault in #4944
- Rename source file of JvmWorkerImpl by @lefou in #4976
- Manage test framework dependencies in
TestModuletraits by @lefou in #4968 - Work around transient error on Windows by @alexarchambault in #4956
- Use R8 optimization tool in Android modules by @irodotos7 in #4892
- fix the screenshot tests problem by @irodotos7 in #4979
- Add a YAML header comment syntax for configuration of
.mill-files,import $ivy,mill-versionby @lihaoyi in #4969
New Contributors
- @kiendang made their first contribution in #4846
- @zhongl made their first contribution in #4878
- @unlsycn made their first contribution in #4897
- @jackhclee made their first contribution in #4952
Full Changelog: 0.13.0-M1...0.13.0-M2
0.13.0-M1
Merged Pull Requests since 0.12.10
- build.mill files compiled by Scala 3 by @bishabosha in #3369
- Bump uPickle to 4.1.0 by @lihaoyi in #3280
- Fix
transitiveCoursierProjectscause OOM on large build (#4452) by @lihaoyi in #4454 - Clean up Discover macro and codegen by @lihaoyi in #4461
- Reduce size of generated code in Discover macro by @lihaoyi in #4463
- stabilize
example/pythonlib/testing/2-test-depsby @lihaoyi in #4466 - Add lewisjkl/header to third party plugins by @lewisjkl in #4467
- Move task override tracking from planning time to instantiation time by @lihaoyi in #4181
- Replace
import $filesyntax with flat package namespacing by @lihaoyi in #4462 - Cleanup base module by @lihaoyi in #4470
- Cleanup terminal handling by @lihaoyi in #4477
- More breaking up of TestGraphs by @lihaoyi in #4478
- Write a doc example on multi-language Mill projects by @monyedavid in #4476
- Allow
Task.Source/Task.Sourcesto be constructed directly from subpath string literals by @lihaoyi in #4486 - Get rid of
mill.eval.Terminaland inline underlying tasks by @lihaoyi in #4488 - fix docs by @monyedavid in #4493
- Cleanup deprecated by @lihaoyi in #4499
- Add file count to
PalantirFormatModuleoutput by @lefou in #4495 - Consolidate jvm subprocess and inprocess functions by @sake92 in #4456
- More cleanup by @lihaoyi in #4500
- Introduce
mill.internalpackage to hold Mill utility classes not intended for public use by @lihaoyi in #4507 - Split out
core/folder frommain/by @lihaoyi in #4509 - Consolidate
blog/anddocs/underwebsite/folder by @lihaoyi in #4510 - Run
-rewrite -source 3.6-migration, enable Scalafix in tests by @lihaoyi in #4512 - Enable fatal warnings by @lihaoyi in #4515
- First pass at cleaning up
EvaluatorandRunScriptby @lihaoyi in #4516 - Remove dependency from
defineoninternalby @lihaoyi in #4517 - Cleanup
mill.define.Moduleandmill.define.Ctxby @lihaoyi in #4518 - Add Scala Spark example doc page by @monyedavid in #4513
- Cleanup by @lihaoyi in #4521
- Remove
Aggin favor ofSeqby @lihaoyi in #4525 - Fix launch time regression in Scala 3 upgrade by @lihaoyi in #4526
- Split out
ResultandExecResulttypes, replaceEither[String, T]withResultby @lihaoyi in #4528 - Cleanup
Evaluatorpublic API by @lihaoyi in #4529 - Tweak retries to try and fix flakiness by @lihaoyi in #4531
- Explicitly set locale in scalalib tests to
LC_ALL=C.utf8by @lefou in #4535 - CI: Limit the dependency trees to essential modules by @lefou in #4537
- Review and fix AsciiDoc issues by @lefou in #4539
- Android/fix android paths by @vaslabs in #4540
- Avoid
.stripMarginwhen rendering documentation from example modules by @lefou in #4544 - Apply bin-compat breaking suggestions in PublishModule by @lolgab in #4523
- Fix doc publishing by @lihaoyi in #4548
- Blog Post: What is a Build Tool and what does it do? by @lihaoyi in #4538
- Clean up
Task.scalaby @lihaoyi in #4549 - feat: support test case selection in TestNG framework by @kasiaMarek in #4506
- Simplify Task Macro Code Generation, Execution tests by @lihaoyi in #4551
- Simplify Applicative.scala by @lihaoyi in #4554
- More cleanup by @lihaoyi in #4555
- Avoid hardcoded version in PalantirFormatModule by @lefou in #4552
- Avoid hardcoded version of revApi dependency by @lefou in #4553
- Use adoc syntax to mark graphviz blocks in examples by @lefou in #4543
- Update bootstap patch file by @lefou in #4562
- Separate
resolvedRunIvyDepsandtransitiveLocalClasspathinto two stages when build assembly jar by @lihaoyi in #4565 - Add option to use the embeddable compiler in
KotlinModuleby @vaslabs in #4557 - Add scaladoc to AssemblyModule.scala by @lihaoyi in #4567
- Cleanup Kotlin tests by @lefou in #4568
- Forward port "Fix hang on
mill.integration.invalidation[selective-execution]" by @lihaoyi in #4572 - Website: Bump documented version from 0.12.7 to 0.12.8 by @lefou in #4573
- Blog Post: Fast JVM Assembly Jars Creation with the Mill Build Tool by @lihaoyi in #4558
- Kotlin KSP support with basic dependency injection example using Dagger by @vaslabs in #4485
- Bump OS-Lib to 0.11.4 final by @lihaoyi in #4569
- Rework millEmbeddedDeps stuff by @alexarchambault in #4546
- Fix Scaladoc capture on
RootModules by @lihaoyi in #4576 - Rebootstrap on 0.12.8 by @lihaoyi in #4570
- Optimize startup time by skipping
CoursierClientand avoidingList#applylookups by @lihaoyi in #4580 - Rename
TestModule#testtotestForkedby @lihaoyi in #4577 - Avoid inheriting stderr in
SelectiveExecutionTests.scalato prevent flakiness from leaked processes by @lihaoyi in #4581 - Make
--no-servermode also terminate on removal ofprocessIdfile, use it in integration test cleanup by @lihaoyi in #4587 - Ignore
-nativesuffix on Windows-ARM and fall back to JVM by @lihaoyi in #4589 - feat: RootModule and Cross can be applied to the same module by @jbwheatley in #4593
- More cleanups for
EvaluatorAPI by @lihaoyi in #4594 - Break out separate
Caching in MillandParallelism in Millpages by @lihaoyi in #4604 - More documentation improvements for Mill parallelism and caching by @lihaoyi in #4605
- [ISSUE-2981] Fix
semanticdbDatafor mixed scala/java projects by @Baccata in #4599 - Improve performances of
Bloop/installby @Baccata in #4600 - Change millBinPlatform to 0.13 by @joan38 in #4607
- Restrict sources and inputs to not accept upstream tasks by @lihaoyi in #4524
- Fix typo in
Task.Sourceby @lolgab in #4613 - Provide default JVM version to be used by Mill server process, when
.mill-jvm-versionand systemjavaare not provided by @lihaoyi in #4597 - Move
TestModule.*dependencies tomandatoryIvyDepsby @lihaoyi in #3279 - Bump actions/upload-artifact from 4.6.0 to 4.6.1 by @dependabot in #4619
- Android/publishing aar by @irodotos7 in #4583
- Java code review by @lefou in #4502
- Rename
methodCodeHashSignaturestocodeSignaturesby @lihaoyi in #4620 - Update coursier to 2.1.25-M2 (adds early Gradle Module support) by @alexarchambault in #4591
- Fix cross-file references between helper files by @lihaoyi in #4622
- [WIP] Make
Evaluatoronly available toTask.Command(exclusive = true)by @lihaoyi in #3717 - Break the dependency between repositoriesTask and ivyDeps by @alexarchambault in #4465
- Update Scaladocs for NativeImage...
0.12.10
Merged Pull Requests
- Backport Fix main class discovery in scala 3 by @lihaoyi in #4761
- Backport "Add failed tasks count to Mill's progress indicator" by @lihaoyi in #4764
- Test runner indicators backport by @HollandDM in #4756
- Fix potential ArrayIndexOutOfBoundsException (backport #4769) by @lefou in #4770
- Backport "Clean up mill comparison docs" by @lihaoyi in #4774
- Add Kotlin support for BuildInfo module (backport #4771) by @lefou in #4780
- Less confusing error message (backport #4789) by @lefou in #4791
- Prefer
defaultResolver().classpathoverLib.resolveDependencies(backport #4727) by @alexarchambault in #4784 - Use a
-nativesuffix when installing a native image into the local cache (backport #4808) by @lefou in #4809 - Backport Set
WebApp.scalashutdown timeout to zero by @lihaoyi in #4804 - Add Mill 0.13 forward compatibility:
mill.util.JarManifestby @lefou in #4806 - Backport "Fix uTest test task creation for multi-test-class test modules" by @lihaoyi in #4812
- Backport "Fix main class discovery for
KotlinModule" by @lihaoyi in #4803 - Backport "Debug SBT migration test failure" by @lihaoyi in #4818
- Backport "Minor improvements to native distribution size" by @lihaoyi in #4829
- Add
Dep.millProjectModuleto refer to mill project modules (backport #4790) by @lefou in #4830 - Add Mill 0.13 forward compatibility:
mill.define.SelectModeby @lefou in #4805 - First-class support for Kotlin compiler plugins (backport #4779) by @lefou in #4782
- Find main classes with ClassGraph (backport #4822) by @lefou in #4832
Full Changelog: 0.12.9...0.12.10