Releases: zio/zio-http
Releases · zio/zio-http
Release v3.0.0-RC2
What's Changed
- Update README by @vigoo in #2105
- Some refactorings to HttpCliApp by @jorge-vasquez-2301 in #2108
- Update zio, zio-streams, zio-test, ... to 2.0.13 by @scala-steward in #2107
- Update netty-incubator-transport-native-io_uring to 0.0.20.Final by @scala-steward in #2112
- Fix usage of Config.nested by @vigoo in #2115
- Allow middlewares to alter the error handler by @vigoo in #2114
- Update tapir-http4s-server, ... to 1.2.13 by @scala-steward in #2119
- Update netty-codec-http, ... to 4.1.92.Final by @scala-steward in #2120
- Significantly improve performance of streaming multipart/form-data by @vigoo in #2116
- Fix triple evaluation of context layer by @vigoo in #2124
- Endpoint factory methods for head, patch and trace by @jczuchnowski in #2132
- Update zio-schema, zio-schema-json to 0.4.11 by @scala-steward in #2129
- Update tapir-http4s-server, ... to 1.3.0 by @scala-steward in #2128
- Fix mapErrorZIO by @vigoo in #2135
- Fix rendering of content type boundary by @jgranstrom in #2130
- Add methods to
Endpoint
to apply any kind of in/out codec by @987Nabil in #2142 - Offer API to add examples to
HttpCodec
andEndpoint
(#2118) by @987Nabil in #2144 - Special support for byte stream on endpoint api in/out by @vigoo in #2145
- Refactor Websockets by @adamgfraser in #2152
- Support for multipart/form-data in endpoint API by @vigoo in #2158
- Support returning body from another request by @andrzejressel in #2161
- added basic implementation for Server sent events on the server side. by @devsprint in #2138
- Throw request body decoding error by @rhueara-ca in #2147
- Fix issue with streaming form decoding hanging forever by @vigoo in #2162
- Fix handling of multipart inputs on the endpoint API by @vigoo in #2163
- Handle Relative URLs in Handler#connect by @adamgfraser in #2171
- WS connect scheme fix by @vigoo in #2172
- Rename !! To Root by @adamgfraser in #2175
- Improve dx for ZClient by @987Nabil in #2139
- Propagate Correct Cause In Routes#toApp by @adamgfraser in #2180
- Some new tests for Endpoint API by @vigoo in #2179
- Make Http.collect safe by @vigoo in #2178
- Check file readability in
Http.fromFile
/Http.fromFileZIO
(#2167) by @987Nabil in #2183 - Allow appending query parameters in path, and fix grouping of Combiner types by @afsalthaj in #2181
- Fixed #2155 - Properly handle streaming body response when content length set by @dizinfector in #2156
- paramBool and QueryCodec tests by @TomTriple in #2186
- Pass the entire request for Auth middleware verification by @jgranstrom in #2188
- Don't run unreadable file test on Windows by @andrzejressel in #2192
- added support for server sent events in endpoints api by @devsprint in #2184
- start docs for html by @TomTriple in #2189
- Add support for error in EndpointClient by @andrzejressel in #2173
- Add convenience methods for implementing
Endpoint
s by @987Nabil in #2196 - Change naming of transform methods by @987Nabil in #2194
- Fix WS client interruptability by @vigoo in #2200
- Attempts to solve the issue of hanging forever in some client/sever tests by @vigoo in #2177
- Update tapir-http4s-server, ... to 1.4.0 by @scala-steward in #2208
- Update sbt to 1.8.3 by @scala-steward in #2210
- Update zio-cli to 0.5.0 by @scala-steward in #2209
- Enable Client connection pooling by default by @ccerbusca in #2153
- Proposal: routing to not have environment and failure by @vigoo in #2213
- Update netty-codec-http, ... to 4.1.93.Final by @scala-steward in #2216
- Fail with 400 if request to endpoint is malformed by @NavidJalali in #2206
- Docs appendable to Endpoint, no name req. for out methods in Endpoint by @987Nabil in #2203
New Contributors
- @jgranstrom made their first contribution in #2130
- @andrzejressel made their first contribution in #2161
- @rhueara-ca made their first contribution in #2147
- @dizinfector made their first contribution in #2156
- @NavidJalali made their first contribution in #2206
Full Changelog: v3.0.0-RC1...v3.0.0-RC2
3.0.0-RC1
What's Changed
- Avoid redundant layer creation by @vigoo in #2040
- Make request logging middleware universial by @guersam in #2043
- Ability to set specific boundary when encoding body as multipart/form-data by @vigoo in #2042
- Add content-type header based on endpoint body by @vigoo in #2046
- Handle invalid base64 in basic authorization by @vigoo in #2047
- Header model cleanup by @vigoo in #2051
- Fix type signature of Http#@@ by @vigoo in #2054
- Unifying headers by @vigoo in #2055
- Set scheme when setting url/uri to ZClient by @zeal18 in #2057
- Update tapir-http4s-server, ... to 1.2.11 by @scala-steward in #2059
- Part 1/2 by @jdegoes in #2061
- Streaming multipart/form-data by @vigoo in #2062
- Fail on decoding errors by @vigoo in #2063
- Async DNS resolver by @vigoo in #2064
- Unified layers and config classes, added ZIO Config support by @vigoo in #2067
- Implement ClientSSLConfig.config by @adamgfraser in #2069
- WIP by @jdegoes in #2066
- Update scalafmt-core to 3.7.3 by @scala-steward in #2079
- WIP by @jdegoes in #2074
- Update netty-codec-http, ... to 4.1.91.Final by @scala-steward in #2081
- Log failures in debug and request logging middlewares by @vigoo in #2082
- Ability to catch server errors and defects in Http by @vigoo in #2072
- octet-stream as default multipart form contentType by @liewhite in #2076
- Update tapir-http4s-server, ... to 1.2.12 by @scala-steward in #2085
- Add mapErrorZIO to Handler and Http by @ex0ns in #2086
- Real support for streaming in Client by @vigoo in #2083
- Log a warning in case of fatal errors by @vigoo in #2084
- Update sbt-revolver to 0.10.0 by @scala-steward in #2087
- Simplify package structure by @vigoo in #2089
- Clean up ZClient#socket by @vigoo in #2090
- debug and logging aspects for ZClient by @vigoo in #2092
- collapsed sidebar by default by @khajavi in #2093
- Fix previous merge by @vigoo in #2096
- Update zio, zio-streams, zio-test, ... to 2.0.12 by @scala-steward in #2095
- Better drop trailing slash by @vigoo in #2098
- Graceful shutdown by @vigoo in #2099
- Make header logging work with unparsed headers by @vigoo in #2103
- Fix broken link in README by @danbills in #2080
- Create initial version of HttpCliApp by @jorge-vasquez-2301 in #2101
- Making all code snippets up-to-date by @vigoo in #2104
- feature: retrieve repeatable headers from response by @ex0ns in #2102
- Endpoint#outErrorWith by @vigoo in #2097
New Contributors
- @guersam made their first contribution in #2043
- @liewhite made their first contribution in #2076
- @danbills made their first contribution in #2080
- @jorge-vasquez-2301 made their first contribution in #2101
Full Changelog: v0.0.5...v3.0.0-RC1
Release 0.0.5
What's Changed
- Return remote address to Request at server by @narma in #1964
- Add in[I: Schema] to EndpointSpec by @vigoo in #1965
- Update tapir-http4s-server, ... to 1.2.7 by @scala-steward in #1968
- Enhance ClientLive constructor by @zlumyo in #1974
- Do not fail in the debug middleware by @vigoo in #1980
- Call error callback for ZIO die failures by @vigoo in #1979
- Update tapir-http4s-server, ... to 1.2.8 by @scala-steward in #1984
- Return 404 on invalid method by @vigoo in #1987
- Update zio, zio-streams, zio-test, ... to 2.0.8 by @scala-steward in #1989
- Update netty-codec-http, ... to 4.1.88.Final by @scala-steward in #1991
- Remove Usages of ZIO.succeedNow by @adamgfraser in #1992
- Update netty-codec-http, ... to 4.1.89.Final by @scala-steward in #1995
- Add typed errors to endpoints by @jdegoes in #1881
- Simpler port by @Wosin in #1993
- Update zio, zio-streams, zio-test, ... to 2.0.9 by @scala-steward in #1998
- Endpoint codec improvements by @jdegoes in #1997
- Remove NettyRuntime.usingSharedThreadPool by @vigoo in #1999
- Fixing streaming response when compression is enabled by @vigoo in #1981
- Investigate Interruption Issue by @adamgfraser in #1994
- Friendlier Forms in ZIO HTTP by @scottweaver in #1953
- fixes #2000, #2001 by @jdegoes in #2005
- Refresh app reference when needed by @vigoo in #2004
- Fix toString of NettyDriver to avoid infinite recursion by @vigoo in #2010
- Fix issue with Scala 2.12 by @vigoo in #2009
- Endpoint todos by @jdegoes in #2008
- Update tapir-http4s-server, ... to 1.2.9 by @scala-steward in #2013
- Update netty-incubator-transport-native-io_uring to 0.0.18.Final by @scala-steward in #2014
- Update scalafmt-core to 3.7.2 by @scala-steward in #2015
- endpoint and codec polishing by @jdegoes in #2017
- Remove custom map/flatMap by @vigoo in #2020
- Handle interruption of handlers by @vigoo in #2023
- Update netty-incubator-transport-native-io_uring to 0.0.19.Final by @scala-steward in #2024
- Remove zio-http-logging by @vigoo in #2027
- fix: ws docs example updated by @ouertani in #2029
- clarify state of versioning by @TomTriple in #2018
- also use apache2 license by @TomTriple in #2019
- Update zio, zio-streams, zio-test, ... to 2.0.10 by @scala-steward in #2030
- Unprotect ZClient methods by @zeal18 in #2031
- Update tapir-http4s-server, ... to 1.2.10 by @scala-steward in #2034
- Removing Netty from the public API by @vigoo in #2026
- Update link to RunSettings by @denisgarci in #2035
- Ability to provide context from middlewares by @vigoo in #2011
- Multipart form-data fixes and example by @vigoo in #2037
- Doc.toHtmlSnippet based on Html by @vigoo in #2025
New Contributors
- @narma made their first contribution in #1964
- @zlumyo made their first contribution in #1974
- @ouertani made their first contribution in #2029
- @TomTriple made their first contribution in #2018
- @zeal18 made their first contribution in #2031
- @denisgarci made their first contribution in #2035
Full Changelog: v0.0.4...v0.0.5
v0.0.4
What's Changed
- Commit withAccessControlAllowMaxAge code for ticket #1689 by @wpoosanguansit in #1781
- Make the example snippet work, fix default port by @bmateusz in #1796
- De nettify response by @scottweaver in #1745
- Commit AccessControlAllowOrigin code for issue #1689 by @wpoosanguansit in #1780
- Implement several typed headers. by @Wosin in #1786
- Support for server header by @geoffjohn11 in #1674
- Implement ZClientAspect by @adamgfraser in #1802
- implemented accessControlAllowCredentials headers by @devsprint in #1803
- Access control allow headers by @devsprint in #1804
- Access control allow methods by @devsprint in #1805
- implemented structured data for accessControlExposeHeaders by @devsprint in #1809
- implemented accessControlRequestMethod by @devsprint in #1812
- Cookie by @devsprint in #1815
- implemented structured data for accessControlRequestHeaders by @devsprint in #1810
- added implementation for Date header by @devsprint in #1816
- Performance Benchmark Upgrades by @scottweaver in #1824
- added implementation for IfMatch header by @devsprint in #1817
- implemented TE header by @devsprint in #1828
- implemented UserAgent header by @devsprint in #1832
- implemented ifUnmodifiedSince header by @devsprint in #1825
- implemented Upgrade header by @devsprint in #1830
- implemented UpgradeInsecureRequests header by @devsprint in #1831
- implemented WebSocket related headers by @devsprint in #1827
- implemented LastModified header by @devsprint in #1826
- added implementation for IfModifiedSince header by @devsprint in #1821
- If none match header by @devsprint in #1819
- Warning header by @devsprint in #1835
- Authorization header by @devsprint in #1834
- RetryAfter header by @devsprint in #1833
- Add header middleware by @devsprint in #1847
- Access control allow credentials middleware by @devsprint in #1844
- With accept middleware by @devsprint in #1845
- Retries middleware by @devsprint in #1842
- Referrer middleware by @devsprint in #1841
- Proxy authorization middleware by @devsprint in #1840
- Transfer encoding middleware by @devsprint in #1839
- Retries connection middleware by @devsprint in #1838
- Content headers and middleware by @devsprint in #1836
- Multi-benchmark Support for CI Workflow by @scottweaver in #1849
- Retries expires middleware by @devsprint in #1837
- Via header by @devsprint in #1851
- implemented XFrameOptions header by @devsprint in #1852
- implemented XRequestedWith header by @devsprint in #1853
- Replace ' com.sun.jndi.toolkit.url.Uri' with 'java.net.URI/URL'. by @scottweaver in #1858
- implemented Range header by @devsprint in #1855
- Www authenticate header by @devsprint in #1854
- Add Proxy-Authenticate header by @ccerbusca in #1850
- Update zio, zio-streams, zio-test, ... to 2.0.5 by @scala-steward in #1865
- [#1813] Add QoL to NettyDriver by @scottweaver in #1859
- Middleware rewrites if range by @devsprint in #1869
- HttpCodec fallback by @jdegoes in #1878
- Add local address binding option for clients by @PeterHajdu in #1868
- Add HTML output encoding to protect against Cross-site scripting (XSS) by @frevib in #1872
- Prepare Docs For New Version of Website by @khajavi in #1895
- Add Unidoc Support by @khajavi in #1919
- Fix Project Badges by @khajavi in #1927
- Installation steps lists incorrect artifact name by @Hari3 in #1936
- Name route codecs by @987Nabil in #1939
- Update ZioVersion to v2.0.6 by @renovate in #1941
- Update netty-codec-http, ... to 4.1.87.Final by @scala-steward in #1935
- Fix Project Badges by @khajavi in #1943
- Remove Scope From Input Type Of Layers by @adamgfraser in #1944
- Redesigned model by @vigoo in #1916
- withContentType to add a new header by @gchudnov in #1923
- Fix client connection and memory leaks by @vigoo in #1950
- Update tapir-http4s-server, ... to 1.2.6 by @scala-steward in #1945
- Update scalafmt-core to 3.7.0 by @scala-steward in #1947
- Update zio-schema to 0.4.2 by @vigoo in #1955
- Disable Renovate by @vigoo in #1958
- Better client layers without leaking Netty implementation details by @vigoo in #1957
- Stop using Netty's executors after shutdown by @vigoo in #1959
- Fix for #1960 - multiple set-cookie headers when other headers are al… by @paul-lysak in #1961
- Helper methods on Client without requiring Body by @vigoo in #1948
- Better handling of default ports in URLs by @vigoo in #1949
- Update scalafmt-core to 3.7.1 by @scala-steward in #1963
- Update zio-sbt-website to 0.3.10 by @scala-steward in #1962
- Fix library dependency setup in README.md by @jeffmay in #1924
New Contributors
- @bmateusz made their first contribution in #1796
- @geoffjohn11 made their first contribution in #1674
- @PeterHajdu made their first contribution in #1868
- @frevib made their first contribution in #1872
- @Hari3 made their first contribution in #1936
- @gchudnov made their first contribution in #1923
- @jeffmay made their first contribution in #1924
Full Changelog: v0.0.3...v0.0.4
v0.0.3
v0.0.2
v0.0.1
v2.0.0-RC11 - ZIO 2 Support
Changes
Supports ZIO v2.0.1
💥 Breaking Change
- Refactor: Use builder pattern for SocketDecoder and SocketProtocol by @gciuloaica in #1367
🚀 Features
- Feature: Add
toJavaURI
andtoJavaURL
toURL
by @jgoday in #1353 - Feature: add Middleware based on an HTTP response by @ex0ns in #1377
- Add convenient request method to Client class by @palanga in #1402
- Feature: Add the ability to get resources from JAR archives by @nartamonov in #1393
📈 Improvements
- Refactor: Drop test composition syntax by @gciuloaica in #1366
- Refactor: Re-write
HttpData
toBody
by @tusharmath in #1351 - Refactor: Use builder pattern for SocketDecoder and SocketProtocol by @gciuloaica in #1367
🐛 Bug Fixes
- Fix: Allow multiple
set-cookie
headers in response by @gciuloaica in #1355 - Fix: Propagate
FiberRef
ToHttpRuntime
by @adamgfraser in #1379 - Fix: Client fails when connection is interrupted by @Dennis4b in #1364
- Fix: Host header must include port by @paul-lysak in #1373
🧰 Maintenance
- Doc: Fix links in Readme and add more examples by @gciuloaica in #1358
- Update scala-collection-compat to 2.8.1 by @scala-steward in #1376
- chore: drop sbt bloop by @tusharmath in #1380
- Update jwt-core to 9.0.6 by @amitksingh1490 in #1362
- Doc: Fixed Typo by @rohitbishnoi in #1386
- Update scalafmt-core to 3.5.9 by @amitksingh1490 in #1392
- Chore: add dev container by @tusharmath in #1388
- Update scala-library, scala-reflect to 2.12.16 by @amitksingh1490 in #1299
- [docs] corrects example with /: by @artur-jablonski in #1403
- Update jwt-core to 9.1.0 by @amitksingh1490 in #1395
- Doc: Change to code snippet compatible with ZIO 2 by @SHSongs in #1398
- Update ZIO Version by @adamgfraser in #1406
- Update netty-codec-http, ... to 4.1.80.Final by @amitksingh1490 in #1405
🙌 New Contributors
- @rohitbishnoi made their first contribution in #1386
- @palanga made their first contribution in #1402
- @artur-jablonski made their first contribution in #1403
- @SHSongs made their first contribution in #1398
- @paul-lysak made their first contribution in #1373
Full Changelog: v2.0.0-RC10...v2.0.0-RC11
v2.0.0-RC10 - ZIO 2 Support
Changes
Supports ZIO v2.0.0
🚀 Features
- Feature: Add proxy handler for client API by @pizzaeueu in #1226
- Feature: Middleware for TrailingSlash by @gciuloaica in #1291
- Feature: add
contraCollect
inHttp
by @tusharmath in #1323 - Feature: Add
seeOther
toResponse
by @rleibman in #1318 - Feature: add support to pass
Headers
inSocketApp.connect
by @tusharmath in #1329
Improvements
- Refactor: Remove
zhttp-test
module by @gciuloaica in #1311 - Refactor: add more colors to
LogFormat
by @tusharmath in #1328 - Refactor: Redesign WebSocket API (Breaking Change) by @tusharmath in #1325
- publish: zio-logging by @amitksingh1490 in #1287
🐛 Bug Fixes
- Fix: Native EPoll and KQueue Dependencies by @davidlar in #1302
- Fix: Logging Checks by @tusharmath in #1298
- Update netty-codec-http, ... to 4.1.78.Final by @amitksingh1490 in #1305
- Fix: Return empty URL in case of a parse failure by @gciuloaica in #1306
- Fix: Cookie expires format by @gciuloaica in #1288
- Fix: Support trailing and leading slashes in
Path
(Breaking Change) by @tusharmath in #1304 - Fix:
fireExceptionCaught
fromHttpRuntime
by @tusharmath in #1326
🧰 Maintenance
- Build(deps): Bump eventsource from 1.1.0 to 1.1.1 in /docs/website by @dependabot in #1283
- Update scalafmt-core to 3.5.8 by @amitksingh1490 in #1284
- Update sbt-updates to 0.6.3 by @amitksingh1490 in #1277
- Update zio, zio-streams, zio-test, ... to 1.0.15 by @amitksingh1490 in #1289
- Doc: Remove PING/PONG example by @gciuloaica in #1313
- Update sbt-scalafix to 0.10.1 by @amitksingh1490 in #1297
- Update scala3-library to 3.1.3 by @amitksingh1490 in #1312
- Update sbt-bloop to 1.5.2 by @amitksingh1490 in #1324
- Update README.md by @tusharmath in #1319
- chore: add
Debug.scala
by @tusharmath in #1327 - Update zio, zio-streams, zio-test, ... to 2.0.0 by @amitksingh1490 in #1315
- Update sbt to 1.7.1 by @amitksingh1490 in #1346
- Update netty-codec-http, ... to 4.1.79.Final by @amitksingh1490 in #1345
- Update scala-collection-compat to 2.8.0 by @scala-steward in #1342
- Update scala-collection-compat to 2.8.0 by @amitksingh1490 in #1341
- Doc: Update
StaticServer
example by @gciuloaica in #1347
New Contributors
- @davidlar made their first contribution in #1302
- @pizzaeueu made their first contribution in #1226
Full Changelog: v1.0.0.0-RC28...v2.0.0-RC10
v2.0.0-RC9 - ZIO 2 Support
Changes
Supports ZIO v2.0.0-RC6
What's Changed
- publish: zio-logging by @amitksingh1490 in #1286
Full Changelog: v2.0.0-RC8...v2.0.0-RC9