Releases: zio/zio-http
Releases · zio/zio-http
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)
v3.5.0
Changes
- feat(codegen): Endpoint auth in codegen @mobley-trent (#3597)
- Polish template2 API (#3611) @987Nabil (#3674)
- Add support for a custom fallback handler for TestClient @merijn (#3619)
- Add another version of forward headers middleware (#3668) @987Nabil (#3669)
- 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)
- Basic Authentication Guide @khajavi (#3615)
- Add template interpolators and css selector api @987Nabil (#3632)
- Fix doc @guizmaii (#3454)
- SSE constructors for Response @987Nabil (#3608)
- Better templating @987Nabil (#3616)
dependencies
- Update zio-cli to 0.7.3 @zio-scala-steward[bot] (#3662)
- Update netty-codec-http, ... to 4.2.5.Final @zio-scala-steward[bot] (#3673)
- Update tapir-http4s-server, ... to 1.11.43 @zio-scala-steward[bot] (#3670)
- Update zio-sbt-website to 0.4.0-alpha.34 @zio-scala-steward[bot] (#3659)
- Update zio-metrics-connectors, ... to 2.5.0 @zio-scala-steward[bot] (#3658)
- Update zio-metrics-connectors, ... to 2.4.3 @zio-scala-steward[bot] (#3652)
- Update sbt-github-actions to 0.27.0 @zio-scala-steward[bot] (#3654)
- Update compilerplugin, scalapb-runtime to 0.11.20 @zio-scala-steward[bot] (#3655)
- Update sbt, scripted-plugin to 1.11.5 @zio-scala-steward[bot] (#3656)
- Update zio-sbt-website to 0.4.0-alpha.33 @zio-scala-steward[bot] (#3648)
- Update brotli4j to 1.20.0 @zio-scala-steward[bot] (#3647)
- Update sbt-github-actions to 0.26.0 @zio-scala-steward[bot] (#3640)
- Update zio-metrics-connectors, ... to 2.4.2 @zio-scala-steward[bot] (#3641)
- Update sbt-ci-release to 1.11.2 @zio-scala-steward[bot] (#3633)
- Update brotli4j to 1.19.0 @zio-scala-steward[bot] (#3631)
- Update tapir-http4s-server, ... to 1.11.42 @zio-scala-steward[bot] (#3621)
- Update zio-metrics-connectors, ... to 2.4.1 @zio-scala-steward[bot] (#3629)
- Update protobuf-java to 4.32.0 @zio-scala-steward[bot] (#3628)
- Update zio-http, zio-http-gen to 3.4.0 @zio-scala-steward[bot] (#3622)
- Update netty-codec-http, ... to 4.2.4.Final @zio-scala-steward[bot] (#3623)
v3.4.1
v3.4.0
IMPORTANT
All builds are done with JDK 17+. If you have issues please make sure to upgrade your JDK first. Scala (3) will also soon require JDK 17+
What's Changed
- New Website by @khajavi in #3504. See https://ziohttp.com/
- Prevent OOM when receiving large request streams by @davidlar in #3174
- Implement dependencyless query de-/encoding (#3521) by @987Nabil in #3525
- Schema-based query params use field descriptions for OpenAPI (#3535) by @987Nabil in #3546
- Support optional schema of a transformed schema (#3540) by @987Nabil in #3545
- Fix optional header decoding (#3532) by @987Nabil in #3533
- New default implementation for text-based bodies (#3529) by @987Nabil in #3548
- Add
JsonSchema.fromZSchemaInlineDeepOrFail(#3168) by @guersam in #3559 - Fix: unexpected requestBody generation in OpenAPI by @brndt in #3564
- Replace Netty based RFC 1123 date encoding (#3527) by @987Nabil in #3550
- Add bad gateway for response by @Yummy-Yums in #3575
- Remove HeaderEncoding as it was unused and private (#3528) by @987Nabil in #3570
- Custom Cookie encoding (#3526) by @987Nabil in #3569
- feat: OpenAPI Auth in
pathsitems by @mobley-trent in #3439 - Revert "Add
JsonSchema.fromZSchemaInlineDeepOrFail(#3168) (#3559)" by @guersam in #3584 - Documentation: Securing Communication Between Client and Server Using SSL/TLS by @khajavi in #3563
- Make Examples Self-contained Using scala-cli by @khajavi in #3516
- Optimize
ServerSentEvent::encodecode && put theevent:part first by @guizmaii in #3596 - Parse NC Parameter as Hexadecimal in Digest Authentication per RFC 7616 by @khajavi in #3598
Updates
- Update zio-sbt-website to 0.4.0-alpha.32 by @zio-scala-steward[bot] in #3534
- Update netty-codec-http, ... to 4.2.2.Final by @zio-scala-steward[bot] in #3536
- Update sbt, scripted-plugin to 1.11.1 by @zio-scala-steward[bot] in #3531
- Update scalafmt-dynamic to 3.9.7 by @zio-scala-steward[bot] in #3524
- Update sbt and prefer LTS Java version in Netlify by @guizmaii in #3537
- Update sbt-protoc to 1.0.8 by @zio-scala-steward[bot] in #3538
- Update tapir-http4s-server, ... to 1.11.33 by @zio-scala-steward[bot] in #3519
- Update protobuf-java to 4.31.1 by @zio-scala-steward[bot] in #3518
- Update README.md by @zio-assistant[bot] in #3505
- Update scalafmt-core, scalafmt-dynamic to 3.9.4 by @zio-scala-steward[bot] in #3401
- Update sbt-ci-release to 1.11.1 by @zio-scala-steward[bot] in #3530
- Update zio, zio-streams, zio-test, ... to 2.1.19 by @zio-scala-steward[bot] in #3523
- Update zio-schema, zio-schema-json, ... to 1.7.2 by @zio-scala-steward[bot] in #3502
- Update sbt, scripted-plugin to 1.11.2 by @zio-scala-steward[bot] in #3542
- Update compilerplugin, scalapb-runtime to 0.11.18 by @zio-scala-steward[bot] in #3541
- Bump brace-expansion from 1.1.11 to 1.1.12 in /website by @dependabot[bot] in #3549
- Update zio-schema, zio-schema-json, ... to 1.7.3 by @zio-scala-steward[bot] in #3558
- Update tapir-http4s-server, ... to 1.11.34 by @zio-scala-steward[bot] in #3555
- Update parsers to 4.13.7 by @zio-scala-steward[bot] in #3553
- Update zio-json-yaml to 0.7.44 by @zio-scala-steward[bot] in #3560
- Update jwt-core to 11.0.0 by @zio-scala-steward[bot] in #3562
- Update compilerplugin, scalapb-runtime to 0.11.19 by @zio-scala-steward[bot] in #3566
- Update tapir-http4s-server, ... to 1.11.35 by @zio-scala-steward[bot] in #3565
- Update jwt-core to 11.0.2 by @zio-scala-steward[bot] in #3576
- Update sbt, scripted-plugin to 1.11.3 by @zio-scala-steward[bot] in #3578
- Update sbt-scalafmt to 2.5.5 by @zio-scala-steward[bot] in #3573
- Update zio-metrics-connectors, ... to 2.4.0 by @zio-scala-steward[bot] in #3580
- Update sbt-ide-settings to 1.1.3 by @zio-scala-steward[bot] in #3586
- Update netty-codec-http, ... to 4.2.3.Final by @zio-scala-steward[bot] in #3585
- Update tapir-http4s-server, ... to 1.11.36 by @zio-scala-steward[bot] in #3581
- Update scalafmt-dynamic to 3.9.8 by @zio-scala-steward[bot] in #3568
- Update parsers to 4.13.8 by @zio-scala-steward[bot] in #3567
- Update scalajs-dom to 2.8.1 by @zio-scala-steward[bot] in #3592
- Update tapir-http4s-server, ... to 1.11.38 by @zio-scala-steward[bot] in #3591
- Update tapir-http4s-server, ... to 1.11.39 by @zio-scala-steward[bot] in #3594
- Update tapir-http4s-server, ... to 1.11.40 by @zio-scala-steward[bot] in #3595
- Update zio, zio-streams, zio-test, ... to 2.1.20 by @zio-scala-steward[bot] in #3589
- Update scalafmt-dynamic to 3.9.9 by @zio-scala-steward[bot] in #3602
- Update zio-schema-derivation to 1.7.3 by @zio-scala-steward[bot] in #3600
- Update zio-http, zio-http-gen to 3.3.3 by @zio-scala-steward[bot] in #3599
- Update parsers to 4.13.9 by @zio-scala-steward[bot] in #3601
- Update sbt, scripted-plugin to 1.11.4 by @zio-scala-steward[bot] in #3606
- Update zio-schema, zio-schema-derivation, ... to 1.7.4 by @zio-scala-steward[bot] in #3605
- Update tapir-http4s-server, ... to 1.11.41 by @zio-scala-steward[bot] in #3610
New Contributors
- @brndt made their first contribution in #3564
- @Yummy-Yums made their first contribution in #3575
Full Changelog: v3.3.3...v3.4.0