From 200f40dcdf0df436bdba24df488dc5c3415dba83 Mon Sep 17 00:00:00 2001 From: Andrzej Ludwikowski Date: Mon, 2 Oct 2023 13:04:49 +0200 Subject: [PATCH] chore: bump to akka 2.9.0-M2 --- .../scala/akka/persistence/r2dbc/internal/BySliceQuery.scala | 2 +- project/Dependencies.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/scala/akka/persistence/r2dbc/internal/BySliceQuery.scala b/core/src/main/scala/akka/persistence/r2dbc/internal/BySliceQuery.scala index 62001448..1b4b565e 100644 --- a/core/src/main/scala/akka/persistence/r2dbc/internal/BySliceQuery.scala +++ b/core/src/main/scala/akka/persistence/r2dbc/internal/BySliceQuery.scala @@ -384,7 +384,7 @@ import org.slf4j.Logger // switching to backtracking val fromOffset = if (state.latestBacktracking == TimestampOffset.Zero) - TimestampOffset.Zero.copy(timestamp = state.latest.timestamp.minus(firstBacktrackingQueryWindow)) + TimestampOffset(timestamp = state.latest.timestamp.minus(firstBacktrackingQueryWindow), Map.empty) else state.latestBacktracking diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 595c2c33..e21cf6a1 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -10,7 +10,7 @@ object Dependencies { val Scala3 = "3.3.1" val Scala2Versions = Seq(Scala213, Scala212) val ScalaVersions = Dependencies.Scala2Versions :+ Dependencies.Scala3 - val AkkaVersion = System.getProperty("override.akka.version", "2.9.0-M1") + val AkkaVersion = System.getProperty("override.akka.version", "2.9.0-M2") val AkkaVersionInDocs = AkkaVersion.take(3) val AkkaPersistenceJdbcVersion = "5.2.0" // only in migration tool tests val AkkaProjectionVersionInDocs = "current"