Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.eed3si9n:sbt-assembly to v2 #517

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update New value References Sourcegraph
com.eed3si9n:sbt-assembly plugin major 2.1.1 source code search for "com.eed3si9n:sbt-assembly"

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

sbt/sbt-assembly

v2.1.1: 2.1.1

Compare Source

What's Changed

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

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:


Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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 Mend Renovate. View repository job log here.

@renovate renovate bot added the bot label Nov 1, 2022
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from 571c03a to f3a450b Compare December 9, 2022 21:30
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from f3a450b to 8a5da6a Compare February 12, 2023 16:43
@olafurpg olafurpg closed this Apr 14, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Apr 14, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/com.eed3si9n-sbt-assembly-2.x branch April 14, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant