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.git


The following commit(s) were added to refs/heads/main by this push:
     new ab80e8776e Release notes for 1.2.0-M2 (#1943)
ab80e8776e is described below

commit ab80e8776e451c8721da579fce769a664d308c1e
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Jul 21 10:27:41 2025 +0100

    Release notes for 1.2.0-M2 (#1943)
    
    * init release notes
    
    * more changes
    
    * Update releases-1.2.md
    
    * Update releases-1.2.md
    
    * Create publish-1.2-docs.yml
---
 .github/workflows/publish-1.2-docs.yml             | 101 +++++++++++++++++++++
 .../src/main/paradox/release-notes/releases-1.2.md |  57 ++++++++++++
 2 files changed, 158 insertions(+)

diff --git a/.github/workflows/publish-1.2-docs.yml 
b/.github/workflows/publish-1.2-docs.yml
new file mode 100644
index 0000000000..6cef5ecd41
--- /dev/null
+++ b/.github/workflows/publish-1.2-docs.yml
@@ -0,0 +1,101 @@
+# 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.
+
+# Based on Apache Arrow's java-nightly workflow
+# 
https://github.com/apache/arrow/blob/master/.github/workflows/java_nightly.yml
+name: Publish 1.2 documentation
+
+on:
+  workflow_dispatch:
+
+permissions:
+  contents: read
+
+jobs:
+  publish:
+    name: Publish 1.2 docs
+    runs-on: ubuntu-22.04
+    if: github.repository == 'apache/pekko'
+    steps:
+      # TODO we will need to change to use a release tag in future
+      - name: Checkout
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+          fetch-tags: true
+
+      - name: Setup Java 11
+        uses: actions/setup-java@v4
+        with:
+          distribution: temurin
+          java-version: 11
+
+      - name: Install sbt
+        uses: sbt/setup-sbt@234370af1319038bf8dc432f8a7e4b83078a1781 # v1.2.11
+
+      - name: Cache Coursier cache
+        uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # 
v6.4.7
+
+      - name: Install Graphviz
+        run: |-
+          sudo apt-get install graphviz
+
+      # TODO come up with a better way to control the version, possibly based 
on git tags
+      - name: Build Documentation
+        env:
+          DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
+        run: |-
+          sbt -Dpekko.genjavadoc.enabled=true 
-Dpekko.genlicensereport.enabled=true "set ThisBuild / version := \"1.2.0-M2\"; 
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/1.2.0-M2/
+          mkdir -p target/nightly-docs/docs/pekko/1.2/
+          cp -r docs/target/paradox/site/main/ 
target/nightly-docs/docs/pekko/1.2.0-M2/docs
+          cp -r docs/target/paradox/site/main/ 
target/nightly-docs/docs/pekko/1.2/docs
+          rm -r docs/target/paradox/site/main/
+          cp -r target/scala-2.13/unidoc 
target/nightly-docs/docs/pekko/1.2.0-M2/api
+          cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.2/api
+          rm -r target/scala-2.13/unidoc
+          cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.2.0-M2/japi
+          cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.2/japi
+          rm -r target/javaunidoc
+
+      - name: Upload docs patch version
+        uses: ./.github/actions/sync-nightlies
+        with:
+          upload: true
+          switches: --archive --compress --update --delete --progress 
--relative
+          local_path: target/nightly-docs/./docs/pekko/1.2.0-M2 # 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 docs api version
+        uses: ./.github/actions/sync-nightlies
+        with:
+          upload: true
+          switches: --archive --compress --update --delete --progress 
--relative
+          local_path: target/nightly-docs/./docs/pekko/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/docs/src/main/paradox/release-notes/releases-1.2.md 
b/docs/src/main/paradox/release-notes/releases-1.2.md
index f35b3494a2..93f1ca439c 100644
--- a/docs/src/main/paradox/release-notes/releases-1.2.md
+++ b/docs/src/main/paradox/release-notes/releases-1.2.md
@@ -2,6 +2,63 @@
 
 Apache Pekko 1.2.x releases support Java 8 and above.
 
+# 1.2.0-M2
+
+Pekko 1.2.0-M2 has some new features, performance updates and dependency 
upgrades. See the [GitHub 
Milestone](https://github.com/apache/pekko/milestone/15?closed=1) for a fuller 
list of changes.
+
+This is milestone release and is aimed at testing some new changes. This 
release should ideally not be used in production.
+
+### Bug Fixes
+
+* Issue forming mixed Akka/Pekko cluster when classic remoting with SSL/TLS is 
used ([PR1857](https://github.com/apache/pekko/pull/1857))
+* Join cluster check adjusted to support Akka nodes 
([PR1866](https://github.com/apache/pekko/pull/1866), 
[PR1877](https://github.com/apache/pekko/pull/1877))
+    * If you are attempting to mix Akka and Pekko nodes in a cluster, it is 
still recommended to disable the join cluster check but these changes may be 
enough to get it work 
([docs](https://cwiki.apache.org/confluence/display/PEKKO/Pekko+Akka+Compatibility)).
+* BroadcastHub drops elements due to register/unregister race 
([PR1841](https://github.com/apache/pekko/pull/1841))
+* Fix issue with number deserialization in pekko-cluster-metrics 
([PR1899](https://github.com/apache/pekko/pull/1899))
+* Fix typed persistence stack overflow with many read only commands 
([PR1919](https://github.com/apache/pekko/pull/1919))
+
+
+### Additions
+
+* Add Pattern timeout support 
([PR1424](https://github.com/apache/pekko/pull/1424))
+* Add TraversalBuilder.getValuePresentedSource method for further optimization 
([PR1701](https://github.com/apache/pekko/pull/1701))
+* Add flatmapConcat with parallelism support 
([PR1702](https://github.com/apache/pekko/pull/1702))
+* add EventsByTagQuery to JavaDSL PersistenceTestKitReadJournal 
([PR1763](https://github.com/apache/pekko/pull/1763))
+* Implement EventsBySliceQuery in JavaDSL PersistenceTestKitReadJournal 
([PR1767](https://github.com/apache/pekko/pull/1767))
+* Persistence API: add CurrentLastSequenceNumberByPersistenceIdQuery 
([PR1773](https://github.com/apache/pekko/pull/1773))
+* Add emitMulti with Spliterator support 
([PR1776](https://github.com/apache/pekko/pull/1776))
+* Add switchMap stream operator 
([PR1787](https://github.com/apache/pekko/pull/1787))
+* Add invokeWithFeedbackCompletionStage for javadsl 
([PR1819](https://github.com/apache/pekko/pull/1819))
+* Add takeUntil stream operator 
([PR1820](https://github.com/apache/pekko/pull/1820))
+* Add Source#create method 
([PR1823](https://github.com/apache/pekko/pull/1823))
+* Support Jackson Enum Features 
([PR1845](https://github.com/apache/pekko/pull/1845))
+* Add dropRepeated stream operator 
([PR1868](https://github.com/apache/pekko/pull/1868))
+* Add onComplete support for statefulMapConcat operator 
([PR1870](https://github.com/apache/pekko/pull/1870))
+* Add groupedAdjacentBy and GroupedAdjacentByWeighted stream operators 
([PR1937](https://github.com/apache/pekko/pull/1937))
+* Make calculateDelay a public method 
([PR1940](https://github.com/apache/pekko/pull/1940))
+
+### Changes
+
+* Tweak withAttributes in Flow 
([PR1658](https://github.com/apache/pekko/pull/1658))
+* Handle NormalShutdownReason in MergeHub 
([PR1741](https://github.com/apache/pekko/pull/1741))
+* optimize recoverWith to avoid some materialization 
([PR1775](https://github.com/apache/pekko/pull/1775))
+* Regenerated all the source code for Protobuf using 4.29.3 
([PR1795](https://github.com/apache/pekko/pull/1795))
+* Avoid materialize an empty source in switchMap 
([PR1804](https://github.com/apache/pekko/pull/1804))
+* Fix wrong name attribute for iterate and mapAsyncPartitionUnordered 
operators ([PR1869](https://github.com/apache/pekko/pull/1869))
+* Change aggregateWithBoundary operator in javadsl to use Optional 
([PR1876](https://github.com/apache/pekko/pull/1876))
+* TLS v1.3 is now the default 
([PR1901](https://github.com/apache/pekko/pull/1901))
+* Set vector builder to null after stage completed to avoid leak 
([PR1917](https://github.com/apache/pekko/pull/1917))
+* Renamed internal Alogithm class (pekko-serialization-jackson) 
([PR1932](https://github.com/apache/pekko/pull/1932))
+
+### Dependency Changes
+
+* netty 4.2.2.Final
+* jackson 2.19.1
+* lightbend/config 1.4.4
+* protobuf-java 4.31.1
+* slfj4 2.0.17
+* jupiter-junit 5.13.3
+
 ## 1.2.0-M1
 
 Pekko 1.2.0-M1 has some new features, performance updates and dependency 
upgrades. See the [GitHub 
Milestone](https://github.com/apache/pekko/milestone/6?closed=1) for a fuller 
list of changes.


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

Reply via email to