Accepting request 926766 from home:darix:apps

- Update to 1.45.1

OBS-URL: https://build.opensuse.org/request/show/926766
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=195
This commit is contained in:
Marcus Rückert 2021-10-25 11:18:51 +00:00 committed by Git OBS Bridge
parent 64f7606314
commit ade62f7482
7 changed files with 291 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,285 @@
-------------------------------------------------------------------
Thu Oct 21 12:34:00 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.45.1
- Bugfixes
- Revert change to counting of deactivated users towards the
monthly active users limit, introduced in 1.45.0rc1. (#11127)
-------------------------------------------------------------------
Wed Oct 20 09:47:52 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.45.0
- Known Issues
- A suspected performance regression which was first reported
after the release of 1.44.0 remains unresolved.
- We have not been able to identify a probable cause. Affected
users report that setting up a federation sender worker
appears to alleviate symptoms of the regression.
- Features
- Add MSC3069 support to /account/whoami. (#9655)
- Support autodiscovery of oEmbed previews. (#10822)
- Add a user_may_send_3pid_invite spam checker callback for
modules to allow or deny 3PID invites. (#10894)
- Add a spam checker callback to allow or deny room joins.
(#10910)
- Include an update_synapse_database script in the
distribution. Contributed by @Fizzadar at Beeper. (#10954)
- Include exception information in JSON logging output.
Contributed by @Fizzadar at Beeper. (#11028)
- Bugfixes
- Fix a long-standing bug when using multiple event persister
workers where events were not correctly sent down /sync due
to a race. (#11045)
- Fix a bug introduced in Synapse 1.45.0rc1 where the user
directory would stop updating if it processed an event from a
- user not in the users table. (#11053)
- Fix a bug introduced in Synapse 1.44.0 when logging errors
during oEmbed processing. (#11061)
- Fix a minor bug in the response to
/_matrix/client/r0/voip/turnServer. Contributed by
@lukaslihotzki. (#10922)
- Fix a bug where empty yyyy-mm-dd/ directories would be left
behind in the media store's url_cache_thumbnails/ directory.
(#10924)
- Fix a bug introduced in Synapse v1.40.0 where the signature
checks for room version 8 and 9 could be applied to earlier
room versions in some situations. (#10927)
- Fix a long-standing bug wherein deactivated users still count
towards the monthly active users limit. (#10947)
- Fix a long-standing bug which meant that events received over
federation were sometimes incorrectly accepted into the room
state. (#10956)
- Fix a long-standing bug where rebuilding the user directory
wouldn't exclude support and deactivated users. (#10960)
- Fix MSC2716 /batch_send endpoint rejecting subsequent batches
with unknown batch ID error in existing room versions from
the room creator. (#10962)
- Fix a bug that could leak local users' per-room nicknames and
avatars when the user directory is rebuilt. (#10981)
- Fix a long-standing bug where the remainder of a batch of
user directory changes would be silently dropped if the
server left a room early in the batch. (#10982)
- Correct a bugfix introduced in Synapse v1.44.0 that would
catch the wrong error if a connection is lost before a
response could be written to it. (#10995)
- Fix a long-standing bug where local users' per-room
nicknames/avatars were visible to anyone who could see you in
the user directory. (#11002)
- Fix a long-standing bug where a user's per-room
nickname/avatar would overwrite their profile in the user
directory when a room was made public. (#11003)
- Work around a regression, introduced in Synapse v1.39.0, that
caused SynapseErrors raised by the experimental third-party
rules module callback check_event_allowed to be ignored.
(#11042)
- Fix a bug in MSC2716 insertion events in rooms that could
cause cross-talk/conflicts between batches. (#10877)
- Internal Changes
- Add an 'approximate difference' method to StateFilter.
(#10825)
- Fix inconsistent behavior of get_last_client_by_ip when
reporting data that has not been stored in the database yet.
(#10970)
- Fix a bug introduced in Synapse 1.21.0 that causes
opentracing and Prometheus metrics for replication requests
to be measured incorrectly. (#10996)
- Ensure that cache config tests do not share state. (#11036)
- Improve type hinting in synapse.util. (#10888)
- Add further type hints to synapse.storage.util. (#10892)
- Fix type hints to be compatible with an upcoming change to
Twisted. (#10895)
- Update utility code to handle C implementations of
frozendict. (#10902)
- Drop old functionality which maintained database
compatibility with Synapse versions before v1.31. (#10903)
- Clean-up configuration helper classes for the ServerConfig
class. (#10915)
- Use direct references to config flags. (#10916, #10959,
#10985)
- Clean up some of the federation event authentication code for
clarity. (#10926, #10940, #10986, #10987, #10988, #11010,
#11011)
- Refactor various parts of the codebase to use RoomVersion
objects instead of room version identifier strings. (#10934)
- Refactor user directory tests in preparation for upcoming
changes. (#10935)
- Include the event id in the logcontext when handling PDUs
received over federation. (#10936)
- Fix logged errors in unit tests. (#10939)
- Fix a broken test to ensure that consent configuration works
during registration. (#10945)
- Add type hints to filtering classes. (#10958)
- Add type-hint to HomeserverTestcase.setup_test_homeserver.
(#10961)
- Fix the test utility function create_room_as so that
is_public=True will explicitly set the visibility parameter
of room creation requests to public. Contributed by
@AndrewFerr. (#10963)
- Make the release script more robust and transparent. (#10966)
- Refactor MSC2716 /batch_send mega function into smaller
handler functions. (#10974)
- Log stack traces when a missing opentracing span is detected.
(#10983)
- Update GHA config to run tests against Python 3.10 and
PostgreSQL 14. (#10992)
- Fix a long-standing bug where ReadWriteLocks could drop
logging contexts on exit. (#10993)
- Add a CODEOWNERS file to automatically request reviews from
the @matrix-org/synapse-core team on new pull requests.
(#10994)
- Add further type hints to synapse.state. (#11004)
- Remove the deprecated BaseHandler object. (#11005)
- Bump mypy version for CI to 0.910, and pull in new type stubs
for dependencies. (#11006)
- Fix CI to run the unit tests without optional deps. (#11017)
- Ensure that cache config tests do not share state. (#11019)
- Add additional type hints to synapse.server_notices. (#11021)
- Add additional type hints for synapse.push. (#11023)
- When installing the optional developer dependencies, also
include the dependencies needed for type-checking and unit
testing. (#11034)
- Remove unnecessary list comprehension from synapse_port_db to
satisfy code style requirements. (#11043)
- Improved Documentation
- Reword changelog to clarify concerns about a suspected
performance regression in 1.44.0. (#11117)
- Change wording ("reference homeserver") in Synapse repository
documentation. Contributed by @maxkratz. (#10971)
- Fix a dead URL in development documentation (SAML) and change
wording from "Riot" to "Element". Contributed by @maxkratz.
(#10973)
- Add additional content to the Welcome and Overview page of
the documentation. (#10990)
- Update links to MSCs in documentation. Contributed by
@dklimpel. (#10991)
-------------------------------------------------------------------
Tue Oct 5 13:44:42 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.44.0
- Features
- Only allow the MSC2716 /batch_send?chunk_id=xxx endpoint to
connect to an already existing insertion event. (#10776)
- Improve oEmbed URL previews by processing the author name,
photo, and video information. (#10814, #10819)
- Speed up responding with large JSON objects to requests.
(#10868, #10905)
- Add a user_may_create_room_with_invites spam checker callback
to allow modules to allow or deny a room creation request
based on the invites and/or 3PID invites it includes.
(#10898)
- Bugfixes
- Fix a bug introduced in Synapse v1.40.0 where changing a
user's display name or avatar in a restricted room would
cause an authentication error. (#10933)
- Fix /admin/whois/{user_id} endpoint, which was broken in
v1.44.0rc1. (#10968)
- Fix a bug introduced in v1.44.0rc1 which caused the
experimental MSC2716 /batch_send endpoint to return a 500
error. (#10938)
- Fix a bug introduced in v1.44.0rc1 which prevented sending
presence events to application services. (#10944)
- Fix a long-standing bug that caused an AssertionError when
purging history in certain rooms. Contributed by @Kokokokoka.
(#10690)
- Fix a long-standing bug which caused deactivated users that
were later reactivated to be missing from the user directory.
(#10782)
- Fix a long-standing bug that caused unbanning a user by
sending a membership event to fail. Contributed by
@aaronraimist. (#10807)
- Fix a long-standing bug where logging contexts would go
missing when federation requests time out. (#10810)
- Fix a long-standing bug causing an error in the deprecated
/initialSync endpoint when using the undocumented from and to
parameters. (#10827)
- Fix a bug causing the remove_stale_pushers background job to
repeatedly fail and log errors. This bug affected Synapse
servers that had been upgraded from version 1.28 or older and
are using SQLite. (#10843)
- Fix a long-standing bug in Unicode support of the room search
admin API breaking search for rooms with non-ASCII
characters. (#10859)
- Fix a bug introduced in Synapse 1.37.0 which caused knock
membership events which we sent to remote servers to be
incorrectly stored in the local database. (#10873)
- Fix invalidating one-time key count cache after claiming
keys. The bug was introduced in Synapse v1.41.0. Contributed
by Tulir at Beeper. (#10875)
- Fix a long-standing bug causing application service users to
be subject to MAU blocking if the MAU limit had been reached,
even if configured not to be blocked. (#10881)
- Fix a long-standing bug which could cause events pulled over
federation to be incorrectly rejected. (#10907)
- Fix a long-standing bug causing URL cache files to be stored
in storage providers. Server admins may safely delete the
url_cache/ and url_cache_thumbnails/ directories from any
configured storage providers to reclaim space. (#10911)
- Fix a long-standing bug leading to race conditions when
creating media store and config directories. (#10913)
- Improved Documentation
- Minor updates to the installation instructions. (#10919)
- Fix some crashes in the Module API example code, by adding
JSON encoding/decoding. (#10845)
- Add developer documentation about experimental configuration
flags. (#10865)
- Properly remove deleted files from GitHub pages when
generating the documentation. (#10869)
- Internal Changes
- Fix GitHub Actions config so we can run sytest on synapse
from parallel branches. (#10659)
- Split out MSC2716 meta events to their own fields in the
/batch_send response. (#10777)
- Add missing type hints to REST servlets. (#10785, #10817)
- Simplify the internal logic which maintains the user
directory database tables. (#10796)
- Use direct references to config flags. (#10812, #10885,
#10893, #10897)
- Specify the type of token in generic "Invalid token" error
messages. (#10815)
- Make StateFilter frozen so it is hashable. (#10816)
- Fix a long-standing bug where an m.room.message event
containing a null byte would cause an internal server error.
(#10820)
- Add type hints to the state database. (#10823)
- Opt out of cache expiry for
get_users_who_share_room_with_user, to hopefully improve
/sync performance when you
- haven't synced recently. (#10826)
- Track cache eviction rates more finely in Prometheus's
monitoring. (#10829)
- Add missing type hints to synapse.handlers. (#10831, #10856)
- Extend the Module API to let plug-ins check whether an ID is
local and to access IP + User Agent data. (#10833)
- Factor out PNG image data to a constant to be used in several
tests. (#10834)
- Add a test to ensure state events sent by modules get
persisted correctly. (#10835)
- Rename MSC2716 fields and event types from chunk to batch to
match the /batch_send endpoint. (#10838)
- Rename MSC2716 /batch_send query parameter from ?prev_event
to more obvious usage with ?prev_event_id. (#10839)
- Add type hints to synapse.http.site. (#10867)
- Include outlier status when we log V2 or V3 events. (#10879)
- Break down Grafana's cache expiry time series based on reason
for eviction, c.f. #10829. (#10880)
- Clean up some of the federation event authentication code for
clarity. (#10883, #10884, #10896, #10901)
- Allow the . and ~ characters when creating registration
tokens as per the change to MSC3231. (#10887)
- Clean up some unnecessary parentheses in places around the
codebase. (#10889)
- Improve type hinting in the user directory code. (#10891)
- Update development testing script test_postgresql.sh to use a
supported Python version and make re-runs quicker. (#10906)
- Document and summarize changes in schema version 61 64.
(#10917)
- Update release script to sign the newly created git tags.
(#10925)
- Fix Debian builds due to dh-virtualenv no longer being able
to build their docs. (#10931)
-------------------------------------------------------------------
Tue Sep 21 13:41:59 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,5 +1,5 @@
name: matrix-synapse
version: 1.43.0
mtime: 1632223487
commit: 9ffa787eb243c98a6ca1ecd9eac4a6b5dac2bef0
version: 1.45.1
mtime: 1634727860
commit: 9b016a0fb4e8b48c19ffa1c1aee5bbbe95f6aad0

View File

@ -47,7 +47,7 @@
%define pkgname matrix-synapse
%define eggname matrix_synapse
Name: %{pkgname}
Version: 1.43.0
Version: 1.45.1
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0