Recommended update for google-guice

Announcement ID: SUSE-RU-2024:0163-1
Rating: moderate
References:
Affected Products:
  • Development Tools Module 15-SP4
  • Development Tools Module 15-SP5
  • openSUSE Leap 15.4
  • openSUSE Leap 15.5
  • SUSE Enterprise Storage 7.1
  • SUSE Linux Enterprise Desktop 15 SP4
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP3
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3
  • SUSE Linux Enterprise High Performance Computing LTSS 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Real Time 15 SP5
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3

An update that can now be installed.

Description:

This update for google-guice fixes the following issues:

  • google-guice was updated from version 4.1 to 5.1.0:
  • Changes of version 4.2:
    • Added Java 9 and JPMS support
    • Multibindings are now in the Guice core artifact. The multibindings artifact is empty to prevent confusion during upgrading and will be removed in a later release.
    • Improved the performance of guice provisioning (by about 20%) by changing the way errors are reported. Guice will no longer report multiple errors during provisioning (Guice still reports multiple errors during injector creation).
    • Improved error messages for a missing binding.
    • AbstractModule.configure() is non-abstract to allow modules with only @Provides/@ProvidesIntoSet/... methods.
    • Added a CheckedProviders class.
    • Changed the way Singletons work to not rely on ThreadLocals nor WeakReferences.
    • Added MapBinderBinding.getEntries(Iterable).
    • Deprecated ProvisionListener.ProvisionInvocation .getDependencyChain().
    • Ensure that Struts interceptors are populated even if they are created after the injector (Fixes #1081, #1075).
    • Added support for multibindings with annotations in the Guice DaggerMethodScanner.
  • Changes of version 4.2.1:
    • Added Java 10 support (updated cglib & asm).
    • Minor updates to the testlib extension.
  • Changes of version 4.2.2:
    • Added Java 11 support (updated cglib & asm)
  • Changes of version 4.2.3:
    • Added Java 14 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.
    • Updated DaggerAdapter to work with newer dagger code.
    • Fixed a subtle bug 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.
    • Added 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.
  • Changes of version 5.0.1:
    • Added Java 15 support (updated asm and bug fixes).
    • Removed cglib as a core dependency.
    • Improved error messages.
    • Improved support for using Guice with Kotlin.
    • Added a mechanism to restrict who can bind types or annotations, to allow library authors to control their bindings.
    • Removed no-aop build variant.
    • Fixed 'illegal reflective access' warnings.
  • Changes of version 5.1.0:
    • Added support for Java 17.
  • Generate the ant build system using the maven pom files.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP3-2024-163=1
  • SUSE Enterprise Storage 7.1
    zypper in -t patch SUSE-Storage-7.1-2024-163=1
  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2024-163=1
  • openSUSE Leap 15.5
    zypper in -t patch openSUSE-SLE-15.5-2024-163=1
  • Development Tools Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP4-2024-163=1
  • Development Tools Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP5-2024-163=1
  • SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP2-LTSS-2024-163=1
  • SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP3-ESPOS-2024-163=1
  • SUSE Linux Enterprise High Performance Computing LTSS 15 SP3
    zypper in -t patch SUSE-SLE-Product-HPC-15-SP3-LTSS-2024-163=1
  • SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP2-LTSS-2024-163=1
  • SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3
    zypper in -t patch SUSE-SLE-Product-SLES-15-SP3-LTSS-2024-163=1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
    zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP2-2024-163=1

Package List:

  • SUSE Linux Enterprise Server for SAP Applications 15 SP3 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Enterprise Storage 7.1 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • openSUSE Leap 15.4 (noarch)
    • guice-grapher-5.1.0-150200.3.7.1
    • guice-assistedinject-5.1.0-150200.3.7.1
    • google-guice-javadoc-5.1.0-150200.3.7.1
    • guice-jmx-5.1.0-150200.3.7.1
    • guice-extensions-5.1.0-150200.3.7.1
    • guice-throwingproviders-5.1.0-150200.3.7.1
    • guice-jndi-5.1.0-150200.3.7.1
    • guice-parent-5.1.0-150200.3.7.1
    • google-guice-5.1.0-150200.3.7.1
    • guice-bom-5.1.0-150200.3.7.1
    • guice-servlet-5.1.0-150200.3.7.1
  • openSUSE Leap 15.5 (noarch)
    • guice-grapher-5.1.0-150200.3.7.1
    • guice-assistedinject-5.1.0-150200.3.7.1
    • google-guice-javadoc-5.1.0-150200.3.7.1
    • guice-jmx-5.1.0-150200.3.7.1
    • guice-extensions-5.1.0-150200.3.7.1
    • guice-throwingproviders-5.1.0-150200.3.7.1
    • guice-jndi-5.1.0-150200.3.7.1
    • guice-parent-5.1.0-150200.3.7.1
    • google-guice-5.1.0-150200.3.7.1
    • guice-bom-5.1.0-150200.3.7.1
    • guice-servlet-5.1.0-150200.3.7.1
  • Development Tools Module 15-SP4 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • Development Tools Module 15-SP5 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (noarch)
    • google-guice-5.1.0-150200.3.7.1
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2 (noarch)
    • google-guice-5.1.0-150200.3.7.1