Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 66cf5be

Browse files
committed
Merge branch 'develop' into madlittlemods/2716-backfill-historical-events-for-federation
2 parents 02b1bea + 0d5b08a commit 66cf5be

File tree

90 files changed

+1673
-849
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1673
-849
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# GitHub actions workflow which builds the release artifacts.
2+
3+
name: Build release artifacts
4+
5+
on:
6+
push:
7+
# we build on develop and release branches to (hopefully) get early warning
8+
# of things breaking
9+
branches: ["develop", "release-*"]
10+
11+
# we also rebuild on tags, so that we can be sure of picking the artifacts
12+
# from the right tag.
13+
tags: ["v*"]
14+
15+
permissions:
16+
contents: write
17+
18+
jobs:
19+
# first get the list of distros to build for.
20+
get-distros:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-python@v2
25+
- id: set-distros
26+
run: |
27+
echo "::set-output name=distros::$(scripts-dev/build_debian_packages --show-dists-json)"
28+
# map the step outputs to job outputs
29+
outputs:
30+
distros: ${{ steps.set-distros.outputs.distros }}
31+
32+
# now build the packages with a matrix build.
33+
build-debs:
34+
needs: get-distros
35+
name: "Build .deb packages"
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
distro: ${{ fromJson(needs.get-distros.outputs.distros) }}
40+
41+
steps:
42+
- uses: actions/checkout@v2
43+
with:
44+
path: src
45+
- uses: actions/setup-python@v2
46+
- run: ./src/scripts-dev/build_debian_packages "${{ matrix.distro }}"
47+
- uses: actions/upload-artifact@v2
48+
with:
49+
name: debs
50+
path: debs/*
51+
52+
build-sdist:
53+
name: "Build pypi distribution files"
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v2
57+
- uses: actions/setup-python@v2
58+
- run: pip install wheel
59+
- run: |
60+
python setup.py sdist bdist_wheel
61+
- uses: actions/upload-artifact@v2
62+
with:
63+
name: python-dist
64+
path: dist/*
65+
66+
# if it's a tag, create a release and attach the artifacts to it
67+
attach-assets:
68+
name: "Attach assets to release"
69+
if: startsWith(github.ref, 'refs/tags/')
70+
needs:
71+
- build-debs
72+
- build-sdist
73+
runs-on: ubuntu-latest
74+
steps:
75+
- name: Download all workflow run artifacts
76+
uses: actions/download-artifact@v2
77+
- name: Build a tarball for the debs
78+
run: tar -cvJf debs.tar.xz debs
79+
- name: Attach to release
80+
uses: softprops/action-gh-release@a929a66f232c1b11af63782948aa2210f981808a # PR#109
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
with:
84+
files: |
85+
python-dist/*
86+
debs.tar.xz
87+
# if it's not already published, keep the release as a draft.
88+
draft: true
89+
# mark it as a prerelease if the tag contains 'rc'.
90+
prerelease: ${{ contains(github.ref, 'rc') }}

CHANGES.md

Lines changed: 43 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,39 @@
1-
Synapse 1.38.0rc1 (2021-07-06)
2-
==============================
1+
Synapse 1.38.0 (2021-07-13)
2+
===========================
33

44
This release includes a database schema update which could result in elevated disk usage. See the [upgrade notes](https://matrix-org.github.io/synapse/develop/upgrade#upgrading-to-v1380) for more information.
55

6+
No significant changes since 1.38.0rc3.
7+
8+
9+
Synapse 1.38.0rc3 (2021-07-13)
10+
==============================
11+
12+
Internal Changes
13+
----------------
14+
15+
- Build the Debian packages in CI. ([\#10247](https://github.com/matrix-org/synapse/issues/10247), [\#10379](https://github.com/matrix-org/synapse/issues/10379))
16+
17+
18+
Synapse 1.38.0rc2 (2021-07-09)
19+
==============================
20+
21+
Bugfixes
22+
--------
23+
24+
- Fix bug where inbound federation in a room could be delayed due to not correctly dropping a lock. Introduced in v1.37.1. ([\#10336](https://github.com/matrix-org/synapse/issues/10336))
25+
26+
27+
Improved Documentation
28+
----------------------
29+
30+
- Update links to documentation in the sample config. Contributed by @dklimpel. ([\#10287](https://github.com/matrix-org/synapse/issues/10287))
31+
- Fix broken links in [INSTALL.md](INSTALL.md). Contributed by @dklimpel. ([\#10331](https://github.com/matrix-org/synapse/issues/10331))
32+
33+
34+
Synapse 1.38.0rc1 (2021-07-06)
35+
==============================
36+
637
Features
738
--------
839

@@ -1226,7 +1257,10 @@ Crucially, this means __we will not produce .deb packages for Debian 9 (Stretch)
12261257

12271258
The website https://endoflife.date/ has convenient summaries of the support schedules for projects like [Python](https://endoflife.date/python) and [PostgreSQL](https://endoflife.date/postgresql).
12281259

1229-
If you are unable to upgrade your environment to a supported version of Python or Postgres, we encourage you to consider using the [Synapse Docker images](./INSTALL.md#docker-images-and-ansible-playbooks) instead.
1260+
If you are unable to upgrade your environment to a supported version of Python or
1261+
Postgres, we encourage you to consider using the
1262+
[Synapse Docker images](https://matrix-org.github.io/synapse/latest/setup/installation.html#docker-images-and-ansible-playbooks)
1263+
instead.
12301264

12311265
### Transition Period
12321266

@@ -1369,11 +1403,11 @@ To upgrade Synapse along with the cryptography package:
13691403
* Administrators using the [`matrix.org` Docker
13701404
image](https://hub.docker.com/r/matrixdotorg/synapse/) or the [Debian/Ubuntu
13711405
packages from
1372-
`matrix.org`](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#matrixorg-packages)
1406+
`matrix.org`](https://matrix-org.github.io/synapse/latest/setup/installation.html#matrixorg-packages)
13731407
should ensure that they have version 1.24.0 or 1.23.1 installed: these images include
13741408
the updated packages.
13751409
* Administrators who have [installed Synapse from
1376-
source](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#installing-from-source)
1410+
source](https://matrix-org.github.io/synapse/latest/setup/installation.html#installing-from-source)
13771411
should upgrade the cryptography package within their virtualenv by running:
13781412
```sh
13791413
<path_to_virtualenv>/bin/pip install 'cryptography>=3.3'
@@ -1415,11 +1449,11 @@ To upgrade Synapse along with the cryptography package:
14151449
* Administrators using the [`matrix.org` Docker
14161450
image](https://hub.docker.com/r/matrixdotorg/synapse/) or the [Debian/Ubuntu
14171451
packages from
1418-
`matrix.org`](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#matrixorg-packages)
1452+
`matrix.org`](https://matrix-org.github.io/synapse/latest/setup/installation.html#matrixorg-packages)
14191453
should ensure that they have version 1.24.0 or 1.23.1 installed: these images include
14201454
the updated packages.
14211455
* Administrators who have [installed Synapse from
1422-
source](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#installing-from-source)
1456+
source](https://matrix-org.github.io/synapse/latest/setup/installation.html#installing-from-source)
14231457
should upgrade the cryptography package within their virtualenv by running:
14241458
```sh
14251459
<path_to_virtualenv>/bin/pip install 'cryptography>=3.3'
@@ -2998,11 +3032,11 @@ installation remains secure.
29983032
* Administrators using the [`matrix.org` Docker
29993033
image](https://hub.docker.com/r/matrixdotorg/synapse/) or the [Debian/Ubuntu
30003034
packages from
3001-
`matrix.org`](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#matrixorg-packages)
3035+
`matrix.org`](https://matrix-org.github.io/synapse/latest/setup/installation.html#matrixorg-packages)
30023036
should ensure that they have version 1.12.0 installed: these images include
30033037
Twisted 20.3.0.
30043038
* Administrators who have [installed Synapse from
3005-
source](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#installing-from-source)
3039+
source](https://matrix-org.github.io/synapse/latest/setup/installation.html#installing-from-source)
30063040
should upgrade Twisted within their virtualenv by running:
30073041
```sh
30083042
<path_to_virtualenv>/bin/pip install 'Twisted>=20.3.0'

0 commit comments

Comments
 (0)