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

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

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 22, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
com.eed3si9n:sbt-assembly plugin major 1.2.0 -> 2.1.5

Release Notes

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

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

New Contributors

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


Configuration

📅 Schedule: Branch creation - "after 9pm every weekend,before 12am every weekend" in timezone Asia/Tokyo, 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 requested a review from Lucky3028 as a code owner October 22, 2022 13:20
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from 09168d3 to c69911b Compare December 9, 2022 23:44
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from c69911b to dce8a09 Compare February 12, 2023 07:12
@renovate renovate bot changed the title chore(deps): update dependency com.eed3si9n:sbt-assembly to v2 chore(deps): update dependency com.eed3si9n:sbt-assembly to v2 - autoclosed Apr 19, 2023
@renovate renovate bot closed this Apr 19, 2023
@renovate renovate bot deleted the renovate/com.eed3si9n-sbt-assembly-2.x branch April 19, 2023 23:49
@renovate renovate bot changed the title chore(deps): update dependency com.eed3si9n:sbt-assembly to v2 - autoclosed chore(deps): update dependency com.eed3si9n:sbt-assembly to v2 Apr 20, 2023
@renovate renovate bot restored the renovate/com.eed3si9n-sbt-assembly-2.x branch April 20, 2023 05:11
@renovate renovate bot reopened this Apr 20, 2023
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch 2 times, most recently from 9ef4591 to aec23d8 Compare September 18, 2023 02:05
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from aec23d8 to 734da8a Compare October 27, 2023 10:11
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from 734da8a to 9eda5fe Compare November 20, 2023 11:06
@renovate renovate bot force-pushed the renovate/com.eed3si9n-sbt-assembly-2.x branch from 9eda5fe to 7135895 Compare January 14, 2024 06:19
Copy link
Contributor Author

renovate bot commented Jan 14, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@Lucky3028 Lucky3028 merged commit 88fe026 into main Jan 14, 2024
2 checks passed
@Lucky3028 Lucky3028 deleted the renovate/com.eed3si9n-sbt-assembly-2.x branch January 14, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant