Skip to content

Commit 862c515

Browse files
authored
Merge pull request #47 from mendix/release/9.4.1
[UIA-742] Update unit testing module to version 9.4.1
2 parents 45b8686 + ec4c33b commit 862c515

18 files changed

+57
-19
lines changed

CHANGELOG.md

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,51 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
88

9-
### Added
10-
- Added this changelog to the GitHub repository
11-
- Added jars which were previously provided by adding Community Commons
12-
- Added dependency with module available Mendix App Store: 'CoCo:ObjectHandling'
9+
## [9.4.1] - 2023-11-14
1310

14-
### Removed
15-
- Dependency with App Store module 'Community Commons'
11+
### Fixed:
12+
- We updated httpclient5 from 5.0.3 to 5.2.1
13+
- We updated httpcore5 from 5.0.2 to 5.2
14+
- We updated httpcore5-h2 from 5.0.2 to 5.2
15+
- We updated slf4j-api from 1.7.25 to 1.7.36
16+
- We removed the dependency on commons-codec-1.13
1617

18+
Note: Review the dependencies in the userlib folder after upgrading the Unit Testing module.
19+
20+
## [9.4.0] - 2023-09-20
21+
22+
### Fixed:
23+
- We upgraded the module to Mendix version 9.18.0 for compatibility with Mendix 10
24+
- We replaced the usage of “IContext.rollbackTransAction” with “IContext.rollbackTransaction”
25+
26+
## [9.3.0] - 2023-04-14
27+
28+
### Fixed:
29+
- We upgraded the module to Mendix version 9.18.0 for compatibility with Mendix 10
30+
- We replaced the usage of “IContext.rollbackTransAction” with “IContext.rollbackTransaction”
31+
32+
## [9.2.0] - 2023-01-04
33+
34+
### Fixed:
35+
- We removed the dependency on the Community Commons module
36+
- We updated the commons-lang3 dependency from 3.11 to 3.12.0
37+
- We fixed an issue for JUnit-based unit tests, where a single unit test could be discovered and added to multiple modules in certain scenarios
38+
39+
Notes when upgrading from an earlier version:
40+
- Review the dependencies in the userlib folder after upgrading the Unit Testing module. Remove the files 'commons-lang3-3.11.jar' and 'commons-lang3-3.11.jar.UnitTesting.RequiredLib', since commons-lang3 is updated to 3.12.0
41+
- When upgrading from v9.1.0: If the Community Commons module is no longer used by any other module after the upgrade, you should remove the Community Commons module from your project. Review all dependencies in the userlib folder afterwards, and remove the dependencies that were required for Community Commons only
42+
- When upgrading from v9.0.5 or below: If the Object Handling module is no longer used by any other module after the upgrade, you should remove the Object Handling module from your project. In this case, also delete the 'commons-lang3-3.7.jar' and 'commons-lang3-3.7.jar.ObjectHandling.RequiredLib' files from your userlib folder
43+
44+
## [9.1.0] - 2022-11-07
45+
46+
### Fixed:
47+
- We replaced the dependency on Object Handling module with Community Commons module
48+
Notes when upgrading from an earlier version:
49+
50+
- The Community Commons module is now required for this module to work. Download the Community Commons module from the marketplace and review all dependencies in the userlib folder afterwards.
51+
- If the Object Handling module is no longer used by any other module after upgrading the Unit Testing module, you should remove the Object Handling module from your project. In this case, also delete the 'commons-lang3-3.7.jar' and 'commons-lang3-3.7.jar.ObjectHandling.RequiredLib' files from your userlib folder.
52+
53+
## [9.0.5] - 2022-11-01
54+
55+
### Fixed:
56+
- We updated the commons-io dependency from 2.8.0 to 2.11.0 to be in line with Community Commons

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.mendix.UnitTesting</groupId>
88
<artifactId>UnitTesting</artifactId>
9-
<version>9.4.0</version>
9+
<version>9.4.1</version>
1010

1111
<repositories>
1212
<repository>
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>org.apache.httpcomponents.client5</groupId>
3232
<artifactId>httpclient5</artifactId>
33-
<version>5.0.3</version>
33+
<version>5.2.1</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>junit</groupId>

src/UnitTesting.mpr

0 Bytes
Binary file not shown.

src/userlib/UnitTesting.migration

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
dependency commons-io:commons-io:2.11.0
22
dependency org.apache.commons:commons-lang3:3.12.0
3-
dependency org.apache.httpcomponents.client5:httpclient5:5.0.3
3+
dependency org.apache.httpcomponents.client5:httpclient5:5.2.1
44
dependency junit:junit:4.13.1
5-
delete commons-codec-1.13.jar
6-
delete commons-codec-1.13.jar.UnitTesting.RequiredLib
75
delete commons-io-2.11.0.jar
86
delete commons-io-2.11.0.jar.UnitTesting.RequiredLib
97
delete commons-lang3-3.12.0.jar
108
delete commons-lang3-3.12.0.jar.UnitTesting.RequiredLib
119
delete hamcrest-core-1.3.jar
1210
delete hamcrest-core-1.3.jar.UnitTesting.RequiredLib
13-
delete httpclient5-5.0.3.jar
14-
delete httpclient5-5.0.3.jar.UnitTesting.RequiredLib
15-
delete httpcore5-5.0.2.jar
16-
delete httpcore5-5.0.2.jar.UnitTesting.RequiredLib
17-
delete httpcore5-h2-5.0.2.jar
18-
delete httpcore5-h2-5.0.2.jar.UnitTesting.RequiredLib
11+
delete httpclient5-5.2.1.jar
12+
delete httpclient5-5.2.1.jar.UnitTesting.RequiredLib
13+
delete httpcore5-5.2.jar
14+
delete httpcore5-5.2.jar.UnitTesting.RequiredLib
15+
delete httpcore5-h2-5.2.jar
16+
delete httpcore5-h2-5.2.jar.UnitTesting.RequiredLib
1917
delete junit-4.13.1.jar
2018
delete junit-4.13.1.jar.UnitTesting.RequiredLib
21-
delete slf4j-api-1.7.25.jar
22-
delete slf4j-api-1.7.25.jar.UnitTesting.RequiredLib
19+
delete slf4j-api-1.7.36.jar
20+
delete slf4j-api-1.7.36.jar.UnitTesting.RequiredLib

src/userlib/commons-codec-1.13.jar

-336 KB
Binary file not shown.

src/userlib/httpclient5-5.0.3.jar

-758 KB
Binary file not shown.

src/userlib/httpclient5-5.2.1.jar

820 KB
Binary file not shown.

src/userlib/httpcore5-5.0.2.jar

-791 KB
Binary file not shown.

src/userlib/httpcore5-5.2.jar

833 KB
Binary file not shown.

0 commit comments

Comments
 (0)