Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Java 8 as Minimum Required Version and Upgrade Dependencies #874

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

exceptionfactory
Copy link
Contributor

This pull requests changes the Java compiler release version from 7 to 8, making the Java 8 the minimum required version for using SSHJ.

Runtime dependency changes include the following updates:

  • Upgraded Bouncy Castle from 1.70 to 1.75
  • Upgraded SLF4J from 1.7.36 to 2.0.7

Both of these runtime dependency upgrades require Java 8.

Test dependency changes include the following updates:

  • Upgraded Logback from 1.2.11 to 1.3.8
  • Upgraded Apache MINA SSHD from 2.8.0 to 2.10.0
  • Upgraded Grizzly HTTP Server from 2.4.4 to 3.0.1
  • Upgraded Testcontainers from 1.16.2 to 1.18.3
  • Upgraded Spock from 1.3 to 2.0

GitHub Action changes include the following updates:

  • Upgraded GitHub Actions setup-java from 1 to 3
  • Updated GitHub Actions to use Temurin JDK 11 aligning with the Java build version specified in the project configuration
  • Removed the integration test dependency on the build job so that both jobs run in parallel

Test code changes include replacing the Apache HttpClient library references to Java HttpURLConnection, allowing for the test dependency to be removed.

Spock 2.0 uses the Gradle JUnit Platform runner, supporting simplified build configuration.

The RSA algorithm integration tests could fail due to a mismatch between the OpenSSH and OpenSSL versions, requiring an additional package upgrade command.

- Upgraded Bouncy Castle from 1.70 to 1.75
- Upgraded SLF4J from 1.7.36 to 2.0.7
- Upgraded Logback from 1.2.11 to 1.3.8
- Upgraded Apache MINA SSHD from 2.8.0 to 2.10.0
- Upgraded Grizzly HTTP Server from 2.4.4 to 3.0.1
- Upgraded Testcontainers from 1.16.2 to 1.18.3
- Refactored references and removed HttpClient dependency
- Upgraded GitHub Actions setup-java from 1 to 3
- Updated GitHub Actions to use Temurin JDK 11
- Added OpenSSL upgrade to RSA Key Tests
@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2023

Codecov Report

Merging #874 (5a29f53) into master (e7614db) will increase coverage by 0.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #874      +/-   ##
============================================
+ Coverage     65.29%   65.49%   +0.19%     
- Complexity     1436     1443       +7     
============================================
  Files           209      209              
  Lines          8060     8060              
  Branches        746      746              
============================================
+ Hits           5263     5279      +16     
+ Misses         2400     2386      -14     
+ Partials        397      395       -2     

see 4 files with indirect coverage changes

@RealTYPICAL
Copy link

Hello,

When can we expect this to be released?

Thanks for the changes.

@exceptionfactory
Copy link
Contributor Author

Thanks for the initial review of these changes @hierynomus. Is there anything that needs to be adjusted before this can go forward?

@hierynomus hierynomus merged commit 39a7be9 into hierynomus:master Jul 14, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants