Releases: scalameta/sbt-scalafmt
Releases · scalameta/sbt-scalafmt
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
v2.4.2
v2.4.0
What’s Changed
Now you can limit scalafmt parallelism for projects with multiple subprojects in your build.sbt
:
import org.scalafmt.sbt.ConcurrentRestrictionTags
Global / concurrentRestrictions += Tags.limit(org.scalafmt.sbt.ConcurrentRestrictionTags.Scalafmt, 4)
- add sbt.ConcurrentRestrictions.Tag("scalafmt") + Tags.CPU on scalafmt tasks (#101) @cchepelov
- ScalafmtSessionFactory usage (#100) @poslegm
- Update scalafmt-dynamic to 2.5.2 (#99) @scala-steward
- Update scalafmt-dynamic to 2.5.1 (#98) @scala-steward
- Update readme.md (#97) @hepin1989
- Update sbt-ci-release to 1.5.3 (#95) @scala-steward
v2.3.4
This release only fixes sbt compatibility problem #92
What’s Changed
- sbt reverted to 1.2.8 because of sbt/sbt#5049 (#93) @poslegm