Skip to content

Migration Guide 2.8

Martin Kouba edited this page Feb 24, 2022 · 21 revisions

quarkus-undertow-websockets is gone

The long time deprecated quarkus-undertow-websockets legacy extension is now removed. Use quarkus-websockets instead.

Assertj moved out of the BOM

We had frequent problems with Assertj binary compatibility (running tests compiled with an older version didn't work well with the version enforced in the BOM) so we decided to move Assertj outside of the Quarkus BOM.

That means you will have to define the version of Assertj in your own POM:

<dependency>
    <groupId>org.assertj</groupId>
    <artifactId>assertj-core</artifactId>
    <version>3.22.0</version>
</dependency>

quarkus.datasource.devservices removed

Long time deprecated quarkus.datasource.devservices config property has been removed. Use quarkus.datasource.devservices.enabled instead.

Hibernate MariaDB Dialect updated to 10.6

Hibernate is now using org.hibernate.dialect.MariaDB106Dialect by default. If you are working with MariaDB 10.3, 10.4 or 10.5 you should configure the following:

quarkus.hibernate-orm.dialect=org.hibernate.dialect.MariaDB103Dialect

OpenTracing

Some OpenTracing libraries code was moved to SmallRye OpenTracing due to lack of maintenance in the upstream projects:

These are now removed from the Quarkus BOM and available in io.smallrye:smallrye-opentracing-contrib (included transitively with the Quarkus OpenTracing Extension).

OpenTelemetry

  • Static resources are not traced automatically anymore. To revert to the old behavior, please use the configuration quarkus.opentelemetry.tracer.include-static-resources=true.

Qute

A null parameter of a loop section is treated as an empty iterable, smilarly as a null value is handled by an output expression. Previously a null parameter resulted in a TemplateException at runtime.

{#for item in items} <1>
 {item.name}
{/for}

<1> If items is resolved to null then nothing is rendered. Previously, a TemplateException was thrown at runtime.

Current version

Migration Guide 3.18

Next version in main

Migration Guide 3.19

Clone this wiki locally