You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/02/11 22:37:44 UTC

(incubator-pekko-persistence-jdbc) branch 1.0.x updated: update deprecation values to mention akka (#117) (#118)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch 1.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-jdbc.git


The following commit(s) were added to refs/heads/1.0.x by this push:
     new e03fae2  update deprecation values to mention akka (#117) (#118)
e03fae2 is described below

commit e03fae27ad1ffed53013f73356f6e696f8a25904
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Feb 11 23:37:39 2024 +0100

    update deprecation values to mention akka (#117) (#118)
    
    * update deprecation values to mention akka
    
    * scalafmt
---
 .../org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala     | 9 ++++++---
 .../jdbc/serialization/PersistentReprSerializer.scala            | 4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala b/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala
index 8d9bb64..dd83286 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala
@@ -26,13 +26,15 @@ import slick.jdbc.JdbcBackend._
 /**
  * INTERNAL API
  */
-@deprecated(message = "Internal API, will be removed in 4.0.0", since = "3.4.0")
+@deprecated(message = "Internal API, will be removed in pekko-persistence-jdbc 2.0.0",
+  since = "akka-persistence-jdbc 3.4.0")
 object SlickDriver {
 
   /**
    * INTERNAL API
    */
-  @deprecated(message = "Internal API, will be removed in 4.0.0", since = "3.4.0")
+  @deprecated(message = "Internal API, will be removed in pekko-persistence-jdbc 2.0.0",
+    since = "akka-persistence-jdbc 3.4.0")
   def forDriverName(config: Config): JdbcProfile =
     SlickDatabase.profile(config, "slick")
 }
@@ -45,7 +47,8 @@ object SlickDatabase {
   /**
    * INTERNAL API
    */
-  @deprecated(message = "Internal API, will be removed in 4.0.0", since = "3.4.0")
+  @deprecated(message = "Internal API, will be removed in pekko-persistence-jdbc 2.0.0",
+    since = "akka-persistence-jdbc 3.4.0")
   def forConfig(config: Config, slickConfiguration: SlickConfiguration): Database = {
     database(config, slickConfiguration, "slick.db")
   }
diff --git a/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala b/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala
index 8a3c19b..ff9034c 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala
@@ -24,7 +24,7 @@ import scala.collection.immutable._
 
 import scala.util.Try
 
-@deprecated("use Apache Pekko Serialization for the payloads instead", since = "5.0.0")
+@deprecated("use Apache Pekko Serialization for the payloads instead", since = "akka-persistence-jdbc 5.0.0")
 trait PersistentReprSerializer[T] {
 
   /**
@@ -55,7 +55,7 @@ trait PersistentReprSerializer[T] {
   def deserialize(t: T): Try[(PersistentRepr, Set[String], Long)]
 }
 
-@deprecated("use Apache Pekko Serialization for the payloads instead", since = "5.0.0")
+@deprecated("use Apache Pekko Serialization for the payloads instead", since = "akka-persistence-jdbc 5.0.0")
 trait FlowPersistentReprSerializer[T] extends PersistentReprSerializer[T] {
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org