Accepting request 1031328 from home:darix:apps
- Update to 1.70.0 OBS-URL: https://build.opensuse.org/request/show/1031328 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=250
This commit is contained in:
parent
47d62c35ad
commit
2573c1f8bf
14
14221.patch
14
14221.patch
@ -27,7 +27,7 @@ index 78ff799e8ec..aa1b816b264 100644
|
|||||||
-cache_memory = ["pympler"]
|
-cache_memory = ["pympler"]
|
||||||
+cache-memory = ["pympler"]
|
+cache-memory = ["pympler"]
|
||||||
test = ["parameterized", "idna"]
|
test = ["parameterized", "idna"]
|
||||||
|
|
||||||
# The duplication here is awful. I hate hate hate hate hate it. However, for now I want
|
# The duplication here is awful. I hate hate hate hate hate it. However, for now I want
|
||||||
@@ -258,7 +258,7 @@ all = [
|
@@ -258,7 +258,7 @@ all = [
|
||||||
"jaeger-client", "opentracing",
|
"jaeger-client", "opentracing",
|
||||||
@ -43,12 +43,12 @@ index 2db8cfb0052..eb4194a5a91 100644
|
|||||||
--- a/synapse/config/cache.py
|
--- a/synapse/config/cache.py
|
||||||
+++ b/synapse/config/cache.py
|
+++ b/synapse/config/cache.py
|
||||||
@@ -159,7 +159,7 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:
|
@@ -159,7 +159,7 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:
|
||||||
|
|
||||||
self.track_memory_usage = cache_config.get("track_memory_usage", False)
|
self.track_memory_usage = cache_config.get("track_memory_usage", False)
|
||||||
if self.track_memory_usage:
|
if self.track_memory_usage:
|
||||||
- check_requirements("cache_memory")
|
- check_requirements("cache_memory")
|
||||||
+ check_requirements("cache-memory")
|
+ check_requirements("cache-memory")
|
||||||
|
|
||||||
expire_caches = cache_config.get("expire_caches", True)
|
expire_caches = cache_config.get("expire_caches", True)
|
||||||
cache_entry_ttl = cache_config.get("cache_entry_ttl", "30m")
|
cache_entry_ttl = cache_config.get("cache_entry_ttl", "30m")
|
||||||
|
|
||||||
@ -61,3 +61,11 @@ Subject: [PATCH 2/2] Changelog
|
|||||||
changelog.d/14221.misc | 1 +
|
changelog.d/14221.misc | 1 +
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
create mode 100644 changelog.d/14221.misc
|
create mode 100644 changelog.d/14221.misc
|
||||||
|
|
||||||
|
diff --git a/changelog.d/14221.misc b/changelog.d/14221.misc
|
||||||
|
new file mode 100644
|
||||||
|
index 00000000000..fe7afac245f
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/changelog.d/14221.misc
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+Rename the `cache_memory` extra to `cache-memory`, for compatability with poetry-core 1.3.0 and [PEP 685](https://peps.python.org/pep-0685/). From-source installations using this extra will need to install using the new name.
|
||||||
|
10
_service
10
_service
@ -4,17 +4,23 @@
|
|||||||
<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.69.0</param>
|
<param name="revision">v1.70.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>
|
||||||
<!--
|
<!--
|
||||||
<param name="revision">v1.70.0rc1</param>
|
<param name="revision">v1.70.1rc1</param>
|
||||||
<param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param>
|
<param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param>
|
||||||
<param name="versionrewrite-replacement">\1~\2</param>
|
<param name="versionrewrite-replacement">\1~\2</param>
|
||||||
-->
|
-->
|
||||||
</service>
|
</service>
|
||||||
<service name="cargo_vendor" mode="disabled">
|
<service name="cargo_vendor" mode="disabled">
|
||||||
<param name="srcdir">synapse</param>
|
<param name="srcdir">synapse</param>
|
||||||
|
<!--
|
||||||
|
<param name="update">true</param>
|
||||||
|
-->
|
||||||
|
</service>
|
||||||
|
<service name="cargo_audit" mode="disabled">
|
||||||
|
<param name="srcdir">synapse</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="disabled"/>
|
<service name="set_version" mode="disabled"/>
|
||||||
<service name="tar" mode="buildtime"/>
|
<service name="tar" mode="buildtime"/>
|
||||||
|
@ -50,7 +50,7 @@ Index: synapse/synapse/config/server.py
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- synapse.orig/synapse/config/server.py
|
--- synapse.orig/synapse/config/server.py
|
||||||
+++ synapse/synapse/config/server.py
|
+++ synapse/synapse/config/server.py
|
||||||
@@ -739,7 +739,7 @@ class ServerConfig(Config):
|
@@ -742,7 +742,7 @@ class ServerConfig(Config):
|
||||||
bind_port = 8448
|
bind_port = 8448
|
||||||
unsecure_port = 8008
|
unsecure_port = 8008
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2fc60e42ecdb46a79c486cfabf32d406cdc855355a54596d756171d151347a42
|
|
||||||
size 33776653
|
|
3
matrix-synapse-1.70.0.obscpio
Normal file
3
matrix-synapse-1.70.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:806b5412ab7b107f359a4d61078951042e6f9c8c43e163aee600c2e953c8222d
|
||||||
|
size 33914381
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
%define pkgname matrix-synapse
|
%define pkgname matrix-synapse
|
||||||
Name: %{pkgname}-test
|
Name: %{pkgname}-test
|
||||||
Version: 1.69.0
|
Version: 1.70.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Test package for %{pkgname}
|
Summary: Test package for %{pkgname}
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
@ -1,3 +1,155 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 26 11:56:57 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update to 1.70.0
|
||||||
|
- Features
|
||||||
|
- Support for MSC3856: threads list API. (#13394, #14171,
|
||||||
|
#14175)
|
||||||
|
- Support for thread-specific notifications & receipts (MSC3771
|
||||||
|
and MSC3773). (#13776, #13824, #13877, #13878, #14050,
|
||||||
|
#14140, #14159, #14163, #14174, #14222)
|
||||||
|
- Stop fetching missing prev_events after we already know their
|
||||||
|
signature is invalid. (#13816)
|
||||||
|
- Send application service access tokens as a header (and query
|
||||||
|
parameter). Implements MSC2832. (#13996)
|
||||||
|
- Ignore server ACL changes when generating pushes. Implements
|
||||||
|
MSC3786. (#13997)
|
||||||
|
- Experimental support for redirecting to an implementation of
|
||||||
|
a MSC3886 HTTP rendezvous service. (#14018)
|
||||||
|
- The /relations endpoint can now be used on workers. (#14028)
|
||||||
|
- Advertise support for Matrix 1.3 and 1.4 on
|
||||||
|
/_matrix/client/versions. (#14032, #14184)
|
||||||
|
- Improve validation of request bodies for the Device
|
||||||
|
Management and MSC2697 Device Dehyrdation client-server API
|
||||||
|
endpoints. (#14054)
|
||||||
|
- Experimental support for MSC3874. (#14148)
|
||||||
|
- Improve the validation of the following PUT endpoints:
|
||||||
|
/directory/room/{roomAlias}, /directory/list/room/{roomId}
|
||||||
|
and /directory/list/appservice/{networkId}/{roomId}. (#14179)
|
||||||
|
- Build and publish binary wheels for aarch64 platforms.
|
||||||
|
(#14212)
|
||||||
|
- Bugfixes
|
||||||
|
- Fix a bug introduced in Synapse 1.70.0rc1 where the
|
||||||
|
information returned from the /threads API could be stale
|
||||||
|
when threaded events are redacted. (#14248)
|
||||||
|
- Fix a bug introduced in Synapse 1.70.0rc1 leading to broken
|
||||||
|
outbound federation when using Python 3.7. (#14280)
|
||||||
|
- Fix a bug introduced in Synapse 1.70.0rc1 where edits to
|
||||||
|
non-message events were aggregated by the homeserver.
|
||||||
|
(#14283)
|
||||||
|
- Prevent device names from appearing in device list updates
|
||||||
|
when allow_device_name_lookup_over_federation is false.
|
||||||
|
(#10015)
|
||||||
|
- Fix a long-standing bug where redactions were not being sent
|
||||||
|
over federation if we did not have the original event.
|
||||||
|
(#13813)
|
||||||
|
- Fix a long-standing bug where edits of non-m.room.message
|
||||||
|
events would not be correctly bundled or have their new
|
||||||
|
content applied. (#14034)
|
||||||
|
- Fix a bug introduced in Synapse 1.53.0 when querying
|
||||||
|
/publicRooms with both a room_type filter and a
|
||||||
|
third_party_instance_id. (#14053)
|
||||||
|
- Fix a bug introduced in Synapse 1.35.0 where errors parsing a
|
||||||
|
/send_join or /state response would produce excessive,
|
||||||
|
low-quality Sentry events. (#14065)
|
||||||
|
- Fix a long-standing bug where Synapse would error on the
|
||||||
|
optional 'invite_room_state' field not being provided to PUT
|
||||||
|
/_matrix/federation/v2/invite/{roomId}/{eventId}. (#14083)
|
||||||
|
- Fix a bug where invalid oEmbed fields would cause the entire
|
||||||
|
response to be discarded. Introduced in Synapse 1.18.0.
|
||||||
|
(#14089)
|
||||||
|
- Fix a bug introduced in Synapse 1.37.0 in which an incorrect
|
||||||
|
key name was used for sending and receiving room metadata
|
||||||
|
when knocking on a room. (#14102)
|
||||||
|
- Fix a bug introduced in v1.69.0rc1 where the joined hosts for
|
||||||
|
a given event were not being properly cached. (#14125)
|
||||||
|
- Fix a bug introduced in Synapse 1.30.0 where purging and
|
||||||
|
rejoining a room without restarting in-between would result
|
||||||
|
in a broken room. (#14161, #14164)
|
||||||
|
- Fix MSC3030 /timestamp_to_event endpoint returning
|
||||||
|
potentially inaccurate closest events with outliers present.
|
||||||
|
(#14215)
|
||||||
|
- Updates to the Docker image
|
||||||
|
- Update the version of frozendict in Docker images and Debian
|
||||||
|
packages from 2.3.3 to 2.3.4, which may fix memory leak
|
||||||
|
problems. (#13955)
|
||||||
|
- Use the minimal Rust profile when building Synapse. (#14141)
|
||||||
|
- Prevent a class of database sharding errors when using
|
||||||
|
Dockerfile-workers to spawn multiple instances of the same
|
||||||
|
worker. Contributed by Jason Little. (#14165)
|
||||||
|
- Set LD_PRELOAD to use jemalloc memory allocator in
|
||||||
|
Dockerfile-workers. (#14182)
|
||||||
|
- Fix pre-startup logging being lost when using the
|
||||||
|
Dockerfile-workers image. (#14195)
|
||||||
|
- Improved Documentation
|
||||||
|
- Add sample worker files for pusher and federation_sender.
|
||||||
|
(#14077)
|
||||||
|
- Improve the listener example on the metrics documentation.
|
||||||
|
(#14078)
|
||||||
|
- Expand Google OpenID Connect example config to map email
|
||||||
|
attribute. Contributed by @ptman. (#14081)
|
||||||
|
- The changelog entry ending in a full stop or exclamation mark
|
||||||
|
is not optional. (#14087)
|
||||||
|
- Fix links to jemalloc documentation, which were broken in
|
||||||
|
#13491. (#14093)
|
||||||
|
- Remove not needed replication listener in docker compose
|
||||||
|
example. (#14107)
|
||||||
|
- Fix name of alias_creation_rules option in the config manual
|
||||||
|
documentation. (#14124)
|
||||||
|
- Clarify comment on event contexts. (#14145)
|
||||||
|
- Fix dead link to the Admin Registration API. (#14189)
|
||||||
|
- Deprecations and Removals
|
||||||
|
- Remove the experimental implementation of MSC3772. (#14094)
|
||||||
|
- Remove the unstable identifier for MSC3715. (#14106, #14146)
|
||||||
|
- Internal Changes
|
||||||
|
- Build ABI3 wheels for CPython. (#14253)
|
||||||
|
- For the aarch64 architecture, only build wheels for CPython
|
||||||
|
manylinux. (#14259)
|
||||||
|
- Optimise queries used to get a users rooms during sync.
|
||||||
|
Contributed by Nick @ Beeper (@Fizzadar). (#13991)
|
||||||
|
- Update authlib from 0.15.5 to 1.1.0. (#14006)
|
||||||
|
- Make parse_server_name consistent in handling invalid server
|
||||||
|
names. (#14007)
|
||||||
|
- Don't repeatedly wake up the same users for batched events.
|
||||||
|
(#14033)
|
||||||
|
- Complement test image: capture logs from nginx. (#14063)
|
||||||
|
- Don't create noisy Sentry events when a requester drops
|
||||||
|
connection to the metrics server mid-request. (#14072)
|
||||||
|
- Run the integration test suites with the asyncio reactor
|
||||||
|
enabled in CI. (#14092)
|
||||||
|
- Add debug logs to figure out why an event was filtered out of
|
||||||
|
the client response. (#14095)
|
||||||
|
- Indicate what endpoint came back with a JSON response we were
|
||||||
|
unable to parse. (#14097)
|
||||||
|
- Break up calls to fetch rooms for many users. Contributed by
|
||||||
|
Nick @ Beeper (@Fizzadar). (#14109)
|
||||||
|
- Faster joins: prioritise the server we joined by when
|
||||||
|
restarting a partial join resync. (#14126)
|
||||||
|
- Cache Rust build cache when building docker images. (#14130)
|
||||||
|
- Enable dependabot for Rust dependencies. (#14132)
|
||||||
|
- Bump typing-extensions from 4.1.1 to 4.4.0. (#14134)
|
||||||
|
- Use the minimal Rust profile when building Synapse. (#14141)
|
||||||
|
- Remove unused configuration code. (#14142)
|
||||||
|
- Prepare for the gotestfmt repository move. (#14144)
|
||||||
|
- Invalidate rooms for user caches on replicated event, fix
|
||||||
|
sync cache race in synapse workers. Contributed by Nick @
|
||||||
|
Beeper (@Fizzadar). (#14155)
|
||||||
|
- Enable url previews when testing with complement. (#14198)
|
||||||
|
- When authenticating batched events, check for auth events in
|
||||||
|
batch as well as DB. (#14214)
|
||||||
|
- Update CI config to avoid GitHub Actions deprecation
|
||||||
|
warnings. (#14216, #14224)
|
||||||
|
- Update dependency requirements to allow building with
|
||||||
|
poetry-core 1.3.2. (#14217)
|
||||||
|
- Rename the cache_memory extra to cache-memory, for
|
||||||
|
compatability with poetry-core 1.3.0 and PEP 685. From-source
|
||||||
|
installations using this extra will need to install using the
|
||||||
|
new name. (#14221)
|
||||||
|
- Specify dev-dependencies using lower bounds, to reduce the
|
||||||
|
likelihood of a dependabot merge conflict. The lockfile
|
||||||
|
continues to pin to specific versions. (#14227)
|
||||||
|
- Drop https://patch-diff.githubusercontent.com/raw/matrix-org/synapse/pull/14221.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 20 10:44:17 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
Thu Oct 20 10:44:17 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: matrix-synapse
|
name: matrix-synapse
|
||||||
version: 1.69.0
|
version: 1.70.0
|
||||||
mtime: 1666002675
|
mtime: 1666779209
|
||||||
commit: 6b097a3e17ec52b2486a91c8dcf8f8cb53f740f3
|
commit: 23fa636ed70b340e642efbe0c71e1addf4299479
|
||||||
|
@ -153,7 +153,7 @@
|
|||||||
%define pkgname matrix-synapse
|
%define pkgname matrix-synapse
|
||||||
%define eggname matrix_synapse
|
%define eggname matrix_synapse
|
||||||
Name: %{pkgname}
|
Name: %{pkgname}
|
||||||
Version: 1.69.0
|
Version: 1.70.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Matrix protocol reference homeserver
|
Summary: Matrix protocol reference homeserver
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -173,7 +173,6 @@ Source51: matrix-synapse-generate-config.sh
|
|||||||
Source99: series
|
Source99: series
|
||||||
Patch: matrix-synapse-1.4.1-paths.patch
|
Patch: matrix-synapse-1.4.1-paths.patch
|
||||||
Patch1: bump-dependencies.patch
|
Patch1: bump-dependencies.patch
|
||||||
Patch2: 14221.patch
|
|
||||||
# https://github.com/matrix-org/synapse/pull/10719
|
# https://github.com/matrix-org/synapse/pull/10719
|
||||||
# disable by marking as source until we get a decision upstream
|
# disable by marking as source until we get a decision upstream
|
||||||
Source100: 10719-Fix-instert-of-duplicate-key-into-event_json.patch
|
Source100: 10719-Fix-instert-of-duplicate-key-into-event_json.patch
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:e56bbffe91d34ac7ad65dc1e760f8f41ae8de5aa0f791f29e7a46b2727318573
|
oid sha256:d926a782b31c2ba8e7d63ebd612aa0c63f59bf9d25cd6e439ec920d694e9cb36
|
||||||
size 6992060
|
size 7035932
|
||||||
|
Loading…
Reference in New Issue
Block a user