Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package google-guice for openSUSE:Factory checked in at 2024-06-11 18:27:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-guice (Old) and /work/SRC/openSUSE:Factory/.google-guice.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-guice" Tue Jun 11 18:27:36 2024 rev:7 rq:1179734 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/google-guice/google-guice.changes 2024-02-22 20:58:53.495987538 +0100 +++ /work/SRC/openSUSE:Factory/.google-guice.new.19518/google-guice.changes 2024-06-11 18:28:12.534494165 +0200 @@ -1,0 +2,66 @@ +Mon Jun 10 13:45:04 UTC 2024 - Fridrich Strba <fst...@suse.com> + +- Upgrade to upstream version 6.0.0 + * JEE Jakarta Transition + + Guice 6.0 adds support for jakarta.inject, the new namespace + for the JSR330 spec (after the javax -> jakarta JEE + transition). + Guice 6.0 is intended to help users migrate their code to the + jakarta namespace. It continues to fully support the + javax.inject namespace while also mostly supporting the + jakarta.inject namespace. The only part of Guice 6.0 that + doesn't support jakarta.inject are the bind(..).toProvider + methods. Those methods still require javax.inject or + com.google.inject Providers. + + The Guice 6.0 servlet & persist extensions only support the + javax.servlet and javax.persistence namespaces respectively. + + Guice 6.0 can help with incremental migrations to the + jakarta.inject namespace, by incrementally replacing + javax.inject references to jakarta.inject. This works + everywhere, except for code where a jakarta Provider is passed + to bind(..).toProvider. + * Guice Core + + Adds jakarta.inject support. + + Support Java 21 (via updating ASM to 9.5 and other changes). + + Improve AOP support on JVMs such as Azul. + + Fix a deadlock or crash associated with recursively loading + just-in-time bindings. + + Make PrivateModule.binder() non-private, to allow subclass + customization, such as calling skipSources. + + Fix an endloop loop (that can OOM) in singleton lock cycle + detection. + + Fix tests to pass on Windows, despite the different line + separator. + + Improvements to OSGi metadata. + + Mark the JSR305 dependency as optional (since it's not + required at runtime). + + Fix Binder.requestInjection(TypeLiteral<T>, T) to use the + TypeLiteral. + + Honor scoping annotations on concrete types when provisioned + by their @ProvidedBy annotation + + Add a way to tell if a class is "enhanced" by Guice, and + retrieve the original class. + + Ensure the order of bind(...) statements does not matter when + referring to JIT bindings. + + Implement Matcher.and and Matcher.or as default methods + directly in Matcher, so that the AbstractMatcher subclass + isn't required. + + Mark the error_prone_annotations dependency as optional. + * Servlet + + Fix an NPE if contextPath is null + * Persist + + Persist had a number of changes, some of which are backwards + incompatible. Notably: injection of EntityManager no longer + implicitly starts a unit of work (because this led to leaks). + Users can opt-in to the legacy behavior by constructing the + JpaPersistModule with a JpaPersistOptions that sets + setAutoBeginWorkOnEntityManagerCreation to true. + + EntityManager provisioning no longer automatically starts a + unit of work. + + Ignore multiple start/stop calls, rather than throwing an + exception. + + Support manually initiated rollbacks. + + Don't wrap Object-defined methods (e.g: toString, finalize, + equals, hashCode) in transactions. + +------------------------------------------------------------------- Old: ---- google-guice-5.1.0.tar.xz New: ---- google-guice-6.0.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-guice.spec ++++++ --- /var/tmp/diff_new_pack.dC0MnB/_old 2024-06-11 18:28:13.290521755 +0200 +++ /var/tmp/diff_new_pack.dC0MnB/_new 2024-06-11 18:28:13.290521755 +0200 @@ -18,7 +18,7 @@ %global short_name guice Name: google-%{short_name} -Version: 5.1.0 +Version: 6.0.0 Release: 0 Summary: Dependency injection framework for Java 5 and above License: Apache-2.0 @@ -34,6 +34,7 @@ BuildRequires: glassfish-servlet-api BuildRequires: google-errorprone-annotations BuildRequires: guava +BuildRequires: jakarta-inject BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local >= 6 BuildRequires: jsr-305 @@ -176,6 +177,7 @@ glassfish-servlet-api \ google-errorprone/annotations \ guava/guava \ + jakarta-inject \ jsr-305 \ objectweb-asm/asm \ ++++++ _service ++++++ --- /var/tmp/diff_new_pack.dC0MnB/_old 2024-06-11 18:28:13.326523069 +0200 +++ /var/tmp/diff_new_pack.dC0MnB/_new 2024-06-11 18:28:13.330523215 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/google/guice.git</param> - <param name="revision">5.1.0</param> + <param name="revision">6.0.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="filename">google-guice</param> </service> ++++++ google-guice-5.1.0.tar.xz -> google-guice-6.0.0.tar.xz ++++++ ++++ 17623 lines of diff (skipped) ++++++ google-guice-build.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common.xml new/common.xml --- old/common.xml 2023-05-02 16:20:25.586657209 +0200 +++ new/common.xml 2024-06-10 11:47:47.484960091 +0200 @@ -3,7 +3,7 @@ <project name="guice-common" basedir="."> <property file="build.properties"/> - <property name="project.version" value="5.1.0"/> + <property name="project.version" value="6.0.0"/> <property name="project.groupId" value="com.google.inject"/> <property name="compiler.source" value="1.8"/>