Skip to content

Build against Scala Native 0.5.x and Scala.js 1.20.x#311

Open
hugo-vrijswijk wants to merge 2 commits intoLEGO:mainfrom
hugo-vrijswijk:native-5
Open

Build against Scala Native 0.5.x and Scala.js 1.20.x#311
hugo-vrijswijk wants to merge 2 commits intoLEGO:mainfrom
hugo-vrijswijk:native-5

Conversation

@hugo-vrijswijk
Copy link

@hugo-vrijswijk hugo-vrijswijk commented Sep 10, 2025

Updates dependencies to build against Native 0.5.x and Scala.js 1.20.x.

Notes:

  • Disabled the http4s native build, as http4s is not yet released for Scala Native 0.5.x.

@hugo-vrijswijk hugo-vrijswijk force-pushed the native-5 branch 2 times, most recently from 081c46f to 24793a9 Compare March 10, 2026 09:27
Updates dependencies to build against Native 0.5.x and Scala.js 1.20.x.

Notes:
- Disabled the http4s native build, as http4s is not yet released for Scala Native 0.5.x.
- FS2 are using release candidates for Native 0.5.x
@hugo-vrijswijk
Copy link
Author

With the full release this should be good to go now @Colin-TUE

@Colin-TUE
Copy link
Contributor

@hugo-vrijswijk, I would expect so. We are also looking into upgrading the other packages first, so that we no longer have any lingering potential old versions laying around that might cause issues.


val http4sFolder = file("./modules/http4s")
lazy val http4s = crossProject(JSPlatform, JVMPlatform, NativePlatform)
lazy val http4s = crossProject(JSPlatform, JVMPlatform /* , NativePlatform */ )
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be uncommented again now the full release is ready for Native as well?

Copy link
Author

Choose a reason for hiding this comment

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

We're still waiting for http4s native 0.5 to be released. It's probably not too far out so this could be merged now and uncommented in a few days(?), or we can wait for the release

Copy link
Contributor

Choose a reason for hiding this comment

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

We do have to wait for that release as we want to keep the Native Platform support. Once they have the updated the library, we can update this PR.

@Colin-TUE Colin-TUE requested a review from a team March 16, 2026 09:12
@Colin-TUE
Copy link
Contributor

How related is this version upgrade to #337 . It looks this one contains some other upgrades are included in this PR.

@hugo-vrijswijk
Copy link
Author

How related is this version upgrade to #337 . It looks this one contains some other upgrades are included in this PR.

The build in #337 fails, mainly because Scala Native 0.5 requires some other dependencies to also be updated. This PR just does that all at the same time so the build will pass

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.

2 participants