karate icon indicating copy to clipboard operation
karate copied to clipboard

make JDK 11 the minimum version

Open ptrthomas opened this issue 1 year ago • 2 comments

refer discussion in 2009 on Jun 7

plan is:

  • version 1.3.0 of Karate (which solves the Graal JS issues) will be the last release that uses JDK 8
  • version 1.4.X onwards Karate will require Java 11

ptrthomas avatar Aug 03 '22 06:08 ptrthomas

this ticket will also track

  • the switch of Karate's maven namespace to io.karatelabs.karate and the corresponding Java package changes
  • we can also take this opportunity to drop JUnit4 support completely

ptrthomas avatar Aug 04 '22 11:08 ptrthomas

note to self: we need to move the docker container to the karatelabs org: https://hub.docker.com/r/karatelabs/karate-chrome

existing: https://hub.docker.com/r/ptrthomas/karate-chrome

for the record, pull-count is 745965 as of now: https://hub.docker.com/v2/repositories/ptrthomas/karate-chrome/

ptrthomas avatar Aug 24 '22 17:08 ptrthomas

there's a report of classgraph having a vulnerability, so make sure to upgrade that in this ticket: https://ossindex.sonatype.org/component/pkg:maven/io.github.classgraph/classgraph

ptrthomas avatar Oct 06 '22 18:10 ptrthomas

update: classgraph was upgraded in develop and will make it in the final release of 1.3.0 - any team depending on this is requested to verify

ptrthomas avatar Oct 09 '22 14:10 ptrthomas

reminder to upgrade picocli to 4.7.0 https://github.com/remkop/picocli/releases/tag/v4.7.0

ptrthomas avatar Nov 01 '22 03:11 ptrthomas

anyone landing here, please note - a Karate version for Java 11 (plus Graal update) is already available as 1.4.0.RC1 see #2148

ptrthomas avatar Nov 08 '22 06:11 ptrthomas

note a request to update the ANTLR dep in #2174

ptrthomas avatar Nov 08 '22 18:11 ptrthomas

Is there any possibility of doing a 1.4.0.RC2 release which will bring in the recent improvements from 1.3.1. Could that also include the ANTLR update as well please? I'd like to keep tracking the 1.4.0 releases but I have a clash with ANTLR versions and I'm not keen to use the "all" classifier as it re-introduces vulnerable dependencies we've previously replaced.

edwardsph avatar Dec 12 '22 10:12 edwardsph

@edwardsph sure. will try in the next day or two. wonder if you had a chance to look at this

ptrthomas avatar Dec 12 '22 12:12 ptrthomas

Sadly I didn't have the capacity but that's partly the reason for the above request, so I can have a look at those changes in the context of 1.4.0. It was tricky for me to revert to 1.3.1.

edwardsph avatar Dec 12 '22 13:12 edwardsph

all: 1.4.0.RC2 was released and should be available in maven central shortly. in addition to the fixes in 1.3.1 - here are the dependencies updated to latest versions: https://github.com/karatelabs/karate/commit/05bd6af38faff10ecb33cfb9b31987a4ba194b00

ptrthomas avatar Dec 12 '22 14:12 ptrthomas

dev note: we will drop cucumber and the fake classes in 1.4.0: https://github.com/karatelabs/karate/issues/2214

ptrthomas avatar Dec 12 '22 15:12 ptrthomas

for anyone landing here, 1.4.0.RC3 is available.

note for 1.5.0 - we will stop releasing the ZIP release as this need is covered by the plugins (VS Code and IntelliJ): https://github.com/karatelabs/karate/wiki/ZIP-Release

ptrthomas avatar Jan 31 '23 11:01 ptrthomas

1.4.0 released

ptrthomas avatar Apr 02 '23 14:04 ptrthomas