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

fix(deps): update dependency com.guardsquare:proguard-gradle to v7.3.2 #300

Merged
merged 1 commit into from
Jul 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 23, 2023

Ready for review

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.guardsquare:proguard-gradle (source) 7.1.0 -> 7.3.2 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

Guardsquare/proguard (com.guardsquare:proguard-gradle)

v7.3.2: 7.3.2

Version 7.3.2

Java support
  • Add support for Java 20. (#​294)
Improved
  • Merge classes only when -optimizeaggressively is set.
Bugfixes
  • Fix potential ArrayIndexOutOfBoundsException when processing Kotlin metadata. (#​297)

v7.3.1: 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)

v7.3.0: 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)

v7.2.2: 7.2.2

Bug fixes
  • Fix "Can't save configuration file" error in ProGuardGUI. (PGD-220)
  • Fix missing warnings in ProGuardGUI. (PGD-239)
  • Fix rule configurations that extend annotation classes. (PGD-229)
  • Fix "No matching variant" Gradle plugin error when using Gradle 7.4 and Java 8. (PGD-2311)
  • Fix potential Kotlin metadata initialization issue when using the -Xno-optimized-callable-references compiler option. (T16486)
  • Fix potential "bad class file" caused by sorting attributes in class files (PGD-192)
Improved
  • Remove Kotlin Intrinsics strings by default, without requiring the -keepkotlinmetadata option. (T16518)

v7.2.1: 7.2.1

Version 7.2.1

Java Support
  • Update maximum supported Java class version to 62.65535 (Java 18 ea). (T13973)
  • Deprecate -target for classes compiled with Java > 11. (T13968)
Improved
  • Add consumerRuleFilter to the ProGuard Gradle plugin. (T4134)
  • Prevent the generation of Windows reserved names. (T3937)
Bug fixes
  • Prevent "Expecting type and name" parse error when using the androidx.window library in an Android project. (T13715)
  • Fix shrinking of annotations during GSON optimization.

v7.2.0: 7.2.0

Version 7.2

Java Support

New Java versions are released every 6 months.
To allow ProGuard to continue to optimize, obfuscate and shrink Java class files ProGuard now supports all Java versions including Java 17.

  • Add support for Java 17. (PGD-132)
Kotlin Support

New Kotlin versions are released every 6 months.
To allow ProGuard to continue to optimize, obfuscate and shrink Kotlin generated class files and their corresponding metadata ProGuard now supports Kotlin reading Kotlin classes from version 1.0 to 1.6 and writing Kotlin metadata with version 1.5 (readable by Kotlin reflection library / compiler 1.4 - 1.6).

  • Add support for processing Kotlin 1.5 and 1.6 metadata. (PGD-179, DGD-3467, PGC-31, T4777)
  • Add support for matching Kotlin inline class type parameters when using includedescriptorclasses keep rule modifier (requires -keepkotlinmetadata). (T13653)
Improved
Bug fixes
  • Fix potential NullPointerException when initializing Kotlin callable references. (T5899)
  • Prevent requiring --enable-preview on a JVM for Java 16 class files (write class file version 60.0 instead of 60.65535).
  • Fix potential StringIndexOutOfBoundsException during signing. (T7004)
  • Fix potential StackOverflowError when processing Java 16 records with type annotations. (PGD-182)
  • Fix potential StringOutOfBoundsException when processing Kotlin callable references. (T5927)
  • Fix potential NullPointerException when processing Kotlin callable references. (T6138)
  • Fix potential Stack size becomes negative exception when processing large methods. (T5721)
  • Fix potential ClassFormatError due to adding multiple annotation attributes when processing Kotlin code.
  • Fix potential NullPointerException due to missing classes.
  • Prevent possible LinkageError when making package-private final methods that are shadowed protected. (T7056)

v7.1.1: 7.1.1

Version 7.1.1

Miscellaneous
Bug fixes
  • Fix initialization and obfuscation of Kotlin callable references when using Kotlin 1.4. (T5631)
  • Fail build when IncompleteClassHierarchyException is encountered. (T5007)
  • Fix potential hanging of ProGuard process during optimization or obfuscation.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 sgammon as a code owner July 23, 2023 10:21
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 23, 2023
@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Merging #300 (bd28edd) into v3 (53c755f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##               v3     #300   +/-   ##
=======================================
  Coverage   54.14%   54.14%           
=======================================
  Files         260      260           
  Lines        8824     8824           
  Branches     1259     1259           
=======================================
  Hits         4778     4778           
  Misses       3653     3653           
  Partials      393      393           
Flag Coverage Δ
jvm 54.14% <ø> (ø)
lib 55.60% <ø> (ø)
substrate 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53c755f...bd28edd. Read the comment docs.

@renovate renovate bot force-pushed the renovate/proguard branch from ca6121b to bd28edd Compare July 23, 2023 16:53
@sgammon sgammon added this pull request to the merge queue Jul 23, 2023
Merged via the queue into v3 with commit 3de0159 Jul 23, 2023
@sgammon sgammon deleted the renovate/proguard branch July 23, 2023 21:59
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant