Skip to content

Add Native platform for http4s and http4s-stir, update http4s-stir to 0.5.0 - #571

Merged
luksow merged 1 commit into
masterfrom
feature/native-http4s-391
Jul 15, 2026
Merged

luksow merged 1 commit into
masterfrom
feature/native-http4s-391

Conversation

@luksow

@luksow luksow commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Solves #391.

Both blockers named in the issue are gone:

  • http4s is published for Scala Native 0.5 (http4s-dsl_native0.5 exists for 0.23.36, already on master)
  • http4s-stir 0.5.0 is published for Scala Native 0.5 (bumped here from 0.4.1)

Changes:

  • http4sSupport and http4sStirSupport now cross-build for NativePlatform; .native projects added to the aggregate
  • http4s-stir 0.4.1 → 0.5.0
  • tlVersionIntroduced := 2.1.7 on the new Native targets, so MiMa doesn't try to resolve kebs-http4s_native0.5:2.1.5 (never published)
  • regenerated ci.yml (new native target directories in the cache steps)

The enumeratum test-rewrite contingency mentioned in the issue turned out unnecessary — enumeratum has published Native 0.5 artifacts since #557. Tests stay JVM-only (unchanged layout: jvm/src/test); http4s-stir-testkit has no Native release, but it was already JVM-scoped.

Verified locally on Scala 2.13.18 and 3.3.8: Test/compile for both Native targets, all 25 JVM tests pass with stir 0.5.0, mimaReportBinaryIssues clean, scalafmtSbtCheck clean.

Note: this PR touches .github/workflows/ci.yml, which my gh token can't merge (missing workflow scope) — needs your merge once CI is green.

🤖 Generated with Claude Code

… 0.5.0

http4s-dsl 0.23.36 and http4s-stir 0.5.0 are now published for
Scala Native 0.5, unblocking #391. Tests remain JVM-only since
http4s-stir-testkit is not published for Native.

tlVersionIntroduced is set to 2.1.7 on the new Native targets so MiMa
does not look for previous artifacts that were never published.

Closes #391

Co-Authored-By: Claude Fable 5 <[email protected]>
@mergify

mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@luksow
luksow merged commit 06f51be into master Jul 15, 2026
17 checks passed
@luksow
luksow deleted the feature/native-http4s-391 branch July 15, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant