Skip to content

Commit 764fabd

Browse files
authored
Release notes for 1.3.0 (#2500) (#2519)
* release notes: first batch of 1.3.0 changes * Update releases-1.3.md * Update releases-1.3.md * Update releases-1.3.md * Update releases-1.3.md * Update releases-1.3.md * Update releases-1.3.md * Add deprecation notice for upcoming 2.0.0 release Added deprecation notice for methods planned for removal in 2.0.0.
1 parent acd2956 commit 764fabd

File tree

3 files changed

+161
-0
lines changed

3 files changed

+161
-0
lines changed
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# Based on Apache Arrow's java-nightly workflow
19+
# https://github.com/apache/arrow/blob/master/.github/workflows/java_nightly.yml
20+
name: Publish 1.3 documentation
21+
22+
on:
23+
workflow_dispatch:
24+
25+
permissions:
26+
contents: read
27+
28+
jobs:
29+
publish:
30+
name: Publish 1.3 docs
31+
runs-on: ubuntu-22.04
32+
if: github.repository == 'apache/pekko'
33+
steps:
34+
# TODO we will need to change to use a release tag in future
35+
- name: Checkout
36+
uses: actions/checkout@v5
37+
with:
38+
fetch-depth: 0
39+
fetch-tags: true
40+
persist-credentials: false
41+
ref: 1.3.x
42+
43+
- name: Setup Java 11
44+
uses: actions/setup-java@v5
45+
with:
46+
distribution: temurin
47+
java-version: 11
48+
49+
- name: Install sbt
50+
uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14
51+
52+
- name: Cache Coursier cache
53+
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433 # 6.4.8
54+
55+
- name: Install Graphviz
56+
run: |-
57+
sudo apt-get install graphviz
58+
59+
# TODO come up with a better way to control the version, possibly based on git tags
60+
- name: Build Documentation
61+
env:
62+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
63+
run: |-
64+
sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version := \"1.3.0\"; docs/paradox; unidoc"
65+
66+
# Create directory structure upfront since rsync does not create intermediate directories otherwise
67+
- name: Create directory structure
68+
run: |-
69+
mkdir -p target/nightly-docs/docs/pekko/1.3.0/
70+
mkdir -p target/nightly-docs/docs/pekko/1.3/
71+
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.3.0/docs
72+
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.3/docs
73+
rm -r docs/target/paradox/site/main/
74+
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.3.0/api
75+
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.3/api
76+
rm -r target/scala-2.13/unidoc
77+
cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.3.0/japi
78+
cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.3/japi
79+
rm -r target/javaunidoc
80+
81+
- name: Upload docs patch version
82+
uses: ./.github/actions/sync-nightlies
83+
with:
84+
upload: true
85+
switches: --archive --compress --update --delete --progress --relative
86+
local_path: target/nightly-docs/./docs/pekko/1.3.0 # The intermediate dot is to show `--relative` which paths to operate on
87+
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko
88+
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
89+
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
90+
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
91+
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
92+
93+
- name: Upload docs api version
94+
uses: ./.github/actions/sync-nightlies
95+
with:
96+
upload: true
97+
switches: --archive --compress --update --delete --progress --relative
98+
local_path: target/nightly-docs/./docs/pekko/1.3 # The intermediate dot is to show `--relative` which paths to operate on
99+
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko
100+
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
101+
remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
102+
remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
103+
remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}

docs/src/main/paradox/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
@@@ index
66

7+
* [1.3 Releases](releases-1.3.md)
78
* [1.2 Releases](releases-1.2.md)
89
* [1.1 Releases](releases-1.1.md)
910
* [1.0 Releases](releases-1.0.md)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Release Notes (1.3.x)
2+
3+
Apache Pekko 1.3.x releases support Java 8 and above.
4+
5+
# 1.3.0
6+
7+
Pekko 1.3.0 has some bug fixes, new features, performance updates and dependency upgrades. See the [GitHub Milestone for 1.3.0](https://github.com/apache/pekko/milestone/21?closed=1) for a fuller list of changes.
8+
9+
With work on 2.0.0 commencing, we have deprecated some methods that we plan to remove in 2.0.0. These are mainly in testkit libs.
10+
11+
This release includes a number of changes from Akka 2.7.0, which have recently become available under the Apache License, Version 2.0.
12+
13+
### Bug Fixes
14+
15+
* Fix issues with OSGi imports for Pekko packages ([#2312](https://github.com/apache/pekko/issues/2312))
16+
* Fix close in cancel for statefulMap ([PR2388](https://github.com/apache/pekko/pull/2388))
17+
18+
### Additions
19+
20+
* Add Flow/Source#onErrorResume for Java DSL ([PR2120](https://github.com/apache/pekko/pull/2120))
21+
* Add Sink#count operator ([PR2244](https://github.com/apache/pekko/pull/2244))
22+
* Add Sink#source operator ([PR2250](https://github.com/apache/pekko/pull/2250))
23+
* ByteString: new indexOf overloaded method that allows from and to ([PR2272](https://github.com/apache/pekko/pull/2272))
24+
* JavaDSL TestKit: add shutdownActorSystem that takes Java Duration params ([PR2277](https://github.com/apache/pekko/pull/2277))
25+
* Add Flow#onErrorContinue operator ([PR2322](https://github.com/apache/pekko/pull/2322))
26+
* Add missing onErrorResume to SubFlow and SubSource ([PR2336](https://github.com/apache/pekko/pull/2336))
27+
* Add more recover operators for Java DSL ([PR2337](https://github.com/apache/pekko/pull/2337))
28+
* Add doOnFirst operator ([PR2363](https://github.com/apache/pekko/pull/2363))
29+
* Add doOnCancel operator ([PR2375](https://github.com/apache/pekko/pull/2375))
30+
* Add actor-typed Java DSL AbstractMatchingBehavior ([PR2379](https://github.com/apache/pekko/pull/2379))
31+
* Add fromOption operator ([PR2413](https://github.com/apache/pekko/pull/2413))
32+
* Add mapOption operator ([PR2414](https://github.com/apache/pekko/pull/2414))
33+
* Add Source#items ([PR2429](https://github.com/apache/pekko/pull/2429))
34+
* persistence-typed: custom stash support ([PR2433](https://github.com/apache/pekko/pull/2433))
35+
* Add effectful asking support in typed BehaviorTestKit ([PR2450](https://github.com/apache/pekko/pull/2450))
36+
* Add asking support to BehaviorTestKit ([PR2453](https://github.com/apache/pekko/pull/2453))
37+
* Add Source#apply for Array ([PR2474](https://github.com/apache/pekko/pull/2474))
38+
* Add PersistenceProbeBehavior for testing Persistence Behaviors ([PR2456](https://github.com/apache/pekko/pull/2456), [PR2494](https://github.com/apache/pekko/pull/2494))
39+
* Add close method (blocking) and AutoCloseable interface to ActorSystem ([PR2486](https://github.com/apache/pekko/pull/2486))
40+
41+
### Changes
42+
43+
* Some ByteString performance improvements ([PR2346](https://github.com/apache/pekko/pull/2346), [PR2347](https://github.com/apache/pekko/pull/2347))
44+
* Change pekko.ssl-config.protocol default to TLSv1.3 ([PR2360](https://github.com/apache/pekko/pull/2360))
45+
* Persistence Testkit: emit DeletedDurableState for deleted objects ([PR2397](https://github.com/apache/pekko/pull/2397))
46+
* Rename gunzip to gzipDecompress ([PR2405](https://github.com/apache/pekko/pull/2405))
47+
* Regenerate Protobuf based source files with 4.33 ([PR2410](https://github.com/apache/pekko/pull/2410))
48+
* Deprecate stream testkit's probe methods ([PR2439](https://github.com/apache/pekko/pull/2439))
49+
* Compare required RC and M versions if present ([PR2441](https://github.com/apache/pekko/pull/2441))
50+
51+
### Dependency Changes
52+
53+
* netty 4.2.7.Final
54+
* jackson 2.20.1
55+
* protobuf-java 4.33.1
56+
* ssl-config 0.7.1
57+
* scala 2.13.17, 3.3.7

0 commit comments

Comments
 (0)