Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scalameta/sbt-scalafmt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.5
Choose a base ref
...
head repository: scalameta/sbt-scalafmt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.6
Choose a head ref
  • 20 commits
  • 9 files changed
  • 3 contributors

Commits on Dec 4, 2021

  1. Update scalafmt-core to 3.2.1

    scala-steward authored and kitbellew committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    e7c4b2b View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Bugfix: forgot to use the ScalafmtLogger, fix that

    Albert Meltzer authored and kitbellew committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    120f905 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Log debug messages about git filtering

    Albert Meltzer authored and kitbellew committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    ec7c123 View commit details
    Browse the repository at this point in the history
  2. Mention scalafmt version in the onLoadMessage

    Albert Meltzer authored and kitbellew committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    68f468d View commit details
    Browse the repository at this point in the history
  3. Do not invoke the callback if input == output

    Albert Meltzer authored and kitbellew committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    0dc6838 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Warn about all cached unformatted files at once

    Albert Meltzer authored and kitbellew committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    9561665 View commit details
    Browse the repository at this point in the history
  2. Prepend "scalafmt:" to MessageOnlyExceptions

    Albert Meltzer authored and kitbellew committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    aae6b88 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. When checking, output unified diff if requested

    Albert Meltzer authored and kitbellew committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    f8f1367 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Move git scripted tests from p17 to p18

    Albert Meltzer authored and kitbellew committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    fd88261 View commit details
    Browse the repository at this point in the history
  2. scalafmt-dynamic: upgrade to 3.2.2

    Albert Meltzer authored and kitbellew committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    2b98961 View commit details
    Browse the repository at this point in the history
  3. Fix cache invalidation caused by unscoped lookup (#192)

    It seems that keys are not scoped when looked up from `Def.Initialize[]` referenced within `Def.taskDyn()`, resulting in `streams.value.cacheStoreFactory` defaulting to a directory shared across configurations.
    
    Within a task referenced in a `taskDyn`, the enclosing scope is lost (not propagated), so we fall back to the global cache directory no matter on which config/task its evaluated.
    bjaglin committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    912ba57 View commit details
    Browse the repository at this point in the history
  4. Add filterMode=none, to ignore project.git

    Albert Meltzer authored and kitbellew committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    cd23ebc View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2021

  1. Allow fixed SNAPSHOT version when built locally

    Copy logic from built.sbt in scalameta/scalafmt.
    Albert Meltzer authored and kitbellew committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    8c754da View commit details
    Browse the repository at this point in the history
  2. Compute update or added only if necessary

    Albert Meltzer authored and kitbellew committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    ed06d13 View commit details
    Browse the repository at this point in the history
  3. Include project base dir in log messages

    Albert Meltzer committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    708cc14 View commit details
    Browse the repository at this point in the history
  4. Use canonical paths, not just absolute

    Otherwise, filtering might possibly fail.
    Albert Meltzer authored and kitbellew committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    68813f5 View commit details
    Browse the repository at this point in the history
  5. Keep baseDir as Path, use its .relative() instead

    Albert Meltzer authored and kitbellew committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    9fec92e View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2021

  1. scalafmt-dynamic: upgrade to 3.3.0

    Albert Meltzer authored and kitbellew committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    437c0dd View commit details
    Browse the repository at this point in the history
  2. Add tests for a multi-source project

    Albert Meltzer authored and kitbellew committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    62e55f1 View commit details
    Browse the repository at this point in the history
  3. Support cross- and multi-source projects with git

    Albert Meltzer authored and kitbellew committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    93f0484 View commit details
    Browse the repository at this point in the history
Loading