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 2025/10/22 08:51:50 UTC

(pekko-grpc) branch main updated: release notes for 1.2.0 (#531)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new e25530c3 release notes for 1.2.0 (#531)
e25530c3 is described below

commit e25530c3b843d659787cfe85cd6c2c9a355e5456
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Oct 22 09:51:45 2025 +0100

    release notes for 1.2.0 (#531)
    
    * release notes for 1.2.0
    
    * update publish jobs
---
 .github/workflows/publish-1.0-snapshots.yml        |  2 -
 .github/workflows/publish-1.2-docs.yml             | 84 ++++++++++++++++++++++
 ...1.0-snapshots.yml => publish-1.2-snapshots.yml} | 10 +--
 docs/src/main/paradox/release-notes/index.md       |  1 +
 .../src/main/paradox/release-notes/releases-1.1.md |  2 +-
 .../src/main/paradox/release-notes/releases-1.2.md | 18 +++++
 6 files changed, 109 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/publish-1.0-snapshots.yml b/.github/workflows/publish-1.0-snapshots.yml
index ac78c6d3..f8af313e 100644
--- a/.github/workflows/publish-1.0-snapshots.yml
+++ b/.github/workflows/publish-1.0-snapshots.yml
@@ -9,8 +9,6 @@
 name: Publish 1.0 Snapshots
 
 on:
-  schedule:
-    - cron: "0 2 * * 0"
   workflow_dispatch:
 
 jobs:
diff --git a/.github/workflows/publish-1.2-docs.yml b/.github/workflows/publish-1.2-docs.yml
new file mode 100644
index 00000000..8fb99075
--- /dev/null
+++ b/.github/workflows/publish-1.2-docs.yml
@@ -0,0 +1,84 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Publish 1.2 docs
+
+on:
+  workflow_dispatch:
+
+jobs:
+  publish-docs:
+    name: sbt publish
+    runs-on: ubuntu-latest
+    if: github.repository == 'apache/pekko-grpc'
+    steps:
+      - name: Checkout
+        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+        with:
+          # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
+          fetch-depth: 0
+          ref: 1.2.x
+          
+      - name: Setup Java 8
+        uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
+        with:
+          distribution: temurin
+          java-version: 8    
+
+      - name: Install sbt
+        uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9
+
+      - name: Build Documentation
+        run: |-
+          cp .jvmopts-ci .jvmopts  
+          sbt "set ThisBuild / version := \"1.2.0\"; docs/paradox; unidoc"
+
+      # Create directory structure upfront since rsync does not create intermediate directories otherwise
+      - name: Create directory structure
+        run: |-
+          mkdir -p target/nightly-docs/docs/pekko-grpc/1.2.0/
+          mkdir -p target/nightly-docs/docs/pekko-grpc/1.2/
+          cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-grpc/1.2.0/docs
+          cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-grpc/1.2/docs
+          rm -r docs/target/paradox/site/main/
+          cp -r target/scala-2.12/unidoc target/nightly-docs/docs/pekko-grpc/1.2.0/api
+          cp -r target/scala-2.12/unidoc target/nightly-docs/docs/pekko-grpc/1.2/api
+          rm -r target/scala-2.12/unidoc
+
+      - name: Upload 1.2.0 docs
+        uses: ./.github/actions/sync-nightlies
+        with:
+          upload: true
+          switches: --archive --compress --update --delete --progress --relative
+          local_path: target/nightly-docs/./docs/pekko-grpc/1.2.0 # The intermediate dot is to show `--relative` which paths to operate on
+          remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
+          remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
+          remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
+          remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
+          remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
+
+      - name: Upload 1.2 docs
+        uses: ./.github/actions/sync-nightlies
+        with:
+          upload: true
+          switches: --archive --compress --update --delete --progress --relative
+          local_path: target/nightly-docs/./docs/pekko-grpc/1.2 # The intermediate dot is to show `--relative` which paths to operate on
+          remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/
+          remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
+          remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
+          remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
+          remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
diff --git a/.github/workflows/publish-1.0-snapshots.yml b/.github/workflows/publish-1.2-snapshots.yml
similarity index 90%
copy from .github/workflows/publish-1.0-snapshots.yml
copy to .github/workflows/publish-1.2-snapshots.yml
index ac78c6d3..074e2042 100644
--- a/.github/workflows/publish-1.0-snapshots.yml
+++ b/.github/workflows/publish-1.2-snapshots.yml
@@ -6,11 +6,11 @@
 # This file is part of the Apache Pekko project, which was derived from Akka.
 #
 
-name: Publish 1.0 Snapshots
+name: Publish 1.2 Snapshots
 
 on:
   schedule:
-    - cron: "0 2 * * 0"
+    - cron: "0 4 * * 0"
   workflow_dispatch:
 
 jobs:
@@ -24,7 +24,7 @@ jobs:
         with:
           # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
           fetch-depth: 0
-          ref: 1.0.x
+          ref: 1.2.x
           
       - name: Setup Java 8
         uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
@@ -39,8 +39,8 @@ jobs:
         run: |-
           cp .jvmopts-ci .jvmopts
           sbt +publish
-          sbt ++2.13.13! codegen/publish
-          sbt ++3.3.3! codegen/publish
+          sbt ++2.13.16! codegen/publish
+          sbt ++3.3.6! codegen/publish
         env:
           NEXUS_USER: ${{ secrets.NEXUS_USER }}
           NEXUS_PW: ${{ secrets.NEXUS_PW }}
diff --git a/docs/src/main/paradox/release-notes/index.md b/docs/src/main/paradox/release-notes/index.md
index c81b99e2..bd95457b 100644
--- a/docs/src/main/paradox/release-notes/index.md
+++ b/docs/src/main/paradox/release-notes/index.md
@@ -4,6 +4,7 @@
 
 @@@ index
 
+* [1.2 Releases](releases-1.2.md)
 * [1.1 Releases](releases-1.1.md)
 * [1.0 Releases](releases-1.0.md)
 
diff --git a/docs/src/main/paradox/release-notes/releases-1.1.md b/docs/src/main/paradox/release-notes/releases-1.1.md
index 61cfb71a..f8d0d215 100644
--- a/docs/src/main/paradox/release-notes/releases-1.1.md
+++ b/docs/src/main/paradox/release-notes/releases-1.1.md
@@ -34,7 +34,7 @@ Release notes for Apache Pekko gRPC 1.1.0. See [GitHub Milestone for 1.1.0-M1](h
 
 Most of the dependency changes are small patch level upgrades. Some exceptions include:
 
-* grpc-java 1.68.0 (this grpc-java release has since been stated marked as a mistake)
+* grpc-java 1.68.0 (this grpc-java release has since been marked as a mistake)
 * protobuf-java 3.25.5
 * scalapb 0.11.17
 * Twirl 2.0.7
diff --git a/docs/src/main/paradox/release-notes/releases-1.2.md b/docs/src/main/paradox/release-notes/releases-1.2.md
new file mode 100644
index 00000000..b127a13f
--- /dev/null
+++ b/docs/src/main/paradox/release-notes/releases-1.2.md
@@ -0,0 +1,18 @@
+# Release Notes (1.2.x)
+
+## 1.2.0
+
+Release notes for Apache Pekko gRPC 1.2.0. See [GitHub Milestone for 1.2.0](https://github.com/apache/pekko-grpc/milestone/5?closed=1) for a fuller list of changes.
+
+### Changes
+
+* Pre-announce trailers in server streaming calls ([PR456](https://github.com/apache/pekko-grpc/pull/456))
+* improve performance of deserializing ByteString ([PR503](https://github.com/apache/pekko-grpc/pull/503))
+
+### Dependency Changes
+
+* grpc-java 1.75.0 which includes upgraded Netty components to fix potential security issues 
+* protobuf-java 3.25.8
+* scalapb 0.11.20
+* Twirl 2.0.9
+* sbt-protoc 1.0.8


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