Skip to content

Commit

Permalink
Bump base version and deprecate fs2.hash
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilquist committed Jul 5, 2024
1 parent 8b0191a commit 33931db
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import com.typesafe.tools.mima.core._

Global / onChangedBuildSource := ReloadOnSourceChanges

ThisBuild / tlBaseVersion := "3.10"
ThisBuild / tlBaseVersion := "3.11"

ThisBuild / organization := "co.fs2"
ThisBuild / organizationName := "Functional Streams for Scala"
Expand Down
1 change: 1 addition & 0 deletions core/js/src/main/scala/fs2/hash.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.typedarray.Uint8Array

/** Provides various cryptographic hashes as pipes. Supported only on Node.js. */
@deprecated("Use fs2.hashing.Hashing[F] instead", "3.11.0")
object hash {

/** Computes an MD2 digest. */
Expand Down
1 change: 1 addition & 0 deletions core/jvm/src/main/scala/fs2/hash.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ package fs2
import java.security.MessageDigest

/** Provides various cryptographic hashes as pipes. */
@deprecated("Use fs2.hashing.Hashing[F] instead", "3.11.0")
object hash {

/** Computes an MD2 digest. */
Expand Down
1 change: 1 addition & 0 deletions core/native/src/main/scala/fs2/hash.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import scala.scalanative.unsafe._
import scala.scalanative.unsigned._

/** Provides various cryptographic hashes as pipes. Requires OpenSSL. */
@deprecated("Use fs2.hashing.Hashing[F] instead", "3.11.0")
object hash {
import openssl._

Expand Down
1 change: 1 addition & 0 deletions core/shared/src/test/scala/fs2/HashSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import org.scalacheck.effect.PropF.forAllF

import hash._

@deprecated("Tests the deprecated fs2.hash object", "3.11.0")
class HashSuite extends Fs2Suite with HashingSuitePlatform with TestPlatform {

def checkDigest[A](h: Pipe[IO, Byte, Byte], algo: String, str: String) = {
Expand Down

0 comments on commit 33931db

Please sign in to comment.