Note
If you are upgrading from 8.x versions, please read 9.0.0 release notes first.
Tip
You can diff the shadowed JARs when upgrading from 8.x to 9.x by using Diffuse.
If there are any things missing in the changelog or the doc site, please report them to us.
Changed
- Improve the error message for empty
mainClassName
. (#1601) - Default
duplicatesStrategy
back toEXCLUDE
. (#1617)- This strategy is consistent with 8.x series behavior, which is more compatible for most users upgrading.
- For most
ResourceTransformer
users, you need to override the strategy toINCLUDE
to make them work. - Strongly suggest declaring the
duplicatesStrategy
explicitly in yourShadowJar
configuration to avoid confusion. - See more details about the strategies at Handling Duplicates Strategy.