diff --git a/_service b/_service
index f20e0d5..71d174d 100644
--- a/_service
+++ b/_service
@@ -4,11 +4,11 @@
@PARENT_TAG@
https://github.com/matrix-org/synapse.git
git
- v1.38.1
+ v1.39.0
v(.*)
\1
diff --git a/matrix-synapse-1.38.1.obscpio b/matrix-synapse-1.38.1.obscpio
deleted file mode 100644
index 5684556..0000000
--- a/matrix-synapse-1.38.1.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3a4275a8fc966a2458c8f1049889cfb3cd11f2e673656174ba8d3e910def8585
-size 30577677
diff --git a/matrix-synapse-1.39.0.obscpio b/matrix-synapse-1.39.0.obscpio
new file mode 100644
index 0000000..9e9516c
--- /dev/null
+++ b/matrix-synapse-1.39.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:95cebd9d0b9c4690ee129fd33de1a88e93dedffed760658bb3b8633a6ea02231
+size 30644749
diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec
index a8d093d..332421c 100644
--- a/matrix-synapse-test.spec
+++ b/matrix-synapse-test.spec
@@ -27,7 +27,7 @@
%define pkgname matrix-synapse
Name: %{pkgname}-test
-Version: 1.38.1
+Version: 1.39.0
Release: 0
Summary: Test package for %{pkgname}
License: Apache-2.0
diff --git a/matrix-synapse.changes b/matrix-synapse.changes
index b039077..94130b4 100644
--- a/matrix-synapse.changes
+++ b/matrix-synapse.changes
@@ -1,3 +1,114 @@
+-------------------------------------------------------------------
+Thu Jul 29 11:49:07 UTC 2021 - Marcus Rueckert
+
+- Update to 1.39.0
+ The Third-Party Event Rules module interface has been deprecated
+ in favour of the generic module interface introduced in Synapse
+ v1.37.0. Support for the old interface is planned to be removed
+ in September 2021. See the upgrade notes for more information.
+
+ - Features
+ - Add the ability to override the account validity feature with
+ a module. (#9884)
+ - The spaces summary API now returns any joinable rooms, not
+ only rooms which are world-readable. (#10298, #10305)
+ - Add a new version of the R30 phone-home metric, which removes
+ a false impression of retention given by the old R30 metric.
+ (#10332, #10427)
+ - Allow providing credentials to http_proxy. (#10360)
+ - Bugfixes
+ - Fix a bug introduced in Synapse 1.38 which caused an
+ exception at startup when SAML authentication was enabled.
+ (#10477)
+ - Fix a long-standing bug where Synapse would not inform
+ clients that a device had exhausted its one-time-key pool,
+ potentially causing problems decrypting events. (#10485)
+ - Fix reporting old R30 stats as R30v2 stats.
+ Introduced in v1.39.0rc1. (#10486)
+ - Always include device_one_time_keys_count key in /sync
+ response to work around a bug in Element Android that broke
+ encryption for new devices. (#10457)
+ - Fix error while dropping locks on shutdown. Introduced in
+ v1.38.0. (#10433)
+ - Add base starting insertion event when no chunk ID is
+ specified in the historical batch send API. (#10250)
+ - Fix historical batch send endpoint (MSC2716) rejecting
+ batches with messages from multiple senders. (#10276)
+ - Fix purging rooms that other homeservers are still sending
+ events for. Contributed by @ilmari. (#10317)
+ - Fix errors during backfill caused by previously purged
+ redaction events. Contributed by Andreas Rammhold (@andir).
+ (#10343)
+ - Fix the user directory becoming broken (and noisy errors
+ being logged) when knocking and room statistics are in use.
+ (#10344)
+ - Fix newly added
+ synapse_federation_server_oldest_inbound_pdu_in_staging
+ prometheus metric to measure age rather than timestamp.
+ (#10355)
+ - Fix PostgreSQL sometimes using table scans for queries
+ against state_groups_state table, taking a long time and a
+ large amount of IO. (#10359)
+ - Fix make_room_admin failing for users that have left a
+ private room. (#10367)
+ - Fix a number of logged errors caused by remote servers being
+ down. (#10400, #10414)
+ - Responses from /make_{join,leave,knock} no longer include
+ signatures, which will turn out to be invalid after events
+ are returned to /send_{join,leave,knock}. (#10404)
+ - Improved Documentation
+ - Updated installation dependencies for newer macOS versions
+ and ARM Macs. Contributed by Luke Walsh. (#9971)
+ - Simplify structure of room admin API. (#10313)
+ - Refresh the logcontext dev documentation. (#10353), (#10337)
+ - Add delegation example for caddy in the reverse proxy
+ documentation. Contributed by @moritzdietz. (#10368)
+ - Fix and clarify some links in docs and contrib. (#10370),
+ (#10322), (#10399)
+ - Make deprecation notice of the spam checker doc more obvious.
+ (#10395)
+ - Add instructions on installing Debian packages for release
+ candidates. (#10396)
+ - Deprecations and Removals
+ - Remove functionality associated with the unused
+ room_stats_historical and user_stats_historical tables.
+ Contributed by @xmunoz. (#9721)
+ - The third-party event rules module interface is deprecated in
+ favour of the generic module interface introduced in Synapse
+ v1.37.0. See the upgrade notes for more information. (#10386)
+ - Internal Changes
+ - Fix an error which prevented the Github Actions workflow to
+ build the docker images from running. (#10461)
+ - Fix release script to correctly version debian changelog when
+ doing RCs. (#10465)
+ - Move docker image build to Github Actions. (#10416)
+ - Convert room_depth.min_depth column to a BIGINT. (#10289)
+ - Add tests to characterise the current behaviour of R30
+ phone-home metrics. (#10315)
+ - Rebuild event context and auth when processing specific
+ results from ThirdPartyEventRules modules. (#10316)
+ - Minor change to the code that populates user_daily_visits.
+ (#10324)
+ - Re-enable Sytests that were disabled for the 1.37.1 release.
+ (#10345, #10357)
+ - Run pyupgrade on the codebase. (#10347, #10348)
+ - Switch application_services_txns.txn_id database column to
+ BIGINT. (#10349)
+ - Convert internal type variable syntax to reflect wider
+ ecosystem use. (#10350, #10380, #10381, #10382, #10418)
+ - Make the Github Actions workflow configuration more
+ efficient. (#10383)
+ - Add type hints to get_{domain,localpart}_from_id. (#10385)
+ - When building Debian packages for prerelease versions, set
+ the Section accordingly. (#10391)
+ - Add type hints and comments to event auth code. (#10393)
+ - Stagger sending of presence update to remote servers,
+ reducing CPU spikes caused by starting many connections to
+ remote servers at once. (#10398)
+ - Remove unused events_by_room code (tech debt). (#10421)
+ - Add a github actions job which records success of other jobs.
+ (#10430)
+
-------------------------------------------------------------------
Thu Jul 22 16:20:00 UTC 2021 - Marcus Rueckert
diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo
index 1fb5dca..4ce389a 100644
--- a/matrix-synapse.obsinfo
+++ b/matrix-synapse.obsinfo
@@ -1,5 +1,5 @@
name: matrix-synapse
-version: 1.38.1
-mtime: 1626964630
-commit: 283bb5c94eafbec3464de81340f0dc53bb88f629
+version: 1.39.0
+mtime: 1627549560
+commit: 6449955920157764ba8ba7bcb479de0c04b2c0d1
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index b84e641..f8be460 100644
--- a/matrix-synapse.spec
+++ b/matrix-synapse.spec
@@ -47,7 +47,7 @@
%define pkgname matrix-synapse
%define eggname matrix_synapse
Name: %{pkgname}
-Version: 1.38.1
+Version: 1.39.0
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0