diff --git a/_service b/_service
index ee2edc6..dfb41b5 100644
--- a/_service
+++ b/_service
@@ -4,11 +4,11 @@
@PARENT_TAG@
https://github.com/matrix-org/synapse.git
git
- v1.85.2
+ v1.87.0
v(.*)
\1
diff --git a/matrix-synapse-1.85.2.obscpio b/matrix-synapse-1.85.2.obscpio
deleted file mode 100644
index cdb79c8..0000000
--- a/matrix-synapse-1.85.2.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:be83625af6474dc950402ef8098bee1d2bfdab646146466f128141c34e406e82
-size 35072525
diff --git a/matrix-synapse-1.87.0.obscpio b/matrix-synapse-1.87.0.obscpio
new file mode 100644
index 0000000..b59bd38
--- /dev/null
+++ b/matrix-synapse-1.87.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9345181b142c9410d16ad668c008316bfa5241b5455ccce167f7f1761fbc2c9a
+size 35175949
diff --git a/matrix-synapse.changes b/matrix-synapse.changes
index 6ed93ee..4f95208 100644
--- a/matrix-synapse.changes
+++ b/matrix-synapse.changes
@@ -1,3 +1,161 @@
+-------------------------------------------------------------------
+Wed Jul 5 09:53:07 UTC 2023 - Marcus Rueckert
+
+- Update to 1.87.0
+ Please note that this will be the last release of Synapse that is
+ compatible with Python 3.7 and earlier. This is due to Python 3.7
+ now having reached End of Life; see our deprecation policy for
+ more details.
+
+ - Features
+ - Improve /messages response time by avoiding backfill when we
+ already have messages to return. (#15737)
+ - Add spam checker module API for logins. (#15838)
+ - Bugfixes
+ - Pin pydantic to ^1.7.4 to avoid backwards-incompatible API
+ changes from the 2.0.0 release. Resolves #15858. Contributed
+ by @PaarthShah. (#15862)
+ - Fix a long-standing bug where media files were served in an
+ unsafe manner. Contributed by @joshqou. (#15680)
+ - Avoid invalidating a cache that was just prefilled. (#15758)
+ - Fix requesting multiple keys at once over federation, related
+ to MSC3983. (#15770)
+ - Fix joining rooms through aliases where the alias server
+ isn't a real homeserver. Contributed by @tulir @ Beeper.
+ (#15776)
+ - Fix a bug in push rules handling leading to an invalid (per
+ spec) is_user_mention rule sent to clients. Also fix wrong
+ rule names for is_user_mention and is_room_mention. (#15781)
+ - Fix a bug introduced in 1.57.0 where the wrong table would be
+ locked on updating database rows when using SQLite as the
+ database backend. (#15788)
+ - Fix Sytest environmental variable evaluation in CI. (#15804)
+ - Fix forgotten rooms missing from initial sync after rejoining
+ them. Contributed by Nico from Famedly. (#15815)
+ - Fix sqlite user_filters upgrade introduced in v1.86.0.
+ (#15817)
+ - Improved Documentation
+ - Document looping_call() functionality that will wait for the
+ given function to finish before scheduling another. (#15772)
+ - Fix a typo in the Admin API. (#15805)
+ - Fix typo in MSC number in faster remote room join
+ architecture doc. (#15812)
+ - Deprecations and Removals
+ - Remove experimental MSC2716 implementation to incrementally
+ import history into existing rooms. (#15748)
+ - Internal Changes
+ - Split out 2022 changes from the changelog so the rendered
+ version in GitHub doesn't timeout as much. (#15846)
+ - Replace EventContext fields prev_group and delta_ids with
+ field state_group_deltas. (#15233)
+ - Regularly try to send transactions to other servers after
+ they failed instead of waiting for a new event to be
+ available before trying. (#15743)
+ - Fix requesting multiple keys at once over federation, related
+ to MSC3983. (#15755)
+ - Allow for the configuration of max request retries and
+ min/max retry delays in the matrix federation client.
+ (#15783)
+ - Switch from matrix:// to matrix-federation:// scheme for
+ internal Synapse routing of outbound federation traffic.
+ (#15806)
+ - Fix harmless exceptions being printed when running the port
+ DB script. (#15814)
+ - Updates to locked dependencies
+ - Bump attrs from 22.2.0 to 23.1.0. (#15801)
+ - Bump cryptography from 40.0.2 to 41.0.1. (#15800)
+ - Bump ijson from 3.2.0.post0 to 3.2.1. (#15802)
+ - Bump phonenumbers from 8.13.13 to 8.13.14. (#15798)
+ - Bump ruff from 0.0.265 to 0.0.272. (#15799)
+ - Bump ruff from 0.0.272 to 0.0.275. (#15833)
+ - Bump serde_json from 1.0.96 to 1.0.97. (#15797)
+ - Bump serde_json from 1.0.97 to 1.0.99. (#15832)
+ - Bump towncrier from 22.12.0 to 23.6.0. (#15831)
+ - Bump types-opentracing from 2.4.10.4 to 2.4.10.5. (#15830)
+ - Bump types-setuptools from 67.8.0.0 to 68.0.0.0. (#15835)
+
+-------------------------------------------------------------------
+Tue Jun 20 23:00:07 UTC 2023 - Marcus Rueckert
+
+- Update to 1.86.0
+ - Features
+ - Stable support for MSC3882 to allow an existing
+ device/session to generate a login token for use on a new
+ device/session. (#15388)
+ - Support resolving a room's canonical alias via the module
+ API. (#15450)
+ - Enable support for MSC3952: intentional mentions. (#15520)
+ - Experimental MSC3861 support: delegate auth to an OIDC
+ provider. (#15582)
+ - Add Synapse version deploy annotations to Grafana dashboard
+ which enables easy correlation between behavior changes
+ witnessed in a graph to a certain Synapse version and nail
+ down regressions. (#15674)
+ - Add a catch-all * to the supported relation types when
+ redacting an event and its related events. This is an update
+ to MSC3912 implementation. (#15705)
+ - Speed up /messages by backfilling in the background when
+ there are no backward extremities where we are directly
+ paginating. (#15710)
+ - Expose a metric reporting the database background update
+ status. (#15740)
+ - Bugfixes
+ - Fix an error when having workers of different versions
+ running. (#15774)
+ - Correctly clear caches when we delete a room. (#15609)
+ - Check permissions for enabling encryption earlier during room
+ creation to avoid creating broken rooms. (#15695)
+ - Improved Documentation
+ - Simplify query to find participating servers in a room.
+ (#15732)
+ - Internal Changes
+ - Log when events are (maybe unexpectedly) filtered out of
+ responses in tests. (#14213)
+ - Read from column full_user_id rather than user_id of tables
+ profiles and user_filters. (#15649)
+ - Add support for tracing functions which return Awaitables.
+ (#15650)
+ - Cache requests for user's devices over federation. (#15675)
+ - Add fully qualified docker image names to Dockerfiles.
+ (#15689)
+ - Remove some unused code. (#15690)
+ - Improve type hints. (#15694, #15697)
+ - Update docstring and traces on maybe_backfill() functions.
+ (#15709)
+ - Add context for when/why to use the long_retries option when
+ sending Federation requests. (#15721)
+ - Removed some unused fields. (#15723)
+ - Update federation error to more plainly explain we can only
+ authorize our own membership events. (#15725)
+ - Prevent the latest_deps and twisted_trunk daily GitHub
+ Actions workflows from running on forks of the codebase.
+ (#15726)
+ - Improve performance of user directory search. (#15729)
+ - Remove redundant table join with room_memberships when doing
+ a is_host_joined()/is_host_invited() call (membership is
+ already part of the current_state_events). (#15731)
+ - Remove superfluous room_memberships join from background
+ update. (#15733)
+ - Speed up typechecking CI. (#15752)
+ - Bump minimum supported Rust version to 1.60.0. (#15768)
+ - Updates to locked dependencies
+ - Bump importlib-metadata from 6.1.0 to 6.6.0. (#15711)
+ - Bump library/redis from 6-bullseye to 7-bullseye in /docker.
+ (#15712)
+ - Bump log from 0.4.18 to 0.4.19. (#15761)
+ - Bump phonenumbers from 8.13.11 to 8.13.13. (#15763)
+ - Bump pyasn1 from 0.4.8 to 0.5.0. (#15713)
+ - Bump pydantic from 1.10.8 to 1.10.9. (#15762)
+ - Bump pyo3-log from 0.8.1 to 0.8.2. (#15759)
+ - Bump pyopenssl from 23.1.1 to 23.2.0. (#15765)
+ - Bump regex from 1.7.3 to 1.8.4. (#15769)
+ - Bump sentry-sdk from 1.22.1 to 1.25.0. (#15714)
+ - Bump sentry-sdk from 1.25.0 to 1.25.1. (#15764)
+ - Bump serde from 1.0.163 to 1.0.164. (#15760)
+ - Bump types-jsonschema from 4.17.0.7 to 4.17.0.8. (#15716)
+ - Bump types-pyopenssl from 23.1.0.2 to 23.2.0.0. (#15766)
+ - Bump types-requests from 2.31.0.0 to 2.31.0.1. (#15715)
+
-------------------------------------------------------------------
Thu Jun 8 17:49:10 UTC 2023 - Marcus Rueckert
diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo
index c3888c2..0227294 100644
--- a/matrix-synapse.obsinfo
+++ b/matrix-synapse.obsinfo
@@ -1,4 +1,4 @@
name: matrix-synapse
-version: 1.85.2
-mtime: 1686226556
-commit: ac3a70a7dd4070bf3953b8913f7c316d701db588
+version: 1.87.0
+mtime: 1688484881
+commit: 1294d10c704a891392caf8c358fa8e00b1492874
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index 97c8d9b..0a5bd42 100644
--- a/matrix-synapse.spec
+++ b/matrix-synapse.spec
@@ -24,25 +24,25 @@
%global Pillow_version 9.4.0
%global PyYAML_version 6.0
%global Twisted_version 22.10.0
-%global attrs_version 22.2.0
+%global attrs_version 23.1.0
%global bcrypt_version 4.0.1
%global bleach_version 5.0.1
%global canonicaljson_version 2.0.0
-%global cryptography_version 40.0.2
+%global cryptography_version 41.0.1
%global immutabledict_version 2.2.4
%global idna_version 3.4
-%global ijson_version 3.1.4
+%global ijson_version 3.2.0
%global jsonschema_version 4.17.3
%global matrix_common_version 1.3.0
%global matrix_common_max_version 2
%global msgpack_version 1.0.5
%global netaddr_version 0.8.0
-# TODO: 8.13.11
+# TODO: 8.13.14
%global phonenumbers_version 8.13.5
%global prometheus_client_version 0.17.0
%global psutil_version 2.0.0
%global pyOpenSSL_version 23.0.0
-%global pyasn1_version 0.4.8
+%global pyasn1_version 0.5.0
# TODO 0.3.0
%global pyasn1_modules_version 0.2.8
%global pymacaroons_version 0.13.0
@@ -61,7 +61,7 @@
%global pysaml2_version 7.2.1
%global Authlib_version 1.2.0
%global lxml_version 4.9.2
-%global sentry_sdk_version 1.22.1
+%global sentry_sdk_version 1.25.1
%global PyJWT_version 2.4.0
%global jaeger_client_version 4.8.0
%global opentracing_version 2.4.0
@@ -154,7 +154,7 @@
%define pkgname matrix-synapse
%define eggname matrix_synapse
Name: %{pkgname}
-Version: 1.85.2
+Version: 1.87.0
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0
diff --git a/vendor.tar.zst b/vendor.tar.zst
index 9ebe1db..b3f6e3a 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a1a27815d8c0b6e477437aa0e80e78e5a0ae37645b0bf46061fb9e1cc6f485ac
-size 8787173
+oid sha256:a1f035a296a408f3058cf89525d030d6f75fe7456a59b4737e1ba9efec79534e
+size 6491859