Accepting request 836124 from home:darix:apps

- Update to 1.20.0

OBS-URL: https://build.opensuse.org/request/show/836124
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=142
This commit is contained in:
Aleksa Sarai 2020-09-24 02:35:42 +00:00 committed by Git OBS Bridge
parent 2b3786b56e
commit a040bca4a7
7 changed files with 159 additions and 10 deletions

View File

@ -4,7 +4,7 @@
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="url">https://github.com/matrix-org/synapse.git</param> <param name="url">https://github.com/matrix-org/synapse.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">v1.19.3</param> <param name="revision">v1.20.0</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
<!-- <!--

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e07745f846d8093a5f13b52e829baacb092ad7f981741d9805e63c09eefcc22
size 27731981

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef310bdf61df8629d68a05f41246f116b555db97b039a584ef250da519774638
size 27869197

View File

@ -32,7 +32,7 @@
%define pkgname matrix-synapse %define pkgname matrix-synapse
Name: %{pkgname}-test Name: %{pkgname}-test
Version: 1.19.3 Version: 1.20.0
Release: 0 Release: 0
Summary: Test package for %{pkgname} Summary: Test package for %{pkgname}
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +1,152 @@
-------------------------------------------------------------------
Fri Sep 18 16:29:17 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.20.0
- Removal warning
- Some older clients used a disallowed character (:) in the
client_secret parameter of various endpoints. The incorrect
behaviour was allowed for backwards compatibility, but is now
being removed from Synapse as most users have updated their
client. Further context can be found at #6766.
- Historically, the Synapse Admin API has been accessible under
the prefixes:
/_matrix/client/api/v1/admin,
/_matrix/client/unstable/admin,
/_matrix/client/r0/admin
/_synapse/admin
In a future release, we will be dropping support for
accessing Synapse's Admin API using the /_matrix/client/*
prefixes. This makes it easier for homeserver admins to lock
down external access to the Admin API endpoints.
- Features
- Add flags to the /versions endpoint for whether new rooms
default to using E2EE. (#8343)
- Add an endpoint to query your shared rooms with another user
as an implementation of MSC2666. (#7785)
- Iteratively encode JSON to avoid blocking the reactor.
(#8013, #8116)
- Add support for shadow-banning users (ignoring any message
send requests). (#8034, #8092, #8095, #8142, #8152, #8157,
#8158, #8176)
- Use the default template file when its equivalent is not
found in a custom template directory. (#8037, #8107, #8252)
- Add unread messages count to sync responses, as specified in
MSC2654. (#8059, #8254, #8270, #8274)
- Optimise /federation/v1/user/devices/ API by only returning
devices with encryption keys. (#8198)
- Bugfixes
- Fix rate limiting of federation /send requests. (#8342)
- Fix a longstanding bug where back pagination over federation
could get stuck if it failed to handle a received event.
(#8349)
- Partially mitigate bug where newly joined servers couldn't
get past events in a room when there is a malformed event.
(#8350)
- Fix joining rooms over federation that include malformed
events. (#8324)
- Fix a bug introduced in v1.20.0rc1 where the wrong exception
was raised when invalid JSON data is encountered. (#8291)
- Fix a bug introduced in v1.20.0rc1 causing some features
related to notifications to misbehave following the
implementation of unread counts. (#8280)
- Fix a memory leak by limiting the length of time that
messages will be queued for a remote server that has been
unreachable. (#7864)
- Fix Re-starting finished log context PUT-nnnn warning when
event persistence failed. (#8081)
- Synapse now correctly enforces the valid characters in the
client_secret parameter used in various endpoints. (#8101)
- Fix a bug introduced in v1.7.2 impacting message retention
policies that would allow federated homeservers to dictate a
retention period that's lower than the configured minimum
allowed duration in the configuration file. (#8104)
- Fix a long-standing bug where invalid JSON would be accepted
by Synapse. (#8106)
- Fix a bug introduced in Synapse v1.12.0 which could cause
/sync requests to fail with a 404 if you had a very old
outstanding room invite. (#8110)
- Return a proper error code when the rooms of an invalid group
are requested. (#8129)
- Fix a bug which could cause a leaked postgres connection if
synapse was set to daemonize. (#8131)
- Clarify the error code if a user tries to register with a
numeric ID. This bug was introduced in v1.15.0. (#8135)
- Fix a bug where appservices with ratelimiting disabled would
still be ratelimited when joining rooms. This bug was
introduced in v1.19.0. (#8139)
- Fix logging in via OpenID Connect with a provider that uses
integer user IDs. (#8190)
- Fix a longstanding bug where user directory updates could
break when unexpected profile data was included in events.
(#8223)
- Fix a longstanding bug where stats updates could break when
unexpected profile data was included in events. (#8226)
- Fix slow start times for large servers by removing a table
scan of the users table from startup code. (#8271)
- Improved Documentation
- Link to matrix-synapse-rest-password-provider in the password
provider documentation. (#8111)
- Updated documentation to note that Synapse does not follow
HTTP 308 redirects due to an upstream library not supporting
them. Contributed by Ryan Cole. (#8120)
- Explain better what GDPR-erased means when deactivating a
user. (#8189)
- Internal Changes
- Blacklist MSC2753 SyTests until it is implemented. (#8285)
- Add filter name to the /users admin API, which filters by
user ID or displayname. Contributed by Awesome Technologies
Innovationslabor GmbH. (#7377, #8163)
- Reduce run times of some unit tests by advancing the reactor
a fewer number of times. (#7757)
- Don't fail /submit_token requests on incorrect session ID if
request_token_inhibit_3pid_errors is turned on. (#7991)
- Convert various parts of the codebase to async/await. (#8071,
#8072, #8074, #8075, #8076, #8087, #8100, #8119, #8121,
#8133, #8156, #8162, #8166, #8168, #8173, #8191, #8192,
#8193, #8194, #8195, #8197, #8199, #8200, #8201, #8202,
#8207, #8213, #8214)
- Remove some unused database functions. (#8085)
- Add type hints to various parts of the codebase. (#8090,
#8127, #8187, #8241, #8140, #8183, #8232, #8235, #8237,
#8244)
- Return the previous stream token if a non-member event is a
duplicate. (#8093, #8112)
- Separate get_current_token into two since there are two
different use cases for it. (#8113)
- Remove ChainedIdGenerator. (#8123)
- Reduce the amount of whitespace in JSON stored and sent in
responses. (#8124)
- Update the test federation client to handle streaming
responses. (#8130)
- Micro-optimisations to get_auth_chain_ids. (#8132)
- Refactor StreamIdGenerator and MultiWriterIdGenerator to have
the same interface. (#8161)
- Add functions to MultiWriterIdGen used by events stream.
(#8164, #8179)
- Fix tests that were broken due to the merge of 1.19.1.
(#8167)
- Make SlavedIdTracker.advance have the same interface as
MultiWriterIDGenerator. (#8171)
- Remove unused is_guest parameter from, and add safeguard to,
MessageHandler.get_room_data. (#8174, #8181)
- Standardize the mypy configuration. (#8175)
- Refactor some of LoginRestServlet's helper methods, and move
them to AuthHandler for easier reuse. (#8182)
- Fix wait_for_stream_position to allow multiple waiters on
same stream ID. (#8196)
- Make MultiWriterIDGenerator work for streams that use
negative values. (#8203)
- Refactor queries for device keys and cross-signatures.
(#8204, #8205, #8222, #8224, #8225, #8231, #8233, #8234)
- Fix type hints for functions decorated with @cached. (#8240)
- Remove obsolete order field from federation send queues.
(#8245)
- Stop sub-classing from object. (#8249)
- Add more logging to debug slow startup. (#8264)
- Do not attempt to upgrade database schema on worker
processes. (#8266, #8276)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 18 16:23:29 UTC 2020 - Marcus Rueckert <mrueckert@suse.de> Fri Sep 18 16:23:29 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,5 +1,5 @@
name: matrix-synapse name: matrix-synapse
version: 1.19.3 version: 1.20.0
mtime: 1600437607 mtime: 1600785773
commit: 5b70acb44c730109029a5624238cdda80e109b17 commit: d191dbdaa6b0a00c1148f0464f542c15db973efa

View File

@ -46,7 +46,7 @@
%define modname synapse %define modname synapse
%define pkgname matrix-synapse %define pkgname matrix-synapse
Name: %{pkgname} Name: %{pkgname}
Version: 1.19.3 Version: 1.20.0
Release: 0 Release: 0
Summary: Matrix protocol reference homeserver Summary: Matrix protocol reference homeserver
License: Apache-2.0 License: Apache-2.0
@ -90,7 +90,7 @@ BuildRequires: python3-bcrypt >= 3.1.0
%requires_eq python3-bcrypt %requires_eq python3-bcrypt
BuildRequires: python3-bleach >= 1.4.3 BuildRequires: python3-bleach >= 1.4.3
%requires_eq python3-bleach %requires_eq python3-bleach
BuildRequires: python3-canonicaljson >= 1.2.0 BuildRequires: python3-canonicaljson >= 1.3.0
%requires_eq python3-canonicaljson %requires_eq python3-canonicaljson
BuildRequires: python3-frozendict >= 1 BuildRequires: python3-frozendict >= 1
%requires_eq python3-frozendict %requires_eq python3-frozendict