Releases: SimonJPegg/mvn_scalafmt
Releases · SimonJPegg/mvn_scalafmt
2.11-1.0.1589315803.45268b1
Release 1.0.1589315803.45268b1 of mvn_scalafm_2.11
Added option to only format changed files
Description
Added option to only format files changed from a specified git branch
Fixes # 48
Type of change
Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update
How Has This Been Tested?
- Added unit test ChangedFilesBuilderSpec
- manual testing
Checklist:
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature works
- New and existing unit tests pass locally with my changes
- Any dependent changes have been merged and published in downstream modules
Bug fixes
- Fail build on failure to format a file
- removed Stackoverflow error on logging a failure.
Version 1.0.1
Switched to using scalafmt-dynamic over scalafmt-cli
Added support for remote config files
Added support for validating sources without rewriting files
Use scala directory by default
Now uses src/main/scala
by default.
Added support for validatation
Users can now validate sources against a conf without reformatting by specifying the validateOnly
tag.
Added support for remote configs
Plugin can now pull down the latest version of a scalafmt config if supplied with a http url.
Switch to dynamic scalafmt version
Switch to use scalafmt-dynamic. Version of scalafmt used will now be determined by user's config file.
Added option to fail on no config
v0.11_1.5.1
Added optional source tags
v0.10_1.5.1