mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 01:59:24 -05:00
Merge branch 'master' into develop
This commit is contained in:
commit
43c54ba753
@ -1,3 +1,12 @@
|
|||||||
|
Synapse 1.74.0 (2022-12-20)
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Improved Documentation
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
- Add release note and update documentation regarding optional ICU support in user search. ([\#14712](https://github.com/matrix-org/synapse/issues/14712))
|
||||||
|
|
||||||
|
|
||||||
Synapse 1.74.0rc1 (2022-12-13)
|
Synapse 1.74.0rc1 (2022-12-13)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
matrix-synapse-py3 (1.74.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* New Synapse release 1.74.0.
|
||||||
|
|
||||||
|
-- Synapse Packaging team <packages@matrix.org> Tue, 20 Dec 2022 16:07:38 +0000
|
||||||
|
|
||||||
matrix-synapse-py3 (1.74.0~rc1) stable; urgency=medium
|
matrix-synapse-py3 (1.74.0~rc1) stable; urgency=medium
|
||||||
|
|
||||||
* New dependency on libicu-dev to provide improved results for user
|
* New dependency on libicu-dev to provide improved results for user
|
||||||
|
@ -167,6 +167,7 @@ RUN \
|
|||||||
libwebp6 \
|
libwebp6 \
|
||||||
xmlsec1 \
|
xmlsec1 \
|
||||||
libjemalloc2 \
|
libjemalloc2 \
|
||||||
|
libicu67 \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
openssl \
|
openssl \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
@ -24,6 +24,8 @@ The code of Synapse is written in Python 3. To do pretty much anything, you'll n
|
|||||||
|
|
||||||
Synapse can connect to PostgreSQL via the [psycopg2](https://pypi.org/project/psycopg2/) Python library. Building this library from source requires access to PostgreSQL's C header files. On Debian or Ubuntu Linux, these can be installed with `sudo apt install libpq-dev`.
|
Synapse can connect to PostgreSQL via the [psycopg2](https://pypi.org/project/psycopg2/) Python library. Building this library from source requires access to PostgreSQL's C header files. On Debian or Ubuntu Linux, these can be installed with `sudo apt install libpq-dev`.
|
||||||
|
|
||||||
|
Synapse has an optional, improved user search with better Unicode support. For that you need the development package of `libicu`. On Debian or Ubuntu Linux, this can be installed with `sudo apt install libicu-dev`.
|
||||||
|
|
||||||
The source code of Synapse is hosted on GitHub. You will also need [a recent version of git](https://github.com/git-guides/install-git).
|
The source code of Synapse is hosted on GitHub. You will also need [a recent version of git](https://github.com/git-guides/install-git).
|
||||||
|
|
||||||
For some tests, you will need [a recent version of Docker](https://docs.docker.com/get-docker/).
|
For some tests, you will need [a recent version of Docker](https://docs.docker.com/get-docker/).
|
||||||
|
@ -278,7 +278,7 @@ Installing prerequisites on Ubuntu or Debian:
|
|||||||
```sh
|
```sh
|
||||||
sudo apt install build-essential python3-dev libffi-dev \
|
sudo apt install build-essential python3-dev libffi-dev \
|
||||||
python3-pip python3-setuptools sqlite3 \
|
python3-pip python3-setuptools sqlite3 \
|
||||||
libssl-dev virtualenv libjpeg-dev libxslt1-dev
|
libssl-dev virtualenv libjpeg-dev libxslt1-dev libicu-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
##### ArchLinux
|
##### ArchLinux
|
||||||
@ -287,7 +287,7 @@ Installing prerequisites on ArchLinux:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pacman -S base-devel python python-pip \
|
sudo pacman -S base-devel python python-pip \
|
||||||
python-setuptools python-virtualenv sqlite3
|
python-setuptools python-virtualenv sqlite3 icu
|
||||||
```
|
```
|
||||||
|
|
||||||
##### CentOS/Fedora
|
##### CentOS/Fedora
|
||||||
@ -297,7 +297,8 @@ Installing prerequisites on CentOS or Fedora Linux:
|
|||||||
```sh
|
```sh
|
||||||
sudo dnf install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
|
sudo dnf install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
|
||||||
libwebp-devel libxml2-devel libxslt-devel libpq-devel \
|
libwebp-devel libxml2-devel libxslt-devel libpq-devel \
|
||||||
python3-virtualenv libffi-devel openssl-devel python3-devel
|
python3-virtualenv libffi-devel openssl-devel python3-devel \
|
||||||
|
libicu-devel
|
||||||
sudo dnf groupinstall "Development Tools"
|
sudo dnf groupinstall "Development Tools"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -310,8 +311,12 @@ You may need to install the latest Xcode developer tools:
|
|||||||
xcode-select --install
|
xcode-select --install
|
||||||
```
|
```
|
||||||
|
|
||||||
On ARM-based Macs you may need to install libjpeg and libpq.
|
Some extra dependencies may be needed. You can use Homebrew (https://brew.sh) for them.
|
||||||
You can use Homebrew (https://brew.sh):
|
|
||||||
|
You may need to install icu, and make the icu binaries and libraries accessible.
|
||||||
|
Please follow [the official instructions of PyICU](https://pypi.org/project/PyICU/) to do so.
|
||||||
|
|
||||||
|
On ARM-based Macs you may also need to install libjpeg and libpq:
|
||||||
```sh
|
```sh
|
||||||
brew install jpeg libpq
|
brew install jpeg libpq
|
||||||
```
|
```
|
||||||
@ -332,7 +337,8 @@ Installing prerequisites on openSUSE:
|
|||||||
```sh
|
```sh
|
||||||
sudo zypper in -t pattern devel_basis
|
sudo zypper in -t pattern devel_basis
|
||||||
sudo zypper in python-pip python-setuptools sqlite3 python-virtualenv \
|
sudo zypper in python-pip python-setuptools sqlite3 python-virtualenv \
|
||||||
python-devel libffi-devel libopenssl-devel libjpeg62-devel
|
python-devel libffi-devel libopenssl-devel libjpeg62-devel \
|
||||||
|
libicu-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
##### OpenBSD
|
##### OpenBSD
|
||||||
|
@ -88,6 +88,22 @@ process, for example:
|
|||||||
dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
|
dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Upgrading to v1.74.0
|
||||||
|
|
||||||
|
## Unicode support in user search
|
||||||
|
|
||||||
|
This version introduces optional support for an [improved user search dealing with Unicode characters](https://github.com/matrix-org/synapse/pull/14464).
|
||||||
|
|
||||||
|
If you want to take advantage of this feature you need to install PyICU,
|
||||||
|
the ICU native dependency and its development headers
|
||||||
|
so that PyICU can build since no prebuilt wheels are available.
|
||||||
|
|
||||||
|
You can follow [the PyICU documentation](https://pypi.org/project/PyICU/) to do so,
|
||||||
|
and then do `pip install matrix-synapse[icu]` for a PyPI install.
|
||||||
|
|
||||||
|
Docker images and Debian packages need nothing specific as they already
|
||||||
|
include or specify ICU as an explicit dependency.
|
||||||
|
|
||||||
# Upgrading to v1.73.0
|
# Upgrading to v1.73.0
|
||||||
|
|
||||||
## Legacy Prometheus metric names have now been removed
|
## Legacy Prometheus metric names have now been removed
|
||||||
|
@ -57,7 +57,7 @@ manifest-path = "rust/Cargo.toml"
|
|||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "matrix-synapse"
|
name = "matrix-synapse"
|
||||||
version = "1.74.0rc1"
|
version = "1.74.0"
|
||||||
description = "Homeserver for the Matrix decentralised comms protocol"
|
description = "Homeserver for the Matrix decentralised comms protocol"
|
||||||
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
|
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user