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

Merge 1.94 #83

Merged
merged 48 commits into from
Nov 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
9fabde6
Fix-up deactivated notes in docs. (#16355)
clokep Sep 19, 2023
5a66ff2
Merge branch 'release-v1.93' into develop
clokep Sep 19, 2023
d7c89c5
Return immutable objects for cachedList decorators (#16350)
clokep Sep 19, 2023
7ec0a14
Convert more cached return values to immutable types (#16356)
clokep Sep 20, 2023
c9a0e16
Add missing license header. (#16359)
clokep Sep 21, 2023
3d9661b
Bump dawidd6/action-download-artifact from 2.27.0 to 2.28.0 (#16374)
dependabot[bot] Sep 25, 2023
a40f772
Bump docker/setup-buildx-action from 2 to 3 (#16375)
dependabot[bot] Sep 25, 2023
9479998
Bump gitpython from 3.1.35 to 3.1.37 (#16376)
dependabot[bot] Sep 25, 2023
d61d6a3
Bump msgpack from 1.0.5 to 1.0.6 (#16377)
dependabot[bot] Sep 25, 2023
9ee54c1
Bump sentry-sdk from 1.30.0 to 1.31.0 (#16378)
dependabot[bot] Sep 25, 2023
fad4c63
Get CI to check PRs have been signed-off (#16348)
Sep 25, 2023
6d70959
Bump cryptography from 41.0.3 to 41.0.4 (#16362)
dependabot[bot] Sep 25, 2023
12611bf
Add support for pydantic v2 via pydantic.v1 compat module (#16332)
gotmax23 Sep 25, 2023
139a24d
Bump actions/checkout from 3 to 4 (#16250)
dependabot[bot] Sep 25, 2023
b225acf
Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14 (#16381)
dependabot[bot] Sep 25, 2023
525d9d6
Avoid running CI steps when the files they check have not been change…
reivilibre Sep 25, 2023
9fd18e9
Add developer documentation concerning gradual schema migrations with…
reivilibre Sep 25, 2023
2763c49
Improve comments in StateGroupBackgroundUpdateStore. (#16383)
clokep Sep 25, 2023
47ffc7e
Reduce calls to `send_presence_to_destinations` (#16385)
erikjohnston Sep 26, 2023
ec1c709
Add documentation about the user directory search algorithm (#16320)
clokep Sep 26, 2023
06f650f
Skip export-data on non-code (e.g. docs) PRs (#16387)
Sep 26, 2023
17800a0
Implement MSC4028: push all encrypted events. (#16361)
clokep Sep 26, 2023
f84da3c
Add a cache around server ACL checking (#16360)
clokep Sep 26, 2023
11c6cc1
Merge branch 'master' into develop
erikjohnston Sep 26, 2023
c690fd1
Use modern config for maturin. (#16394)
clokep Sep 28, 2023
cdb89dc
Improve state types. (#16395)
clokep Sep 28, 2023
fb664cf
Remove warnings from the docs about using message retention. (#16382)
clokep Sep 28, 2023
79eb6c0
Support rendering some media downloads as inline (#15988)
Half-Shot Sep 29, 2023
20fb08e
Downgrade repl stream time out error to warning (#16401)
erikjohnston Sep 29, 2023
451c08d
Bump regex from 1.9.5 to 1.9.6 (#16408)
dependabot[bot] Oct 2, 2023
18b4534
Bump psycopg2 from 2.9.7 to 2.9.8 (#16409)
dependabot[bot] Oct 2, 2023
36c8b66
Bump pydantic from 2.3.0 to 2.4.2 (#16410)
dependabot[bot] Oct 2, 2023
0a59372
Bump types-netaddr from 0.8.0.9 to 0.9.0.1 (#16411)
dependabot[bot] Oct 2, 2023
891f42f
Bump msgpack from 1.0.6 to 1.0.7 (#16412)
dependabot[bot] Oct 2, 2023
d40a939
Bump phonenumbers from 8.13.19 to 8.13.22 (#16413)
dependabot[bot] Oct 2, 2023
5725712
Remove Python version from `/_synapse/admin/v1/server_version` (#16380)
MomentQYC Oct 2, 2023
1026776
mypy plugin to check `@cached` return types (#14911)
Oct 2, 2023
127b940
Clean-up old release notes (#16418)
clokep Oct 2, 2023
1e67191
Add note to 'federation_domain_whitelist' option (#16416)
erikjohnston Oct 3, 2023
cce9484
Bump urllib3 from 1.26.15 to 1.26.17 (#16422)
dependabot[bot] Oct 3, 2023
8b50a9d
1.94.0rc1
Oct 3, 2023
a01ee24
Update changelog
Oct 3, 2023
25c412b
1.94.0
reivilibre Oct 10, 2023
97fe6f8
Merge tag 'v1.94.0' into merge-1.94
Fizzadar Oct 30, 2023
1d3ddd2
Fix test change
Fizzadar Oct 30, 2023
fb380b1
Bump complement
Fizzadar Nov 3, 2023
a4d2987
Handle content types with parameters. (#16440)
clokep Oct 11, 2023
5648561
Push back complement commit
Fizzadar Nov 3, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/beeper-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
with:
repository: matrix-org/complement
path: complement
ref: fdb9131bf9e82ec8b52e34cc68cebd40db377855
ref: 39b3b9dbb2df96ca1df6b6ae86bdbc63fc96f39e
- name: Install complement dependencies
run: |-
sudo apt-get -qq update
Expand Down
57 changes: 57 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
# Synapse 1.94.0 (2023-10-10)

No significant changes since 1.94.0rc1.


# Synapse 1.94.0rc1 (2023-10-03)

### Features

- Render plain, CSS, CSV, JSON and common image formats in the browser (inline) when requested through the /download endpoint. ([\#15988](https://github.com/matrix-org/synapse/issues/15988))
- Add experimental support for [MSC4028](https://github.com/matrix-org/matrix-spec-proposals/pull/4028) to push all encrypted events to clients. ([\#16361](https://github.com/matrix-org/synapse/issues/16361))
- Minor performance improvement when sending presence to federated servers. ([\#16385](https://github.com/matrix-org/synapse/issues/16385))
- Minor performance improvement by caching server ACL checking. ([\#16360](https://github.com/matrix-org/synapse/issues/16360))

### Improved Documentation

- Add developer documentation concerning gradual schema migrations with column alterations. ([\#15691](https://github.com/matrix-org/synapse/issues/15691))
- Improve documentation of the user directory search algorithm. ([\#16320](https://github.com/matrix-org/synapse/issues/16320))
- Fix rendering of user admin API documentation around deactivation. This was broken in Synapse 1.91.0. ([\#16355](https://github.com/matrix-org/synapse/issues/16355))
- Update documentation around message retention policies. ([\#16382](https://github.com/matrix-org/synapse/issues/16382))
- Add note to `federation_domain_whitelist` config option to clarify its usage. ([\#16416](https://github.com/matrix-org/synapse/issues/16416))
- Improve legacy release notes. ([\#16418](https://github.com/matrix-org/synapse/issues/16418))

### Deprecations and Removals

- Remove Python version from `/_synapse/admin/v1/server_version`. ([\#16380](https://github.com/matrix-org/synapse/issues/16380))

### Internal Changes

- Avoid running CI steps when the files they check have not been changed. ([\#14745](https://github.com/matrix-org/synapse/issues/14745), [\#16387](https://github.com/matrix-org/synapse/issues/16387))
- Improve type hints. ([\#14911](https://github.com/matrix-org/synapse/issues/14911), [\#16350](https://github.com/matrix-org/synapse/issues/16350), [\#16356](https://github.com/matrix-org/synapse/issues/16356), [\#16395](https://github.com/matrix-org/synapse/issues/16395))
- Added support for pydantic v2 in addition to pydantic v1. Contributed by Maxwell G (@gotmax23). ([\#16332](https://github.com/matrix-org/synapse/issues/16332))
- Get CI to check PRs have been signed-off. ([\#16348](https://github.com/matrix-org/synapse/issues/16348))
- Add missing licence header. ([\#16359](https://github.com/matrix-org/synapse/issues/16359))
- Improve type hints, and bump types-psycopg2 from 2.9.21.11 to 2.9.21.14. ([\#16381](https://github.com/matrix-org/synapse/issues/16381))
- Improve comments in `StateGroupBackgroundUpdateStore`. ([\#16383](https://github.com/matrix-org/synapse/issues/16383))
- Update maturin configuration. ([\#16394](https://github.com/matrix-org/synapse/issues/16394))
- Downgrade replication stream time out error log lines to warning. ([\#16401](https://github.com/matrix-org/synapse/issues/16401))

### Updates to locked dependencies

* Bump actions/checkout from 3 to 4. ([\#16250](https://github.com/matrix-org/synapse/issues/16250))
* Bump cryptography from 41.0.3 to 41.0.4. ([\#16362](https://github.com/matrix-org/synapse/issues/16362))
* Bump dawidd6/action-download-artifact from 2.27.0 to 2.28.0. ([\#16374](https://github.com/matrix-org/synapse/issues/16374))
* Bump docker/setup-buildx-action from 2 to 3. ([\#16375](https://github.com/matrix-org/synapse/issues/16375))
* Bump gitpython from 3.1.35 to 3.1.37. ([\#16376](https://github.com/matrix-org/synapse/issues/16376))
* Bump msgpack from 1.0.5 to 1.0.6. ([\#16377](https://github.com/matrix-org/synapse/issues/16377))
* Bump msgpack from 1.0.6 to 1.0.7. ([\#16412](https://github.com/matrix-org/synapse/issues/16412))
* Bump phonenumbers from 8.13.19 to 8.13.22. ([\#16413](https://github.com/matrix-org/synapse/issues/16413))
* Bump psycopg2 from 2.9.7 to 2.9.8. ([\#16409](https://github.com/matrix-org/synapse/issues/16409))
* Bump pydantic from 2.3.0 to 2.4.2. ([\#16410](https://github.com/matrix-org/synapse/issues/16410))
* Bump regex from 1.9.5 to 1.9.6. ([\#16408](https://github.com/matrix-org/synapse/issues/16408))
* Bump sentry-sdk from 1.30.0 to 1.31.0. ([\#16378](https://github.com/matrix-org/synapse/issues/16378))
* Bump types-netaddr from 0.8.0.9 to 0.9.0.1. ([\#16411](https://github.com/matrix-org/synapse/issues/16411))
* Bump types-psycopg2 from 2.9.21.11 to 2.9.21.14. ([\#16381](https://github.com/matrix-org/synapse/issues/16381))
* Bump urllib3 from 1.26.15 to 1.26.17. ([\#16422](https://github.com/matrix-org/synapse/issues/16422))

# Synapse 1.93.0 (2023-09-26)

No significant changes since 1.93.0rc1.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions changelog.d/16440.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Properly return inline media when content types have parameters.
12 changes: 12 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
matrix-synapse-py3 (1.94.0) stable; urgency=medium

* New Synapse release 1.94.0.

-- Synapse Packaging team <[email protected]> Tue, 10 Oct 2023 10:57:41 +0100

matrix-synapse-py3 (1.94.0~rc1) stable; urgency=medium

* New Synapse release 1.94.0rc1.

-- Synapse Packaging team <[email protected]> Tue, 03 Oct 2023 11:48:18 +0100

matrix-synapse-py3 (1.93.0) stable; urgency=medium

* New Synapse release 1.93.0.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin_api/user_admin_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ Body parameters:
- `admin` - **bool**, optional, defaults to `false`. Whether the user is a homeserver administrator,
granting them access to the Admin API, among other things.
- `deactivated` - **bool**, optional. If unspecified, deactivation state will be left unchanged.
- `locked` - **bool**, optional. If unspecified, locked state will be left unchanged.

Note: the `password` field must also be set if both of the following are true:
- `deactivated` is set to `false` and the user was previously deactivated (you are reactivating this user)
Expand All @@ -158,6 +157,7 @@ Body parameters:

Note: a user cannot be erased with this API. For more details on
deactivating and erasing users see [Deactivate Account](#deactivate-account).
- `locked` - **bool**, optional. If unspecified, locked state will be left unchanged.
- `user_type` - **string** or null, optional. If not provided, the user type will be
not be changed. If `null` is given, the user type will be cleared.
Other allowed options are: `bot` and `support`.
Expand Down
10 changes: 6 additions & 4 deletions docs/admin_api/version_api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Version API

This API returns the running Synapse version and the Python version
on which Synapse is being run. This is useful when a Synapse instance
This API returns the running Synapse version.
This is useful when a Synapse instance
is behind a proxy that does not forward the 'Server' header (which also
contains Synapse version information).

Expand All @@ -15,7 +15,9 @@ It returns a JSON body like the following:

```json
{
"server_version": "0.99.2rc1 (b=develop, abcdef123)",
"python_version": "3.7.8"
"server_version": "0.99.2rc1 (b=develop, abcdef123)"
}
```

*Changed in Synapse 1.94.0:* The `python_version` key was removed from the
response body.
Loading
Loading