Skip to content

Commit 42ea86d

Browse files
committed
restored binary compability with 2.1.0
1 parent 36c9541 commit 42ea86d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
val dottyVersion = "3.1.0"
33
//val dottyVersion = dottyLatestNightlyBuild.get
44

5-
ThisBuild/version := "2.1.1-SNAPSHOT"
5+
ThisBuild/version := "2.1.1"
66
ThisBuild/versionScheme := Some("semver-spec")
77

88
val sharedSettings = Seq(

jvm/src/main/scala/gopher/JVMGopher.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ object JVMGopher extends GopherAPI:
6161
taskExecutor=ForkJoinPool.commonPool(),
6262
)
6363

64+
// need for binary compability
65+
@deprecated("use summon[Gopher].time instead")
66+
lazy val timer = new Timer("gopher")
67+
6468
val logger = Logger.getLogger("JVMGopher")
6569

6670
def defaultLogFun(level: Level, message:String, ex: Throwable|Null): Unit =

0 commit comments

Comments
 (0)