v3.9.0
·
23 commits
to refs/heads/main
since this release
Features
Introduces support for Scala.js, includes some re-design for consistent cross-platform behaviour, such as asynchronous processing (I/O, Futures) etc.
- PlatformFileOps: read/write files asynchronously (#4822) @kitbellew
- SBT: add JSPlatform to cli (#4816) @kitbellew
- SBT: add JSPlatform to tests (#4817) @kitbellew
- SBT: add JSPlatform to core (#4815) @kitbellew
- SBT: add JSPlatform to config (#4814) @kitbellew
- SBT: add JSPlatform to sysops (#4812) @kitbellew
- ScalafmtRunner, InputMethod: run asynchronously (#4809) @kitbellew
- Use PlatformFileOps instead of nio Files (#4808) @kitbellew
- Use platform-agnostic exception classes (#4807) @kitbellew
- PlatformRunOps: define exit() instead of sys.exit (#4805) @kitbellew
- TermDisplay: use platform-agnostic polling (#4804) @kitbellew
- SBT: add JSPlatform to macros (#4801) @kitbellew
- sysops: refactor platform-specific code (#4800) @kitbellew
- interfaces: add JSPlatform implementation (#4799) @kitbellew
- FormatWriter: don't use Patern.splitAsIterator (#4792) @kitbellew
- FileOps: keep only readFile(Path) (#4790) @kitbellew
- PlatformCompat: inline
prepareCommand
(#4787) @kitbellew - PlatformCompat: inline
fixPathOnNativeWindows
(#4786) @kitbellew - PlatformCompat: inline
relativize
(#4785) @kitbellew - PlatformCompat: remove
()
inisNativeOnWindows
(#4784) @kitbellew - OsSpecific: remove implicits, use methods directly (#4756) @kitbellew
- ScalafmtRunner: use Future, not
.par
(#4743) @kitbellew - CommunitySuite: use Future instead of
.par
(#4747) @kitbellew - ScalafmtCliReporter: refactor error, exit handling (#4745) @kitbellew
Bug fixes
- Router: use only possible split if
( comment NL
(#4782) @kitbellew - RedundantBraces: fix removing blocks (#4783) @kitbellew
- Consistent formatting on Unix and Windows
- FormatTests: always test windows lineEndings, too (#4781) @kitbellew
- RegexCompat: fix docstring patterns for
\r
(#4777) @kitbellew - FormatWriter: revise SLC formatting (#4779) @kitbellew
- State: expand space check to include non-breaking (#4780) @kitbellew
- FormatWriter: define string slice append method (#4778) @kitbellew
- RegexCompat: fix leading-asterisk pattern for
\r
(#4776) @kitbellew - RegexCompat: revise splitByBeforeTextMatching (#4775) @kitbellew
- RegexCompat: fix comment patterns for
\r
(#4774) @kitbellew - RegexCompat: fix strip margin patterns for
\r
(#4773) @kitbellew - RegexCompat: remove unused patterns (#4772) @kitbellew
- RegexCompat[native]: add method to compile pattern (#4771) @kitbellew
- Markdown: handle LineEndings.windows correctly (#4768) @kitbellew
- Imports: handle LineEndings.windows correctly (#4770) @kitbellew
- State: exclude trailing space/CR from column width (#4769) @kitbellew
- Add tests with line under/overflow for strings (#4767) @kitbellew
- RegexCompat: no need to inline
vals
(#4766) @kitbellew
Miscellaneous
- Configuration: document how imports sorting works (#4796) @kitbellew
- FileOps: inline getFileMatcher in dynamic (#4794) @kitbellew
- FileOps: remove unused methods (#4793) @kitbellew
- FormatAssertions: use StringBuilder explicitly (#4791) @kitbellew
- FormatTests: use DiffOptions to avoid ANSI (#4765) @kitbellew
- CliTest: use munit.Location, assertContains (#4746) @kitbellew
Build and dependency updates
- Scalameta: upgrade to v4.13.1 (#4821) @kitbellew
- Update jline to 3.29.0 (#4819) @scalameta-bot
- Update sbt-native-packager to 1.11.1 (#4818) @scalameta-bot
- Upgrade metaconfig to v0.15.0, mdoc to v2.6.4 (#4813) @kitbellew
- Scalameta: upgrade to v4.13.0 (#4811) @kitbellew
- Coursier: upgrade to 2.1.24, interfaces to 1.0.28 (#4806) @kitbellew
- SBT: cosmetic, refactor scalameta dependencies (#4798) @kitbellew
- SBT: add methods to check if scala 2.12 or 2.13 (#4797) @kitbellew
- Use parallel-collections in 2.13 scala native (#4789) @jchyb
- mdoc: upgrade to v2.6.3 (#4788) @kitbellew
- CI: enable
dockerize
on release (#4762) @kitbellew - CI: run
scala-native
only on release (#4763) @kitbellew - fix: Add back removed script to allow scalafmt action to work (#4760) @tgodzik
- Cli: use varargs, remove unused methods (#4757) @kitbellew
- SBT: build community tests for JVM and Native (#4748) @kitbellew
- refactor: Use Scala Native instead of native image (#4738) @tgodzik
- Update sbt-scalafmt to 2.5.4 (#4754) @scalameta-bot
- Update scala-parallel-collections to 1.2.0 (#4753) @scalameta-bot
- Update sbt-scalajs to 1.18.2 (#4752) @scalameta-bot
- Update interface to 1.0.27 (#4751) @scalameta-bot
- Update sbt-native-packager to 1.11.0 (#4750) @scalameta-bot
- Update sbt-assembly to 2.3.1 (#4749) @scalameta-bot
- Workflow: add native tests to jvm as a matrix (#4742) @kitbellew
- SBT: refactor tests, move those for cli and sysops (#4740) @kitbellew
- SBT: don't build dynamic for NativePlatform (#4741) @kitbellew
- SBT: refactor tests, move those for cli and sysops (#4739) @kitbellew
- Formatting: upgrade to v3.8.6 (#4737) @kitbellew