Releases: scalameta/sbt-scalafmt
Releases · scalameta/sbt-scalafmt
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-sbt
to be suresbt
is 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
v2.4.4
What’s Changed
- Do not invoke formatting on empty list of files (#167) @kitbellew
- Use Def.sequential for formatting sbt sources (#166) @kitbellew
- Rename trueOrBoom to more explicit throwOnFailure (#168) @kitbellew
- Don't use Boolean in check tasks, they throw (#165) @kitbellew
- Respect project filters in the global instance (#164) @kitbellew
- Don't limit to Compile/Test configurations (#160) @kitbellew
- Dependency: update scalafmt-dynamic to 3.1.1 (#158) @kitbellew
- Update scalafmt-core to 3.1.1 (#163) @scala-steward
- Explicitly filter files via .matchesProjectFilters (#159) @kitbellew
- Upgrade the formatter for this repo to v3.1.0 (#161) @kitbellew
- Update scalafmt-dynamic to 3.0.8 (#155) @scala-steward
- Update scalafmt-dynamic to 3.0.7 (#153) @scala-steward
- Update scalafmt-dynamic to 3.0.6 (#151) @scala-steward
- Update scalafmt-dynamic to 3.0.5 (#150) @scala-steward
- Update scalafmt-dynamic to 3.0.4 (#149) @scala-steward
- Update scala-library to 2.12.15 (#148) @scala-steward
- Update scalafmt-dynamic to 3.0.3 (#147) @scala-steward
- Update scalafmt-dynamic to 3.0.1 (#144) @scala-steward
- Update scalafmt-dynamic to 3.0.0 (#143) @scala-steward
v2.4.3
Features
- add detailed error config (#71) (#142) @muhammedbehram
Now you can specify flag scalafmtDetailedError := true
in build.sbt
for full stacktraces on formatting errors. It may be helpful for debugging purposes
Maintenance
- Update scala-library to 2.12.14 (#140) @scala-steward
- Update sbt-ci-release to 1.5.6 (#134) @scala-steward
- Update scala-library to 2.12.13 (#132) @scala-steward
- Update release.yml (#130) @poslegm
- update setup-scala in release job (#129) @poslegm
- Update sbt-ci-release (#128) @poslegm
- setup-scala update (#127) @poslegm
- Update sbt-ci-release to 1.5.4 (#125) @scala-steward
- Update scalafmt-dynamic to 2.7.5 (#124) @scala-steward
- Update scalafmt-dynamic to 2.7.4 (#123) @scala-steward
- Update scalafmt-dynamic to 2.7.3 (#122) @scala-steward
- Update scalafmt-dynamic to 2.7.2 (#121) @scala-steward
- Update scalafmt-dynamic to 2.7.1 (#120) @scala-steward