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

Bump byte-buddy from 1.12.10 to 1.14.0 #911

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2023

Bumps byte-buddy from 1.12.10 to 1.14.0.

Release notes

Sourced from byte-buddy's releases.

Byte Buddy 1.14.0

  • Add Step.Factory.ForDelegation in MemberSubstitution that allows for delegation similar to MethodDelegation but in-code.
  • Add handlers for MethodDelegation and Advice that leverage method handles for field access and self-invocation.
  • Add Step.Factory for type assignment that allows casting the return value from a previous step to another type.
  • Avoid usage of URL class loader as it is deprecated, and use newer method if available.

Byte Buddy 1.13.0

  • Complete MemberSubstitution API which now retains the original instruction for invocation.
  • Allow excluding methods from a MethodGraph.Compiler using an ElementMatcher.
  • Add a filtering ClassFileLocator.
  • Add a matcher for a type's ClassFileVersion.
  • Unify resolution of constant values by introducing a ConstantValue API.
  • Do not exclude ToThrown assignment on void methods.
  • Allow constructors as target in MemberSubstitution.

Byte Buddy 1.12.23

  • Allow using ClassFileLocator to AgentBuilder to append boot-injected types.
  • Add RenamingPlugin that allows for migration of names using the build plugin.
  • Add wrapper method to ForAdvice transformation to allow for easier wrapping.
  • Fix Gradle plugin raw folder and improve detection of unused configurations.
  • Add additional default Steps to MemberSubstitution to reduce need for custom bytecode generation.

Byte Buddy 1.12.22

  • Support MethodHandle and MethodType in Advice.Origin annotation.
  • Support MethodHandles.Lookup in Origin and Advice.Origin annotations.
  • Use modern API for Gradle Android API, if available, to avoid now failing cast.

Byte Buddy 1.12.21

  • Create a Gradle source set for each JVM build automatically to reduce boilerplate.
  • Fix Gradle plugin class loading to use correct class loader.
  • Use updated release plugin to avoid outdated timestamp in jar.

Byte Buddy 1.12.20

  • Avoid stack overflow error when type variable cannot be resolve during error message generation.
  • Allow dumping error message to file when remote attach fails.

Byte Buddy 1.12.19

  • Avoid possible lock through circular class loading of TypeDescription subtypes.
  • Avoid access error when using unsafe API on Java 17 with an active security manager.
  • Close URL class loader used in Gradle plugin.

Byte Buddy 1.12.18

  • Allow writing to field from enter Advice in constructor, as byte code allows it.
  • Refactor Android plugin processor to avoid skipping local classes.
  • Improve staleness filter for Maven plugin.
  • Fix incorrect resolution of custom bound invokedynamic values in Advice.

Byte Buddy 1.12.17

  • Use decorating EntryPoint in Android Gradle plugin.
  • Introduce PatchMode on AgentBuilder patching to allow for control over overlap.

... (truncated)

Changelog

Sourced from byte-buddy's changelog.

18. February 2023: version 1.14.0

  • Add Step.Factory.ForDelegation in MemberSubstitution that allows for delegation similar to MethodDelegation but in-code.
  • Add handlers for MethodDelegation and Advice that leverage method handles for field access and self-invocation.
  • Add Step.Factory for type assignment that allows casting the return value from a previous step to another type.
  • Avoid usage of URL class loader as it is deprecated, and use newer method if available.

13. February 2023: version 1.13.0

  • Complete MemberSubstitution API which now retains the original instruction for invocation.
  • Allow excluding methods from a MethodGraph.Compiler using an ElementMatcher.
  • Add a filtering ClassFileLocator.
  • Add a matcher for a type's ClassFileVersion.
  • Unify resolution of constant values by introducing a ConstantValue API.
  • Do not exclude ToThrown assignment on void methods.
  • Allow constructors as target in MemberSubstitution.

5. February 2023: version 1.12.23

  • Allow using ClassFileLocator to AgentBuilder to append boot-injected types.
  • Add RenamingPlugin that allows for migration of names using the build plugin.
  • Add wrapper method to ForAdvice transformation to allow for easier wrapping.
  • Fix Gradle plugin raw folder and improve detection of unused configurations.
  • Add additional default Steps to MemberSubstitution to reduce need for custom bytecode generation.

12. January 2023: version 1.12.22

  • Support MethodHandle and MethodType in Advice.Origin annotation.
  • Support MethodHandles.Lookup in Origin and Advice.Origin annotations.
  • Use modern API for Gradle Android API, if available, to avoid now failing cast.

5. January 2023: version 1.12.21

  • Create a Gradle source set for each JVM build automatically to reduce boilerplate.
  • Fix Gradle plugin class loading to use correct class loader.
  • Use updated release plugin to avoid outdated timestamp in jar.

15. December 2022: version 1.12.20

  • Avoid stack overflow error when type variable cannot be resolve during error message generation.
  • Allow dumping error message to file when remote attach fails.

17. November 2022: version 1.12.19

  • Avoid possible lock through circular class loading of TypeDescription subtypes.
  • Avoid access error when using unsafe API on Java 17 with an active security manager.
  • Close URL class loader used in Gradle plugin.

11. October 2022: version 1.12.18

... (truncated)

Commits
  • 00da41e [maven-release-plugin] prepare release byte-buddy-1.14.0
  • c601a78 [release] Release new version
  • 102ee25 Avoid test execution on Java 7.
  • 3b5f4dc Remove unused packages.
  • b42f78b Add scheme part to URI.
  • d94d66a Add scheme part to URI.
  • aaa18f2 Adjust expectation for dynamic lambda invocation.
  • 0f3bd5f Add hints for spotbugs.
  • c2242c7 fix javadoc.
  • 0a2e4ea Merge pull request #1407 from capthua/master
  • 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 [byte-buddy](https://github.com/raphw/byte-buddy) from 1.12.10 to 1.14.0.
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](raphw/byte-buddy@byte-buddy-1.12.10...byte-buddy-1.14.0)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 20, 2023
@cla-bot cla-bot bot added the cla-signed label Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants