[ 
https://issues.apache.org/jira/browse/MNG-7502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylwester Lachiewicz updated MNG-7502:
--------------------------------------
    Description: 
h3. Release notes:
https://github.com/google/guice/wiki/Guice510
https://github.com/google/guice/wiki/Guice501

 
 * Java 17 support: updated asm version and fixed unsafe class defining to work 
with Java 17.
 * Removed cglib as a core dependency. Guice now uses ASM directly to generate 
bytecode at runtime for invoking user code and supporting method interception
 * Improved error messages
 ** package names in error messages are compressed to make it easier to read
 ** errors with the same cause are grouped and reported together
 ** common error now links to a wiki page on how to debug and fix the error
 ** additional information like parameter names are included when code are 
compiled with javac {{-parameters}} flag
 ** rich formatting like bold, color are used when errors are displayed in a 
supported console (can be disabled with 
{{-Dguice_colorize_error_messages=DISABLED}} flag)
 * Removed no-aop build variant.
 * Updated the Guava and ASM versions

  was:
h4. Changes since Guice 4.2.2 [https://github.com/google/guice/wiki/Guice423]

[http://google.github.io/guice/api-docs/4.2.3/api-diffs/changes.html]
 * Java14 support (updated asm).
 * Added {{Injector.getElements}} API, to expose all Element SPI types from the 
Injector.
 * Added {{Injector.getAllMembersInjectorInjectionPoints}} API, to expose 
injection points created by arbitrary members injection.
 * Added {{getAlternateKeys}} to Multibinder SPI types ({{MultibinderBinding}}, 
{{MapBinderBinding}}, {{OptionalBinderBinding}}), to explicitly list the other 
keys these bindings are available as.
 * Scan for (and bind) @Provides-like methods in a consistent ordering, rather 
than relying on the non-deterministic Class.getDeclaredMembers ordering.
 * Update {{DaggerAdapter}} to work with newer dagger code.
 * Fixed a [subtle 
bug|https://github.com/google/guice/commit/f8cc1718a33a868e9951f7d3d6b4f74d8b1a1548]
 with eager singleton evaluation.
 * Updated {{@RequestScope}}'s scope annotation to the JSR330 {{@Scope}}, so it 
can be reused by non-Guice DI systems.
 * Clarified the error message when an injectable constructor is missing.
 * Add deprecated overloads to various {{Modules}} methods, to make it clearer 
when calling them is unnecessary.
 * Added factory methods to {{Modules}} for common Binder configuration 
methods, to make it easier to configure them.


> Upgrade Guice to 5.1.0
> ----------------------
>
>                 Key: MNG-7502
>                 URL: https://issues.apache.org/jira/browse/MNG-7502
>             Project: Maven
>          Issue Type: Dependency upgrade
>            Reporter: Sylwester Lachiewicz
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>
> h3. Release notes:
> https://github.com/google/guice/wiki/Guice510
> https://github.com/google/guice/wiki/Guice501
>  
>  * Java 17 support: updated asm version and fixed unsafe class defining to 
> work with Java 17.
>  * Removed cglib as a core dependency. Guice now uses ASM directly to 
> generate bytecode at runtime for invoking user code and supporting method 
> interception
>  * Improved error messages
>  ** package names in error messages are compressed to make it easier to read
>  ** errors with the same cause are grouped and reported together
>  ** common error now links to a wiki page on how to debug and fix the error
>  ** additional information like parameter names are included when code are 
> compiled with javac {{-parameters}} flag
>  ** rich formatting like bold, color are used when errors are displayed in a 
> supported console (can be disabled with 
> {{-Dguice_colorize_error_messages=DISABLED}} flag)
>  * Removed no-aop build variant.
>  * Updated the Guava and ASM versions



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to