Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions .github/workflows/publish-1.2-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# 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: Publish documentation to nightlies.apache.org
runs-on: ubuntu-latest
if: github.repository == 'apache/pekko-http'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8

- name: Install sbt
uses: sbt/setup-sbt@v1

- name: Cache Coursier cache
uses: coursier/cache-action@v6

- name: Build Documentation
run: |-
sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version := \"1.2.0\"; docs/paradox; unidoc"
env:
JAVA_OPTS: "-verbose:gc -Xmx4g"

# Create directory structure upfront since rsync does not create intermediate directories otherwise
- name: Create directory structure
run: |-
mkdir -p target/nightly-docs/docs/pekko-http/1.2.0/
mkdir -p target/nightly-docs/docs/pekko-http/1.2/
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-http/1.2.0/docs
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-http/1.2/docs
rm -r docs/target/paradox/site/main/
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-http/1.2.0/api
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-http/1.2/api
rm -r target/scala-2.13/unidoc
cp -r target/javaunidoc target/nightly-docs/docs/pekko-http/1.2.0/japi
cp -r target/javaunidoc target/nightly-docs/docs/pekko-http/1.2/japi
rm -r target/javaunidoc

- name: Upload 1.2.x nightly docs
uses: ./.github/actions/sync-nightlies
with:
upload: true
switches: --archive --compress --update --delete --progress --relative
local_path: target/nightly-docs/./docs/pekko-http/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 nightly docs
uses: ./.github/actions/sync-nightlies
with:
upload: true
switches: --archive --compress --update --delete --progress --relative
local_path: target/nightly-docs/./docs/pekko-http/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 }}
1 change: 1 addition & 0 deletions docs/src/main/paradox/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
27 changes: 27 additions & 0 deletions docs/src/main/paradox/release-notes/releases-1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 0. Release Notes (1.2.x)

## 1.2.0

Release notes for Apache Pekko HTTP 1.2.0. See [GitHub Milestone for 1.2.0](https://github.com/apache/pekko-http/milestone/7?closed=1) and [GitHub Milestone for 1.1.1](https://github.com/apache/pekko-http/milestone/3?closed=1) for a fuller list of changes.

It is strongly recommended that you avoid using Pekko 1.0.x jars with this release, you should use Pekko 1.1.x jars where possible. We don't expect there to be problems running with Pekko 1.0.x jars but Pekko HTTP 1.2 jars are built with Pekko 1.1 jars.

### Bug Fix
* fix partial match in HTTP2 HttpMessageRendering class ([PR622](https://github.com/apache/pekko-http/pull/622))

### Changes
* use convertIterable to wrap java Iterables ([PR613](https://github.com/apache/pekko-http/pull/613))
* add `@noinline` annotation to help fix some issues with Kamon metrics ([PR630](https://github.com/apache/pekko-http/pull/630))
* Optimized Uri.withQuery ([PR637](https://github.com/apache/pekko-http/pull/637))
* Make AddFutureAwaitResult an AnyVal ([PR647](https://github.com/apache/pekko-http/pull/647))

### Additions
* Get string representation of javadsl Content and Media Type ([PR616](https://github.com/apache/pekko-http/pull/616))

### Dependency Changes

Most of the dependency changes are small patch level upgrades. Some exceptions include:

* Jackson 2.18.4
* scala-xml 2.3.0
* scala 3.3.6
Loading