Releases: http4s/http4s
v0.23.27
This release is binary compatible with the 0.23.x series.
What's Changed
http4s-core
- Move ember H2Keys Http2PriorKnowledge key to core by @hamnis in #7407
- Handle characters > 0xff in multipart filenames by @rossabaker in #7419
- feat: suppress stack trace on protocol exceptions by @mcenkar in #7428
- Replace "*Decoded" Part methods with "*Bytes" by @rossabaker in #7436
- RFC: Cookies with
Max-Age=0
should be permitted by @henricook in #7435 - Update sbt-http4s-org to 0.17.0 in series/0.23 by @http4s-steward in #7437
- Update cats-effect, cats-effect-std, ... to 3.5.4 in series/0.23 by @http4s-steward in #7405
- Update fs2-core, fs2-io to 3.10.2 in series/0.23 by @http4s-steward in #7418
- Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 in series/0.23 by @http4s-steward in #7421
http4s-client
- Small refactor to DefaultClient to remove unsafe calls and repeated code by @Adam-McDevitt in #7417
- #6521 History client middleware by @SallyPerez in #7372
http4s-ember-core
http4s-circe
- Update circe-core, circe-generic, ... to 0.14.7 in series/0.23 by @http4s-steward in #7441
http4s-laws
- Update scalacheck to 1.17.1 in series/0.23 by @http4s-steward in #7430
- Update discipline-core to 1.6.0 in series/0.23 by @http4s-steward in #7432
Documentation
- Removed reference to TSec in documentation by @KristianAN in #7401
- Some tweaks to docs by @danicheg in #7422
- Documentation form multipart and urlform by @fredshonorio in #7328
Behind the scenes
- Update http4s-circe, http4s-ember-client, ... to 0.23.26 in series/0.23 by @http4s-steward in #7403
- Update sbt-buildinfo to 0.12.0 in series/0.23 by @http4s-steward in #7413
- Update scalafmt-core to 3.8.1 in series/0.23 by @http4s-steward in #7420
- Update netty-buffer, netty-codec-http to 4.1.108.Final in series/0.23 by @http4s-steward in #7414
- flake.lock: Update by @http4s-steward in #7409
- Update sbt-native-packager to 1.10.0 in series/0.23 by @http4s-steward in #7425
- Update munit-cats-effect to 2.0.0-M5 in series/0.23 by @http4s-steward in #7426
- Update netty-buffer, netty-codec-http to 4.1.109.Final in series/0.23 by @http4s-steward in #7427
- Update sbt-scala-native-config-brew to 0.3.0 in series/0.23 by @http4s-steward in #7440
New Contributors
- @KristianAN made their first contribution in #7401
- @Adam-McDevitt made their first contribution in #7417
- @mcenkar made their first contribution in #7428
- @henricook made their first contribution in #7435
- @SallyPerez made their first contribution in #7372
Full Changelog: v0.23.26...v0.23.27
v1.0.0-M41
It's been a while since the last milestone release. This release includes numerous features and patches from the 0.23 series. Be sure to check out its release notes! As always within this milestone series, backward compatibility is not guaranteed.
What's Changed
http4s-core
- remove deprecated
comment
parser from CommonRules by @txdv in #7398 - remove unused deprecated method asMaskBased by @txdv in #7397
http4s-server
http4s-client
- expose cookies in the CookieJar middleware by @massimosiani in #7160
Behind the scenes
- 0.23 -> main by @armanbilge in #7296
- Merge 0.23 -> main by @rossabaker in #7387
- Merge 0.23.26 -> main by @rossabaker in #7404
New Contributors
- @massimosiani made their first contribution in #7160
- @george-wilson-rea made their first contribution in #7207
- @lolgab made their first contribution in #7278
- @grouzen made their first contribution in #7284
- @morgen-peschke made their first contribution in #7238
- @plokhotnyuk made their first contribution in #7228
- @Marcus-Rosti made their first contribution in #7316
- @LaurenceWarne made their first contribution in #7265
- @sam-tombury made their first contribution in #7234
- @rlavolee made their first contribution in #7329
- @kejifasuyi made their first contribution in #7357
- @txdv made their first contribution in #7398
Full Changelog: v1.0.0-M40...v1.0.0-M41
v0.23.26
What's Changed
http4s-ember-server
- Log errors in
upgradeSocket
by @froth in #7363 - Ember: return HTTP 431 when maxHeaderSize is exceeded by @rossabaker in #7399
Documentation
- Add OptionalMultiQueryParamDecoderMatcher Documentation by @kejifasuyi in #7357
- Fix the outdated code snippet in the client dsl scaladoc by @danicheg in #7381
Upgrades
- Update keypool to 0.4.9 in series/0.23 by @http4s-steward in #7364
- Update fs2-core, fs2-io to 3.9.4 in series/0.23 by @http4s-steward in #7367
- Update ip4s-core, ip4s-test-kit to 3.5.0 in series/0.23 by @http4s-steward in #7376
Behind the scenes
- Update http4s-circe, http4s-ember-client, ... to 0.23.25 in series/0.23 by @http4s-steward in #7353
- Fix labelling PRs for the
client-testkit
module by @danicheg in #7354 - Refactor
release.yml
by @danicheg in #7355 - Update sbt-scalajs, scalajs-compiler, ... to 1.15.0 in series/0.23 by @http4s-steward in #7358
- Update netty-buffer, netty-codec-http to 4.1.105.Final in series/0.23 by @http4s-steward in #7361
- Update cats-effect, cats-effect-std, ... to 3.5.3 in series/0.23 by @http4s-steward in #7360
- Update netty-buffer, netty-codec-http to 4.1.106.Final in series/0.23 by @http4s-steward in #7365
- flake.lock: Update by @http4s-steward in #7368
- Update nscplugin, sbt-scala-native, ... to 0.4.17 in series/0.23 by @http4s-steward in #7366
- flake.lock: Update by @http4s-steward in #7371
- flake.lock: Update by @http4s-steward in #7374
- Update Java-WebSocket to 1.5.6 in series/0.23 by @http4s-steward in #7375
- Update munit to 1.0.0-M11 in series/0.23 by @http4s-steward in #7373
- Update jnr-unixsocket to 0.38.22 in series/0.23 by @http4s-steward in #7380
- Update netty-buffer, netty-codec-http to 4.1.107.Final in series/0.23 by @http4s-steward in #7378
- flake.lock: Update by @http4s-steward in #7377
- Update sbt-scoverage to 2.0.10 in series/0.23 by @http4s-steward in #7379
- Update scalafmt-core to 3.8.0 in series/0.23 by @http4s-steward in #7383
- Update sbt to 1.9.9 in series/0.23 by @http4s-steward in #7384
- Update sbt-scoverage to 2.0.11 in series/0.23 by @http4s-steward in #7385
- flake.lock: Update by @http4s-steward in #7392
- Update sbt-http4s-org to 0.16.3 in series/0.23 by @http4s-steward in #7393
- Update scala3-library, ... to 3.3.3 in series/0.23 by @http4s-steward in #7394
- flake.lock: Update by @http4s-steward in #7402
New Contributors
- @kejifasuyi made their first contribution in #7357
Full Changelog: v0.23.25...v0.23.26
v0.23.25
Primarily, this is a maintenance release, binary compatible with the 0.23.x series. Also, it brings an increase in the default value for idleConnectionTime
in ember-client
from 45s
to 60s
. See the PR and related issue for details.
What's Changed
http4s-ember-core
http4s-client-testkit
- Fix handling of connection closure in
WSTestClient
by @armanbilge in #7334
Documentation
- Add note about cats-parse to 0.23.24 changelog by @armanbilge in #7322
- Ross is not a moderator by @rossabaker in #7346
- Push error handling docs through mdoc by @Quafadas in #7340
Behind the scenes
- Update http4s-circe, http4s-ember-client, ... to 0.23.24 in series/0.23 by @http4s-steward in #7323
- Update scalafmt-core to 3.7.17 in series/0.23 by @http4s-steward in #7324
- flake.lock: Update by @http4s-steward in #7325
- Update logback-classic to 1.2.13 in series/0.23 by @http4s-steward in #7331
- Update sbt-http4s-org to 0.16.2 in series/0.23 by @http4s-steward in #7332
- flake.lock: Update by @http4s-steward in #7333
- Update sbt-jmh to 0.4.7 in series/0.23 by @http4s-steward in #7336
- flake.lock: Update by @http4s-steward in #7337
- Update netty-buffer, netty-codec-http to 4.1.103.Final in series/0.23 by @http4s-steward in #7339
- Update sbt to 1.9.8 in series/0.23 by @http4s-steward in #7341
- Update Java-WebSocket to 1.5.5 in series/0.23 by @http4s-steward in #7344
- flake.lock: Update by @http4s-steward in #7345
- Update netty-buffer, netty-codec-http to 4.1.104.Final in series/0.23 by @http4s-steward in #7342
- flake.lock: Update by @http4s-steward in #7349
New Contributors
Full Changelog: v0.23.24...v0.23.25
v0.23.24
This release upgrades to cats-parse v1.0.0 which may trigger eviction errors in your build. The cats-parse 1.x series is 100% binary-compatible with the cats-parse 0.3.x series, so it is safe to ignore the eviction errors in this case.
What's Changed
http4s-core
- Avoid linking MimeDB in Scala Native by @lolgab in #7278
- Fixes #7283: make BasicCredentials constructor safe by @grouzen in #7284
- Model Content-Transfer-Encoding header by @froth in #7292
- Add asCurlWithBody by @morgen-peschke in #7238
- Update fs2-core, fs2-io to 3.9.3 in series/0.23 by @http4s-steward in #7311
- Update request cookie parser to handle zero or more spaces between semicolons by @mrdziuban in #7312
- Update cats-parse to 1.0.0 in series/0.23 by @http4s-steward in #7313
- More efficient working with headers by @plokhotnyuk in #7228
- Fix #7262: mulitpart decoder wrapping unwanted errors by @LaurenceWarne in #7265
http4s-server
- Fix handling of streaming bodies in entity limiter by @armanbilge in #7264
- Deprecate Jsonp Middleware by @froth in #7285
http4s-ember-core
- Ember-Core: Use optimised fs2 method in write Loop. by @diesalbla in #7230
http4s-ember-client
- Add warning logs for misconfigured timeouts by @sgjbryan in #7234
Documentation
- Add client middleware documentation by @fredshonorio in #7058
- Fixes highlighting in error-handling documentation by @Marcus-Rosti in #7316
Behind the scenes
- Update http4s-circe, http4s-ember-client to 0.23.23 in series/0.23 by @http4s-steward in #7220
- Update netty-buffer, netty-codec-http to 4.1.95.Final in series/0.23 by @http4s-steward in #7221
- Update netty-buffer, netty-codec-http to 4.1.96.Final in series/0.23 by @http4s-steward in #7227
- Update sbt to 1.9.3 in series/0.23 by @http4s-steward in #7223
- Update sbt-scala-native-crossproject to 1.3.2 in series/0.23 by @http4s-steward in #7202
- Update scalafmt-core to 3.7.11 in series/0.23 by @http4s-steward in #7226
- Update Java-WebSocket to 1.5.4 in series/0.23 by @http4s-steward in #7222
- Update fs2-core, fs2-io to 3.8.0 in series/0.23 by @http4s-steward in #7229
- flake.lock: Update by @http4s-steward in #7233
- Update scalafmt-core to 3.7.12 in series/0.23 by @http4s-steward in #7235
- Update cats-core, cats-laws to 2.10.0 in series/0.23 by @http4s-steward in #7239
- flake.lock: Update by @http4s-steward in #7244
- Update netty-buffer, netty-codec-http to 4.1.97.Final in series/0.23 by @http4s-steward in #7247
- Update sbt to 1.9.4 in series/0.23 by @http4s-steward in #7248
- Update epollcat to 0.1.6 in series/0.23 by @http4s-steward in #7253
- Update scalafmt-core to 3.7.13 in series/0.23 by @http4s-steward in #7254
- flake.lock: Update by @http4s-steward in #7255
- Update fs2-core, fs2-io to 3.9.0 in series/0.23 by @http4s-steward in #7258
- Update fs2-core, fs2-io to 3.9.1 in series/0.23 by @http4s-steward in #7259
- Update circe-core, circe-generic, ... to 0.14.6 in series/0.23 by @http4s-steward in #7260
- Update scalafmt-core to 3.7.14 in series/0.23 by @http4s-steward in #7263
- flake.lock: Update by @http4s-steward in #7266
- Update nscplugin, sbt-scala-native, ... to 0.4.15 in series/0.23 by @http4s-steward in #7267
- Update sbt-jmh to 0.4.6 in series/0.23 by @http4s-steward in #7268
- Update scala3-library, ... to 3.3.1 in series/0.23 by @http4s-steward in #7269
- Update sbt-scoverage to 2.0.9 in series/0.23 by @http4s-steward in #7270
- Update fs2-core, fs2-io to 3.9.2 in series/0.23 by @http4s-steward in #7275
- Update jnr-unixsocket to 0.38.21 in series/0.23 by @http4s-steward in #7273
- Update munit to 1.0.0-M10 in series/0.23 by @http4s-steward in #7280
- Update sbt to 1.9.6 in series/0.23 by @http4s-steward in #7279
- flake.lock: Update by @http4s-steward in #7282
- Update netty-buffer, netty-codec-http to 4.1.98.Final in series/0.23 by @http4s-steward in #7287
- flake.lock: Update by @http4s-steward in #7288
- Update sbt-scalajs, scalajs-compiler, ... to 1.14.0 in series/0.23 by @http4s-steward in #7289
- Update cats-effect, cats-effect-std, ... to 3.5.2 in series/0.23 by @http4s-steward in #7291
- Update netty-buffer, netty-codec-http to 4.1.99.Final in series/0.23 by @http4s-steward in #7293
- flake.lock: Update by @http4s-steward in #7295
- Update to sbt-http4s-org 0.15.3 by @armanbilge in #7242
- Update scala-library, scala-reflect to 2.13.12 in series/0.23 by @http4s-steward in #7272
- Update sbt-http4s-org to 0.15.3 in series/0.23 by @http4s-steward in #7281
- flake.lock: Update by @http4s-steward in #7297
- Update netty-buffer, netty-codec-http to 4.1.100.Final in series/0.23 by @http4s-steward in #7298
- Update nscplugin, sbt-scala-native, ... to 0.4.16 in series/0.23 by @http4s-steward in #7299
- Update to sbt-typelevel
0.6.0
with Laika1.0.0
by @jenshalm in #7290 - Update scodec-bits to 1.1.38 in series/0.23 by @http4s-steward in #7303
- Update sbt to 1.9.7 in series/0.23 by @http4s-steward in #7304
- Update scalafmt-core to 3.7.15 in series/0.23 by @http4s-steward in #7305
- flake.lock: Update by @http4s-steward in #7307
- Update ip4s-core, ip4s-test-kit to 3.4.0 in series/0.23 by @http4s-steward in #7309
- Update netty-buffer, netty-codec-http to 4.1.101.Final in series/0.23 by @http4s-steward in #7315
- Update munit-cats-effect to 2.0.0-M4 in series/0.23 by @http4s-steward in #7318
- Update sbt-http4s-org to 0.16.1 in series/0.23 by @http4s-steward in #7319
- flake.lock: Update by @http4s-steward in #7320
New Contributors
- @lolgab made their first contribution in #7278
- @grouzen made their first contribution in #7284
- @morgen-peschke made their first contribution in #7238
- @plokhotnyuk made their first contribution in #7228
- @Marcus-Rosti made their first contribution in #7316
- @LaurenceWarne made their first contribution in #7265
- @sgjbryan made their first contribution in #7234
Full Changelog: v0.23.23...v0.23.24
v0.23.23
This release includes assorted fixes and optimizations for Ember.
What's Changed
http4s-ember-core
http4s-ember-server
- Disable Ember server TLS logging more aggressively by @armanbilge in #7204
- Immediately release invalid connections in
getValidManaged
by @armanbilge in #7218 - WebSocketHelpers.scala - Use Chunks by @diesalbla in #7214
http4s-ember-client
- Improve error messages for MissingHost and MissingPort by @george-wilson-rea in #7207
Behind the scenes
- Update http4s-circe, http4s-ember-client to 0.23.22 in series/0.23 by @http4s-steward in #7192
- Update scalafmt-core to 3.7.6 in series/0.23 by @http4s-steward in #7197
- flake.lock: Update by @http4s-steward in #7200
- Update scalafmt-core to 3.7.7 in series/0.23 by @http4s-steward in #7201
- Update sbt to 1.9.2 in series/0.23 by @http4s-steward in #7203
- Update scalafmt-core to 3.7.8 in series/0.23 by @http4s-steward in #7205
- Update scalafmt-core to 3.7.9 in series/0.23 by @http4s-steward in #7210
- flake.lock: Update by @http4s-steward in #7217
- Update scalafmt-core to 3.7.10 in series/0.23 by @http4s-steward in #7215
New Contributors
- @george-wilson-rea made their first contribution in #7207
Full Changelog: v0.23.22...v0.23.23
v1.0.0-M40
What's Changed
http4s-core
- Fix misleading
EntityBody
mentions in some scaladocs by @danicheg in #6955 - Tweak performance of
QueryOps#withQueryParam
by @danicheg in #6864 - Deprecate Entity Apply by @diesalbla in #6305
- Expunge all unsafe logging by @armanbilge, @iRevive in #6645, #7122
- Migrate
Uri.Scheme
andTransferCoding
toCIString
by @froth in #7164
http4s-server
- More comprehensive support of
Entity
model inJsonp
Middleware by @danicheg in #6937 - Take account of
Entity
model inBracketRequestResponse
Middleware by @danicheg in #6957 - Use
Clock
fromCE
instead of one fromjava.time
inCSRF
Middleware by @danicheg in #7166
http4s-client
Documentation
Behind the scenes
- Ignore sbt-jmh updates on main by @armanbilge in #6952
- Merge
series/0.23
intomain
by @danicheg in #6970 - Merge
series/0.23
intomain
by @danicheg in #7025 - Clean up internal package by @danicheg in #7030
- Ignore crossproject updates on main by @armanbilge in #7048
- Ignore sbt-revolver updates on main by @armanbilge in #7052
- Fix semantic merge conflicts following #6305 by @armanbilge in #7063
- 0.23 -> main by @armanbilge in #7115
- Use
MonadThrow
instead ofSync
inH2Client.RequestKey#getAddress
by @danicheg in #7167 - 0.23 -> main by @armanbilge in #7172
- Clear the internal package of unused/deprecated things by @froth in #7158
- Ignore
scalac-compat-annotation
updates on main by @danicheg in #7179 - Cleanup of
org.http4s.internal
by @froth in #7175 - Merge
v0.23.22
intomain
by @danicheg in #7211
New Contributors
Full Changelog: v1.0.0-M39...v1.0.0-M40
v0.23.22
This release includes assorted fixes for Ember.
What's Changed
http4s-core
http4s-ember-core
- Include query params in http2 :path pseudo header by @ybasket in #7180
- A bunch of tweaks to
ClientHelpers
' methods by @danicheg in #7173
http4s-ember-server
- Properly handle
NoSuchElementException
intlsSocket.applicationProtocol
by @arturaz in #7092 - Allow providing custom error handler when connection establishing fails. by @arturaz in #7093
Behind the scenes
- Update http4s-circe, http4s-ember-client to 0.23.21 in series/0.23 by @http4s-steward in #7169
- Disable artifact upload by @armanbilge in #7168
- flake.lock: Update by @http4s-steward in #7099
- Update netty-buffer, netty-codec-http to 4.1.94.Final in series/0.23 by @http4s-steward in #7174
- Update munit to 1.0.0-M8 in series/0.23 by @http4s-steward in #7145
- Update scalac-compat-annotation to 0.1.1 in series/0.23 by @http4s-steward in #7177
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 in series/0.23 by @http4s-steward in #7181
- Update cats-effect, cats-effect-std, ... to 3.5.1 in series/0.23 by @http4s-steward in #7182
- Update cats-parse to 0.3.10 in series/0.23 by @http4s-steward in #7184
- Update sbt to 1.9.1 in series/0.23 by @http4s-steward in #7185
- Update jawn-parser to 1.5.1 in series/0.23 by @http4s-steward in #7186
- Update scalac-compat-annotation to 0.1.2 in series/0.23 by @http4s-steward in #7187
- Use
Assertions#assume
in tests by @danicheg in #7183 - flake.lock: Update by @http4s-steward in #7188
New Contributors
Full Changelog: v0.23.21...v0.23.22
v0.23.21
This release fixes another regression in Ember HTTP/2.
What's Changed
http4s-server
http4s-ember-core
- Close H2
readBuffer
onheaders.endStream
by @armanbilge in #7156 - Use
ClockOps
inUtil#readWithTimeout
by @danicheg in #7162
http4s-ember-server
- Mask errors in Ember server
runConnection
by @armanbilge in #7157
Behind the scenes
- Update http4s-circe, http4s-ember-client, ... to 0.23.20 in series/0.23 by @http4s-steward in #7153
- Simplify type in
H2Server#h2cUpgradeHttpRoute
by @danicheg in #7159
Full Changelog: v0.23.20...v0.23.21
v0.23.20
This release fixes a critical regression in Ember HTTP/2. It also upgrades to Scala 3.3.0 LTS.
What's Changed
http4s-core
- Add missing constructors to
ContextRoutes
by @hamnis in #7123 - Add
Upgrade-Insecure-Requests
header model by @diogocanut in #7129 - Update scala3-library, ... to 3.3.0 in series/0.23 by @http4s-steward in #7131
http4s-server
http4s-ember-core
- Close
H2Stream
readBuffer
ondata.endStream
by @armanbilge in #7147
Documentation
- fixes wrong link in "Server Middleware" page in the docs #7117 by @rsemlal in #7118
- Added more examples to the doc (shortcut to create Responses) by @walesho in #7120
Behind the scenes
- Fix release date by @armanbilge in #7114
- Update http4s-circe, http4s-ember-client, ... to 0.23.19 in series/0.23 by @http4s-steward in #7116
- Update netty-buffer, netty-codec-http to 4.1.93.Final in series/0.23 by @http4s-steward in #7124
- Update scalafmt-core to 3.7.4 in series/0.23 by @http4s-steward in #7130
- Update jawn-parser to 1.5.0 in series/0.23 by @http4s-steward in #7132
- Update sbt-scoverage to 2.0.8 in series/0.23 by @http4s-steward in #7134
- Update sbt-jmh to 0.4.5 in series/0.23 by @http4s-steward in #7136
- Update nscplugin, sbt-scala-native, ... to 0.4.14 in series/0.23 by @http4s-steward in #7139
- Update epollcat to 0.1.5 in series/0.23 by @http4s-steward in #7140
- Update jnr-unixsocket to 0.38.20 in series/0.23 by @http4s-steward in #7141
- Update sbt to 1.9.0 in series/0.23 by @http4s-steward in #7133
- Update sbt-http4s-org to 0.14.13 in series/0.23 by @http4s-steward in #7137
- Update scala-library, scala-reflect to 2.12.18 in series/0.23 by @http4s-steward in #7143
- Update scala-library, scala-reflect to 2.13.11 in series/0.23 by @http4s-steward in #7144
New Contributors
- @rsemlal made their first contribution in #7118
- @walesho made their first contribution in #7120
- @diogocanut made their first contribution in #7129
- @mox692 made their first contribution in #7091
Full Changelog: v0.23.19...v0.23.20