Releases: zio/zio-http
Releases · zio/zio-http
v3.9.0
Changes
- Update tapir-http4s-server, ... to 1.13.10 @zio-scala-steward[bot] (#3995)
- fix: prevent response header interleaving on keep-alive connections (#3395) @987Nabil (#3994)
- feat: Add AuthType.Custom and AuthType.Or support to OpenAPI spec generation @seveneves (#3991)
- perf: cache headerType on Header.Custom via null-init field @guizmaii (#3983)
- fix: Handle nested sealed trait hierarchies in TextBinaryCodec and JsonSchema (#3801, #3946) @987Nabil (#3972)
- perf: pre-build fixed CORS headers at construction time @guizmaii (#3986)
- Update sbt-ide-settings to 1.1.4 @zio-scala-steward[bot] (#3993)
- perf: use ZIO.suspend to avoid flatMap in NettyFutureExecutor @guizmaii (#3990)
- perf: avoid per-response HttpResponseStatus allocation in statusToNetty @guizmaii (#3976)
- perf: pre-build CORS allowed headers Set at construction time @guizmaii (#3984)
- perf: skip allocations in removeDotSegments for paths without dot segments @guizmaii (#3977)
- perf: replace double map lookup with single .get in SegmentSubtree @guizmaii (#3982)
- perf: hoist metrics request labels to aspect-construction time @guizmaii (#3980)
- fix: remove accidental println from forwardHeaders middleware @guizmaii (#3978)
- fix: log server startup failure before orDie (#3440) @987Nabil (#3973)
- fix: Stop retrying permanently failing DNS hosts (#3950) @987Nabil (#3962)
- Update sbt, scripted-plugin to 1.12.5 @zio-scala-steward[bot] (#3975)
- test: add regression test for response examples in OpenAPI (#3259) @987Nabil (#3974)
- feat: Add Route#handleErrorRequestZIO for symmetry (#3159) @987Nabil (#3961)
- fix: Preserve duplicate headers in Netty encoding (#3590) @987Nabil (#3954)
- fix: Preserve defects in handleError/handleErrorZIO for downstream handlers (#3432) @987Nabil (#3956)
- fix: Handle race condition in NettyConnectionPool channel refresh @987Nabil (#3959)
- fix: Replace external URLs in ClientHttpsSpec with local HTTPS server @987Nabil (#3960)
- feat: Add Strict-Transport-Security header support (#3171) @987Nabil (#3963)
- Update zio-schema, zio-schema-json, ... to 1.8.1 @zio-scala-steward[bot] (#3968)
- Update zio-sbt-website to 0.5.0 @zio-scala-steward[bot] (#3967)
- Update protobuf-java to 4.34.0 @zio-scala-steward[bot] (#3966)
- fix: Ensure JsonSchema.fromZSchema respects SchemaStyle.Inline for nested schemas (#3168) @987Nabil (#3955)
- fix: Unknown mode string now falls back to Prod instead of Dev (#3848) @987Nabil (#3957)
- fix: Replace external URLs in JSClientSpec with local Node.js HTTP server @987Nabil (#3964)
- Update dependencies to latest compatible versions @guizmaii (#3952)
- fix: CachingResolver falls back to stale addresses when refresh fails @guizmaii (#3949)
- Update protobuf-java to 4.33.5 @zio-scala-steward[bot] (#3939)
- Update tapir-http4s-server, ... to 1.13.6 @zio-scala-steward[bot] (#3942)
- Update sbt, scripted-plugin to 1.12.1 @zio-scala-steward[bot] (#3943)
- Update parsers to 4.14.7 @zio-scala-steward[bot] (#3944)
v3.8.1
What's Changed
- Update sbt-scoverage to 2.4.4 by @zio-scala-steward[bot] in #3911
- Update sbt, scripted-plugin to 1.12.0 by @zio-scala-steward[bot] in #3909
- Update parsers to 4.14.5 by @zio-scala-steward[bot] in #3910
- Update zio-json-yaml to 0.8.0 by @zio-scala-steward[bot] in #3904
- Update protobuf-java to 4.33.4 by @zio-scala-steward[bot] in #3900
- Update Scala 2.13 to 2.13.18 by @guizmaii in #3916
- Fix Routes.transform() to allow catchAllDefect to intercept defects by @987Nabil in #3899
- fixing OpenAPIGen crash by @kurgansoft in #3915
- Documentation of Template2 by @khajavi in #3839
- Update sbt-scalajs, scalajs-compiler, ... to 1.20.2 by @zio-scala-steward[bot] in #3908
- Update zio-sbt-website to 0.4.10 by @zio-scala-steward[bot] in #3906
- Update zio-metrics-connectors, ... to 2.5.5 by @zio-scala-steward[bot] in #3905
- Update tapir-http4s-server, ... to 1.13.5 by @zio-scala-steward[bot] in #3901
- Update zio-cli to 0.7.5 by @zio-scala-steward[bot] in #3903
- Bump lodash from 4.17.21 to 4.17.23 in /website by @dependabot[bot] in #3912
- Bump node-forge from 1.3.1 to 1.3.3 in /website by @dependabot[bot] in #3880
- Fix hardcoded Scala 2.13.10 in CI workflow jobs by @guizmaii in #3918
- Bump undici from 6.21.3 to 6.23.0 in /website by @dependabot[bot] in #3888
- Update netty-codec-http, ... to 4.2.9.Final by @zio-scala-steward[bot] in #3865
- Add Datastar real-time chat example project by @987Nabil in #3921
- Add date/time format to OpenAPI schema generation by @987Nabil in #3924
- Fix URL double encoding when parsing from URI by @987Nabil in #3922
- fix: Generate correct example format for text/plain media type by @andresctirado in #3863
- fix: Add discriminator property to case schemas in OpenAPI generation by @987Nabil in #3926
- fix: Support array query parameters in OpenAPI endpoint generation by @987Nabil in #3928
- fix: Accept header content negotiation for multiple output codecs by @987Nabil in #3929
- fix: Handle NoContent and NotModified status codes as empty body in client by @987Nabil in #3930
- fix: Embedded route should not match root path (#3609) by @987Nabil in #3932
- fix: Formatting Root route pattern returns empty path (#3760) by @987Nabil in #3933
- fix: Encode colons in query params for form-urlencoded compatibility by @987Nabil in #3936
- fix: internalize new OpenAPI example methods to avoid public API change by @987Nabil in #3938
New Contributors
- @kurgansoft made their first contribution in #3915
- @andresctirado made their first contribution in #3863
Full Changelog: v3.8.0...v3.8.1
v3.8.0
What's Changed
- Update tapir-http4s-server, ... to 1.12.6 by @zio-scala-steward[bot] in #3834
- Update scala-library, scala-reflect to 2.12.21 by @zio-scala-steward[bot] in #3852
- Optimise
RequestStorecode by @guizmaii in #3878 - Revert "Revert "JSON Schema gen"" by @987Nabil in #3837
- Documentation of Ensure Header Middleware by @khajavi in #3840
- Allow : and @ unescaped in URL path and query by @QuinnHarris in #3870
- [CI] Avoid running each "Build and Test" job twice by @guizmaii in #3885
- Improve client timeout options (#2383) by @987Nabil in #3844
- Ensure internally handled errors are logged (#2491) by @987Nabil in #3891
- Add tests for outStream[Byte] error handling (#3207) by @987Nabil in #3892
- Fix CORS middleware to reject non-OPTIONS requests from disallowed or… by @987Nabil in #3890
- Fix flaky WebSpec test by resetting ErrorResponseConfig before each test by @987Nabil in #3894
- Fix optional content codec to handle empty request body as None by @987Nabil in #3896
- Add HTTP Range header support for static file serving by @987Nabil in #3897
- Configure TLS protocol versions in SSLConfig by @antonstamov in #3806
- Add Smithy IDL code generator (#1522) by @987Nabil in #3898
New Contributors
- @antonstamov made their first contribution in #3806
Full Changelog: v3.7.4...v3.8.0
v3.7.4
Changes
- Abort fetch requests when scope is complete @Kalin-Rudnicki (#3866)
- Fix rendering of data attributes and modifiers in Datastar @987Nabil (#3857)
- Update sbt-scalafix to 0.14.5 @zio-scala-steward[bot] (#3855)
v3.7.3
Changes
- Fix various issues with datastar rendering of names and updates @987Nabil (#3854)
- Update protobuf-java to 4.33.2 @zio-scala-steward[bot] (#3849)
- Update sbt-scoverage to 2.4.3 @zio-scala-steward[bot] (#3853)
v3.7.2
v3.7.1
Changes
- Fix
DatastarEvent.PatchElementsrendering for multiline elements @987Nabil (#3833) - Http conformance spec (#3083) @987Nabil (#3803)
- Update parsers to 4.14.2 @zio-scala-steward[bot] (#3826)
- Update tapir-http4s-server, ... to 1.12.5 @zio-scala-steward[bot] (#3828)
- Update zio, zio-streams, zio-test, ... to 2.1.23 @zio-scala-steward[bot] (#3829)
v3.7.0
Why 3.7.0 so soon
I forgot to add a constructor variant to EndpointExecutor when I was deprecating EndpointLocator.
Since we stick strictly to semVer, new public API/method means new minor release.
What's Changed
- Add missing EndpointExecutor constructor for URL + Auth via ZIO
- Update sbt-scoverage to 2.4.2 by @zio-scala-steward[bot] in #3827
- Update tapir-http4s-server, ... to 1.12.4 by @zio-scala-steward[bot] in #3821
- Update protobuf-java to 4.33.1 by @zio-scala-steward[bot] in #3819
- Update sbt-github-actions to 0.29.0 by @zio-scala-steward[bot] in #3818
Full Changelog: v3.6.0...v3.7.0
v3.6.0
Focus of this Release
- We now have a dev mode and we will add more and more features that depend on it, like #3645. See docs for more infos
- Added a lot of Datastar sdk capabilities for better DX and easier building of frontends
- Also @khajavi added a lot of docs 🎉 So checkout https://ziohttp.com
Changes
- Fix datastar examples @987Nabil (#3814)
- Read signals from Request via Schema into case class (#3791) @987Nabil (#3813)
- Autogenerate HEAD routes for GET routes via server config (#3789) @987Nabil (#3811)
- Add simple way to sent single DatastarEvent with low level API (#3792) @987Nabil (#3809)
- CDN script tags and site template for datastar #3794 @987Nabil (#3810)
- Migrate to datastar 1.0.0-RC6 (#3793) @987Nabil (#3804)
- Fetch with batched support (#3779) @987Nabil (#3807)
- Documentation of Forwarding Headers @khajavi (#3802)
- Documentation: ZClient Ignores Content-Length Manually Set by the User @khajavi (#3798)
- Datastar SDK Documentation @khajavi (#3790)
- Skip Publishing Example Projects @khajavi (#3797)
- add version of
logAnnotatethat retrieves annotations from an effect @dontgitit (#3799) - Fix partial read of response body in js client @Kalin-Rudnicki (#3788)
- Add STOMP module #595 @987Nabil (#3787)
- Update sbt-scalafmt to 2.5.6 @zio-scala-steward[bot] (#3771)
- Update tapir-http4s-server, ... to 1.11.50 @zio-scala-steward[bot] (#3755)
- Update scala3-compiler, scala3-library, ... to 3.3.7 @zio-scala-steward[bot] (#3748)
- Update parsers to 4.14.1 @zio-scala-steward[bot] (#3754)
- Update zio-json-yaml to 0.7.45 @zio-scala-steward[bot] (#3772)
- Fix reading flash by type from empty value @landlockedsurfer (#3783)
- Update netty-codec-http, ... to 4.2.7.Final @zio-scala-steward[bot] (#3747)
- Fix Link Formatting in RequestStore Documentation Page @khajavi (#3767)
- Documentation: Update Performance Section of FAQ Page @khajavi (#3781)
- Fix the Docusaurus edit URL @khajavi (#3768)
- 404 page for dev mode that lists all current routes (#3645) @987Nabil (#3778)
- Enable building Datastar requests from Endpoint definitions (#3710) @987Nabil (#3782)
- Deploy Authentication Demos @khajavi (#3758)
- Deprecate
EndpointLocator(#3688) @987Nabil (#3770) - Implement dev mode basics (#3644) @987Nabil (#3709)
- Documentation of Request-scoped Context Section @khajavi (#3752)
- Redirect Netlify Domain to The ziohttp.com Domain @khajavi (#3753)
- Add body json en-/decoding (#2287) @987Nabil (#3731)
- Update parsers to 4.14.0 @zio-scala-steward[bot] (#3746)
- Datastar extension methods for
Endpoint(#3736) @987Nabil (#3745) - Update tapir-http4s-server, ... to 1.11.49 @zio-scala-steward[bot] (#3744)
- PR automation (#3675) @987Nabil (#3743)
- Passwordless Authentication with WebAuthn @khajavi (#3721)
- Documentation of Curl Logger @khajavi (#3738)
- Update sbt-scalafix to 0.14.4 @zio-scala-steward[bot] (#3737)
- Update sbt-header to 5.11.0 @zio-scala-steward[bot] (#3693)
- Bump peter-evans/commit-comment from 2 to 4 @dependabot[bot] (#3726)
- Update sbt-jmh to 0.4.8 @zio-scala-steward[bot] (#3717)
- Update tapir-http4s-server, ... to 1.11.48 @zio-scala-steward[bot] (#3728)
- More ways to create d* event streams and handlers (#3711) @987Nabil (#3735)
- Change Method.ANY to expend to routes for all standard HTTP methods @987Nabil (#3712)
- Authentication with a Third-party OAuth Provider @khajavi (#3682)
- Update tapir-http4s-server, ... to 1.11.47 @zio-scala-steward[bot] (#3723)
- Update sbt, scripted-plugin to 1.11.7 @zio-scala-steward[bot] (#3725)
- Add variations of datastar executeScript @987Nabil (#3724)
- Endpoint codec for datastar @987Nabil (#3722)
- Convenience changes for datastar integration @987Nabil (#3715)
- Polish templating and datastar @987Nabil (#3713)
- Add context7.json @einnocent (#3678)
- Update zio-sbt-website to 0.4.0-alpha.35 @zio-scala-steward[bot] (#3707)
- Remove back-and-forth conversion from String/CharSequence, which causes incompatibility in ScalaJS @Kalin-Rudnicki (#3699)
- Add back missing examples for headers @russwyte (#3705)
- Bearer Token: JWT Authentication Guide @khajavi (#3663)
- Add Datastar attribute and signal support (#3661) @987Nabil (#3706)
- feat: SSE comments as heartbeats and make sure they're encoded correctly @SvenW (#3703)
- Update parsers to 4.13.10 @zio-scala-steward[bot] (#3701)
- Add methods to get URLs from Endpoint (#3643) @987Nabil (#3700)
- Set minItems to 1 for NonEmptySequence @minedeljkovic (#3696)
- Update jwt-core to 11.0.3 @zio-scala-steward[bot] (#3692)
- Update zio-config, zio-config-magnolia, ... to 4.0.5 @zio-scala-steward[bot] (#3694)
- Update zio-schema, zio-schema-derivation, ... to 1.7.5 @zio-scala-steward[bot] (#3695)
- Cookie-based Cookie Authentication Guide @khajavi (#3637)
v3.5.1
Changes
- Fix regex validation in the OpenAPI @minedeljkovic (#3687)
- Opaque Bearer Authentication Guide @khajavi (#3620)
Dependencies
- Update zio, zio-streams, zio-test, ... to 2.1.21 @zio-scala-steward[bot] (#3676)
- Update sbt-scalajs, scalajs-compiler, ... to 1.20.1 @zio-scala-steward[bot] (#3680)
- Update sbt, scripted-plugin to 1.11.6 @zio-scala-steward[bot] (#3681)
- Update tapir-http4s-server, ... to 1.11.44 @zio-scala-steward[bot] (#3684)
- Update netty-codec-http, ... to 4.2.6.Final @zio-scala-steward[bot] (#3685)
- Update sbt-github-actions to 0.28.0 @zio-scala-steward[bot] (#3690)
- Update protobuf-java to 4.32.1 @zio-scala-steward[bot] (#3691)