Quarkus 3.0.0.Alpha2 released - Second iteration of our Jakarta EE 10 stream
Quarkus 3.0.0.Alpha2 is the continuation of this effort.
On the Jakarta EE 10 front, it doesn’t bring anything new, several things are in the works to be integrated in the next Alpha, but it is based on 2.14.3.Final (the previous Alpha was based on 2.13.3.Final) so you get all the new features and bugfixes from Quarkus 2.14.
For more details, you can refer to the announcements for Quarkus 2.14.0.Final, 2.14.1.Final, 2.14.2.Final, and 2.14.3.Final.
The next Alpha will be released in about a month and will be based on Quarkus 2.15.3.Final.
Quarkus 3を試してみる
今のところ、最も簡単な方法は、 code.quarkus.io を使用するか、Quarkus CLIを使用することです:
quarkus create app --stream=3.0
Mind you that at this stage, while all the core extensions are available, only parts of the Quarkus platform is present. Not all extensions have yet migrated to Jakarta packages (e.g. Camel Quarkus or Kogito are not yet available).
Quarkus 3へのアップグレード
For existing applications where all extensions are available, we have an early OpenRewrite recipe that you can try.
There is a one-liner that attempts to do it automatically using a JBang script:
For Linux:
curl -Ls https://sh.jbang.dev | bash -s - --fresh upgrade-to-quarkus3@quarkusio
For Windows:
iex "& { $(iwr https://ps.jbang.dev) } --fresh upgrade-to-quarkus3@quarkusio"
Using the JBang script also migrates the documentation (in Markdown on AsciiDoc). It is the preferred method as the one presented below will only migrate the source code. |
You can also do it manually by downloading the OpenRewrite recipe and apply it manually with the following Maven command:
curl -o quarkus3.yml https://raw.githubusercontent.com/quarkusio/quarkus/main/jakarta/quarkus3.yml
mvn org.openrewrite.maven:rewrite-maven-plugin:4.39.0:run \
-Drewrite.configLocation=quarkus3.yml \
-DactiveRecipes=io.quarkus.openrewrite.Quarkus3
For multi-module projects, it is recommended to specify an absolute path in the |
Once this has been run your project should have its dependencies and source code updated to use Quarkus 3.
もしうまくいかない場合は、私たちが何か見落としているか、Quarkus 3をサポートしていないエクステンションを使用している可能性があります。
Let us know in either case so we can together improve the migration script.
参加のお誘い
私達は皆様からのフィードバックに重きを置いています。バグ報告、改善要望を是非お願いします。一緒に素晴らしいものを作り上げていきましょう!
Quarkusユーザーの場合でも、単に興味を持っているだけの場合でも、恥ずかしがらずにコミュニティに参加して下さい!:
-
GitHub でフィードバック
-
コードを作成し、 プルリクエスト を送信
-
Stack Overflow で質問