Skip to content

Conversation

@deejay1
Copy link
Contributor

@deejay1 deejay1 commented Oct 16, 2023

Switches to 18 as base release having the minimum supported features. Adds matrix build for JDK versions up to 21.

@piotrrzysko
Copy link
Member

Thanks for the PR.

I'm fine with adding Java 21 to the CI, but unless there's a reason to drop support for earlier versions, I'd prefer not to do so. Some users would like to even support Java 17, as mentioned in issue #28.

My suggestion would be to create a separate GitHub job that utilizes Java 21 for building and testing the library. We can set this up using a matrix.

Set up matrix build, for versions 18 to 21
@deejay1 deejay1 changed the title Switch to LTS Java 21 release Switch to JDK 18 as minumum supported version Oct 17, 2023
@deejay1
Copy link
Contributor Author

deejay1 commented Oct 17, 2023

Thanks for the PR.

I'm fine with adding Java 21 to the CI, but unless there's a reason to drop support for earlier versions, I'd prefer not to do so. Some users would like to even support Java 17, as mentioned in issue #28.

My suggestion would be to create a separate GitHub job that utilizes Java 21 for building and testing the library. We can set this up using a matrix.

Switched to a matrix build and to 18 as the minimal version with all required features that are used now.

Copy link
Member

@piotrrzysko piotrrzysko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the README there are two places where the required Java version is mentioned:

If we want to start supporting Java 18, we need to update the README.

@piotrrzysko
Copy link
Member

Looks good. Thanks again!

@piotrrzysko piotrrzysko merged commit 93857a7 into simdjson:main Oct 23, 2023
Squiry pushed a commit to Squiry/simdjson-java that referenced this pull request Feb 29, 2024
* Drop minimum supported JDK version to 18

Set up matrix build, for versions 18 to 21

* Drop publish to JDK 18 and don't require adoptium

* Update README.md
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.

2 participants