Skip to content

chore(deps): update dependency com.eed3si9n:sbt-assembly to v2#59

Open
sc-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/com.eed3si9n-sbt-assembly-2.x
Open

chore(deps): update dependency com.eed3si9n:sbt-assembly to v2#59
sc-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/com.eed3si9n-sbt-assembly-2.x

Conversation

@sc-renovate
Copy link
Copy Markdown

@sc-renovate sc-renovate bot commented Mar 28, 2026

This PR contains the following updates:

Package Type Update Change
com.eed3si9n:sbt-assembly plugin major 0.14.42.3.1

Release Notes

sbt/sbt-assembly (com.eed3si9n:sbt-assembly)

v2.3.1: 2.3.1

Compare Source

sbt-assembly 2.3.1 is cross published to:

sbt Version Published
1.x
2.x

Note: Shading on sbt 2.x requires setting exportJars := false.

sbt 2.x migration

updates

behind the scene

new contributors

Full Changelog: sbt/sbt-assembly@v2.3.0...v2.3.1

v2.3.0: 2.3.0

Compare Source

sbt-assembly 2.3.0 is cross published to:

sbt Version Published
1.x
2.0.0-M2

Note: Shading on sbt 2.0.0-M2 requires setting exportJars := false.

sbt 2.x migration

updates

behind the scene

new contributors

Full Changelog: sbt/sbt-assembly@v2.2.0...v2.3.0

v2.2.0: 2.2.0

Compare Source

updates

behind the scenes

new contributors

Full Changelog: sbt/sbt-assembly@v2.1.5...v2.2.0

v2.1.5: 2.1.5

Compare Source

fixes

behind the scene

new contributors

Full Changelog: sbt/sbt-assembly@v2.1.4...v2.1.5

v2.1.4: 2.1.4

Compare Source

updates

behind the scene

Full Changelog: sbt/sbt-assembly@v2.1.3...v2.1.4

v2.1.3: 2.1.3

Compare Source

updates

Full Changelog: sbt/sbt-assembly@v2.1.2...v2.1.3

v2.1.2: 2.1.2

Compare Source

updates

behind the scene

new contributors

Full Changelog: sbt/sbt-assembly@v2.1.1...v2.1.2

v2.1.1: 2.1.1

Compare Source

updates

Full Changelog: sbt/sbt-assembly@v2.1.0...v2.1.1

v2.1.0: 2.1.0

Compare Source

updates

new Contributors

Full Changelog: sbt/sbt-assembly@v2.0.0...v2.1.0

v2.0.0: 2.0.0

Compare Source

In-memory processing

sbt-assembly 2.0.0 has been refactored to use in-memory processing of library entries, in contrast to its prior versions where library JAR files were unzipped to disk. This has positive performance implications, especially for large projects, machines with slow disks (i.e. spinning hard drives) or systems with slow file systems such as Windows Subsystem for Linux (WSL1) emulated file access.

This overhaul was contributed by Ben Reyes (@​fnqista) in #​464.

Breaking changes

  • MergeStrategy.rename behavior was changed. Directories named LICENSE etc will no longer be renamed anymore. If these directories conflict with files named LICENSE etc the files will be renamed to include the assembly jar name (minus the .jar extension) instead.
  • Fails *.class renames via MergeStrategy.rename, where it was a silent no-op previously.
  • assemblyCacheUnzip setting was dropped.
  • excludedFiles field was dropped from AssemblyOption.

Performance improvements

sbt-assembly 2.0.0 generally improves the performance compared to the the previous versions, however the effect of speedup may be dependent on the filesystem and hardware configuration. For example, a Play app that used to take 10s to assemble now assembles in 7s. On Windows, we expect more speedup.

In addition, a new setting called ThisBuild / assemblyRepeatableBuild is introduced:

ThisBuild / assemblyRepeatableBuild := false

The setting is set to true (repeatable) by default, but if set to false, sbt-assembly will parallelize JAR creation for an even faster performance. For instance, a Play app that used to take 10s assembled in 5s on Mac. Your mileage may vary.

CustomMergeStrategy.apply

sbt-assembly 2.0.0 introduces CustomMergeStrategy builder to construct custom merge strategies.

// same as discard
CustomMergeStrategy("custom-discard") { conflicts =>
  Right(Vector.empty)
}

Bug fixes

  • Fixes the reported number of affected files
  • Files that conflict with directories after the merge will now be printed as a clear error message to the user, instead of failing at runtime
  • Fixes the caching directory to reflect the crossVersion, where previously, cross-builds (i.e. 2.12.8, 2.13.8) shared the same cache directory.
  • Fixes Windows problems (#​472) by @​fnqista in #​478
  • Runs CI on Windows by @​nightscape in #​471
  • Removes excessive "=" sign in launch script cmd by @​DagoDragony in #​468

New Contributors

Full Changelog: sbt/sbt-assembly@v1.2.0...v2.0.0

v1.2.0: 1.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: sbt/sbt-assembly@v1.1.0...v1.2.0

v1.1.1

Compare Source

v1.1.0: 1.1.0

Compare Source

Updates to Jar Jar Abrams 1.8.0. This brings in:

v1.0.0: 1.0.0

Compare Source

changes with compatibility implication

  • assembly no longer runs test by default. #​432 by @​eed3si9n
  • Deprecated keys jarName, mergeStrategy etc are removed. Use assemblyJarName, assemblyMergeStrategy instead. #​432 by @​eed3si9n

ThisBuild / assemblyMergeStrategy

assemblyAppendContentHash     assemblyCacheOutput           assemblyCacheUnzip
assemblyExcludedJars          assemblyMergeStrategy         assemblyShadeRules

The default values for the above keys are now provided by globalSettings, as recommended by Plugin Best Practice.

This mean that those keys can be used as:

ThisBuild / assemblyMergeStrategy := ...

// or
lazy val app = (project in file("app"))
  .settings(
    assemblyMergeStrategy := ...

    // more settings here ...
  )

ThisBuild / assemblyMergeStrategy is shared across all subprojects.

fixes

v0.15.0: 0.15.0

Compare Source

  • Fixes assembly / assemblyOption ~= _.copy(includeScala = false) to not affect scala-xml for Scala 2.13 and later since it's no longer included in the binary Scala distribution #​383 by @​abhamjee
  • Switches shading library from Jar Jar Links to Jar Jar Abrams #​393 by @​jeroentervoorde (thanks Simacan!)

v0.14.10: 0.14.10

Compare Source

v0.14.9: 0.14.9

Compare Source

  • Updates Jar Jar Links to 1.7.2, which uses ASM 7.0 for a better JDK 11 support on shading. Fixes #​343

v0.14.8: 0.14.8

Compare Source

  • Updates Jar Jar Links to 1.6.6, which updates ASM to 6.2, which adds support for JDK 11 #​329 by @​lucastorri

v0.14.7: 0.14.7

Compare Source

sbt-assembly 0.14.7 is cross built to sbt 0.13 and 1.x.

minor enhancements and bug fixes
notes
  • Bunch of code cleanups, JDK 9 testing by Yoshida-san

v0.14.6: 0.14.6

Compare Source

sbt-assembly 0.14.5 is cross built to sbt 0.13 and 1.x.

minor enhancements and bug fixes
notes

v0.14.5: 0.14.5

Compare Source

sbt-assembly 0.14.5 is cross built to sbt 0.13 and 1.0.0-M6.

minor enhancements and bug fixes

notes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

0 participants