Releases: scalameta/sbt-scalafmt
Releases · scalameta/sbt-scalafmt
v2.6.0
Features
- Implement scalafmt-dynamic downloader using sbt, upgrade to v3.11.0 (#437) @kitbellew
- sbt: upgrade dependency to v1.12.9/v2.0.0-RC11 (#436) @kitbellew
- SBT: use only one scala 3 and one sbt 2 versions (#435) @kitbellew
Bug fixes
Miscellaneous
- ScalafmtPlugin: use Ordering.Implicits for Seq (#438) @kitbellew
Build and dependency updates
- YML: build using JDK 17 and above (#434) @kitbellew
- SBT: upgrade sbt-2.0.0-RC10 and scala 3.8.3 (#422) @kitbellew
- Bump release-drafter/release-drafter from 6 to 7 (#432) @dependabot[bot]
- Update sbt, scripted-plugin to 1.12.5 (#431) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.4 (#430) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.3 (#427) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.10.7 (#426) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.2 (#425) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.10.6 (#424) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.1 (#423) @scalameta-bot
- scalafmt: upgrade to v3.10.5 (#421) @kitbellew
- Update scalafmt-core, scalafmt-dynamic, ... to 3.10.4 (#419) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.0 (#418) @scalameta-bot
- SBT:
CIis an env var, not a property (#417) @kitbellew - Update scalafmt-core, scalafmt-dynamic, ... to 3.10.3 (#416) @scalameta-bot
- Update scala-library to 2.12.21 (#415) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.10.2 (#414) @scalameta-bot
- Update scala3-library to 3.7.4 (#413) @scalameta-bot
- Bump actions/checkout from 5 to 6 (#412) @dependabot[bot]
v2.5.6
What’s Changed
- sbt 2.0.0-RC6 (#410) @xuwei-k
- formatter: update to 3.10.0, adjust imports (#408) @kitbellew
- scalafmt: update to 3.10.0 (#407) @kitbellew
- SBT: use sbt-dynver to set local snapshot version (#406) @kitbellew
- Update sbt, scripted-plugin to 1.11.7 (#405) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.9.10 (#404) @scalameta-bot
- Update scala3-library to 3.7.3 (#402) @scalameta-bot
- CI: test for JDK 21 as well (#398) @kitbellew
- SBT: remove deprecated OSS resolvers (#401) @kitbellew
- DiffUtils: return patch as
Seq[String](#399) @kitbellew - SBT: enable the scripted plugin explicitly (#400) @kitbellew
- DiffUtils: name boolean function parameter (#397) @kitbellew
- ScalafmtPlugin: don't concatenate Char with String (#396) @kitbellew
- Update sbt 2 to
2.0.0-RC4(#395) @guizmaii - Update sbt, scripted-plugin to 1.11.6 (#394) @scalameta-bot
- enable sbt 2 test (#393) @xuwei-k
- update scala version in test (#392) @xuwei-k
- Update sbt 2.0 to RC3 (#391) @jtjeferreira
- Bump actions/setup-java from 4 to 5 (#390) @dependabot[bot]
- Update sbt, scripted-plugin to 1.11.5 (#389) @scalameta-bot
- Bump actions/checkout from 4 to 5 (#388) @dependabot[bot]
- Update sbt-ci-release to 1.11.2 (#387) @scalameta-bot
- update
.scalafmt.conf. addconvertToNewSyntaxsetting (#384) @xuwei-k - Update sbt 2.0 to RC2 (#385) @arixmkii
- Drop usage of IntegrationTest scope in sbt 2 builds (#386) @arixmkii
- Update sbt, scripted-plugin to 1.11.4 (#383) @scalameta-bot
- Update scala3-library to 3.7.2 (#381) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.9.9 (#382) @scalameta-bot
- Update sbt, scripted-plugin to 1.11.3 (#380) @scalameta-bot
v2.5.5
What's Changed
- ScalafmtPlugin: ignore exceptions when on-compile (#367) @kitbellew
- ScalafmtPlugin: cosmetic, refactor some code (#366) @kitbellew
- ScalafmtPlugin: optionally fail on errors (#365) @kitbellew
- ScalafmtPlugin: extension to run unit Initialize (#364) @kitbellew
- Test "on compile" with failing-to-parse case (#361) @kitbellew
- ScalafmtPlugin: move
inConfig, fix warning (#360) @kitbellew
- ScalafmtPlugin: move getFileMatcher from sysops (#351) @kitbellew
Build and dependency updates
- scalafmt: upgrade to v3.9.8 (#379) @kitbellew
- Update sbt, scripted-plugin to 1.11.2 (#377) @scalameta-bot
- Update sbt, scripted-plugin to 1.11.1 (#376) @scalameta-bot
- Update scala3-library to 3.7.1 (#375) @scalameta-bot
- Update sbt-ci-release to 1.11.1 (#374) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.9.7 (#373) @scalameta-bot
- Update sbt, scripted-plugin to 1.11.0 (#372) @scalameta-bot
- Update sbt-ci-release to 1.11.0 (#371) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.9.6 (#370) @scalameta-bot
- Update scala3-library to 3.7.0 (#369) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.9.5 (#368) @scalameta-bot
- sbt 2.0.0-M4 (#363) @xuwei-k
- Update sbt, scripted-plugin to 1.10.11 (#362) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.9.4 (#358) @scalameta-bot
- Update sbt-ci-release to 1.9.3 (#357) @scalameta-bot
- Update scala3-library to 3.6.4 (#356) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.9.3 (#355) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.10 (#354) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.9.2 (#353) @scalameta-bot
- Scalafmt: upgrade to v3.9.1 (#352) @kitbellew
- Update scalafmt-core, scalafmt-dynamic, ... to 3.8.6 (#348) @scalameta-bot
- Update scala3-library to 3.6.3 (#347) @scalameta-bot
v2.5.4
What’s Changed
- GH release: restore use of java8 for now (#346) @kitbellew
- Scalafmt: upgrade to v3.8.5 (#345) @kitbellew
- CI: update checkout (no tags) (#343) @kitbellew
v2.5.3
What’s Changed
This release contains mostly a number of build and dependency updates, including shifting underlying scalafmt from 3.7.13 to 3.8.4
Scalafmt changes
- Scalafmt: upgrade to v3.8.4 (#342) @kitbellew
- Update scalafmt-core, scalafmt-dynamic, ... to 3.8.3 (#321) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.8.2 (#319) @scalameta-bot
- Formatting
- scalafmt: enable trailing commas (#313) @kitbellew
- scalafmt: improve imports formatting (#312) @kitbellew
- scalafmt: enable AvoidInfix rewrite (#311) @kitbellew
- scalafmt: enable newlines.source=fold formatting (#310) @kitbellew
- scalafmt: expand RedundantBraces (#309) @kitbellew
- scalafmt: group parameters, add extra (#308) @kitbellew
- scalafmt: update local bootstrap to v3.8.1 (#307) @kitbellew
- scalafmt: upgrade to v3.8.1 (#306) @kitbellew
- Update scalafmt-core, scalafmt-dynamic, ... to 3.8.0 (#300) @scalameta-bot
- Scalafmt: update to v3.7.17 (#291) @kitbellew
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.15 (#288) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.14 (#281) @scalameta-bot
Miscellaneous
- Update readme.md with badge and JDK compatibility (#341) @joriscode
- Add a template describing issue requirements (#315) @kitbellew
Build updates
- sbt 2.0.0-M3 (#339) @xuwei-k
- add sbt 2.x cross build setting (#332) @xuwei-k
- use
sbt/setup-sbtto be suresbtis present for release workflow (#331) @mzuehlke - use new slash syntax in test (#330) @xuwei-k
- prepare sbt 2.x cross build (#329) @xuwei-k
- Tiny improvements to the build (#328) @mzuehlke
- Pin Scala 2.12 as long as we are waiting for sbt 2.0 (#317) @mzuehlke
Dependency updates
- Update sbt, scripted-plugin to 1.10.7 (#340) @scalameta-bot
- Update sbt-ci-release to 1.9.2 (#338) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.6 (#337) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.5 (#336) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.4 (#335) @scalameta-bot
- Update sbt-ci-release to 1.9.0 (#334) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.3 (#333) @scalameta-bot
- Update sbt-ci-release to 1.8.0 (#327) @scalameta-bot
- Update sbt-ci-release to 1.7.0 (#326) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.2 (#325) @scalameta-bot
- Update scala-library to 2.12.20 (#324) @scalameta-bot
- Update sbt-ci-release to 1.6.1 (#323) @scalameta-bot
- Update sbt-ci-release to 1.6.0 (#322) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.1 (#320) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.0 (#318) @scalameta-bot
- Update scala-library to 2.12.19 (#302) @scalameta-bot
- Update sbt, scripted-plugin to 1.9.9 (#301) @scalameta-bot
- Bump release-drafter/release-drafter from 5 to 6 (#298) @dependabot
- Update sbt, scripted-plugin to 1.9.8 (#294) @scalameta-bot
- Bump actions/setup-java from 3 to 4 (#293) @dependabot
- Update sbt, scripted-plugin to 1.9.7 (#286) @scalameta-bot
- Update sbt, scripted-plugin to 1.9.6 (#284) @scalameta-bot
- Bump actions/checkout from 3 to 4 (#282) @dependabot
v2.5.2
Bug fixes
- Ignore missing sbt file credentials (#280) @kitbellew
v2.5.1
Features
- Pass sbt credentials to scalafmt interface (#278) @kitbellew
Build changes
- SBT: switch to using slash syntax (#277) @kitbellew
- SBT: update to using Resolver.sonatypeOssRepos (#276) @kitbellew
- ci: target main instead of master (#243) @ckipp01
Dependency updates
- Scalafmt: update to v3.7.13 (#275) @kitbellew
- Update sbt, scripted-plugin to 1.9.4 (#274) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.12 (#273) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.11 (#272) @scalameta-bot
- Update sbt, scripted-plugin to 1.9.3 (#271) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.10 (#270) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.9 (#269) @scalameta-bot
- Update sbt, scripted-plugin to 1.9.2 (#268) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.7 (#267) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.5 (#266) @scalameta-bot
- Update sbt, scripted-plugin to 1.9.1 (#265) @scalameta-bot
- Update scala-library to 2.12.18 (#262) @scalameta-bot
- Update sbt, scripted-plugin to 1.9.0 (#260) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.4 (#259) @scalameta-bot
- Update sbt, scripted-plugin to 1.8.3 (#258) @scalameta-bot
- Update sbt-ci-release to 1.5.12 (#257) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.3 (#256) @scalameta-bot
- Update scalafmt-core, scalafmt-dynamic, ... to 3.7.2 (#255) @scalameta-bot
- Update sbt, scripted-plugin to 1.8.2 (#251) @scalameta-bot
- Update scalafmt-core to 3.6.1 (#250) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.6.1 (#249) @scalameta-bot
- Update scalafmt-core to 3.5.9 (#248) @scalameta-bot
- Update sbt-ci-release to 1.5.11 (#246) @scalameta-bot
- refactor(ci): switch from setup-scala to setup-java (#242) @ckipp01
- Update sbt-ci-release to 1.5.7 (#229) @scalameta-bot
- deps: bump sbt to 1.8.0 (#241) @ckipp01
sbt-scalafmt v2.5.0
This release brings a handful of small updates related to better reporting mostly around git projects. More notably, this release also starts utilizing sbt-vspp to ensure that a valid POM is also published ensuring smoother usage in corporate environments.
Big thanks to all those that contributed and please do report any issues you might have!
What’s Changed
- Bump actions/checkout from 2 to 3 (#240) @dependabot
- Update scalafmt-core to 3.2.2 (#231) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.9 (#235) @scalameta-bot
- Add sbt-vspp for publishing the SBT plug-in in a Maven-consistent format (#234) @ScalaWilliam
- A minor grammar fix (#239) @barryoneill
- Update scala-library to 2.12.17 (#236) @scalameta-bot
- Update scala-library to 2.12.16 (#233) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.8 (#232) @scalameta-bot
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.7 (#228) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.4 (#226) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.2 (#223) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.1 (#221) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.5.0 (#220) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.4.3 (#217) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.4.2 (#216) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.4.1 (#215) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.4.0 (#214) @scala-steward
- Update scalafmt-dynamic, scalafmt-sysops to 3.3.3 (#213) @scala-steward
- Warn if no git; add tests with project.git, no git (#212) @kitbellew
- Update scalafmt-dynamic, scalafmt-sysops to 3.3.2 (#210) @scala-steward
- Readme: remove the version, point to maven badge (#208) @kitbellew
- Update scalafmt-dynamic, scalafmt-sysops to 3.3.1 (#206) @scala-steward
v2.4.6
Features
- Add filterMode=none, to ignore
project.git(#195) @kitbellew - When checking, output unified diff if requested (#188) @kitbellew
- Prepend "scalafmt:" to MessageOnlyExceptions (#187) @kitbellew
- Log debug messages about git filtering (#183) @kitbellew
Bug fixes
- Support cross- and multi-source projects with git (#200) @kitbellew
- Use canonical paths, not just absolute (#202) @kitbellew
- fix false positive cache invalidation caused by unscoped lookup (#192) @bjaglin
- Bugfix: forgot to use the ScalafmtLogger, fix that (#182) @kitbellew
Other Changes
- Keep baseDir as Path, use its .relative() instead (#203) @kitbellew
- Compute update or added only if necessary (#197) @kitbellew
- Allow fixed SNAPSHOT version when built locally (#196) @kitbellew
- Move git scripted tests from p17 to p18 (#193) @kitbellew
- Warn about all cached unformatted files at once (#186) @kitbellew
- Do not invoke the callback if
input == output(#185) @kitbellew - Mention scalafmt version in the onLoadMessage (#184) @kitbellew
Dependencies
- scalafmt-dynamic: upgrade to 3.3.0 (#204) @kitbellew
- scalafmt-dynamic: upgrade to 3.2.2 (#194) @kitbellew
- Update scalafmt-core to 3.2.1 (#179) @scala-steward
v2.4.5
What’s Changed
- Additional settings for error handling (#178) @kitbellew
- ScalafmtSbtReporter: mention scalafmt in messages (#176) @kitbellew
- ScalafmtSbtReporter: consolidate all error calls (#177) @kitbellew
- FormatSession: recognize git parameters and filter (#172) @kitbellew
- Workflows: upgrade versions, get tags --unshallow as prescribed (#173) @kitbellew
- Split getScalafmtSbtTasks into three dynamic tasks (#171) @kitbellew
- Minor refactor, reorder methods, use type alias (#170) @kitbellew
- scalafmt-dynamic: 3.2.0, remove custom session (#169) @kitbellew