版本发布 8
## Changes - Fix typos in handler documentation @Siupahc (#4113) - Bump webpack from 5.99.8 to 5.105.0 in /website @[dependabot[bot]](https://github.com/apps/dependabot) (#3947) - Update zio-schema, zio-schema-json, ... to 1.8.5 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#4111) - Update tapir-http4s-server, ... to 1.13.18 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#4114) - Update sbt, scripted-plugin to 1.12.11 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#4116) - fix(datastar): render executeScript selector as CSS @987Nabil (#4115) - Add Context7 configuration file @khajavi (#4109) - docs(website): add llms.txt support for AI/LLM consumers @khajavi (#4104)
## What's Changed * Update sbt-scoverage to 2.4.4 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3911 * Update sbt, scripted-plugin to 1.12.0 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3909 * Update parsers to 4.14.5 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3910 * Update zio-json-yaml to 0.8.0 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3904 * Update protobuf-java to 4.33.4 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3900 * Update Scala 2.13 to 2.13.18 by @guizmaii in https://github.com/zio/zio-http/pull/3916 * Fix Routes.transform() to allow catchAllDefect to intercept defects by @987Nabil in https://github.com/zio/zio-http/pull/3899 * fixing OpenAPIGen crash by @kurgansoft in https://github.com/zio/zio-http/pull/3915 * Documentation of Template2 by @khajavi in https://github.com/zio/zio-http/pull/3839 * Update sbt-scalajs, scalajs-compiler, ... to 1.20.2 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3908 * Update zio-sbt-website to 0.4.10 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3906 * Update zio-metrics-connectors, ... to 2.5.5 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3905 * Update tapir-http4s-server, ... to 1.13.5 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3901 * Update zio-cli to 0.7.5 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3903 * Bump lodash from 4.17.21 to 4.17.23 in /website by @dependabot[bot] in https://github.com/zio/zio-http/pull/3912 * Bump node-forge from 1.3.1 to 1.3.3 in /website by @dependabot[bot] in https://github.com/zio/zio-http/pull/3880 * Fix hardcoded Scala 2.13.10 in CI workflow jobs by @guizmaii in https://github.com/zio/zio-http/pull/3918 * Bump undici from 6.21.3 to 6.23.0 in /website by @dependabot[bot] in https://github.com/zio/zio-http/pull/3888 * Update netty-codec-http, ... to 4.2.9.Final by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3865 * Add Datastar real-time chat example project by @987Nabil in https://github.com/zio/zio-http/pull/3921 * Add date/time format to OpenAPI schema generation by @987Nabil in https://github.com/zio/zio-http/pull/3924 * Fix URL double encoding when parsing from URI by @987Nabil in https://github.com/zio/zio-http/pull/3922 * fix: Generate correct example format for text/plain media type by @andresctirado in https://github.com/zio/zio-http/pull/3863 * fix: Add discriminator property to case schemas in OpenAPI generation by @987Nabil in https://github.com/zio/zio-http/pull/3926 * fix: Support array query parameters in OpenAPI endpoint generation by @987Nabil in https://github.com/zio/zio-http/pull/3928 * fix: Accept header content negotiation for multiple output codecs by @987Nabil in https://github.com/zio/zio-http/pull/3929 * fix: Handle NoContent and NotModified status codes as empty body in client by @987Nabil in https://github.com/zio/zio-http/pull/3930 * fix: Embedded route should not match root path (#3609) by @987Nabil in https://github.com/zio/zio-http/pull/3932 * fix: Formatting Root route pattern returns empty path (#3760) by @987Nabil in https://github.com/zio/zio-http/pull/3933 * fix: Encode colons in query params for form-urlencoded compatibility by @987Nabil in https://github.com/zio/zio-http/pull/3936 * fix: internalize new OpenAPI example methods to avoid public API change by @987Nabil in https://github.com/zio/zio-http/pull/3938 ## New Contributors * @kurgansoft made their first contribution in https://github.com/zio/zio-http/pull/3915 * @andresctirado made their first contribution in https://github.com/zio/zio-http/pull/3863 **Full Changelog**: https://github.com/zio/zio-http/compare/v3.8.0...v3.8.1
## What's Changed * Update tapir-http4s-server, ... to 1.12.6 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3834 * Update scala-library, scala-reflect to 2.12.21 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3852 * Optimise `RequestStore` code by @guizmaii in https://github.com/zio/zio-http/pull/3878 * Revert "Revert "JSON Schema gen"" by @987Nabil in https://github.com/zio/zio-http/pull/3837 * Documentation of Ensure Header Middleware by @khajavi in https://github.com/zio/zio-http/pull/3840 * Allow : and @ unescaped in URL path and query by @QuinnHarris in https://github.com/zio/zio-http/pull/3870 * [CI] Avoid running each "Build and Test" job twice by @guizmaii in https://github.com/zio/zio-http/pull/3885 * Improve client timeout options (#2383) by @987Nabil in https://github.com/zio/zio-http/pull/3844 * Ensure internally handled errors are logged (#2491) by @987Nabil in https://github.com/zio/zio-http/pull/3891 * Add tests for outStream[Byte] error handling (#3207) by @987Nabil in https://github.com/zio/zio-http/pull/3892 * Fix CORS middleware to reject non-OPTIONS requests from disallowed or… by @987Nabil in https://github.com/zio/zio-http/pull/3890 * Fix flaky WebSpec test by resetting ErrorResponseConfig before each test by @987Nabil in https://github.com/zio/zio-http/pull/3894 * Fix optional content codec to handle empty request body as None by @987Nabil in https://github.com/zio/zio-http/pull/3896 * Add HTTP Range header support for static file serving by @987Nabil in https://github.com/zio/zio-http/pull/3897 * Configure TLS protocol versions in SSLConfig by @antonstamov in https://github.com/zio/zio-http/pull/3806 * Add Smithy IDL code generator (#1522) by @987Nabil in https://github.com/zio/zio-http/pull/3898 ## New Contributors * @antonstamov made their first contribution in https://github.com/zio/zio-http/pull/3806 **Full Changelog**: https://github.com/zio/zio-http/compare/v3.7.4...v3.8.0
## What's Changed * Update tapir-http4s-server, ... to 1.12.6 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3834 * Update scala-library, scala-reflect to 2.12.21 by @zio-scala-steward[bot] in https://github.com/zio/zio-http/pull/3852 * Optimise `RequestStore` code by @guizmaii in https://github.com/zio/zio-http/pull/3878 * Revert "Revert "JSON Schema gen"" by @987Nabil in https://github.com/zio/zio-http/pull/3837 * Documentation of Ensure Header Middleware by @khajavi in https://github.com/zio/zio-http/pull/3840 * Allow : and @ unescaped in URL path and query by @QuinnHarris in https://github.com/zio/zio-http/pull/3870 * [CI] Avoid running each "Build and Test" job twice by @guizmaii in https://github.com/zio/zio-http/pull/3885 * Improve client timeout options (#2383) by @987Nabil in https://github.com/zio/zio-http/pull/3844 * Ensure internally handled errors are logged (#2491) by @987Nabil in https://github.com/zio/zio-http/pull/3891 * Add tests for outStream[Byte] error handling (#3207) by @987Nabil in https://github.com/zio/zio-http/pull/3892 * Fix CORS middleware to reject non-OPTIONS requests from disallowed or… by @987Nabil in https://github.com/zio/zio-http/pull/3890 * Fix flaky WebSpec test by resetting ErrorResponseConfig before each test by @987Nabil in https://github.com/zio/zio-http/pull/3894 * Fix optional content codec to handle empty request body as None by @987Nabil in https://github.com/zio/zio-http/pull/3896 * Add HTTP Range header support for static file serving by @987Nabil in https://github.com/zio/zio-http/pull/3897 * Configure TLS protocol versions in SSLConfig by @antonstamov in https://github.com/zio/zio-http/pull/3806 ## New Contributors * @antonstamov made their first contribution in https://github.com/zio/zio-http/pull/3806 **Full Changelog**: https://github.com/zio/zio-http/compare/v3.7.4...v3.7.5
## Changes - Fix `DatastarEvent.PatchElements` rendering for multiline elements @987Nabil (#3833) - Http conformance spec (#3083) @987Nabil (#3803) - Update parsers to 4.14.2 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3826) - Update tapir-http4s-server, ... to 1.12.5 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3828) - Update zio, zio-streams, zio-test, ... to 2.1.23 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3829)
## Changes (Released by mistake by @guizmaii. Sorry about that) - Update netty-codec-http, ... to 4.2.5.Final @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3673) - Update tapir-http4s-server, ... to 1.11.43 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3670) - Datastar integration (#3604) @987Nabil (#3649) - Add leading slash if adding segment to URL with empty segments (#3646) @987Nabil (#3651) - Fix unicode query encoding (#3635) @987Nabil (#3660) - Always use more specific path matches before trying trailing (#3639) @987Nabil (#3665) - Digest Authentication Guide @khajavi (#3617) - fix: silent encoding failures @brndt (#3571) - Update zio-sbt-website to 0.4.0-alpha.34 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3659) - Update zio-metrics-connectors, ... to 2.5.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3658) - Update zio-metrics-connectors, ... to 2.4.3 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3652) - Update sbt-github-actions to 0.27.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3654) - Update compilerplugin, scalapb-runtime to 0.11.20 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3655) - Update sbt, scripted-plugin to 1.11.5 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3656) - Basic Authentication Guide @khajavi (#3615) - Update zio-sbt-website to 0.4.0-alpha.33 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3648) - Update brotli4j to 1.20.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3647) - Add template interpolators and css selector api @987Nabil (#3632) - Fix doc @guizmaii (#3454) - SSE constructors for Response @987Nabil (#3608) - Update sbt-github-actions to 0.26.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3640) - Update zio-metrics-connectors, ... to 2.4.2 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3641) - Update sbt-ci-release to 1.11.2 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3633) - Better templating @987Nabil (#3616) - Update brotli4j to 1.19.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3631) - Update tapir-http4s-server, ... to 1.11.42 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3621) - Update zio-metrics-connectors, ... to 2.4.1 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3629) - Update protobuf-java to 4.32.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3628) - Update zio-http, zio-http-gen to 3.4.0 @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3622) - Update netty-codec-http, ... to 4.2.4.Final @[zio-scala-steward[bot]](https://github.com/apps/zio-scala-steward) (#3623)
## Changes - Fixes related to en/decoding collections in headers/query params @987Nabil (#3520) - Update/netty codec http 4.2.0.final @987Nabil (#3507)
## Changes - Handler: catch NonFatal exceptions in by-name parameters @hearnadam (#3503) - Use correct schema for optional primitives in StringSchemaCodec @987Nabil (#3517)