Skip to content

Releases

Micronaut Core 5.2.26

Choose a tag to compare

@sdelamo sdelamo released this 24 Nov 09:03

What's Changed

Other Changes 💡

  • Evaluate expressions in the annotation metadata of intercepted methods that also have placeholders by @sdelamo in #14545

Full Changelog: v5.2.25...v5.2.26

Micronaut Core 5.2.25

Choose a tag to compare

@sdelamo sdelamo released this 17 Nov 15:15

What's Changed

Bug Fixes 🐞

  • Keep a shared body buffer consistent when a subscriber subscribes or cancels by @dstepanov in #14452

Dependency updates 🚀

Full Changelog: v5.2.24...v5.2.25

Micronaut Core 5.2.24

Choose a tag to compare

@sdelamo sdelamo released this 16 Nov 08:26

What's Changed

Bug Fixes 🐞

  • Finish HTTP/1 responses consistently on the fast path and on connection close by @dstepanov in #14453
  • Fix the inverted pending connection hint of the client pool by @dstepanov in #14459
  • Wind down HTTP/1 client connections on their event loop by @dstepanov in #14458
  • Release the client connection when a request fails before it is sent by @dstepanov in #14457
  • Read HTTP/2 stream state on the event loop when writing a full response by @dstepanov in #14454
  • Close listeners that were bound when a later listener fails to bind by @dstepanov in #14455
  • Acknowledge form data that was buffered before the demuxer was created by @dstepanov in #14456

Improvements ⭐

  • Return null from splitAcceptHeader when the first entry is empty by @hauke-d in #14349
  • Allow annotation-processing environments to disable logging by @lissam1 in #14441

Other Changes 💡

  • Evaluate expressions in the declared metadata of expression aware annotation metadata by @sdelamo in #14466

Full Changelog: v5.2.23...v5.2.24

Micronaut Core 5.2.23

Choose a tag to compare

@sdelamo sdelamo released this 11 Nov 10:16

What's Changed

Micronaut Core 5.2.23 is a patch release with security fixes and framework improvements. It addresses 38 GitHub Security Advisories.

🚨 Security fixes

HTTP server and routing

HTTP clients

  • Bound HTTP client response sizes and timeouts for stalled bodies: GHSA-j3jr-9qw4-m252.
  • Release client buffers and connections after malicious or failing upstream responses: GHSA-fr2f-ww99-xgcc.
  • Clear stale Content-Length state and prevent unsafe connection reuse after decode failures: GHSA-wv7m-pmvh-98h9.
  • Isolate client cookies and credentials and prevent unsafe request-construction behavior: GHSA-mfrv-8fw9-56vq.
  • Bound JSON stream element size and processing work: GHSA-5pxm-5867-gjc9.
  • Honor configured header filters on cross-origin redirects in the JDK HTTP client: GHSA-9mfm-8wr5-m838.
  • Do not forward request framing or hop-by-hop headers from relayed requests in the JDK HTTP client: GHSA-64w5-89v4-549v.

WebSockets and server-sent events

Improvements and fixes

  • Keep @InjectScope beans scoped to each creation, including nested and concurrent creations.
  • Keep runtime proxy target resolutions isolated, and deliver reactive signals with the propagated context bound.
  • Make propagated context entry and exit cheaper, and restore the previous context even when a thread element fails.
  • Prevent environment lookups from failing while the environment is starting.
  • Choose the highest-weight acceptable compression algorithm and never select an algorithm assigned q=0.
  • Avoid duplicate processing of executable methods by deprecated method processors.
  • Resolve @Replaces chains and allow replacements to satisfy the qualifiers of the beans they replace.
  • Resolve placeholders in @Executable annotation members separately for each application context.
  • Preserve Python object identity during conversion and support type-use annotation metadata without a native originating element.
  • Read Kotlin annotation defaults from the compiled annotation class when the current processing round has no usage.

Other changes

  • Improve test compatibility and stability for current JDK and Netty behavior, including retrying an external TLS test when the remote test service times out.

Full changelog

Micronaut Core 4.10.37

Choose a tag to compare

@sdelamo sdelamo released this 11 Nov 13:52

Micronaut Core 4.10.37

Micronaut Core 4.10.37 is a security-focused patch release. It addresses 37 GitHub Security Advisories across HTTP routing, servers and clients, WebSockets, server-sent events, and static resource handling.

🚨Security fixes

HTTP server and routing

HTTP clients

  • Do not forward request framing or connection headers from JDK HTTP client requests: GHSA-64w5-89v4-549v.
  • Clear stale Content-Length state and prevent unsafe connection reuse after a response decode failure: GHSA-wv7m-pmvh-98h9.
  • Honor configured header filters on cross-origin redirects in the JDK HTTP client: GHSA-9mfm-8wr5-m838.
  • Isolate client cookies and credentials and prevent unsafe request-construction behavior: GHSA-mfrv-8fw9-56vq.
  • Enforce HTTP client response size limits and timeouts for stalled bodies: GHSA-j3jr-9qw4-m252.
  • Release client buffers and connections after malicious or failing upstream responses: GHSA-fr2f-ww99-xgcc.
  • Bound JSON stream element size and processing work: GHSA-5pxm-5867-gjc9.

WebSockets and server-sent events

  • Harden WebSocket upgrade handling and message processing during @OnOpen: GHSA-gpxf-v9p3-4hh5.
  • Close WebSocket connections after sending a close frame, even when the endpoint has no @OnClose handler: GHSA-38pj-464p-88jf.
  • Bound WebSocket inbound work, decompression, and outbound waits: GHSA-973f-vvmg-r76v.
  • Neutralize line breaks in server-sent event fields: GHSA-596x-f5j6-xvhc.

Other changes

  • Update test coverage and compatibility for current JDK and Netty behavior, and retry the external TLS test when the remote test service times out.

Full Changelog: v4.10.36...v4.10.37

Micronaut 3.10.19

Choose a tag to compare

@sdelamo sdelamo released this 11 Nov 15:40

Micronaut Core 3.10.19 is a security patch release. It fixes 25 GitHub Security Advisories and updates the managed Micronaut Security version to 3.11.3.

🚨 Security fixes

HTTP server and routing

HTTP client and service discovery

  • Clear stale Content-Length state and prevent unsafe connection reuse after a response decode failure: GHSA-wv7m-pmvh-98h9.
  • Bound streamed JSON element sizes in the HTTP client: GHSA-5pxm-5867-gjc9.
  • Fix service instance resolution and client cookie injection behavior: GHSA-mfrv-8fw9-56vq.

WebSockets and server-sent events

Other changes

  • Update the managed Micronaut Security version to 3.11.3.
  • Keep the 3.10.x test suite compatible with its Java 8 baseline.

Full Changelog: v3.10.18...v3.10.19

Micronaut Core 3.10.18

Choose a tag to compare

@sdelamo sdelamo released this 05 Nov 04:50

Micronaut Core 5.2.22

Choose a tag to compare

@sdelamo sdelamo released this 04 Nov 12:17

What's Changed

Bug Fixes 🐞

  • Cache exception handler lookups instead of re-resolving and contending on every error by @dstepanov in #14212
  • Preserve Python exceptions across synchronous AOP calls by @graemerocher in #14224
  • Parse X-Forwarded-Host like the Forwarded host by @dstepanov in #14243

Dependency updates 🚀

Other Changes 💡

  • Bind the default locale to Locale arguments when the request has none by @sharanggupta in #14102
  • Give inject-java's Groovy test compilation a 3 GB compiler daemon of its own by @graemerocher in #14187
  • Retry failing repository requests longer before Gradle gives up on the repository by @graemerocher in #14188
  • Expand Iterable and array values passed to UriBuilder.queryParam into… by @sdelamo in #14197

Full Changelog: v5.2.21...v5.2.22

Micronaut Core 4.10.36

Choose a tag to compare

@sdelamo sdelamo released this 04 Nov 17:11

What's Changed

  • Update Netty to 4.2.20.Final (#14253)

Other Changes 💡

Full Changelog: v4.10.35...v4.10.36

Micronaut Core 5.2.21

Choose a tag to compare

@radovanradic radovanradic released this 28 Oct 22:16

What's Changed

Bug Fixes 🐞

  • Keep a property source added while the environment loads its configuration files after the next refresh by @radovanradic in #14162
  • Keep lookups from failing while a property source is added to the running environment by @radovanradic in #14167
  • Answer a streamed multipart body cut before its closing boundary with the bad request by @dstepanov in #14166
  • Answer a streamed request body over the size limit with 413 for a streaming response by @dstepanov in #14164
  • Delegate the default AnnotationMetadata methods of environment aware metadata to the backing metadata by @graemerocher in #14172
  • KSP: include the owner in KotlinNativeElement.hashCode by @bookernath in #14180

Other Changes 💡

  • Type PollingConditions variables so eventually blocks assert their conditions by @graemerocher in #13980
  • Process a property source added just before a refresh reads only once, in its order by @radovanradic in #14171
  • Close disabled and rejected config importers by @n0tl3ss in #14182

New Contributors

Full Changelog: v5.2.20...v5.2.21