Skip to content

Update SCRAM client to 3.2#1287

Closed
guihigashi wants to merge 2 commits intotypelevel:mainfrom
guihigashi:update-scram-client
Closed

Update SCRAM client to 3.2#1287
guihigashi wants to merge 2 commits intotypelevel:mainfrom
guihigashi:update-scram-client

Conversation

@guihigashi
Copy link
Copy Markdown

Bumps "com.ongres.scram" % "client" % "2.1" to "com.ongres.scram" % "scram-client" % "3.2".

This resolves dependency conflicts for users who also have libraries depending on the newer SCRAM client in their classpath (e.g., "org.postgresql" % "r2dbc-postgresql" % "1.1.1.RELEASE"). The internal authenticationSASL code has been refactored to support the 3.x builder API.

@mpilquist
Copy link
Copy Markdown
Member

Thanks! Instead of upgrading to latest version, it might be better to remove the dependency entirely and make the Scram.scala file that's currently used on JS & Native work for JVM too. Mind giving that a try?

@guihigashi
Copy link
Copy Markdown
Author

Thanks for reviewing it! I agree that's the better approach, but I don't have the resources to tackle that right now. It would be great as future work, though

@mpilquist
Copy link
Copy Markdown
Member

No worries, I made the change in #1288

@mpilquist
Copy link
Copy Markdown
Member

Give https://github.com/typelevel/skunk/releases/tag/v1.1.0-RC1 a shot and let me know if it works for you!

@guihigashi guihigashi deleted the update-scram-client branch April 21, 2026 03:32
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