Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package assertj-core for openSUSE:Factory checked in at 2024-05-01 14:56:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/assertj-core (Old) and /work/SRC/openSUSE:Factory/.assertj-core.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "assertj-core" Wed May 1 14:56:50 2024 rev:2 rq:1171017 version:3.25.3 Changes: -------- --- /work/SRC/openSUSE:Factory/assertj-core/assertj-core.changes 2019-05-02 19:21:45.897838044 +0200 +++ /work/SRC/openSUSE:Factory/.assertj-core.new.1880/assertj-core.changes 2024-05-01 14:57:12.979571708 +0200 @@ -1,0 +2,137 @@ +Tue Apr 30 16:00:07 UTC 2024 - Fridrich Strba <fst...@suse.com> + +- Upgrade to version 3.25.3 + * Deprecations: + + Deprecate the following date/time related assertions in favor + of isCloseTo: + - isEqualToIgnoringHours + - isEqualToIgnoringMinutes + - isEqualToIgnoringSeconds + - isEqualToIgnoringMillis + - isEqualToIgnoringNanos + - isInSameHourAs + - isInSameMinuteAs + - isInSameSecondAs + + Deprecate asList in favor of asInstanceOf + * New Features: + + Add Descriptable#describedAs(Supplier<String>) + + Add isInThePast and isInTheFuture to LocalDate assertions + + Add isInThePast and isInTheFuture to the missing Java 8 + date/time types + + Add isRecord and isNotRecord to Class assertions + + Add hasNullValue and doesNotHaveNullValue to + AtomicReferenceAssert + + Add asBoolean|Byte|Short|Int|Long|Float|Double to String + assertions + + Add hasRecordComponents to Class assertions + + Add getters for field path in ComparisonDifference + + Allow to compare enum and string fields in the recursive + comparison + + Provide value when assertThatThrownBy / thenThrownBy fail + + Add isSealed and isNotSealed to Class assertions + + Add assertThatCharSequence to disambiguate Groovy's GString + + Change the way the properties are collected using the + Class.getMethods() API instead of iterating the class + hierarchy using Class.declaredMethods() + + Add default constructor for RecursiveComparator + + Add isPrimitive and isNotPrimitive to Class assertions + + Add anyOf(ThrowingConsumer...) and allOf(ThrowingConsumer...) + + Show the array/iterable under test in the assertion error + message when it is not empty but should have been + * Bug Fixes: + + Compare Java types from javax and com.sun by their equals + method in recursive comparison + + The recursive comparison comparingOnlyFields did not treat + array/iterable elements as root objects + + Fixes a bug when failing assertions on DirectoryStream types + + Fix handling of null containers in the recursive assertion + + Handle null values in map entry sets when formatting + + Fix NPE when expected and actual field values are null + + Fix NPE on anyMatch when actual contains null and + Objects::isNull is used as predicate + + Fix misleading subsequence failure messages in string + assertions + + Do not ignore nested fields of types specified in + comparingOnlyFieldsOfTypes + + containsExactly does not work properly with maps not using + equals to compare keys + + Escape percentage in shouldContainExactly error message + + Fix recursive comparison of ignored types in unordered + collection + + Revert "Provide value when assertThatThrownBy/thenThrownBy + fail" + + Revert "fix: containsExactly does not work properly with maps + not using equals to compare keys" + + Fix unresolvable Javadoc stylesheet URLs, simplify + configuration + + Fix missing configuration for MatcherAssert soft assertions + + Make deprecation notice visible in AbstractAssert#asList + + Recursive comparison uses equals on root object when + useOverriddenEquals is enabled + + satisfiesExactlyInAnyOrder fails if actual overrides equals + + Avoid calling actual.hashCode() and expected.hashCode() in + DualValue + + Recursive comparison checks for existence of fields in types + that parameterize nested unordered iterables + + Lock maven-clean-plugin version for all modules + + Fix a performance regression in the recursive comparison + related to FieldLocation + + Don't fail when the recursive comparison checks compared + fields in collection elements + * Improvements + + Add Spotless + + Use Bnd feature to write resolved bndrun files to output + folder + + Add Throwable stack trace to ShouldHaveClause + + Avoid copy of any Collection instance in + Iterables::assertContains + + Add Throwable stack trace to ShouldHaveRootCauseInstance and + ShouldHaveRootCauseExactlyInstance + + Add missing description to nested condition + + Make nestable condition factory accept conditions on super + types + + Add varargs overload to Assert::hasString and + Assert::doesNotHaveString + + Improve recursive comparison performance by caching field and + field names result + + Document performance cost of ignoring collection order + + Track visited values and their comparison differences so that + they can be reused + + Use hash code for compareUnorderedIterables to improve + performance in some common cases + + Improve recursive comparison error message regarding equals + methods used for JDK types + + Format large arrays as strings + + Remove null check as isArray already performs it + + Fix PrimitiveArralList/TransformlingList test file names + + Add exception for usages of isEqualTo and isNotEqualTo on + assertions + + Add check for missing fields in recursive comparison where + specific fields are requested for comparison + + Improve efficiency of iterable string conversion + + Add more tests for usingRecursiveComparison + + Checks that compared fields exist before running the recursive + comparison + + Remove maven-surefire-plugin duplicate version + + Remove Maven default goal + + Add dependency graph workflow + + Normalize non-breaking spaces like regular white spaces + + AbstractOffsetDateTimeAssert::isBetween parameter names should + use inclusive, not exclusive + + Invoke isNotNull in returns and doesNotReturn + + Cache node names in ComparingFields, ComparingProperties + + Cache node names in ComparingNormalizedFields + + Use simpler syntax in + DefaultRecursiveComparisonIntrospectionStrategy + .getChildrenNodeNamesOf + + Update to Contributor Covenant Code of Conduct v2.1 + + Correct contains assertion Javadoc to reflect method behavior + in case actual is not empty and the group of values to look + for is + + Fix Javadoc typos + + Improving null-safety of isEqualToNormalizingNewlines + + Speed up for BinaryDiff performance + + Upgrade workflows to Java 21 + + Apply flatten-maven-plugin to assertj-core and assertj-guava + +------------------------------------------------------------------- Old: ---- assertj-core-3.8.0.tar.gz New: ---- assertj-build-3.25.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ assertj-core.spec ++++++ --- /var/tmp/diff_new_pack.TikMy4/_old 2024-05-01 14:57:13.475589704 +0200 +++ /var/tmp/diff_new_pack.TikMy4/_new 2024-05-01 14:57:13.475589704 +0200 @@ -1,7 +1,7 @@ # # spec file for package assertj-core # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,28 @@ # -%bcond_with memoryfilesystem +# The automatic requires would be java-headless >= 9, but the +# binaries are java 8 compatible +%define __requires_exclude java-headless Name: assertj-core -Version: 3.8.0 +Version: 3.25.3 Release: 0 Summary: Library of assertions similar to fest-assert License: Apache-2.0 -Group: Development/Libraries/Java -URL: http://joel-costigliola.github.io/assertj/ -Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj-core-%{version}.tar.gz +URL: https://joel-costigliola.github.io/assertj/ +Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj-build-%{version}.tar.gz BuildRequires: fdupes +BuildRequires: java-devel >= 9 BuildRequires: maven-local -BuildRequires: mvn(cglib:cglib-nodep) +BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin) BuildRequires: mvn(junit:junit) -BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) -BuildRequires: mvn(org.mockito:mockito-core) +BuildRequires: mvn(net.bytebuddy:byte-buddy) +BuildRequires: mvn(org.apiguardian:apiguardian-api) +BuildRequires: mvn(org.hamcrest:hamcrest) +BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api) +BuildRequires: mvn(org.opentest4j:opentest4j) +Requires: java-headless >= 1.8 BuildArch: noarch -%if %{with memoryfilesystem} -BuildRequires: mvn(com.github.marschall:memoryfilesystem) -%endif %description A set of strongly-typed assertions to use for unit testing @@ -47,29 +50,28 @@ This package provides API documentation for %{name}. %prep -%setup -q -n %{name}-%{name}-%{version} +%setup -q -n assertj-assertj-build-%{version} -%{pom_remove_parent} -%pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>" +%pom_remove_plugin -r :maven-javadoc-plugin +%pom_remove_plugin -r :maven-enforcer-plugin +%pom_remove_plugin -r :jacoco-maven-plugin +%pom_remove_plugin -r :spotless-maven-plugin +#pom_remove_plugin -r :bnd-maven-plugin +%pom_remove_plugin -r :bnd-resolver-maven-plugin +%pom_remove_plugin -r :bnd-testing-maven-plugin +%pom_remove_plugin -r :nexus-staging-maven-plugin +%pom_remove_plugin -r :license-maven-plugin +%pom_remove_plugin -r :flatten-maven-plugin +%pom_remove_dep -r :mockito-bom +%pom_remove_dep -r :junit-bom -%pom_remove_plugin :maven-javadoc-plugin -%pom_remove_plugin :maven-shade-plugin -%pom_remove_plugin :maven-dependency-plugin -%pom_remove_plugin org.jacoco:jacoco-maven-plugin - -# package org.mockito.internal.util.collections does not exist -rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java - -%if %{without memoryfilesystem} -%pom_remove_dep :memoryfilesystem -rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths} -%endif +%pom_disable_module assertj-core-kotlin assertj-tests/assertj-integration-tests +%pom_disable_module assertj-core-groovy assertj-tests/assertj-integration-tests -# test lib not in openSUSE -%pom_remove_dep com.tngtech.java:junit-dataprovider +%pom_add_dep org.apiguardian:apiguardian-api:1.1.2:provided %build -%{mvn_build} -f -- -Dproject.build.sourceEncoding=UTF-8 -Dsource=8 +%{mvn_build} -f -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.release=8 -Dsource=8 %install %mvn_install