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

pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new de0c3e191 build with pekko 2.0.0-M4 (#1212)
de0c3e191 is described below

commit de0c3e1913e79adc5bfe24ab4e3685e389438de9
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Aug 22 12:45:48 2026 +0100

    build with pekko 2.0.0-M4 (#1212)
    
    * build with pekko 2.0.0-M4
    
    * Update HttpEntity.scala
    
    * Remove Apache Maven Staging Repo from resolvers
---
 .../main/scala/org/apache/pekko/http/scaladsl/model/HttpEntity.scala  | 2 +-
 project/PekkoCoreDependency.scala                                     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/HttpEntity.scala
 
b/http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/HttpEntity.scala
index 7df0376bd..6034c57de 100644
--- 
a/http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/HttpEntity.scala
+++ 
b/http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/HttpEntity.scala
@@ -645,8 +645,8 @@ object HttpEntity {
         private var maxBytes = -1L
         private var bytesLeft = Long.MaxValue
 
-        @nowarn("msg=deprecated") // Attributes.getFirst is deprecated, but we 
need to use it here
         override def preStart(): Unit = {
+          // getFirst has been marked as an internal stable API since Pekko 
Core 2.0.0-M4
           _attributes.getFirst[SizeLimit] match {
             case Some(limit: SizeLimit) if limit.isDisabled =>
             // "no limit"
diff --git a/project/PekkoCoreDependency.scala 
b/project/PekkoCoreDependency.scala
index 159f2bc13..0a1dc35bd 100644
--- a/project/PekkoCoreDependency.scala
+++ b/project/PekkoCoreDependency.scala
@@ -20,6 +20,6 @@ import com.github.pjfanning.pekkobuild.PekkoDependency
 object PekkoCoreDependency extends PekkoDependency {
   override val checkProject: String = "pekko-cluster-sharding-typed"
   override val module: Option[String] = None
-  override val minVersion: String = "2.0.0-M3"
-  override val currentVersion: String = "2.0.0-M3"
+  override val minVersion: String = "2.0.0-M4"
+  override val currentVersion: String = "2.0.0-M4"
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to