Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 16, 2023

Bumps proguard-gradle from 7.1.0 to 7.3.1.

Release notes

Sourced from proguard-gradle's releases.

7.3.1

Version 7.3.1

Kotlin support

  • Add support for Kotlin 1.8.

Improved

  • Conservative optimization is now the default. Previously, it could be enabled by setting the optimize.conservatively system property. This has been replaced with the -optimizeaggressively option, which sets optimization to aggressive.
  • Improve optimization performance in edge cases with generated code. (#283)

Bugfixes

  • Fix -keepparameternames to keep Kotlin function, constructor and property setter parameter names.
  • Fix -keepparameternames to keep Kotlin annotation constructor parameter names.
  • Fix -keepparameternames to keep Kotlin interface parameter names.
  • Fix potential NullPointerException while processing enum classes with invalid Kotlin metadata.
  • Fix potential Instruction has invalid constant index size error during GSON optimization.
  • Fix member specialization & generalization optimizations.
  • Fix potential "Сan't find referenced class ClassName$DefaultImpls" warnings. (#290)

7.3.0

Java support

To allow ProGuard to continue to optimize, obfuscate and shrink Java class files ProGuard now supports all Java versions including Java 19.

  • Add support for Java 19. (PGD-247)

Kotlin support

ProGuard 7.3 deprecates the -keepkotlinmetadata option. You can use -keep class kotlin.Metadata instead which automatically enables processing of Kotlin metadata. Some consumer rules, from libraries such as kotlin-reflect, already contain this rule which means that Kotlin metadata processing will be enabled automatically in those cases.

  • Add support for Kotlin 1.7.
  • Improve support for Kotlin library projects. (T3752)
  • Automatically process Kotlin Metadata when keeping the kotlin.Metadata annotation. (T3116)

Improved

  • Improve app startup times when using -addconfigurationdebugging. (T17153)

Bug fixes

  • Prevent merging classes with native methods that would result in UnsatisfiedLinkError.
  • Fix optimization of simple enums (optimization class/unboxing/enums).
  • Prevent potential build time NullPointerException when processing Kotlin interface methods.
  • Fix ProGuard Gradle Plugin not working correctly on Windows. (PGD-272)

... (truncated)

Commits
  • f006f58 Add Kotlin 1.8 to release notes
  • dbdb423 Add simple Kotlin example application
  • fbda5d5 Update tests to use KotlinMetadataVerifier
  • 81561a0 Update ProGuardCORE version
  • 8a7e846 Fix string comparison in MappingPrinter and LineNumberLinearizer
  • b9cf51b Update manual
  • 9b8f802 Set the IS_CLASS_AVAILABLE processing flag
  • 1cbd6f7 Remove unused ExpectedStackTypeFinder
  • 3445fa0 Add -optimizeaggressively configuration option
  • 4c6103e Decrement uninitialized object count in MethodInliner when \<init> is a `L...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [proguard-gradle](https://github.com/Guardsquare/proguard) from 7.1.0 to 7.3.1.
- [Release notes](https://github.com/Guardsquare/proguard/releases)
- [Commits](Guardsquare/proguard@v7.1.0...v7.3.1)

---
updated-dependencies:
- dependency-name: com.guardsquare:proguard-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant