Releases: GradleUp/shadow
Releases · GradleUp/shadow
Release list
9.6.1
9.6.0
Added
- Extract R8 rules from dependency JARs when using
minimize { r8 { ... } }. (#2089)
Changed
- Rename
ShadowDslMarkertoShadowDsl. (#2091) - POTENTIALLY BREAKING: Apply
@ShadowDsltoShadowJar,ResourceTransformer,DependencyFilter, andRelocator. (#2090)
This restricts nested DSL configuration blocks from implicitly calling outer receiver APIs in Kotlin script files.
Fixed
- Validate ZIP entry names to prevent Zip Slip path traversal.
- Avoid resolving unused R8 dependency. (#2101)
9.5.1
Fixed
- Fix eager calls for
toolchainSpecin Kotlin DSL. (#2087)
9.5.0
Added
- Check
DuplicatesStrategyfor merging transformers. (#2026)
This will log warnings when an incompatibleDuplicatesStrategy(e.g.,EXCLUDE) is applied in Gradle configuration for built-inResourceTransformers. - Add
KotlinModuleMetadataTransformer. (#2073) - Add R8 as an opt-in
minimize { r8 { ... } }tool for shrinking the final shadowed JAR. (#2077)
Changed
Deprecated
- Deprecate
enableKotlinModuleRemappingforShadowJar. (#2073)
ApplyKotlinModuleMetadataTransformerexplicitly to support relocating inside Kotlin module metadata files.
This flag will be disabled and removed in the next major release. - Deprecate everything under
ShadowCopyAction. (#2083)
Fixed
- Fix the conflicts when using
afterEvaluatewith other plugins. (#2055)
9.4.3
Changed
- Update dependencies for resolving CVEs. (#2069)
9.4.2
Changed
- Update jdependency to support Java 27. (#2033)
8.3.11
Warning
Only Gradle 9 support is being backported to this version. No additional features or crucial bug fixes will be included in the 8.x line. Please migrate to Shadow 9 as soon as possible.
Changed
- Update jdependency to support Java 27. (#2040)
Deprecated
- Deprecate
KnowsTask, it will be removed in the next major release. (#1957)
Fixed
9.4.1
Changed
- Update Kotlin to 2.3.20. (#1978)
9.4.0
Added
- Support Isolated Projects. (#1139)
Changed
- Allow opting out of adding
shadowJarintoassemblelifecycle. (#1939)shadow { // Disable making `assemble` task depend on `shadowJar`. This is enabled by default. addShadowJarToAssembleLifecycle = false } - Stop catching
ZipExceptionwhen writing entries. (#1970)