v3.0.0-RC3
What's Changed
- Update README by @cacapouh in #2218
- Update sbt-header to 5.10.0 by @scala-steward in #2241
- Update tapir-http4s-server, ... to 1.5.1 by @scala-steward in #2234
- Update zio-schema, zio-schema-json to 0.4.12 by @scala-steward in #2236
- Fix forwarding async empty body by @vigoo in #2244
- link to updated g8 template by @TomTriple in #2133
- Shading of netty dependencies by @dkarlinsky in #2220
- netty-shading: actually use
enabled
inshadingSettings
by @dkarlinsky in #2250 - Update silencer-lib, silencer-lib_2.13.8, ... to 1.7.13 by @scala-steward in #2249
- Move Http.fromFileZIO to Handler. by @landlockedsurfer in #2239
- netty-shading: only enable ShadingPlugin if
publish.shaded
property is true by @dkarlinsky in #2251 - Scope Requests by @adamgfraser in #2252
- netty-shading: adding testing step by @dkarlinsky in #2253
- Update silencer-lib, silencer-lib_2.13.8, ... to 1.17.13 by @scala-steward in #2254
- Add
hasFormMultipartContentType
for checkingContent-Type: multipart/form-data
by @abcpro1 in #2256 - Fix error response logging and metrics by @vigoo in #2259
- Collapse ZIO HTTP Sidebar by @khajavi in #2248
- Upgrade Scala versions (and other stuff) by @jdegoes in #2264
- Significant usability and semantic improvements to ZClient / Client by @jdegoes in #2261
- feat: Allow Unknown AcceptEncoding by @ex0ns in #2258
- Send HTTP requests like GET /?p=1 instead of GET ?p=1 by @abcpro1 in #2271
- Fix #2245 by @vigoo in #2270
- Update scala-collection-compat to 2.11.0 by @scala-steward in #2267
- Update netty-codec-http, ... to 4.1.94.Final by @scala-steward in #2272
- Better handling of unknown/missing content types in multipart/form-data by @vigoo in #2273
- CLI: Fix
java.lang.UnsupportedOperationException: empty.reduceLeft
error by @guizmaii in #2299 - Update zio-schema, zio-schema-json to 0.4.13 by @scala-steward in #2310
- Routes by @jdegoes in #2277
- Add clearer instructions for making a simple HTTPS server for testing by @abcpro1 in #2269
- Fix path in client requests by @vigoo in #2316
- support a multipart body with explicitly set encodings by @flavienbert in #2301
- Implement Channel#sendAll by @adamgfraser in #2315
- Add Timeout by @adamgfraser in #2335
- Add required traces to the http package by @jaliss in #2326
- Add required traces to the package zio.http.netty by @gregor-rayman in #2322
- cancel HttpError by @jdegoes in #2319
- URL string interpolation macro by @vigoo in #2331
- Add traces to all effectful methods for zio.http.codec package by @zarinfam in #2317
- experiment with layer disconnect by @jdegoes in #2339
- Fix issue with websocket send by @vigoo in #2341
- Use Latest ZIO Snapshot by @adamgfraser in #2345
- WebSocket Improvements by @adamgfraser in #2358
- Add
Trace
s toendpoint
package by @paulpdaniels in #2332 - SocketApp refactoring, ability to provide custom websocket config by @vigoo in #2338
- Accept absolute url strings in request constructors by @vigoo in #2343
- Server inbound handler performance by @jaspervz in #2325
- Generalize the concept of metadata in
HttpCodec
by @987Nabil in #2363 - New Response model by @hbibel in #2348
- Tests Cleanup by @adamgfraser in #2379
- Update client3:core to 3.9.0 by @scala-steward in #2382
- Ignore Flaky Test by @adamgfraser in #2337
- Optimize (Halt | codec) by @vigoo in #2374
- Make header value computation in request logging lazy by @987Nabil in #2367
- Convert metrics from HandlerAspect to Middleware #2320 by @lookingformira in #2334
- Automatically validate request body using
Schema.validate
by @williamareynolds in #2360 - By default set client idle timeout by @erikvanoosten in #2371
- transform functions for PathCodec by @vigoo in #2376
Endpoint
api en-/decodes based on accept header by @987Nabil in #2366- Increase Endpoint test coverage by @danieletorelli in #2385
- Fix accept header handling by @vigoo in #2391
- lax environment requirement when transforming a Handler by @myazinn in #2390
- Multipart/from file impl. in CLI and test suite by @pablf in #2355
- Revert netty and update ZIO to stable by @vigoo in #2397
- Negative values support for TextCodec and SegmentCodec by @danieletorelli in #2393
- Fix Scoping Of Test Resources by @adamgfraser in #2407
- rename package from zio.http.html to zio.http.template to avoid ambiguity by @TomTriple in #2405
- small fixes in docs by @TomTriple in #2408
- Add traces to all effectful methods for zio.http package by @zarinfam in #2328
- change signature to allow type inference by @TomTriple in #2406
- cleanup and remove ServerTime by @TomTriple in #2413
- Refactor
Endpoint
test coverage by @wooster0 in #2389 - ZClient fast shutdown by @johnhungerford in #2410
- issue_2212 update client proxy settings by @rajcspsg in #2336
- Fix SSLSpec by @adamgfraser in #2415
- remove code by @TomTriple in #2414
- refactor: simplify empty check by @junghoon-vans in #2329
- simplify query param access by @TomTriple in #2419
- added mediaType parameters to Body methods by @Adriani-Furtado in #2323
- Update zio, zio-streams, zio-test, ... to 2.0.17 by @scala-steward in #2447
- memoized is not used by @TomTriple in #2429
- Update slf4j-api, slf4j-simple to 2.0.9 by @scala-steward in #2427
- Update sbt-github-actions to 0.16.0 by @scala-steward in #2425
- change signature to allow for type inference by @TomTriple in #2422
- add xss protection as default by @TomTriple in #2421
- Fix stream body delay 2 by @guersam in #2420
- Update scalafmt-core to 3.7.14 by @scala-steward in #2426
- Update sbt-jmh to 0.4.6 by @scala-steward in #2428
- align default values from HandlerAspect.redirect with Response.redirect by @TomTriple in #2432
- Fix stream delay 3 by @guersam in #2458
- Update netty-codec-http, ... to 4.1.98.Final by @scala-steward in #2456
- Do Not Continue Reading From Web Socket After Terminal Event by @adamgfraser in #2441
- Update Handler.scala by @ioleo in #2453
- Add missing traces to the http package by @jaliss in #2354
- add note regarding classical "redirect after post" situations by @TomTriple in #2434
- add flash scope by @TomTriple in #2451
- Update sbt-scala3-migrate to 0.6.1 by @scala-steward in #2435
- Update zio-schema, zio-schema-json, ... to 0.4.14 by @scala-steward in #2436
- Update sbt to 1.9.6 by @scala-steward in #2449
- use richtext codec for content type by @TomTriple in #2455
- Update sbt-shading to 2.1.3 by @scala-steward in #2448
- buildfix by @jdegoes in #2461
- Update zio, zio-streams, zio-test, ... to 2.0.18 by @scala-steward in #2459
- added cookie helpers by @TomTriple in #2439
- fix: case-insensitive FormField headers by @jgranstrom in #2460
- add static fileserver by @TomTriple in #2450
- Bugfix: WebSocketConfig.withForwardCloseFrames does not forward Close frames #2375 by @webberaj81 in #2395
- Add
md
interpolator to create Markdown based docs by @987Nabil in #2452 - Throw exception when reading from AsyncBody after the channel closed (#2399) by @lackhoa in #2454
- Update netty-codec-http, ... to 4.1.99.Final by @scala-steward in #2463
- Update sbt-github-actions to 0.17.0 by @scala-steward in #2462
- Only Recover From Missing Data Errors In HttpCodec#optional by @adamgfraser in #2475
- Add test that uses authentication with context by @987Nabil in #2476
- Remove Unnecessary Dependency by @adamgfraser in #2477
- Increase Buffer Size In Converting Async Body To Stream by @adamgfraser in #2478
- improve docs by @TomTriple in #2482
- Add a test of a middleware providing a context to a
Routes
by @guizmaii in #2487 - Remove usage of deprecated method in build.sbt by @guizmaii in #2486
- Update sbt-github-actions to 0.18.0 by @scala-steward in #2484
- Update netty-codec-http, ... to 4.1.100.Final by @scala-steward in #2485
New Contributors
- @cacapouh made their first contribution in #2218
- @dkarlinsky made their first contribution in #2220
- @abcpro1 made their first contribution in #2256
- @flavienbert made their first contribution in #2301
- @jaliss made their first contribution in #2326
- @zarinfam made their first contribution in #2317
- @paulpdaniels made their first contribution in #2332
- @jaspervz made their first contribution in #2325
- @hbibel made their first contribution in #2348
- @lookingformira made their first contribution in #2334
- @williamareynolds made their first contribution in #2360
- @erikvanoosten made their first contribution in #2371
- @danieletorelli made their first contribution in #2385
- @myazinn made their first contribution in #2390
- @pablf made their first contribution in #2355
- @wooster0 made their first contribution in #2389
- @johnhungerford made their first contribution in #2410
- @junghoon-vans made their first contribution in #2329
- @ioleo made their first contribution in #2453
- @webberaj81 made their first contribution in #2395
- @lackhoa made their first contribution in #2454
Full Changelog: v3.0.0-RC2...v3.0.0-RC3