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 18a6abf6 release notes for 2.0.0-M1 (#605)
18a6abf6 is described below
commit 18a6abf67b6e28068a00ad91d9f90d8f472c08ac
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Feb 3 12:13:47 2026 +0100
release notes for 2.0.0-M1 (#605)
* release notes for 2.0.0-M1
* Update Java version from 8 to 17 in workflow
---
.github/workflows/publish-2.0-docs.yml | 83 ++++++++++++++++++++++
docs/src/main/paradox/release-notes/index.md | 1 +
.../src/main/paradox/release-notes/releases-2.0.md | 16 +++++
3 files changed, 100 insertions(+)
diff --git a/.github/workflows/publish-2.0-docs.yml
b/.github/workflows/publish-2.0-docs.yml
new file mode 100644
index 00000000..800380f6
--- /dev/null
+++ b/.github/workflows/publish-2.0-docs.yml
@@ -0,0 +1,83 @@
+# 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 2.0 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 #
v6.0.1
+ with:
+ # we don't know what commit the last tag was it's safer to get
entire repo so previousStableVersion resolves
+ fetch-depth: 0
+
+ - name: Setup Java 17
+ uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e #
v5.1.0
+ with:
+ distribution: temurin
+ java-version: 17
+
+ - name: Install sbt
+ uses: sbt/setup-sbt@a627500d27445f8c5021755a439829b6e78e3358 # v1.1.15
+
+ - name: Build Documentation
+ run: |-
+ cp .jvmopts-ci .jvmopts
+ sbt "set ThisBuild / version := \"2.0.0-M1\"; 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/2.0.0-M1/
+ mkdir -p target/nightly-docs/docs/pekko-grpc/2.0/
+ cp -r docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-grpc/2.0.0-M1/docs
+ cp -r docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-grpc/2.0/docs
+ rm -r docs/target/paradox/site/main/
+ cp -r target/scala-2.12/unidoc
target/nightly-docs/docs/pekko-grpc/2.0.0-M1/api
+ cp -r target/scala-2.12/unidoc
target/nightly-docs/docs/pekko-grpc/2.0/api
+ rm -r target/scala-2.12/unidoc
+
+ - name: Upload 2.0.0-M1 docs
+ uses: ./.github/actions/sync-nightlies
+ with:
+ upload: true
+ switches: --archive --compress --update --delete --progress
--relative
+ local_path: target/nightly-docs/./docs/pekko-grpc/2.0.0-M1 # 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 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/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 }}
diff --git a/docs/src/main/paradox/release-notes/index.md
b/docs/src/main/paradox/release-notes/index.md
index bd95457b..f1b0d094 100644
--- a/docs/src/main/paradox/release-notes/index.md
+++ b/docs/src/main/paradox/release-notes/index.md
@@ -4,6 +4,7 @@
@@@ index
+* [2.0 Milestone Releases](releases-2.0.md)
* [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-2.0.md
b/docs/src/main/paradox/release-notes/releases-2.0.md
new file mode 100644
index 00000000..cf22b289
--- /dev/null
+++ b/docs/src/main/paradox/release-notes/releases-2.0.md
@@ -0,0 +1,16 @@
+# Release Notes (2.0.x)
+
+## 2.0.0-M1
+
+Release notes for Apache Pekko gRPC 2.0.0-M1. See [GitHub Milestone for
2.0.0-M1](https://github.com/apache/pekko-grpc/milestone/8?closed=1) for a
fuller list of changes.
+
+This is a milestone release and is aimed at testing this new major version
+by early adopters. This is experimental. This release should not be used in
production.
+
+### Main Changes
+
+* Pekko 2.0.0-M1 is the new minimum Pekko version
+* Java 17 is the new minimum JRE version
+* Scala 2.12 support dropped
+* A lot of deprecated code removed
+* grpc-java 1.78.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]