Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b0af38a
Update http4s-circe, http4s-ember-client to 0.23.31 in series/0.23
http4s-steward[bot] Sep 23, 2025
a020d7a
Merge pull request #7721 from http4s/update/series/0.23/http4s-circe-…
rossabaker Sep 23, 2025
9f50375
Restore binary compatibility with <0.23.31 in dsl.Statuses
rossabaker Sep 24, 2025
c0f2eca
Merge pull request #7722 from http4s/restore-bincompat-in-statuses
samspills Sep 24, 2025
6acdc1e
Update changelog.md
valencik Sep 24, 2025
388e133
Merge pull request #7723 from http4s/valencik-changelog-0.23.32
valencik Sep 24, 2025
056407f
Make `[bot]` a link in changelog.md
valencik Sep 24, 2025
e8885dc
Update http4s-circe, http4s-ember-client to 0.23.32 in series/0.23
http4s-steward[bot] Sep 24, 2025
fb15fb1
Add uncheckedStable to Statuses.UnprocessableContent
rossabaker Sep 24, 2025
cb08e49
Merge pull request #7724 from http4s/valencik-bot-link
samspills Sep 24, 2025
a4fc203
The number of import groups shall be two, and two shall be the number
rossabaker Sep 24, 2025
911abf6
Merge remote-tracking branch 'origin/series/0.23' into uncheckedstable
rossabaker Sep 24, 2025
e958fc5
Drop codecov action
rossabaker Sep 24, 2025
c95d074
Merge pull request #7727 from http4s/remove-codecov
rossabaker Sep 24, 2025
5114b1d
Merge branch 'series/0.23' into update/series/0.23/http4s-circe-0.23.32
samspills Sep 24, 2025
b65f6ae
Merge pull request #7726 from http4s/uncheckedstable
rossabaker Sep 24, 2025
e39f393
Merge pull request #7725 from http4s/update/series/0.23/http4s-circe-…
rossabaker Sep 24, 2025
b5451c2
Merge branch 'series/0.23' into sam/0.23.32-merge-to-main
samspills Sep 25, 2025
57568a1
UnprocessableContent def to val
samspills Sep 25, 2025
ba544ce
githubWorkflowGenerate
samspills Sep 25, 2025
4c2067d
didn't delete enough from build.sbt
samspills Sep 25, 2025
3db885c
clean up UnprocessableEntity
samspills Sep 29, 2025
95a5cf5
omit UnprocessableContent tests
samspills Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,70 +381,6 @@ jobs:

- run: scala-steward validate-repo-config .scala-steward.conf

coverage:
name: Generate coverage report
strategy:
matrix:
os: [ubuntu-22.04]
scala: [2.13.16]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
- name: Install Nix
uses: cachix/install-nix-action@v27

- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (temurin@8)
id: setup-java-temurin-8
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt

- name: sbt update
if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false'
run: 'nix develop .#${{ matrix.java }} -c sbt +update'

- name: Setup Java (temurin@11)
id: setup-java-temurin-11
if: matrix.java == 'temurin@11'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: sbt

- name: sbt update
if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false'
run: 'nix develop .#${{ matrix.java }} -c sbt +update'

- name: Setup Java (temurin@17)
id: setup-java-temurin-17
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt

- name: sbt update
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: 'nix develop .#${{ matrix.java }} -c sbt +update'

- run: 'nix develop .#${{ matrix.java }} -c sbt ''++ ${{ matrix.scala }}'' coverage rootJVM/test coverageAggregate'

- if: github.event_name != 'pull_request'
uses: codecov/codecov-action@v3

site:
name: Generate Site
strategy:
Expand Down
21 changes: 0 additions & 21 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,6 @@ ThisBuild / githubWorkflowJobSetup ~= { steps =>

ThisBuild / githubWorkflowSbtCommand := "nix develop .#${{ matrix.java }} -c sbt"

ThisBuild / githubWorkflowAddedJobs ++= Seq(
WorkflowJob(
id = "coverage",
name = "Generate coverage report",
scalas = List(scala_213),
javas = List(JavaSpec.temurin("8")),
steps = githubWorkflowJobSetup.value.toList ++
List(
WorkflowStep.Sbt(List("coverage", "rootJVM/test", "coverageAggregate")),
WorkflowStep.Use(
UseRef.Public(
"codecov",
"codecov-action",
"v3",
),
cond = Some("github.event_name != 'pull_request'"),
),
),
)
)

ThisBuild / jsEnv := {
import org.scalajs.jsenv.nodejs.NodeJSEnv
new NodeJSEnv(
Expand Down
2 changes: 0 additions & 2 deletions core/shared/src/main/scala/org/http4s/Status.scala
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ object Status {
val ImATeapot: Status = register(trust(418, "I'm A Teapot"))
val MisdirectedRequest: Status = register(trust(421, "Misdirected Request"))
val UnprocessableContent: Status = register(trust(422, "Unprocessable Content"))
@deprecated("now called UnprocessableContent", since = "0.23.31")
val UnprocessableEntity: Status = UnprocessableContent
Comment on lines -182 to -183
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That change corresponds to the spirit of the 1.0 series, but I can't imagine what a pain it'd be to migrate from 0.23 to 1.0 for any brave (desperate?) people in the end...

val Locked: Status = register(trust(423, "Locked"))
val FailedDependency: Status = register(trust(424, "Failed Dependency"))
val TooEarly: Status = register(trust(425, "Too Early"))
Expand Down
17 changes: 17 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
Maintenance branches are merged before each new release. This change log is
ordered chronologically, so each release contains all changes described below it.

# v0.23.32 (2025-09-24)

## What's Changed
### http4s-dsl
* Restore binary compatibility with <0.23.31 in dsl.Statuses by @rossabaker in https://github.com/http4s/http4s/pull/7722
### Behind the scenes
<details>

* Update http4s-circe, http4s-ember-client to 0.23.31 in series/0.23 by @http4s-steward[bot] in https://github.com/http4s/http4s/pull/7721

</details>

**Full Changelog**: https://github.com/http4s/http4s/compare/v0.23.31...v0.23.32


# v1.0.0-M45 (2025-09-22)

## What's Changed
Expand Down Expand Up @@ -7216,3 +7231,5 @@ the future client.
# v0.1.0 (2014-04-15)

* Initial public release.

[bot]: https://github.com/http4s/steward
10 changes: 0 additions & 10 deletions dsl/src/main/scala/org/http4s/dsl/impl/Responses.scala
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,6 @@ trait Responses[F[_], G[_]] {
status: UnprocessableContent.type
): UnprocessableContentOps[F, G] =
new UnprocessableContentOps[F, G](status, liftG)
@deprecated("use http4sUnprocessableContentSyntax", since = "0.23.31")
implicit def http4sUnprocessableEntitySyntax(
status: UnprocessableEntity.type
): Responses.UnprocessableEntityOps[F, G] =
new Responses.UnprocessableEntityOps[F, G](status, liftG)
implicit def http4sLockedSyntax(status: Locked.type): LockedOps[F, G] =
new LockedOps[F, G](status, liftG)
implicit def http4sFailedDependencySyntax(
Expand Down Expand Up @@ -330,11 +325,6 @@ object Responses {
val status: UnprocessableContent.type,
val liftG: G ~> F,
) extends EntityResponseGenerator[F, G]
@deprecated("use UnprocessableContentOps", since = "0.23.31")
final class UnprocessableEntityOps[F[_], G[_]](
val status: UnprocessableEntity.type,
val liftG: G ~> F,
) extends EntityResponseGenerator[F, G]
final class LockedOps[F[_], G[_]](val status: Locked.type, val liftG: G ~> F)
extends EntityResponseGenerator[F, G]
final class FailedDependencyOps[F[_], G[_]](val status: FailedDependency.type, val liftG: G ~> F)
Expand Down
5 changes: 2 additions & 3 deletions dsl/src/main/scala/org/http4s/dsl/impl/Statuses.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ trait Statuses {
val UnsupportedMediaType: Status.UnsupportedMediaType.type = Status.UnsupportedMediaType
val RangeNotSatisfiable: Status.RangeNotSatisfiable.type = Status.RangeNotSatisfiable
val ExpectationFailed: Status.ExpectationFailed.type = Status.ExpectationFailed
val UnprocessableContent: Status.UnprocessableContent.type = Status.UnprocessableContent
@deprecated("now called UnprocessableContent", since = "0.23.31")
val UnprocessableEntity: Status.UnprocessableEntity.type = Status.UnprocessableEntity
val UnprocessableContent: Status.UnprocessableContent.type =
Status.UnprocessableContent
val Locked: Status.Locked.type = Status.Locked
val FailedDependency: Status.FailedDependency.type = Status.FailedDependency
val UpgradeRequired: Status.UpgradeRequired.type = Status.UpgradeRequired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ import org.http4s.headers.`Content-Length`
import org.http4s.headers.`Content-Type`
import org.http4s.syntax.literals._

import scala.annotation.nowarn

class ResponseGeneratorSuite extends Http4sSuite {
test("Add the EntityEncoder headers along with a content-length header") {
val body = "foo"
Expand Down Expand Up @@ -156,8 +154,4 @@ class ResponseGeneratorSuite extends Http4sSuite {
).headers
)
}

test("UnprocessableEntity() has unambiguous and deprecated implicit") {
val _ = UnprocessableEntity(): @nowarn("cat=deprecation")
}
}
4 changes: 2 additions & 2 deletions project/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ scalacOptions := Seq(
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.8",
"org.http4s" %% "http4s-ember-client" % "0.23.30",
"org.http4s" %% "http4s-circe" % "0.23.30",
"org.http4s" %% "http4s-ember-client" % "0.23.32",
"org.http4s" %% "http4s-circe" % "0.23.32",
)
Loading