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

2.14.2 backports 3 #29474

Merged
merged 16 commits into from
Nov 25, 2022
Merged

2.14.2 backports 3 #29474

merged 16 commits into from
Nov 25, 2022

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Nov 24, 2022

Please don't merge, I will merge it myself.

gsmet and others added 14 commits November 24, 2022 15:17
… have been added programmatically

(cherry picked from commit a11e121)
… guide

Since 2.12.1.Final, a @restclient qualifier is needed,
see quarkusio#28004

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 78cb98c)
…n methods

Although we can make this work in the future, it involves a fair amount of work
for a very small gain, so let's make it explicit for now that this combination
is not allowed.

Follows up on: quarkusio#29118

(cherry picked from commit 930744b)
…larative filter annotations

(cherry picked from commit 3a5ad2d)
…ors when there are other interceptors in play

(cherry picked from commit d5ec1f2)
The `EventBusCodecProcessor` used to create a map from Jandex `Type`
of message to a `DotName` of the corresponding codec, and then expose
that map as a repeatable `MessageCodecBuildItem`. When creating each
build item, the code used to call `Type.toString()`, which is never
the right thing to do when obtaining a class name from Jandex `Type`.

With this commit, the map is from type `DotName` to codec `DotName`,
and the key in the map is obtained by `Type.name()`.

(cherry picked from commit bba49af)
(cherry picked from commit 537e81b)
Sometimes, ArC used to call the `AnnotationLiteralProcessor` with
annotations that are either class-retained, or their classes are missing
(which is perfectly legal). It is a minority of callers though -- most
of them only call `AnnotationLiteralProcessor` with qualifiers or
interceptor bindings. Those must always be runtime-retained and their
classes must be present, and it is an error if they are not.

At the same time, we don't want to generate annotation literals for
class-retained annotations or for annotations whose classes are missing.

The `AnnotationLiteralProcessor` already checks that the annotation class
exists, so with this commit, it also checks that the annotation for which
the literal is generated is runtime-retained. If not, an exception is
thrown. This lets us know that there's a problem somewhere.

There are 2 places where ArC deals with arbitrary annotations and may need
to generate annotation literals for them; in both cases, the code has to
process all annotations present on an injection point. In these cases, it
is straightforward to filter out class-retained annotations and missing
annotation classes.

(cherry picked from commit 46268e3)
The combination of these two HTTP headers is illegal, so
let's make sure RESTEasy Reactive does not send the Content-Length
header when Transfer-Encoding is set

Fixes: quarkusio#29059
(cherry picked from commit b632c9e)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.5.0 to 42.5.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](pgjdbc/pgjdbc@REL42.5.0...REL42.5.1)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 7bf72c6)
@gsmet gsmet added the area/infra internal and infrastructure related issues label Nov 24, 2022
@gsmet gsmet self-assigned this Nov 24, 2022
@quarkus-bot quarkus-bot bot added area/arc Issue related to ARC (dependency injection) area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation area/maven area/resteasy-reactive area/vertx labels Nov 24, 2022
FroMage and others added 2 commits November 24, 2022 19:19
@quarkus-bot quarkus-bot bot added the area/platform Issues related to definition and interaction with Quarkus Platform label Nov 24, 2022
@gsmet gsmet merged commit 0e0cd43 into quarkusio:2.14 Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation area/infra internal and infrastructure related issues area/maven area/platform Issues related to definition and interaction with Quarkus Platform area/resteasy-reactive area/vertx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants