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

Commit 43c54ba

Browse files
author
Sean Quah
committed
Merge branch 'master' into develop
2 parents 4be998a + 774e20b commit 43c54ba

File tree

7 files changed

+47
-7
lines changed

7 files changed

+47
-7
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Synapse 1.74.0 (2022-12-20)
2+
===========================
3+
4+
Improved Documentation
5+
----------------------
6+
7+
- Add release note and update documentation regarding optional ICU support in user search. ([\#14712](https://github.com/matrix-org/synapse/issues/14712))
8+
9+
110
Synapse 1.74.0rc1 (2022-12-13)
211
==============================
312

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
matrix-synapse-py3 (1.74.0) stable; urgency=medium
2+
3+
* New Synapse release 1.74.0.
4+
5+
-- Synapse Packaging team <[email protected]> Tue, 20 Dec 2022 16:07:38 +0000
6+
17
matrix-synapse-py3 (1.74.0~rc1) stable; urgency=medium
28

39
* New dependency on libicu-dev to provide improved results for user

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ RUN \
167167
libwebp6 \
168168
xmlsec1 \
169169
libjemalloc2 \
170+
libicu67 \
170171
libssl-dev \
171172
openssl \
172173
&& rm -rf /var/lib/apt/lists/*

docs/development/contributing_guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ The code of Synapse is written in Python 3. To do pretty much anything, you'll n
2424

2525
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`.
2626

27+
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`.
28+
2729
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).
2830

2931
For some tests, you will need [a recent version of Docker](https://docs.docker.com/get-docker/).

docs/setup/installation.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Installing prerequisites on Ubuntu or Debian:
278278
```sh
279279
sudo apt install build-essential python3-dev libffi-dev \
280280
python3-pip python3-setuptools sqlite3 \
281-
libssl-dev virtualenv libjpeg-dev libxslt1-dev
281+
libssl-dev virtualenv libjpeg-dev libxslt1-dev libicu-dev
282282
```
283283

284284
##### ArchLinux
@@ -287,7 +287,7 @@ Installing prerequisites on ArchLinux:
287287

288288
```sh
289289
sudo pacman -S base-devel python python-pip \
290-
python-setuptools python-virtualenv sqlite3
290+
python-setuptools python-virtualenv sqlite3 icu
291291
```
292292

293293
##### CentOS/Fedora
@@ -297,7 +297,8 @@ Installing prerequisites on CentOS or Fedora Linux:
297297
```sh
298298
sudo dnf install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
299299
libwebp-devel libxml2-devel libxslt-devel libpq-devel \
300-
python3-virtualenv libffi-devel openssl-devel python3-devel
300+
python3-virtualenv libffi-devel openssl-devel python3-devel \
301+
libicu-devel
301302
sudo dnf groupinstall "Development Tools"
302303
```
303304

@@ -310,8 +311,12 @@ You may need to install the latest Xcode developer tools:
310311
xcode-select --install
311312
```
312313

313-
On ARM-based Macs you may need to install libjpeg and libpq.
314-
You can use Homebrew (https://brew.sh):
314+
Some extra dependencies may be needed. You can use Homebrew (https://brew.sh) for them.
315+
316+
You may need to install icu, and make the icu binaries and libraries accessible.
317+
Please follow [the official instructions of PyICU](https://pypi.org/project/PyICU/) to do so.
318+
319+
On ARM-based Macs you may also need to install libjpeg and libpq:
315320
```sh
316321
brew install jpeg libpq
317322
```
@@ -332,7 +337,8 @@ Installing prerequisites on openSUSE:
332337
```sh
333338
sudo zypper in -t pattern devel_basis
334339
sudo zypper in python-pip python-setuptools sqlite3 python-virtualenv \
335-
python-devel libffi-devel libopenssl-devel libjpeg62-devel
340+
python-devel libffi-devel libopenssl-devel libjpeg62-devel \
341+
libicu-devel
336342
```
337343

338344
##### OpenBSD

docs/upgrade.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,22 @@ process, for example:
8888
dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
8989
```
9090
91+
# Upgrading to v1.74.0
92+
93+
## Unicode support in user search
94+
95+
This version introduces optional support for an [improved user search dealing with Unicode characters](https://github.com/matrix-org/synapse/pull/14464).
96+
97+
If you want to take advantage of this feature you need to install PyICU,
98+
the ICU native dependency and its development headers
99+
so that PyICU can build since no prebuilt wheels are available.
100+
101+
You can follow [the PyICU documentation](https://pypi.org/project/PyICU/) to do so,
102+
and then do `pip install matrix-synapse[icu]` for a PyPI install.
103+
104+
Docker images and Debian packages need nothing specific as they already
105+
include or specify ICU as an explicit dependency.
106+
91107
# Upgrading to v1.73.0
92108
93109
## Legacy Prometheus metric names have now been removed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ manifest-path = "rust/Cargo.toml"
5757

5858
[tool.poetry]
5959
name = "matrix-synapse"
60-
version = "1.74.0rc1"
60+
version = "1.74.0"
6161
description = "Homeserver for the Matrix decentralised comms protocol"
6262
authors = ["Matrix.org Team and Contributors <[email protected]>"]
6363
license = "Apache-2.0"

0 commit comments

Comments
 (0)