Release notes
+v1.2.2
+Fixed the Fatal invariant violated
false-positive error coming from Bloop
+This small update fixes the Fatal invariant violated
error (#2829).
+The error was being thrown by Bloop when running Scala CLI repeatedly with the same sources.
Enhancements
+ +Updates and maintenance
+-
+
- Update scala-cli.sh launcher for 1.2.1 by @github-actions in #2828 +
- Update
org.scalameta:trees_2.13
to 4.9.3 by @scala-steward in #2831
+ - Update ammonite to 3.0.0-M1-10-105f9e32 by @scala-steward in #2844 +
- Bump
bloop-core
to 1.5.16-sc-2 by @Gedochao in #2837
+
What's Changed
+Full Changelog: https://github.com/VirtusLab/scala-cli/compare/v1.2.1...v1.2.2
v1.2.1
Support for Scala 3.4.1
This Scala CLI version adds support for Scala 3.4.1.
@@ -28,7 +46,7 @@FixesFix publishing of runner & test-runner artifacts by @Gedochao in #2819
Enhancements
+Enhancements
@@ -41,7 +59,7 @@Docume
Updates and maintenance
+Updates and maintenance
- Update scala-cli.sh launcher for 1.2.0 by @github-actions in #2783
- Update core_2.13 to 3.9.4 by @scala-steward in #2787 @@ -86,7 +104,7 @@
- Make sure tasty-lib doesn't warn about Scala 3 Next by @Gedochao in #2775
Fixes@philwalk in #2749
Enhancements
+Enhancements
@@ -105,7 +123,7 @@Docu
Updates and maintenance
+Updates and maintenance
- Update scala-cli.sh launcher for 1.1.3 by @github-actions in #2734
- Bump webfactory/ssh-agent from 0.8.0 to 0.9.0 by @dependabot in #2731 @@ -161,7 +179,7 @@
- Added info about repl with toolkit by @yadavan88 in #2721
- Back port of documentation changes to main by @github-actions in #2723
Docu
Updates and maintenance
+Updates and maintenance
- Update scala-cli.sh launcher for 1.1.2 by @github-actions in #2688
- Update bsp4j to 2.1.1 by @scala-steward in #2700 @@ -195,7 +213,7 @@
- Update release procedure steps for
v1.1.x
by @Gedochao in #2665 - Tag
GitHubTests.create secret
as flaky on all Mac tests (including M1) by @Gedochao in #2677
B
Updates and maintenance
+Updates and maintenance
- Update scala-cli.sh launcher for 1.1.1 by @github-actions in #2662
- Bump libsodiumjni to 0.0.4 by @MaciejG604 in #2651 @@ -218,7 +236,7 @@
scala-cli version
# Scala CLI version: 1.1.1
# Scala version (default): 3.3.1
scala-cli run -h|grep toolkit
# --toolkit, --with-toolkit version|default Add toolkit to classPath (not supported in Scala 2.12), 'default' version for Scala toolkit: 0.2.1, 'default' version for typelevel toolkit: 0.1.20
scala-cli version
# Scala CLI version: 1.1.1
# Scala version (default): 3.3.1
scala-cli run -h|grep toolkit
# --toolkit, --with-toolkit version|default Add toolkit to classPath (not supported in Scala 2.12), 'default' version for Scala toolkit: 0.2.1, 'default' version for typelevel toolkit: 0.1.20
Added by @MaciejG604 in #2622
-Enhancements
+Enhancements
- Remove semantics Compliant for asInstaceOf by @MaciejG604 in #2614
- Scala js mode validation by @MaciejG604 in #2630 @@ -257,7 +275,7 @@
- Revert xcode version downgrade by @MaciejG604 in #2650
Downgrade Xcode on macos CI runners by @MaciejG604 in #2632
Updates and maintenance
+Updates and maintenance
- Update scala-cli.sh launcher for 1.1.0 by @github-actions in #2594
- Update org.eclipse.jgit to 6.8.0.202311291450-r by @scala-steward in #2613 @@ -302,7 +320,7 @@
- Chore/group warnings about directives in multiple files by @MaciejG604 in #2550
- Migrate to Docusaurus v3, add local search plugin by @MaciejG604 in #2590
UX improveme
Enhancements
+Enhancements
- Default to publish repository configured for local machine when inferring publish.ci.repository by @MaciejG604 in #2571
- Skip validation for default Scala versions, add build test by @MaciejG604 in #2576 @@ -337,7 +355,7 @@
- Add env for configuring home directory overriding by @MaciejG604 in #2587
Bump MacOS CI to macOS-13
by @Gedochao in #2579
Updates and maintenance
+Updates and maintenance
- Update trees_2.13 to 4.8.13 by @scala-steward in #2532
- Update scala-cli.sh launcher for 1.0.6 by @github-actions in #2542 @@ -387,7 +405,7 @@
- Add regexes for release-notes github reference swapping by @MaciejG604 in #2519
Fix wonky native MacOS CI on stable
branch by @Gedochao in #2518
Updates and maintenance
+Updates and maintenance
- Update scalafmt-cli_2.13, scalafmt-core to 3.7.15 by @scala-steward in #2498
- Switch
lightweight-spark-distrib
to the VL fork & bump to0.0.5
by @Gedochao in #2503
@@ -441,7 +459,7 @@ - Accumulate exp warnings with logger by @MaciejG604 in #2376
- Remove ComputeVersion.Command, make ComputeVersion classes positioned by @MaciejG604 in #2350 @@ -488,7 +506,7 @@
- NIT: Refactor: Rely on global --power option where able in cli commands by @Gedochao in #2480
- Update scala-cli.sh launcher for 1.0.4 by @github-actions in #2344
- Update bloop-rifle_2.13 to 1.5.9-sc-2 by @lwronski in #2345 @@ -603,7 +621,7 @@
- feat: use the new ScalaAction from BSP4J by @ckipp01 in #2284
- Update scalafmt-cli_2.13, scalafmt-core to 3.7.12 by @lwronski in #2335
- Update trees_2.13 to 4.8.7 by @scala-steward in #2329 @@ -649,7 +667,7 @@
Print
scala-cli compile .
# Compiling project (Scala 3.3.1, JVM (17))
# Compiled project (Scala 3.3.1, JVM (17))
scala-cli compile . --js
# Compiling project (Scala 3.3.1, Scala.js 1.13.2)
# Compiled project (Scala 3.3.1, Scala.js 1.13.2)
scala-cli compile . --native
# Compiling project (Scala 3.3.1, Scala Native 0.4.16)
# Compiled project (Scala 3.3.1, Scala Native 0.4.16)
scala-cli compile .
# Compiling project (Scala 3.3.1, JVM (17))
# Compiled project (Scala 3.3.1, JVM (17))
scala-cli compile . --js
# Compiling project (Scala 3.3.1, Scala.js 1.13.2)
# Compiled project (Scala 3.3.1, Scala.js 1.13.2)
scala-cli compile . --native
# Compiling project (Scala 3.3.1, Scala Native 0.4.16)
# Compiled project (Scala 3.3.1, Scala Native 0.4.16)
Other changes
-Enhancements
+Enhancements
Allow to override internal & user default Scala versions for mill
builds by @Gedochao in #2461
Updates and maintenance
+Updates and maintenance
Resolve semanticDB for older scala version by @lwronski in #2318
Updates and maintenance
+Updates and maintenance
scala-cli --power new VirtusLab/scala-cli.g8
scala-cli --power new VirtusLab/scala-cli.g8