From abdfedc38d4273045367d6ff2d3e5129ee53e4d5 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 12:24:36 +0000 Subject: [PATCH 1/4] Update scala-library to 2.13.12 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 862ac65dce..c6a112f9f2 100644 --- a/build.sbt +++ b/build.sbt @@ -8,7 +8,7 @@ ThisBuild / organization := "co.fs2" ThisBuild / organizationName := "Functional Streams for Scala" ThisBuild / startYear := Some(2013) -val Scala213 = "2.13.11" +val Scala213 = "2.13.12" ThisBuild / scalaVersion := Scala213 ThisBuild / crossScalaVersions := Seq("2.12.18", Scala213, "3.3.1") From 47978ee7af06b8bb40875171671a38899e32db34 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 21:31:56 +0000 Subject: [PATCH 2/4] Update sbt-typelevel, sbt-typelevel-site to 0.5.2 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index b0af6030e2..b56c3650c5 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -val sbtTypelevelVersion = "0.5.0" +val sbtTypelevelVersion = "0.5.2" addSbtPlugin("org.typelevel" % "sbt-typelevel" % sbtTypelevelVersion) addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % sbtTypelevelVersion) addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2") From 3a272ba385e8cd5cb82d5ba583266628449c6246 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 21:33:16 +0000 Subject: [PATCH 3/4] Run prePR with sbt-typelevel Executed command: sbt tlPrePrBotHook --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b176d9d22a..d1207478a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: timeout-minutes: 60 steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -114,7 +114,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -258,7 +258,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -290,7 +290,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 From a9566bdf2a7ca506c42df375a17f79b3aa69dda7 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Mon, 11 Sep 2023 21:36:35 +0000 Subject: [PATCH 4/4] Restore package object Fixes https://github.com/typelevel/fs2/issues/3293 --- io/shared/src/main/scala/fs2/io/io.scala | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/io/shared/src/main/scala/fs2/io/io.scala b/io/shared/src/main/scala/fs2/io/io.scala index 079c4f8043..600f4f28cd 100644 --- a/io/shared/src/main/scala/fs2/io/io.scala +++ b/io/shared/src/main/scala/fs2/io/io.scala @@ -20,20 +20,17 @@ */ package fs2 -package io import cats.effect.kernel.Async import cats.effect.kernel.Sync import cats.effect.syntax.all._ import cats.syntax.all._ -import org.typelevel.scalaccompat.annotation._ import java.io.{InputStream, OutputStream} /** Provides various ways to work with streams that perform IO. */ -@nowarn213("msg=package object inheritance is deprecated") -object `package` extends ioplatform { +package object io extends ioplatform { type IOException = java.io.IOException /** Reads all bytes from the specified `InputStream` with a buffer size of `chunkSize`.