Releases: apache/maven-surefire
Releases · apache/maven-surefire
3.1.2
Release Notes - Maven Surefire - Version 3.1.2
- update commons compress to 1.23.0 (#655) @elharo
- Drop unused commons-lang 2.6 from management (#661) @elilja
- Remove old junittoolbox dependency no longer used (#658) @elharo
- update test libraries (#657) @elharo
- update commons-io to 2.12.0 (#653) @elharo
- remove descriptions of Maven 2.x and very old versions (#647) @elharo
- Remove more details about Maven 2 and old versions (#654) @elharo
- Simplify method (#651) @michael-o
- Update Sufefire (#646) @michael-o
- Backport (#635) @michael-o
- [SUREFIRE-2166] - Use ChoiceFormat to selective render percentage and elapsed time in SurefireReportRenderer (#639) @michael-o
- Simplify serialization/deserialization of elapsed time (SUREFIRE-2164 + SUREFIRE-2167) (#645) @michael-o
- [SUREFIRE-2169] - Potential NPE in WrappedReportEntry when #getElapsed(… (#643) @michael-o
- fix SAX bug (#642) @michael-o
- [MNG-6829] - Replace StringUtils#isEmpty(String) & #isNotEmpty(String) (#641) @timtebeek
- Fixes (#636) @michael-o
📦 Dependency updates
- Bump animal-sniffer-maven-plugin from 1.21 to 1.23 (#624) @dependabot
👻 Maintenance
- [SUREFIRE-2173] - Pass build and tests with Java 20 (#648) @slachiewicz
3.1.0
Release Notes - Maven Surefire - Version 3.1.0
Sub-task
- [SUREFIRE-2162] - Document upcoming mojo and file names change
Bug
- [SUREFIRE-2140] - Cannot release Surefire on Windows
Improvement
- [SUREFIRE-2153] - Replace SurefireReportGenerator with a new SurefireReportRenderer
- [SUREFIRE-2160] - Replace LocalizedProperties with (Custom)I18N approach from MPIR
Task
- [SUREFIRE-2130] - Rewrite several test classes in report plugin for upcoming Doxia 2.0.0 stack
3.0.0
🚀 New features and improvements
- [SUREFIRE-2154] - Get rid of localRepository from surefire mojo parameter, use Resolver API (#617) @slawekjaranowski
🐛 Bug Fixes
- [SUREFIRE-2119] - Sanitize failIfNoSpecifiedTests prefix in failsafe (#570) @liry
- [SUREFIRE-2143] - Fix reporting of skipped parameterized test (#612) @andpab
📝 Documentation updates
- [SUREFIRE-2156] - Refresh download page (#618) @slawekjaranowski
👻 Maintenance
- [SUREFIRE-2150] - Remove duplicate license headers (#619) @slawekjaranowski
- [SUREFIRE-2150] - upgrade to parent pom 39 (#614) @olamy
- [SUREFIRE-2149] - Make all ITs run with Maven 3.9.0 (#613) @andpab
3.0.0-M9
🚀 New features and improvements
- [SUREFIRE-2146] - Don't draw border around reporting tables (#596) @michael-o
🐛 Bug Fixes
- [SUREFIRE-2145] - Don't use Sink#figure()/Sink#figureCaption() since it… (#595) @michael-o
- [SUREFIRE-2065] - Fix parameterized JUnit4 test reporting (#608) @andpab
- [SUREFIRE-2095] - Fork crash doesn't fail build with -Dmaven.test.failure.ignore=true when run with failsafe (#545) @br0nstein
📦 Dependency updates
- Bump log4j-core from 2.13.1 to 2.17.1 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#569) @dependabot
- Bump junit from 4.12 to 4.13.1 in /surefire-its/src/test/resources/surefire-2065-junit4 (#611) @dependabot
- Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-filtering (#551) @dependabot
3.0.0-M8
💥 Breaking changes
- [SUREFIRE-1654] - Remove deprecated
forkMode
parameter (#575) @SimonBaars
🚀 New features and improvements
- [SUREFIRE-2139] - Raise plexus-java to 1.1.2 for proper Java 19/20 bytecode support (#591) @andpab
- [SUREFIRE-2133] - Make anchors start before the headings (#582) @michael-o
🐛 Bug Fixes
- [SUREFIRE-2095] - Fork crash doesn't fail build with -Dmaven.test.failure.ignore=true when run with failsafe (#545) @br0nstein
- [[SUREFIRE-2109] Add suffix derived from current user to Surefire temp directory name (#554) @sman-81]](https://issues.apache.org/jira/browse/SUREFIRE-2109] Add suffix derived from current user to Surefire temp directory name (#554) @sman-81) - [SUREFIRE-2117] - Include package, outer classes in XML report for @nested (#568) @andpab
- [SUREFIRE-2101] - JUnit5 console reporting: Fall back to class name (#587) @andpab
- [SUREFIRE-2101] - Fixes 'null' phrased test names with JUnit5 without @DisplayName (#549) @ascopes
- [SUREFIRE-2032] - Fix test count when using @disabled at class level (#564) @gnodet
- [SUREFIRE-2135] - Use native.encoding for parsing ps (#584) @andpab
- [SUREFIRE-2100] - make aggregate parameter work for single-module projects (#548) @kwin
- [SUREFIRE-2090] - Xref link to source code with specified line number doesn't work. Missing "L" in anchor (#555) @raupachz
- [SUREFIRE-2082] - Close file handles asap to prevent breaching the system's maximum number of open files (#534) @Tibor17
📦 Dependency updates
- Bump log4j-core from 2.13.1 to 2.17.1 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#569) @dependabot
- Bump junit from 4.12 to 4.13.1 in /surefire-its/src/test/resources/surefire-2065-junit4 (#611) @dependabot
- Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-filtering (#551) @dependabot
- [SUREFIRE-2129] - Upgrade Maven Reporting API to 3.1.1/Maven Reporting … (#579) @michael-o
- Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-scope-filtering (#550) @dependabot
- Bump javacc from 7.0.11 to 7.0.12 (#553) @dependabot
- Bump assertj-core from 3.22.0 to 3.23.1 (#541) @dependabot
📝 Documentation updates
👻 Maintenance
- [SUREFIRE-1962] - Unit test for ProviderInfo#isApplicable (#445) @slawekjaranowski
- [SUREFIRE-2138] - Update Junit4/5 version in docs and ITs (#590) @andpab
- [SUREFIRE-2137] - Run JUnitPlatform ITs with latest 5.8.x/5.9.x as well (#588) @andpab
- [NO-JIRA] Refactor integration tests module (#576) @SimonBaars
- Fix report tests (#586) @michael-o
- [SUREFIRE-2126] - Use the latest surefire version 3.0.0-M7 with self testing (#578) @slawekjaranowski
- [SUREFIRE-2136] - Rename test dir that contains colon (#585) @andpab
3.0.0-M7
🚀 New features and improvements
- [[SUREFIRE-2086] Management of temporary files (#535) @sman-81]](https://issues.apache.org/jira/browse/SUREFIRE-2086] Management of temporary files (#535) @sman-81) - * [SUREFIRE-2055] - Always show random seed (#505) @delanym
- [SUREFIRE-2064] - Allow all supported values of [parallel] option (#517) @sbabcoc
🐛 Bug Fixes
- [SUREFIRE-2077] - Allow consecutive spaces in argLine (#527) @mthmulders
- [SUREFIRE-2075] - Only set thread count if specified in configuration (#528) @sbabcoc
- [SUREFIRE-2076] - BufferOverflowException when encoding message with null runMode (#529) @zoltanmeze
- [[SUREFIRE-2058] Corrupted STDOUT by directly writing to native stream in forked JVM 1 with UTF-8]](https://issues.apache.org/jira/browse/SUREFIRE-2058] Corrupted STDOUT by directly writing to native stream in forked JVM 1 with UTF-8) - console logging (#518) @zoltanmeze
- [SUREFIRE-2057] - jpms requires static must be included (#508) @olamy
- [SUREFIRE-2056] - BufferOverflowException when encoding message with null testId (#506) @yrodiere
📦 Dependency updates
- Bump javacc from 7.0.10 to 7.0.11 (#524) @dependabot
- Bump javassist from 3.22.0-GA to 3.29.0-GA (#536) @dependabot
- Bump jacocoVersion from 0.8.7 to 0.8.8 (#520) @dependabot
- [SUREFIRE-2044] - Upgrade Maven Verifier to 1.8.0 (#507) @slawekjaranowski
👻 Maintenance
- [SUREFIRE-2067] - Improve site configuration (#538) @slawekjaranowski
- move this version changelog to a dedicated page (#539) @olamy
- [[SUREFIRE-2083] - Remove redundant config from maven-shade-plugin (#532) @sman-81]](https://issues.apache.org/jira/browse/SUREFIRE-2083] - Remove redundant config from maven-shade-plugin (#532) @sman-81) - * [SUREFIRE-2081] - Upgrade Parent to 36 (#530) @slawekjaranowski
- [SUREFIRE-2062] - Remove code corresponding to jdk 7 from IT tests (#515) @slawekjaranowski
3.0.0-M6
- [SUREFIRE-2051] - Propagate exceptions while resolving artifacts in
SurefireDependencyResolver
(#504) @hisener - [SUREFIRE-2024] - Replace testng-junit5 by testng-engine (#500) @slawekjaranowski
- [SUREFIRE-1432] - trimStackTrace = false by default (#502) @Tibor17
- [SUREFIRE-2040] - No tests executed with junit-platform-suite and -Dtest=TestSuite (#494) @Tibor17
- [SUREFIRE-2046] - Resolved TODOs. Updated callbacks ForkedProcessPropertyEventListener and ForkedProcessStandardOutErrEventListener. (#501) @Tibor17
- [SUREFIRE-1426] - Fork crash doesn't fail build with -Dmaven.test.failure.ignore=true (#496) @Tibor17
- [SUREFIRE-2038] - Upgrade Maven Parent to 35 (#491) @slawekjaranowski
- [SUREFIRE-2042] - Remove unused method TestListResolver#getWildcard (#497) @slawekjaranowski
- [SUREFIRE-1964] - Support for method filtering on excludesFile and includesFile (#490) @Tibor17
- Stage site on GH actions (#489) @slawekjaranowski
- [SUREFIRE-2015] - Implement testRunId and RunMode in the SimpleReportEntry (#482) @Tibor17
- [SUREFIRE-2025] - Updated abstractions which helps associating systemProperties() with a test context (#475) @Tibor17
- [SUREFIRE-2026] - Improve assertions in Surefire1787JUnit5IT (#474) @slawekjaranowski
- Fix documentation: integration tests are in surefire-its now (#477) @DaGeRe
- [SUREFIRE-2016] - The MOJO parameter testSourceDirectory is used only in the TestNG HTML, and it should be optional. Javadoc and documentation should be fixed. (#472) @Tibor17
- [SUREFIRE-1909] - Support JUnit 5 reflection access by changing add-exports to add-opens (#471) @NilsRenaud
- [SUREFIRE-2011] - Updated abstractions which helps associating standard out/err with a test (#469) @Tibor17
- [SUREFIRE-2012] - Use maven-shared-utils instead of surefire-shared-utils in Report Parser. Removed commons-lang in Report Plugin. (#470) @Tibor17
- [SUREFIRE-2003] - Upgrade Maven Reporting to 3.1.0 (#464) @Tibor17
- [SUREFIRE-2009] - Refactoring of surefire-junit3. JUnitTestSetExecutor and PojoTestSetExecutor should be stateless. (#467) @Tibor17
- [SUREFIRE-2008] - Upgrade animal-sniffer-maven-plugin to 1.21 (#468) @slawekjaranowski
- [SUREFIRE-2006] - Don't use Services Transformer in shadefire (#462) @slawekjaranowski
- [[SUREFIRE-1992] - Do not abbreviate test error/failure messages to 78 characters (#452) @sman-81]](https://issues.apache.org/jira/browse/SUREFIRE-1992] - Do not abbreviate test error/failure messages to 78 characters (#452) @sman-81) - * [[SUREFIRE-1994] Upgrade javacc-maven-plugin, add setup instructions for Eclipse (#453) @sman-81]](https://issues.apache.org/jira/browse/SUREFIRE-1994] Upgrade javacc-maven-plugin, add setup instructions for Eclipse (#453) @sman-81) - * [SUREFIRE-1556] - Test XML file is not valid when rerun "fails" with an assumption (#450) @Tibor17
- Drop max-parallel from GitHub build (#455) @Tibor17
- [SUREFIRE-1995] - Ping and process checker should use isolated schedulers and the errors should be logged (#454) @Tibor17
- [SUREFIRE-1987] - Refactor ProviderDetector (#449) @slawekjaranowski
- [SUREFIRE-1926] - Console logs should be synchronized (#419) @Tibor17
- [SUREFIRE-1975] - JDK18 - The Security Manager is deprecated and will be removed in a future release (#422) @Tibor17
- [SUREFIRE-1935] - Upgrade to JUnit Platform 1.8, start Launcher via LauncherSession (#389) @papegaaij
- [[SUREFIRE-1937] [SUREFIRE-1938] [SUREFIRE-1980] [SUREFIRE-1981]](https://issues.apache.org/jira/browse/SUREFIRE-1937] [SUREFIRE-1938] [SUREFIRE-1980] [SUREFIRE-1981) - (#444) @Tibor17
- [SUREFIRE-1972] - Use current version of surefire-shared-utils (#443) @Tibor17
- [SUREFIRE-1967] - Fix parallel test ordering to prevent high resource consumption (#407) @findepi
- Use the latest release version of failsafe in ITs (#439) @slawekjaranowski
- [SUREFIRE-1869] - Replace deprecated File.toURL() by File.toURI().toURL() (#435) @slawekjaranowski
- Deploy artifacts only for master branch (#423) @slawekjaranowski
- GitHub Shared Action v2 (#425) @slawekjaranowski
- [SUREFIRE-1974] - Upgrade plexus-java to Version 1.1.0 (#421) @Tibor17
- [SUREFIRE-1955] - Switch project to Java 8 (#415) @slawekjaranowski
- Bump animal-sniffer-maven-plugin from 1.17 to 1.20 (#420) @Tibor17
- [SUREFIRE-1959] - Update plugin (requires Maven 3.2.5+) (#412) @slawekjaranowski
- Use shared GitHub actions (#410) @slawekjaranowski
- [SUREFIRE-1968] - Bump maven Plugin Tools to 3.6.2 (#409) @slawekjaranowski
- Jenkins build Improvement (#408) @slawekjaranowski
- Update some github actions and dependabot file (#401) @olamy
- [SUREFIRE-1954] - move inner class ProviderList to upper level (#393) @slawekjaranowski
- [SUREFIRE-1957] - Get rid of maven-artifact-transfer (#396) @slawekjaranowski
- Add PR template (#395) @slawekjaranowski
- Replace unsupported tags in Javadoc comments (#392) @mikemybytes
- [site] fixing typo in the junit.apt.vm file (#390) @acabra85
- [SUREFIRE-1914] - Take displayName of container into account for XML reporting of @ParameterizedTest (#352) @andpab
- [SUREFIRE-1881] - Adds additional debug log and fork connection timeout (#354) @Tibor17
- Fix '' typo at surefire site (#353) @tmussi
- Surefire 1910 (#350) @Tibor17
- docs: fix typo (#346) @elharo
- [SUREFIRE-1659] - Log4j logger in TestExecutionListener corrupts Surefire's STDOUT (#342) @kalgon
- [SUREFIRE-1894] - Add missing "version" attribute to report XSD (#341) @martinmo
- [SUREFIRE-1890] - Support TestNG 7.4.0 (#339) @josephlbarnett
- Add more documentation and verification for failOnFlakeCount (#336) @oehme
- [SUREFIRE-1886] - Upgrade plexus-java to Version 1.0.6 (#335) @elharo
- Add failOnFlakeCount option (#333) @oehme
- [SUREFIRE-1882] - Fix failures when compiled on Java 9+ and run on Java 8 (#332) @kriegaex
- ci: JDK 8, JDK 11, JDK 15 (#329) @sullis
- Refer to correct property in skipping-tests doc (#262) @qerub
- [SUREFIRE-1865] - ChecksumCalculator getSha1 does not compute checksums correctly. (#327) @gianm
- Fix message about forkCount parameter = 0 - part 2 (#328) @MartinKanters
- [SUREFIRE-1840] - Distinguish commands in docs for testing with docker (#325) @mslwang
- SUREFIRE-1857: JUnit 5 report does not contain assertion failure message (#324) @nk-coding
- SUREFIRE-1584: Update example documentation (#323) @ctubbsii
- Change default debug options to not use legacy options (#307) @Thihup
- Clarified the documentation for useModulePath (#322) @cowwoc
- [SUREFIRE-1850] - remove maven-toolchain dependency (#319) @elharo
- [SUREFIRE-1851] - Prevent NPE in SmartStackTraceParser (#320) @domdomegg
- Update Readme MAVEN_OPTS TLS version (#312) @boly38
- (doc) improved readme (#316) @michaelboyles
- [SUREFIRE-1846] - Remove Base64 in the Encoder/Decoder and gain the performance for the communication flow: Fork to Plugin (#310) @Tibor17
- [SUREFIRE-1843] - Trademarks / privacy policy footer displays broken (#315) @michaelboyles
- [SUREFIRE-1842] - NPE at end of successful test run (#314) @michaelboyles
- [SUREFIRE-756] - Allow ability to capture executed random runOrder for re-play purposes (#309) @winglam
- SUREFIRE-1815: ...