Andrew Morgan
86af9814ef
Merge branch 'develop' of github.com:element-hq/synapse into matrix-org-hotfixes
2025-12-17 12:01:05 +00:00
Andrew Ferrazzutti
f4320b5a49
Admin API: worker support for Query User Account ( #19281 )
2025-12-16 17:42:08 +00:00
Tulir Asokan
3989d22a37
Implement pagination for MSC2666 ( #19279 )
...
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-12-16 15:24:36 +00:00
Joshua Goins
0395b71e25
Fix Mastodon URL previews not showing anything useful ( #19231 )
...
Fixes #18444 . Inside of UrlPreviewer, we need to combine two dicts (one
from oEmbed, and one from OpenGraph metadata in the HTML) and in Mastodon's case they were very
different.
Single Page Applications (SPAs) seem to sometimes provide better information in the OpenGraph tags
than the oEmbed stubs, because the oEmbed stubs are filled in with JavaScript that Synapse does
not execute.
This change improves previews on Mastodon and YouTube (for the same reason).
Tested to not regress previews of Twitter or GitHub.
2025-12-16 13:02:29 +00:00
Denis Kasak
29fd0116a5
Improve proxy support for the federation_client.py dev script ( #19300 )
...
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-12-16 11:06:07 +00:00
Travis Ralston
0f2b29511f
Allow admins to bypass the quarantine check on media downloads ( #19275 )
...
Co-authored-by: turt2live <1190097+turt2live@users.noreply.github.com >
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-12-15 17:23:33 +00:00
Andre Klärner
466994743a
Document importance of public_baseurl for delegation and OIDC ( #19270 )
...
I just stumbled across the fact that my config used delegation as
recommended by the docs, and hosted Synapse on a subdomain. However my
config never had `public_baseurl` set and worked without issues, until I
just now tried to setup OIDC.
OIDC is initialized by the client instructing to open a URL on the
homeserver, and initially the correct URL is called, but Synapse does
not recognize it without `public_baseurl` being set correctly. After
changing this it immediately started working.
So in order to prevent anybody from making the same mistake, this adds a
small clarifying block in the OIDC docs.
2025-12-12 18:07:39 -06:00
Devon Hudson
df24e0f302
Fix support for older versions of zope-interface ( #19274 )
...
Fixes #19269
Versions of zope-interface from RHEL, Ubuntu LTS 22 & 24 and OpenSuse
don't support the new python union `X | Y` syntax for interfaces. This
PR partially reverts the change over to fully use the new syntax, adds a
minimum supported version of zope-interface to Synapse's dependency
list, and removes the linter auto-upgrades which prefer the newer
syntax.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
---------
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-12-12 15:34:13 +00:00
Andrew Morgan
048629dd13
minor grammar fix
...
context: https://github.com/element-hq/synapse/pull/19260#discussion_r2614227743
2025-12-12 13:36:34 +00:00
Mathieu Velten
7347cc436e
Add memberships admin API ( #19260 )
...
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-12-12 13:35:46 +00:00
Travis Ralston
3f636386a6
Add an Admin API endpoint for listing quarantined media ( #19268 )
...
Co-authored-by: turt2live <1190097+turt2live@users.noreply.github.com >
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-12-12 13:30:21 +00:00
Andrew Morgan
1f7f16477d
Unpin Rust from 1.82.0 ( #19302 )
2025-12-12 11:31:55 +00:00
Erik Johnston
dfd00a986f
Fix sliding sync performance slow down for long lived connections. ( #19206 )
...
Fixes https://github.com/element-hq/synapse/issues/19175
This PR moves tracking of what lazy loaded membership we've sent to each
room out of the required state table. This avoids that table from
continuously growing, which massively helps performance as we pull out
all matching rows for the connection when we receive a request.
The new table is only read when we have data in a room to send, so we
end up reading a lot fewer rows from the DB. Though we now read from
that table for every room we have events to return in, rather than once
at the start of the request.
For an explanation of how the new table works, see the
[comment](https://github.com/element-hq/synapse/blob/erikj/sss_better_membership_storage2/synapse/storage/schema/main/delta/93/02_sliding_sync_members.sql#L15-L38 )
on the table schema.
The table is designed so that we can later prune old entries if we wish,
but that is not implemented in this PR.
Reviewable commit-by-commit.
---------
Co-authored-by: Eric Eastwood <erice@element.io >
2025-12-12 10:02:57 +00:00
Devon Hudson
cdf286d405
Use uv to test full set of minimum deps in CI ( #19289 )
...
Stemming from #19274 this updates the `olddeps` CI to test against not
just the minimum version of our explicit dependencies, but also the
minimum version of all implicit (transitive) dependencies that are
pulled in from the explicit dependencies themselves.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-11 17:58:27 +00:00
Andrew Morgan
3aaa2e80b2
Switch the build backend from poetry-core to maturin ( #19234 )
2025-12-10 14:46:47 +00:00
dependabot[bot]
ba774e2311
Bump ruff from 0.14.5 to 0.14.6 in the minor-and-patches group across 1 directory ( #19296 )
...
Bumps the minor-and-patches group with 1 update in the / directory:
[ruff](https://github.com/astral-sh/ruff ).
Updates `ruff` from 0.14.5 to 0.14.6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases ">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.14.6</h2>
<h2>Release Notes</h2>
<p>Released on 2025-11-21.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Support new PySNMP API paths
(<code>S508</code>, <code>S509</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21374 ">#21374</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Adjust own-line comment placement between branches (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21185 ">#21185</a>)</li>
<li>Avoid syntax error when formatting attribute expressions with outer
parentheses, parenthesized value, and trailing comment on value (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20418 ">#20418</a>)</li>
<li>Fix panic when formatting comments in unary expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21501 ">#21501</a>)</li>
<li>Respect <code>fmt: skip</code> for compound statements on a single
line (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20633 ">#20633</a>)</li>
<li>[<code>refurb</code>] Fix <code>FURB103</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21454 ">#21454</a>)</li>
<li>[<code>ruff</code>] Fix false positive for complex conversion
specifiers in <code>logging-eager-conversion</code>
(<code>RUF065</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21464 ">#21464</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>ruff</code>] Avoid false positive on <code>ClassVar</code>
reassignment (<code>RUF012</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21478 ">#21478</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Render hyperlinks for lint errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21514 ">#21514</a>)</li>
<li>Add a <code>ruff analyze</code> option to skip over imports in
<code>TYPE_CHECKING</code> blocks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21472 ">#21472</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Limit <code>eglot-format</code> hook to eglot-managed Python buffers
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/21459 ">#21459</a>)</li>
<li>Mention <code>force-exclude</code> in "Configuration >
Python file discovery" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21500 ">#21500</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/ntBre "><code>@ntBre</code></a></li>
<li><a href="https://github.com/dylwil3 "><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/gauthsvenkat "><code>@gauthsvenkat</code></a></li>
<li><a
href="https://github.com/MichaReiser "><code>@MichaReiser</code></a></li>
<li><a href="https://github.com/thamer "><code>@thamer</code></a></li>
<li><a
href="https://github.com/Ruchir28 "><code>@Ruchir28</code></a></li>
<li><a
href="https://github.com/thejcannon "><code>@thejcannon</code></a></li>
<li><a
href="https://github.com/danparizher "><code>@danparizher</code></a></li>
<li><a
href="https://github.com/chirizxc "><code>@chirizxc</code></a></li>
</ul>
<h2>Install ruff 0.14.6</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.14.6/ruff-installer.sh
| sh
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md ">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.14.6</h2>
<p>Released on 2025-11-21.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Support new PySNMP API paths
(<code>S508</code>, <code>S509</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21374 ">#21374</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Adjust own-line comment placement between branches (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21185 ">#21185</a>)</li>
<li>Avoid syntax error when formatting attribute expressions with outer
parentheses, parenthesized value, and trailing comment on value (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20418 ">#20418</a>)</li>
<li>Fix panic when formatting comments in unary expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21501 ">#21501</a>)</li>
<li>Respect <code>fmt: skip</code> for compound statements on a single
line (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20633 ">#20633</a>)</li>
<li>[<code>refurb</code>] Fix <code>FURB103</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21454 ">#21454</a>)</li>
<li>[<code>ruff</code>] Fix false positive for complex conversion
specifiers in <code>logging-eager-conversion</code>
(<code>RUF065</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21464 ">#21464</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>ruff</code>] Avoid false positive on <code>ClassVar</code>
reassignment (<code>RUF012</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21478 ">#21478</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Render hyperlinks for lint errors (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21514 ">#21514</a>)</li>
<li>Add a <code>ruff analyze</code> option to skip over imports in
<code>TYPE_CHECKING</code> blocks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21472 ">#21472</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Limit <code>eglot-format</code> hook to eglot-managed Python buffers
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/21459 ">#21459</a>)</li>
<li>Mention <code>force-exclude</code> in "Configuration >
Python file discovery" (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21500 ">#21500</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/ntBre "><code>@ntBre</code></a></li>
<li><a href="https://github.com/dylwil3 "><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/gauthsvenkat "><code>@gauthsvenkat</code></a></li>
<li><a
href="https://github.com/MichaReiser "><code>@MichaReiser</code></a></li>
<li><a href="https://github.com/thamer "><code>@thamer</code></a></li>
<li><a
href="https://github.com/Ruchir28 "><code>@Ruchir28</code></a></li>
<li><a
href="https://github.com/thejcannon "><code>@thejcannon</code></a></li>
<li><a
href="https://github.com/danparizher "><code>@danparizher</code></a></li>
<li><a
href="https://github.com/chirizxc "><code>@chirizxc</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/59c6cb521d26380120f8522476fd09d296bf4f2e "><code>59c6cb5</code></a>
Bump 0.14.6 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21558 ">#21558</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/54dba15088ced32c31592ab44ddfdf40614002bb "><code>54dba15</code></a>
[ty] Improve debug messages when imports fail (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21555 ">#21555</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1af318534a01ba6be69d7d77c33e96080635a8af "><code>1af3185</code></a>
[ty] Add support for relative import completions</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/553e5686248e86b9c781af77c714adc229bf8cc5 "><code>553e568</code></a>
[ty] Refactor detection of import statements for completions</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cdef3f5ab8115e2581e080341d4bab932d905af4 "><code>cdef3f5</code></a>
[ty] Use dedicated collector for completions</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/617882242719af179a42be68170f9de9d83174f4 "><code>6178822</code></a>
[ty] Attach subdiagnostics to <code>unresolved-import</code> errors for
relative imports...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/6b7adb0537d1a57f26cf462a637af483e0ba2c75 "><code>6b7adb0</code></a>
[ty] support PEP 613 type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21394 ">#21394</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/06941c1987bd4fe2b54d99b5514784472cabc0b3 "><code>06941c1</code></a>
[ty] More low-hanging fruit for inlay hint goto-definition (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21548 ">#21548</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/eb7c098d6b70aacbaebe8b7c8d7710ad4ad0f46b "><code>eb7c098</code></a>
[ty] implement <code>TypedDict</code> structural assignment (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21467 ">#21467</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1b28fc1f1417284a075afa4a18c5e9d31a7d8620 "><code>1b28fc1</code></a>
[ty] Add more random TypeDetails and tests (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21546 ">#21546</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.14.5...0.14.6 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 23:01:56 +00:00
Devon Hudson
acafac3bb6
Merge branch 'master' into develop
2025-12-09 09:30:32 -07:00
Devon Hudson
1bfcc9acf1
Lift important notes to top of changelog
2025-12-09 08:36:59 -07:00
Devon Hudson
1aeb34a1e1
1.144.0
2025-12-09 08:32:23 -07:00
Devon Hudson
8b0083cad9
Respond with useful error codes when Content-Length header/s are invalid ( #19212 )
...
Related to https://github.com/element-hq/synapse/issues/17035 , when
Synapse receives a request that is larger than the maximum size allowed,
it aborts the connection without ever sending back a HTTP response.
I dug into our usage of twisted and how best to try and report such an
error and this is what I came up with.
It would be ideal to be able to report the status from within
`handleContentChunk` but that is called too early on in the twisted http
handling code, before things have been setup enough to be able to
properly write a response.
I tested this change out locally (both with C-S and S-S apis) and they
do receive a 413 response now in addition to the connection being
closed.
Hopefully this will aid in being able to quickly detect when
https://github.com/element-hq/synapse/issues/17035 is occurring as the
current situation makes it very hard to narrow things down to that
specific issue without making a lot of assumptions.
This PR also responds with more meaningful error codes now in the case
of:
- multiple `Content-Length` headers
- invalid `Content-Length` header value
- request content size being larger than the `Content-Length` value
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
---------
Co-authored-by: Eric Eastwood <erice@element.io >
2025-12-08 21:39:18 +00:00
dependabot[bot]
09fd2645c2
Bump urllib3 from 2.5.0 to 2.6.0 ( #19282 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.5.0 to 2.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/urllib3/urllib3/releases ">urllib3's
releases</a>.</em></p>
<blockquote>
<h2>2.6.0</h2>
<h2>🚀 urllib3 is fundraising for HTTP/2 support</h2>
<p><a
href="https://sethmlarson.dev/urllib3-is-fundraising-for-http2-support ">urllib3
is raising ~$40,000 USD</a> to release HTTP/2 support and ensure
long-term sustainable maintenance of the project after a sharp decline
in financial support. If your company or organization uses Python and
would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and
thousands of other projects <a
href="https://opencollective.com/urllib3 ">please consider contributing
financially</a> to ensure HTTP/2 support is developed sustainably and
maintained for the long-haul.</p>
<p>Thank you for your support.</p>
<h2>Security</h2>
<ul>
<li>Fixed a security issue where streaming API could improperly handle
highly compressed HTTP content ("decompression bombs") leading
to excessive resource consumption even when a small amount of data was
requested. Reading small chunks of compressed data is safer and much
more efficient now. (CVE-2025-66471 reported by <a
href="https://github.com/Cycloctane "><code>@Cycloctane</code></a>, 8.9
High, GHSA-2xpw-w6gg-jr37)</li>
<li>Fixed a security issue where an attacker could compose an HTTP
response with virtually unlimited links in the
<code>Content-Encoding</code> header, potentially leading to a denial of
service (DoS) attack by exhausting system resources during decoding. The
number of allowed chained encodings is now limited to 5. (CVE-2025-66418
reported by <a
href="https://github.com/illia-v "><code>@illia-v</code></a>, 8.9 High,
GHSA-gm62-xv2j-4w53)</li>
</ul>
<blockquote>
<p>[!IMPORTANT]</p>
<ul>
<li>If urllib3 is not installed with the optional
<code>urllib3[brotli]</code> extra, but your environment contains a
Brotli/brotlicffi/brotlipy package anyway, make sure to upgrade it to at
least Brotli 1.2.0 or brotlicffi 1.2.0.0 to benefit from the security
fixes and avoid warnings. Prefer using <code>urllib3[brotli]</code> to
install a compatible Brotli package automatically.</li>
<li>If you use custom decompressors, please make sure to update them to
respect the changed API of
<code>urllib3.response.ContentDecoder</code>.</li>
</ul>
</blockquote>
<h2>Features</h2>
<ul>
<li>Enabled retrieval, deletion, and membership testing in
<code>HTTPHeaderDict</code> using bytes keys. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3653 ">#3653</a>)</li>
<li>Added host and port information to string representations of
<code>HTTPConnection</code>. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3666 ">#3666</a>)</li>
<li>Added support for Python 3.14 free-threading builds explicitly. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3696 ">#3696</a>)</li>
</ul>
<h2>Removals</h2>
<ul>
<li>Removed the <code>HTTPResponse.getheaders()</code> method in favor
of <code>HTTPResponse.headers</code>. Removed the
<code>HTTPResponse.getheader(name, default)</code> method in favor of
<code>HTTPResponse.headers.get(name, default)</code>. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3622 ">#3622</a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Fixed redirect handling in <code>urllib3.PoolManager</code> when an
integer is passed for the retries parameter. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3649 ">#3649</a>)</li>
<li>Fixed <code>HTTPConnectionPool</code> when used in Emscripten with
no explicit port. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3664 ">#3664</a>)</li>
<li>Fixed handling of <code>SSLKEYLOGFILE</code> with expandable
variables. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3700 ">#3700</a>)</li>
</ul>
<h2>Misc</h2>
<ul>
<li>Changed the <code>zstd</code> extra to install
<code>backports.zstd</code> instead of <code>zstandard</code> on Python
3.13 and before. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3693 ">#3693</a>)</li>
<li>Improved the performance of content decoding by optimizing
<code>BytesQueueBuffer</code> class. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3710 ">#3710</a>)</li>
<li>Allowed building the urllib3 package with newer setuptools-scm v9.x.
(<a
href="https://redirect.github.com/urllib3/urllib3/issues/3652 ">#3652</a>)</li>
<li>Ensured successful urllib3 builds by setting Hatchling requirement
to ≥ 1.27.0. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3638 ">#3638</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/urllib3/urllib3/blob/main/CHANGES.rst ">urllib3's
changelog</a>.</em></p>
<blockquote>
<h1>2.6.0 (2025-12-05)</h1>
<h2>Security</h2>
<ul>
<li>Fixed a security issue where streaming API could improperly handle
highly
compressed HTTP content ("decompression bombs") leading to
excessive resource
consumption even when a small amount of data was requested. Reading
small
chunks of compressed data is safer and much more efficient now.
(<code>GHSA-2xpw-w6gg-jr37
<https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37> ;</code>__)</li>
<li>Fixed a security issue where an attacker could compose an HTTP
response with
virtually unlimited links in the <code>Content-Encoding</code> header,
potentially
leading to a denial of service (DoS) attack by exhausting system
resources
during decoding. The number of allowed chained encodings is now limited
to 5.
(<code>GHSA-gm62-xv2j-4w53
<https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53> ;</code>__)</li>
</ul>
<p>.. caution::</p>
<ul>
<li>
<p>If urllib3 is not installed with the optional
<code>urllib3[brotli]</code> extra, but
your environment contains a Brotli/brotlicffi/brotlipy package anyway,
make
sure to upgrade it to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 to
benefit from the security fixes and avoid warnings. Prefer using
<code>urllib3[brotli]</code> to install a compatible Brotli package
automatically.</p>
</li>
<li>
<p>If you use custom decompressors, please make sure to update them to
respect the changed API of
<code>urllib3.response.ContentDecoder</code>.</p>
</li>
</ul>
<h2>Features</h2>
<ul>
<li>Enabled retrieval, deletion, and membership testing in
<code>HTTPHeaderDict</code> using bytes keys.
(<code>[#3653 ](https://github.com/urllib3/urllib3/issues/3653 )
<https://github.com/urllib3/urllib3/issues/3653> ;</code>__)</li>
<li>Added host and port information to string representations of
<code>HTTPConnection</code>.
(<code>[#3666 ](https://github.com/urllib3/urllib3/issues/3666 )
<https://github.com/urllib3/urllib3/issues/3666> ;</code>__)</li>
<li>Added support for Python 3.14 free-threading builds explicitly.
(<code>[#3696 ](https://github.com/urllib3/urllib3/issues/3696 )
<https://github.com/urllib3/urllib3/issues/3696> ;</code>__)</li>
</ul>
<h2>Removals</h2>
<ul>
<li>Removed the <code>HTTPResponse.getheaders()</code> method in favor
of <code>HTTPResponse.headers</code>.
Removed the <code>HTTPResponse.getheader(name, default)</code> method in
favor of <code>HTTPResponse.headers.get(name, default)</code>.
(<code>[#3622 ](https://github.com/urllib3/urllib3/issues/3622 )
<https://github.com/urllib3/urllib3/issues/3622> ;</code>__)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Fixed redirect handling in <code>urllib3.PoolManager</code> when an
integer is passed
for the retries parameter.
(<code>[#3649 ](https://github.com/urllib3/urllib3/issues/3649 )
<https://github.com/urllib3/urllib3/issues/3649> ;</code>__)</li>
<li>Fixed <code>HTTPConnectionPool</code> when used in Emscripten with
no explicit port.
(<code>[#3664 ](https://github.com/urllib3/urllib3/issues/3664 )
<https://github.com/urllib3/urllib3/issues/3664> ;</code>__)</li>
<li>Fixed handling of <code>SSLKEYLOGFILE</code> with expandable
variables.
(<code>[#3700 ](https://github.com/urllib3/urllib3/issues/3700 )
<https://github.com/urllib3/urllib3/issues/3700> ;</code>__)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/urllib3/urllib3/commit/720f484b605f18887a48eef448d0084e2b76902d "><code>720f484</code></a>
Release 2.6.0</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8 "><code>24d7b67</code></a>
Merge commit from fork</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7 "><code>c19571d</code></a>
Merge commit from fork</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/816fcf04528bc0f89672e13398eb813dcc892490 "><code>816fcf0</code></a>
Bump actions/setup-python from 6.0.0 to 6.1.0 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3725 ">#3725</a>)</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/18af0a10efc4c99dd028f7ad5a461470b9a8b0fd "><code>18af0a1</code></a>
Improve speed of <code>BytesQueueBuffer.get()</code> by using memoryview
(<a
href="https://redirect.github.com/urllib3/urllib3/issues/3711 ">#3711</a>)</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/1f6abac3e6d426c3939b8a17cf4afa099e691ab2 "><code>1f6abac</code></a>
Bump versions of pre-commit hooks (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3716 ">#3716</a>)</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/1c8fbf787b8e6ed151842c5d6874c9d5bdbf1d0b "><code>1c8fbf7</code></a>
Bump actions/checkout from 5.0.0 to 6.0.0 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3722 ">#3722</a>)</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/7784b9eee95b7c90802c02b111e98df70259ae4f "><code>7784b9e</code></a>
Add Python 3.15 to CI (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3717 ">#3717</a>)</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/0241c9e7286d3008e3cce18effc13b40dc633385 "><code>0241c9e</code></a>
Updated docs to reflect change in optional zstd dependency from
<code>zstandard</code> t...</li>
<li><a
href="https://github.com/urllib3/urllib3/commit/7afcabb6489d9a8ea95a40e5afcb46463af17351 "><code>7afcabb</code></a>
Expand environment variable of SSLKEYLOGFILE (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3705 ">#3705</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/urllib3/urllib3/compare/2.5.0...2.6.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/element-hq/synapse/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-05 23:51:29 +00:00
dependabot[bot]
891983f3f4
Bump the minor-and-patches group with 3 updates ( #19280 )
...
Bumps the minor-and-patches group with 3 updates:
[mypy](https://github.com/python/mypy ),
[mypy-zope](https://github.com/Shoobx/mypy-zope ) and
[phonenumbers](https://github.com/daviddrysdale/python-phonenumbers ).
Updates `mypy` from 1.17.1 to 1.18.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/python/mypy/blob/master/CHANGELOG.md ">mypy's
changelog</a>.</em></p>
<blockquote>
<h3>Mypy 1.18.2</h3>
<ul>
<li>Fix crash on recursive alias (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/19845 ">19845</a>)</li>
<li>Add additional guidance for stubtest errors when runtime is
<code>object.__init__</code> (Stephen Morton, PR <a
href="https://redirect.github.com/python/mypy/pull/19733 ">19733</a>)</li>
<li>Fix handling of None values in f-string expressions in mypyc
(BobTheBuidler, PR <a
href="https://redirect.github.com/python/mypy/pull/19846 ">19846</a>)</li>
</ul>
<h3>Acknowledgements</h3>
<p>Thanks to all mypy contributors who contributed to this release:</p>
<ul>
<li>Ali Hamdan</li>
<li>Anthony Sottile</li>
<li>BobTheBuidler</li>
<li>Brian Schubert</li>
<li>Chainfire</li>
<li>Charlie Denton</li>
<li>Christoph Tyralla</li>
<li>CoolCat467</li>
<li>Daniel Hnyk</li>
<li>Emily</li>
<li>Emma Smith</li>
<li>Ethan Sarp</li>
<li>Ivan Levkivskyi</li>
<li>Jahongir Qurbonov</li>
<li>Jelle Zijlstra</li>
<li>Joren Hammudoglu</li>
<li>Jukka Lehtosalo</li>
<li>Marc Mueller</li>
<li>Omer Hadari</li>
<li>Piotr Sawicki</li>
<li>PrinceNaroliya</li>
<li>Randolf Scholz</li>
<li>Robsdedude</li>
<li>Saul Shanabrook</li>
<li>Shantanu</li>
<li>Stanislav Terliakov</li>
<li>Stephen Morton</li>
<li>wyattscarpenter</li>
</ul>
<p>I’d also like to thank my employer, Dropbox, for supporting mypy
development.</p>
<h2>Mypy 1.17</h2>
<p>We’ve just uploaded mypy 1.17 to the Python Package Index (<a
href="https://pypi.org/project/mypy/ ">PyPI</a>).
Mypy is a static type checker for Python. This release includes new
features and bug fixes.
You can install it as follows:</p>
<pre><code>python3 -m pip install -U mypy
</code></pre>
<p>You can read the full documentation for this release on <a
href="http://mypy.readthedocs.io ">Read the Docs</a>.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/df05f05555ee62dbdb9960c64cad186172e92be1 "><code>df05f05</code></a>
remove +dev from version</li>
<li><a
href="https://github.com/python/mypy/commit/01a7a1285d03cb7a330359b22cb462aacb5f9720 "><code>01a7a12</code></a>
Update changelog for 1.18.2 (<a
href="https://redirect.github.com/python/mypy/issues/19873 ">#19873</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/ca5abf09f3bfc543ac9c18a364696bc5da20bc03 "><code>ca5abf0</code></a>
Typeshed cherry-pick: Make type of <code>unitest.mock.Any</code> a
subclass of <code>Any</code> (<a
href="https://redirect.github.com/python/mypy/issues/1 ">#1</a>...</li>
<li><a
href="https://github.com/python/mypy/commit/9d794b57d9c5b03d61caa3286756c05e0ae3021b "><code>9d794b5</code></a>
[mypyc] fix: inappropriate <code>None</code>s in f-strings (<a
href="https://redirect.github.com/python/mypy/issues/19846 ">#19846</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/2c0510c84868b6bb42ef0f305b701e530a85c25f "><code>2c0510c</code></a>
stubtest: additional guidance on errors when runtime is
object.<strong>init</strong> (<a
href="https://redirect.github.com/python/mypy/issues/19733 ">#19733</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/2f3f03c3e39e68dbfa3544c01a34f99803b3e1c2 "><code>2f3f03c</code></a>
Bump version to 1.18.2+dev for point release</li>
<li><a
href="https://github.com/python/mypy/commit/76698412bc1f3ca99000d52649acd5a0e06aa71d "><code>7669841</code></a>
Fix crash on recursive alias in indirection.py (<a
href="https://redirect.github.com/python/mypy/issues/19845 ">#19845</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/03fbaa941bccc3a9f8aea796d586603b67119bf2 "><code>03fbaa9</code></a>
bump version to 1.18.1 due to wheels failure</li>
<li><a
href="https://github.com/python/mypy/commit/b44a1fbf0cf9fd90fd29d6bcd9f64c55dd2fd4c8 "><code>b44a1fb</code></a>
removed +dev from version</li>
<li><a
href="https://github.com/python/mypy/commit/7197a99d1aebb1b7a584f82a53c44efb7dddf136 "><code>7197a99</code></a>
Removed Unreleased in the Changelog for Release 1.18 (<a
href="https://redirect.github.com/python/mypy/issues/19827 ">#19827</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.17.1...v1.18.2 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `mypy-zope` from 1.0.13 to 1.0.14
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Shoobx/mypy-zope/blob/master/CHANGELOG.md ">mypy-zope's
changelog</a>.</em></p>
<blockquote>
<h2>1.0.14 (2025-12-01)</h2>
<hr />
<ul>
<li>Support mypy-1.19</li>
<li>Support mypy-1.18</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/38d22f3f4f6fc1b85c9a0d3b64577749f682a6d2 "><code>38d22f3</code></a>
Preparing release 1.0.14</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/76762ec861b1b3cddc471f1e8949902f3f3264be "><code>76762ec</code></a>
Maintain changelog</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/4971d98ab80db3362bd5864a92d385e8c5a43aec "><code>4971d98</code></a>
Merge pull request <a
href="https://redirect.github.com/Shoobx/mypy-zope/issues/134 ">#134</a>
from Shoobx/dependabot/pip/mypy-gte-1.0.0-and-lt-1.20.0</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/47af89d2c709f9e478ddbd5590994eba0829fb34 "><code>47af89d</code></a>
Update mypy requirement from <1.19.0,>=1.0.0 to
>=1.0.0,<1.20.0</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/0c596ff804a1ece6a8d33c0abf1587a766e047c8 "><code>0c596ff</code></a>
Maintain changelog</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/dcaa27841defa865c474f585e8bb799a8242399f "><code>dcaa278</code></a>
Merge pull request <a
href="https://redirect.github.com/Shoobx/mypy-zope/issues/132 ">#132</a>
from Shoobx/dependabot/pip/mypy-gte-1.0.0-and-lt-1.19.0</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/8f7b6778df6e3dde48c082ec07182e50b9938c76 "><code>8f7b677</code></a>
Update mypy requirement from <1.18.0,>=1.0.0 to
>=1.0.0,<1.19.0</li>
<li><a
href="https://github.com/Shoobx/mypy-zope/commit/91b275b364cc90403b2a160695f32ca27bc06bb9 "><code>91b275b</code></a>
Back to development: 1.0.14</li>
<li>See full diff in <a
href="https://github.com/Shoobx/mypy-zope/compare/1.0.13...1.0.14 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `phonenumbers` from 9.0.18 to 9.0.19
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/38f2ffe1e816e22a3305ee0e11ece993d4f5d1b6 "><code>38f2ffe</code></a>
Prep for 9.0.19 release</li>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/cd7f0cc64f1ff4c6b28a83102bf0372bb5653d91 "><code>cd7f0cc</code></a>
Generated files for metadata</li>
<li><a
href="https://github.com/daviddrysdale/python-phonenumbers/commit/40ae18f50a74c3d7958011dfdfcef0a3981dc535 "><code>40ae18f</code></a>
Merge metadata changes from upstream 9.0.19</li>
<li>See full diff in <a
href="https://github.com/daviddrysdale/python-phonenumbers/compare/v9.0.18...v9.0.19 ">compare
view</a></li>
</ul>
</details>
<br />
**Does not** update `pysaml2` from 7.5.0 to 7.5.4 since this would
downgrade pyOpenSSL
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/IdentityPython/pysaml2/releases ">pysaml2's
releases</a>.</em></p>
<blockquote>
<h2>Version v7.5.4</h2>
<h2>v7.5.4 (2025-10-07)</h2>
<ul>
<li>Minor refactor to handle <code>shelve.open</code> and
<code>dbm</code> errors</li>
<li>Remove import of deprecated <code>cgi</code> module</li>
<li>Replace deprecated <code>datetime.utcnow()</code> by
<code>datetime.now(timezone.utc)</code></li>
<li>deps: Remove the <code>importlib_metadata</code> dependency</li>
<li>deps: Remove the <code>importlib_resources</code> dependency</li>
<li>deps: Update dependency versions and lockfile</li>
<li>build: Update pyproject and lockfile to be compatible with PEP
621</li>
<li>docs: Correct spelling mistakes</li>
<li>docs: Fix interal references/links</li>
<li>docs: Clarify units for accepted_time_diff config param</li>
<li>docs: Correct documentation for contact_person</li>
</ul>
<h2>Version 7.5.3</h2>
<h2>7.5.3 (2025-10-04)</h2>
<ul>
<li><a
href="https://redirect.github.com/IdentityPython/pysaml2/issues/973 ">#973</a>
Fix prepare_for_negotiated_authenticate to avoid double signing redirect
requests</li>
</ul>
<h2>Version 7.5.2</h2>
<h2>7.5.2 (2025-02-10)</h2>
<ul>
<li>Include the XSD of the XML Encryption Syntax and Processing Version
1.1 to the schema validator</li>
</ul>
<h2>Version 7.5.1</h2>
<h2>7.5.1 (2025-02-10)</h2>
<ul>
<li>deps: restrict pyOpenSSL up to v24.2.1 until it is replaced</li>
<li>deps: update dependncies for the lockfile and examples</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/IdentityPython/pysaml2/blob/master/CHANGELOG.md ">pysaml2's
changelog</a>.</em></p>
<blockquote>
<h2>v7.5.4 (2025-10-07)</h2>
<ul>
<li>Minor refactor to handle <code>shelve.open</code> and
<code>dbm</code> errors</li>
<li>Remove import of deprecated <code>cgi</code> module</li>
<li>Replace deprecated <code>datetime.utcnow()</code> by
<code>datetime.now(timezone.utc)</code></li>
<li>deps: Remove the <code>importlib_metadata</code> dependency</li>
<li>deps: Remove the <code>importlib_resources</code> dependency</li>
<li>deps: Update dependency versions and lockfile</li>
<li>build: Update pyproject and lockfile to be compatible with PEP
621</li>
<li>docs: Correct spelling mistakes</li>
<li>docs: Fix interal references/links</li>
<li>docs: Clarify units for accepted_time_diff config param</li>
<li>docs: Correct documentation for contact_person</li>
</ul>
<h2>7.5.3 (2025-10-04)</h2>
<ul>
<li><a
href="https://redirect.github.com/IdentityPython/pysaml2/issues/973 ">#973</a>
Fix prepare_for_negotiated_authenticate to avoid double signing redirect
requests</li>
</ul>
<h2>7.5.2 (2025-02-10)</h2>
<ul>
<li>Include the XSD of the XML Encryption Syntax and Processing Version
1.1 to the schema validator</li>
</ul>
<h2>7.5.1 (2025-02-10)</h2>
<ul>
<li>deps: restrict pyOpenSSL up to v24.2.1 until it is replaced</li>
<li>deps: update dependencies for the lockfile and examples</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/9cf71f7f9e37e2bfa10d885ffe6252743b84bfb8 "><code>9cf71f7</code></a>
Release version 7.5.4</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/c3ec7199d117c2918b5e5057ee608636c12579ac "><code>c3ec719</code></a>
Refactor _shelve_compat</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/1d6ea6024efc84486b668a9d375b8eb9d983a80a "><code>1d6ea60</code></a>
Remove import of deprecated cgi module</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/c45eb9df8248ad983b220bb1fd2b4e8ed779a40d "><code>c45eb9d</code></a>
Replace deprecated datetime.utcnow() by datetime.now(timezone.utc)</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/178f6d12b43a52a37b59b2ed1fee308af3537082 "><code>178f6d1</code></a>
Remove unneeded dependencies</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/1f0a25a5cf122e47aaafbfd93397d095ca9005e4 "><code>1f0a25a</code></a>
remove importlib_metadata import</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/099f716ae7245732dfb302a69074a331914136ff "><code>099f716</code></a>
remove importlib_resources imports</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/3fa11ee15db1a69426db3546586ac59056cc6c2c "><code>3fa11ee</code></a>
spelling updates.</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/4b7887f59a5e24650ad52d05c2285bd5dbb53a3e "><code>4b7887f</code></a>
update link.</li>
<li><a
href="https://github.com/IdentityPython/pysaml2/commit/bc8d3b4ecce7753f2473100127581c895134541a "><code>bc8d3b4</code></a>
update link.</li>
<li>Additional commits viewable in <a
href="https://github.com/IdentityPython/pysaml2/compare/v7.5.0...v7.5.4 ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Devon Hudson <devonhudson@librem.one >
2025-12-05 22:11:58 +00:00
Andrew Morgan
a096fba969
Group non-breaking dependabot PRs together to reduce review load ( #18402 )
2025-12-05 10:48:01 +00:00
Devon Hudson
e8710e7c5e
Don't include debug logs in Clock unless explicitly enabled ( #19278 )
...
Fixes #19276
This log with stack traces results in a ton of noise in the logs and is
confusing to users since it looks like it's an error in the logs.
This PR removes the stack trace from the log. This can be re-enabled on
demand if it is deemed necessary in the future.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-04 23:49:24 +00:00
Devon Hudson
978ae0b080
Merge branch 'release-v1.144' into develop
2025-12-02 15:06:23 -07:00
dependabot[bot]
93e658bd13
Bump cryptography from 45.0.7 to 46.0.3 ( #19266 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 45.0.7
to 46.0.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst ">cryptography's
changelog</a>.</em></p>
<blockquote>
<p>46.0.3 - 2025-10-15</p>
<pre><code>
* Fixed compilation when using LibreSSL 4.2.0.
<p>.. _v46-0-2:</p>
<p>46.0.2 - 2025-09-30<br />
</code></pre></p>
<ul>
<li>Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
3.5.4.</li>
</ul>
<p>.. _v46-0-1:</p>
<p>46.0.1 - 2025-09-16</p>
<pre><code>
* Fixed an issue where users installing via ``pip`` on Python 3.14
development
versions would not properly install a dependency.
* Fixed an issue building the free-threaded macOS 3.14 wheels.
<p>.. _v46-0-0:</p>
<p>46.0.0 - 2025-09-16<br />
</code></pre></p>
<ul>
<li><strong>BACKWARDS INCOMPATIBLE:</strong> Support for Python 3.7 has
been removed.</li>
<li>Support for OpenSSL < 3.0 is deprecated and will be removed in
the next
release.</li>
<li>Support for <code>x86_64</code> macOS (including publishing wheels)
is deprecated
and will be removed in two releases. We will switch to publishing an
<code>arm64</code> only wheel for macOS.</li>
<li>Support for 32-bit Windows (including publishing wheels) is
deprecated
and will be removed in two releases. Users should move to a 64-bit
Python installation.</li>
<li>Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
3.5.3.</li>
<li>We now build <code>ppc64le</code> <code>manylinux</code> wheels and
publish them to PyPI.</li>
<li>We now build <code>win_arm64</code> (Windows on Arm) wheels and
publish them to PyPI.</li>
<li>Added support for free-threaded Python 3.14.</li>
<li>Removed the deprecated <code>get_attribute_for_oid</code> method on
:class:<code>~cryptography.x509.CertificateSigningRequest</code>. Users
should use
:meth:<code>~cryptography.x509.Attributes.get_attribute_for_oid</code>
instead.</li>
<li>Removed the deprecated <code>CAST5</code>, <code>SEED</code>,
<code>IDEA</code>, and <code>Blowfish</code>
classes from the cipher module. These are still available in
:doc:<code>/hazmat/decrepit/index</code>.</li>
<li>In X.509, when performing a PSS signature with a SHA-3 hash, it is
now
encoded with the official NIST SHA3 OID.</li>
</ul>
<p>.. _v45-0-7:</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyca/cryptography/commit/c0af4dd7b75921bbe9f1d41a03dbd4b64a9e3403 "><code>c0af4dd</code></a>
release 46.0.3 (<a
href="https://redirect.github.com/pyca/cryptography/issues/13681 ">#13681</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/99efe5ad150a56efadafacaffd0e3ee319373904 "><code>99efe5a</code></a>
bump version for 46.0.2 (<a
href="https://redirect.github.com/pyca/cryptography/issues/13531 ">#13531</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/e735cfc27502320101c130335c556394a125ba52 "><code>e735cfc</code></a>
release 46.0.1 (<a
href="https://redirect.github.com/pyca/cryptography/issues/13450 ">#13450</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/4e457ffba43a6d87efc63c33041e2081438dd8a4 "><code>4e457ff</code></a>
Explicitly specify python in mac uv build invocation (<a
href="https://redirect.github.com/pyca/cryptography/issues/13447 ">#13447</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/2726efdb6d67f1c90cf9c6062d9fe051965586f8 "><code>2726efd</code></a>
Depend on CFFI 2.0.0 or newer on Python > 3.8 (<a
href="https://redirect.github.com/pyca/cryptography/issues/13448 ">#13448</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/62230623d183706632c0eb7822c96ac95e3710a8 "><code>6223062</code></a>
release 46.0.0 (<a
href="https://redirect.github.com/pyca/cryptography/issues/13446 ">#13446</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/563c4915b0931455706f761a4579c26698824eae "><code>563c491</code></a>
Update comment for pyopenssl-release tag (<a
href="https://redirect.github.com/pyca/cryptography/issues/13445 ">#13445</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/d2f6f7faced35b73277bc624ff496f8af696b172 "><code>d2f6f7f</code></a>
Bump downstream dependencies in CI (<a
href="https://redirect.github.com/pyca/cryptography/issues/13439 ">#13439</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/e7ab02bd679d0b4f55d93486fe27e62554ef15d4 "><code>e7ab02b</code></a>
we'll ship this with 3.5.3 why not (<a
href="https://redirect.github.com/pyca/cryptography/issues/13442 ">#13442</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/0b68a4bffb61202e4d4f5074cd30c2b9d15f429e "><code>0b68a4b</code></a>
Another pair of bump dependencies fix (<a
href="https://redirect.github.com/pyca/cryptography/issues/13444 ">#13444</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyca/cryptography/compare/45.0.7...46.0.3 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 20:27:05 +00:00
Devon Hudson
989c4d2585
Update changelog
2025-12-02 13:11:50 -07:00
Devon Hudson
4cd05baaec
Fix bug where Duration was logged incorrectly ( #19267 )
...
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-02 13:09:44 -07:00
Devon Hudson
d688daf41c
Fix bug where Duration was logged incorrectly ( #19267 )
...
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-02 20:08:32 +00:00
dependabot[bot]
aff90a5245
Bump bleach from 6.2.0 to 6.3.0 ( #19265 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 20:03:07 +00:00
Eric Eastwood
83023ce1e0
Be able to shutdown homeserver that failed to start ( #19232 )
...
For example, a homeserver can fail to `start` if the port is already in
use or the port number is invalid (not 0-65535)
Fix https://github.com/element-hq/synapse/issues/19189
Follow-up to https://github.com/element-hq/synapse/pull/18828
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process) (c.f
[Synapse Pro for small
hosts](https://docs.element.io/latest/element-server-suite-pro/synapse-pro-for-small-hosts/overview/ )),
we're currently diving into the details and implications of running
multiple instances of Synapse in the same Python process.
"Clean tenant deprovisioning" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/50
2025-12-02 11:28:46 -06:00
Eric Eastwood
39316672da
Be able to shutdown homeserver that hasn't setup ( #19187 )
...
For example, a homeserver can fail to `setup` if it fails to connect to
the database.
Fix https://github.com/element-hq/synapse/issues/19188
Follow-up to https://github.com/element-hq/synapse/pull/18828
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process) (c.f
Synapse Pro for small hosts), we're currently diving into the details
and implications of running multiple instances of Synapse in the same
Python process.
"Clean tenant deprovisioning" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/50
2025-12-02 10:58:06 -06:00
Andrew Morgan
f86918e562
Remove the currently broken netlify GHA workflow ( #19262 )
2025-12-02 16:46:08 +00:00
Andrew Morgan
3d28e2213f
Dependabot: allow 10 open PRs for general updates ( #19253 )
2025-12-02 16:45:54 +00:00
Andrew Morgan
0dfc21ca9f
Remove "Updates to locked dependencies" section from changelog ( #19254 )
2025-12-02 16:45:41 +00:00
Andrew Morgan
ffd0b4c079
Add a 14-day cooldown for dependency updates ( #19258 )
2025-12-02 16:45:28 +00:00
Devon Hudson
5fe4b7ed60
1.144.0rc1
2025-12-02 09:21:08 -07:00
Devon Hudson
2862c77837
Remove macos wheels from CI ( #19263 )
...
Follows #19225 and stops building macos wheels in CI.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-02 15:59:27 +00:00
Erik Johnston
022e56cce3
Move security note from README into the docs ( #19259 )
...
This is a) to simplify the README and b) so that we can easily link to
the security page from e.g. the installation guide.
Follows on from https://github.com/element-hq/synapse/pull/19228
2025-12-02 14:25:12 +00:00
Patrick Maier
a8e5c319ab
Simplify README and add ESS Getting started section ( #19228 )
...
- Add reference to ESS for getting started easily with
Synapse/Matrix/Element
- Remove details on standalone installations and link to the docs
- Other updates like copyright
2025-12-02 11:09:18 +00:00
Eric Eastwood
88310fe7ed
Add log to determine whether clients are using /messages as expected ( #19226 )
...
Spawning from wanting some better homeserver logs to debug
https://github.com/element-hq/synapse/issues/19153 . We can check whether
we are returning a `/messages` response with an `end` pagination token
and then check to see whether the client is making another `/messages`
request with that token.
Although clients should also have similar logs and debugging
capabilities to determine this info as well. This just makes it easier
for us when someone creates an issue claiming backend issue and we can
ask them for homeserver logs.
2025-12-01 17:10:22 -06:00
Devon Hudson
08e1b63b30
Fix v12 rooms when using frozen dicts ( #19235 )
...
Fix #19233
Synapse fails to handle events in v12 rooms when the server is run with
the `{use_frozen_dicts: True}` config.
This PR fixes the issue, and adds tests which cover room creation,
joining, and joining over federation, with both frozen and not frozen
config settings, by extending the existing `test_send_join` federation
tests.
This approach to testing was chosen as it is a simple way to get high
level integration style test coverage, without going through all our
existing tests and trying to retroactively add in coverage when using
frozen dicts.
This should provide an easy place for future room versions to extend the
suite of tests and reduce the chance of introducing subtle bugs like
this in the future.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-01 18:26:43 +00:00
dependabot[bot]
afdf9af6b5
Bump types-jsonschema from 4.25.1.20250822 to 4.25.1.20251009 ( #19252 )
...
Bumps
[types-jsonschema](https://github.com/typeshed-internal/stub_uploader )
from 4.25.1.20250822 to 4.25.1.20251009.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/typeshed-internal/stub_uploader/commits ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 17:55:33 +00:00
dependabot[bot]
3cf21bc649
Bump rpds-py from 0.29.0 to 0.30.0 ( #19247 )
2025-12-01 16:55:36 +00:00
dependabot[bot]
e0e7a44fe9
Bump pyopenssl from 25.1.0 to 25.3.0 ( #19248 )
2025-12-01 16:55:16 +00:00
dependabot[bot]
c09298eeaf
Bump pydantic from 2.12.4 to 2.12.5 ( #19250 )
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.12.4 to
2.12.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/releases ">pydantic's
releases</a>.</em></p>
<blockquote>
<h2>v2.12.5 2025-11-26</h2>
<h2>v2.12.5 (2025-11-26)</h2>
<p>This is the fifth 2.12 patch release, addressing an issue with the
<code>MISSING</code> sentinel and providing several documentation
improvements.</p>
<p>The next 2.13 minor release will be published in a couple weeks, and
will include a new <em>polymorphic serialization</em> feature addressing
the remaining unexpected changes to the <em>serialize as any</em>
behavior.</p>
<ul>
<li>Fix pickle error when using <code>model_construct()</code> on a
model with <code>MISSING</code> as a default value by <a
href="https://github.com/ornariece "><code>@ornariece</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12522 ">#12522</a>.</li>
<li>Several updates to the documentation by <a
href="https://github.com/Viicos "><code>@Viicos</code></a>.</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5 ">https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md ">pydantic's
changelog</a>.</em></p>
<blockquote>
<h2>v2.12.5 (2025-11-26)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.12.5 ">GitHub
release</a></p>
<p>This is the fifth 2.12 patch release, addressing an issue with the
<code>MISSING</code> sentinel and providing several documentation
improvements.</p>
<p>The next 2.13 minor release will be published in a couple weeks, and
will include a new <em>polymorphic serialization</em> feature addressing
the remaining unexpected changes to the <em>serialize as any</em>
behavior.</p>
<ul>
<li>Fix pickle error when using <code>model_construct()</code> on a
model with <code>MISSING</code> as a default value by <a
href="https://github.com/ornariece "><code>@ornariece</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12522 ">#12522</a>.</li>
<li>Several updates to the documentation by <a
href="https://github.com/Viicos "><code>@Viicos</code></a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pydantic/pydantic/commit/bd2d0dd0137dfa1a8fdff2529b9dfb1547980150 "><code>bd2d0dd</code></a>
Prepare release v2.12.5</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/7d0302ec7ec2cf115de3450a615522875bdd8b56 "><code>7d0302e</code></a>
Document security implications when using
<code>create_model()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/e9ef980def726b6f59b6c495ddc9dc259a0228db "><code>e9ef980</code></a>
Fix typo in Standard Library Types documentation</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/f2c20c00c265a31a13c48f9bae923a87c829952e "><code>f2c20c0</code></a>
Add <code>pydantic-docs</code> dev dependency, make use of versioning
blocks</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/a76c1aa26f2d64a3fd080ac515d80832689197e8 "><code>a76c1aa</code></a>
Update documentation about JSON Schema</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/8cbc72ca489891e574fba45238ee8bd4f8e719a2 "><code>8cbc72c</code></a>
Add documentation about custom <code>__init__()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/99eba599069da137b3f708ffa74627f2b456ba73 "><code>99eba59</code></a>
Add additional test for <code>FieldInfo.get_default()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/c71076988e507ea93844c77c3bf0bbb85a5716af "><code>c710769</code></a>
Special case <code>MISSING</code> sentinel in
<code>smart_deepcopy()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/20a9d771c210fd77d52366ac923258c4c199727f "><code>20a9d77</code></a>
Do not delete mock validator/serializer in
<code>rebuild_dataclass()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/c86515a3a8f2120148fab2eaedd3bc45925779d0 "><code>c86515a</code></a>
Update parts of the model and <code>revalidate_instances</code>
documentation</li>
<li>See full diff in <a
href="https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 16:45:41 +00:00
dependabot[bot]
38588f9462
Bump Swatinem/rust-cache from 2.8.1 to 2.8.2 ( #19244 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from
2.8.1 to 2.8.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/swatinem/rust-cache/releases ">Swatinem/rust-cache's
releases</a>.</em></p>
<blockquote>
<h2>v2.8.2</h2>
<h2>What's Changed</h2>
<ul>
<li>ci: address lint findings, add zizmor workflow by <a
href="https://github.com/woodruffw "><code>@woodruffw</code></a> in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/262 ">Swatinem/rust-cache#262</a></li>
<li>feat: Implement ability to disable adding job ID + rust environment
hashes to cache names by <a
href="https://github.com/Ryan-Brice "><code>@Ryan-Brice</code></a> in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/279 ">Swatinem/rust-cache#279</a></li>
<li>Don't overwrite env for cargo-metadata call by <a
href="https://github.com/MaeIsBad "><code>@MaeIsBad</code></a> in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/285 ">Swatinem/rust-cache#285</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/woodruffw "><code>@woodruffw</code></a>
made their first contribution in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/262 ">Swatinem/rust-cache#262</a></li>
<li><a
href="https://github.com/Ryan-Brice "><code>@Ryan-Brice</code></a> made
their first contribution in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/279 ">Swatinem/rust-cache#279</a></li>
<li><a href="https://github.com/MaeIsBad "><code>@MaeIsBad</code></a>
made their first contribution in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/285 ">Swatinem/rust-cache#285</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Swatinem/rust-cache/compare/v2.8.1...v2.8.2 ">https://github.com/Swatinem/rust-cache/compare/v2.8.1...v2.8.2 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md ">Swatinem/rust-cache's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>2.8.2</h2>
<ul>
<li>Don't overwrite env for cargo-metadata call</li>
</ul>
<h2>2.8.1</h2>
<ul>
<li>Set empty <code>CARGO_ENCODED_RUSTFLAGS</code> when retrieving
metadata</li>
<li>Various dependency updates</li>
</ul>
<h2>2.8.0</h2>
<ul>
<li>Add support for <code>warpbuild</code> cache provider</li>
<li>Add new <code>cache-workspace-crates</code> feature</li>
</ul>
<h2>2.7.8</h2>
<ul>
<li>Include CPU arch in the cache key</li>
</ul>
<h2>2.7.7</h2>
<ul>
<li>Also cache <code>cargo install</code> metadata</li>
</ul>
<h2>2.7.6</h2>
<ul>
<li>Allow opting out of caching $CARGO_HOME/bin</li>
<li>Add runner OS in cache key</li>
<li>Adds an option to do lookup-only of the cache</li>
</ul>
<h2>2.7.5</h2>
<ul>
<li>Support Cargo.lock format cargo-lock v4</li>
<li>Only run macOsWorkaround() on macOS</li>
</ul>
<h2>2.7.3</h2>
<ul>
<li>Work around upstream problem that causes cache saving to hang for
minutes.</li>
</ul>
<h2>2.7.2</h2>
<ul>
<li>Only key by <code>Cargo.toml</code> and <code>Cargo.lock</code>
files of workspace members.</li>
</ul>
<h2>2.7.1</h2>
<ul>
<li>Update toml parser to fix parsing errors.</li>
</ul>
<h2>2.7.0</h2>
<ul>
<li>Properly cache <code>trybuild</code> tests.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/779680da715d629ac1d338a641029a2f4372abb5 "><code>779680d</code></a>
2.8.2</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/2ea64efb2551baf97fd9611d09c8af70b088ceae "><code>2ea64ef</code></a>
Bump smol-toml from 1.4.2 to 1.5.2 in the prd-minor group (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/287 ">#287</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/8930d9c33e314043c13794316986491e42a060d9 "><code>8930d9c</code></a>
Bump the actions group with 3 updates (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/288 ">#288</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/c071727fc96109277f0135b3f13503db23b6cc1b "><code>c071727</code></a>
Bump <code>@actions/io</code> from 1.1.3 to 2.0.0 in the prd-major
group (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/281 ">#281</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/f2a41b7c112cd43711cfd57f0a59eca88ec14a64 "><code>f2a41b7</code></a>
Bump <code>@types/node</code> from 24.9.0 to 24.10.0 in the dev-minor
group (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/282 ">#282</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/e306f83d219f81032ad45ba2a7b1af20cc228e62 "><code>e306f83</code></a>
Don't overwrite env for cargo-metadata call (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/285 ">#285</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/c9119007a19252f0981aef1785db9b0dd6f373c0 "><code>c911900</code></a>
Merge pull request <a
href="https://redirect.github.com/swatinem/rust-cache/issues/284 ">#284</a>
from Swatinem/dependabot/github_actions/actions-baeb0...</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/3aaed5547eb4ccbf48b9a4d7dd62a50e04f7019d "><code>3aaed55</code></a>
Bump the actions group with 2 updates</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/972b315a8225e8594dddc2b92e6333d1d1d3059c "><code>972b315</code></a>
Merge pull request <a
href="https://redirect.github.com/swatinem/rust-cache/issues/283 ">#283</a>
from Swatinem/dependabot/github_actions/actions-b360d...</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/07caf06f7a4b787ad36bd267269f3c0dfa29744b "><code>07caf06</code></a>
Bump taiki-e/install-action from 2.62.45 to 2.62.49 in the actions
group</li>
<li>Additional commits viewable in <a
href="https://github.com/swatinem/rust-cache/compare/f13886b937689c021905a6b90929199931d60db1...779680da715d629ac1d338a641029a2f4372abb5 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 16:25:31 +00:00
Andre Klärner
c20dd888bd
Document how merging config files works - see #11203 ( #19243 )
...
---------
Signed-off-by: Andre Klärner <kandre@ak-online.be >
Co-authored-by: Olivier 'reivilibre <olivier@librepush.net >
2025-12-01 16:05:07 +00:00
Devon Hudson
d435cfc125
Add mention of future deprecations to release script ( #19239 )
...
Small improvement to the release script to prompt the user to consider
upcoming deprecations that should be mentioned in the changelog.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
---------
Co-authored-by: Olivier 'reivilibre' <oliverw@element.io >
2025-12-01 15:47:36 +00:00
dependabot[bot]
58dd25976c
Bump http from 1.3.1 to 1.4.0 ( #19249 )
...
Bumps [http](https://github.com/hyperium/http ) from 1.3.1 to 1.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/http/releases ">http's
releases</a>.</em></p>
<blockquote>
<h2>v1.4.0</h2>
<h2>Highlights</h2>
<ul>
<li>Add <code>StatusCode::EARLY_HINTS</code> constant for 103 Early
Hints.</li>
<li>Make <code>StatusCode::from_u16</code> now a <code>const
fn</code>.</li>
<li>Make <code>Authority::from_static</code> now a <code>const
fn</code>.</li>
<li>Make <code>PathAndQuery::from_static</code> now a <code>const
fn</code>.</li>
<li>MSRV increased to 1.57 (allows legible const fn panic
messages).</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Updated Rand dependency to v0.9.1 by <a
href="https://github.com/FarzadMohtasham "><code>@FarzadMohtasham</code></a>
in <a
href="https://redirect.github.com/hyperium/http/pull/763 ">hyperium/http#763</a></li>
<li>Fix compilation on latest nightly by <a
href="https://github.com/akonradi-signal "><code>@akonradi-signal</code></a>
in <a
href="https://redirect.github.com/hyperium/http/pull/769 ">hyperium/http#769</a></li>
<li>Avoid unnecessary .expect()s for empty HeaderMap by <a
href="https://github.com/akonradi-signal "><code>@akonradi-signal</code></a>
in <a
href="https://redirect.github.com/hyperium/http/pull/768 ">hyperium/http#768</a></li>
<li>feat: show types in <code>Extensions</code> debug output by <a
href="https://github.com/crepererum "><code>@crepererum</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/773 ">hyperium/http#773</a></li>
<li>Docs: Clarify the <code>HeaderMap</code> documentaion by <a
href="https://github.com/Sol-Ell "><code>@Sol-Ell</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/774 ">hyperium/http#774</a></li>
<li>style: update format for tests by <a
href="https://github.com/seanmonstar "><code>@seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/782 ">hyperium/http#782</a></li>
<li>Make <code>StatusCode::from_u16</code> const by <a
href="https://github.com/coolreader18 "><code>@coolreader18</code></a>
in <a
href="https://redirect.github.com/hyperium/http/pull/761 ">hyperium/http#761</a></li>
<li>docs: Fix typo 'an' to 'and' in http::status module documentation by
<a href="https://github.com/zxzxovo "><code>@zxzxovo</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/784 ">hyperium/http#784</a></li>
<li>fix: Prevent panic in try_reserve/try_with_capacity on capacity
overflow by <a
href="https://github.com/AriajSarkar "><code>@AriajSarkar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/787 ">hyperium/http#787</a></li>
<li>fix: Add reserve() to Extend impl for (Option<!-- raw HTML omitted
-->, T)) by <a
href="https://github.com/AriajSarkar "><code>@AriajSarkar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/788 ">hyperium/http#788</a></li>
<li>chore: minor improvement for docs by <a
href="https://github.com/claudecodering "><code>@claudecodering</code></a>
in <a
href="https://redirect.github.com/hyperium/http/pull/790 ">hyperium/http#790</a></li>
<li>chore: bump MSRV to 1.57 by <a
href="https://github.com/seanmonstar "><code>@seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/793 ">hyperium/http#793</a></li>
<li>Add EARLY_HINTS status code by <a
href="https://github.com/mdevino "><code>@mdevino</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/758 ">hyperium/http#758</a></li>
<li>refactor(header): use better panic message in const HeaderName and
HeaderValue by <a
href="https://github.com/seanmonstar "><code>@seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/797 ">hyperium/http#797</a></li>
<li>docs: remove unnecessary extern crate sentence by <a
href="https://github.com/tottoto "><code>@tottoto</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/799 ">hyperium/http#799</a></li>
<li>chore(ci): update to actions/checkout@v5 by <a
href="https://github.com/tottoto "><code>@tottoto</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/800 ">hyperium/http#800</a></li>
<li>feat(uri): make <code>Authority/PathAndQuery::from_static</code>
const by <a
href="https://github.com/WaterWhisperer "><code>@WaterWhisperer</code></a>
in <a
href="https://redirect.github.com/hyperium/http/pull/786 ">hyperium/http#786</a></li>
<li>refactor(header): inline FNV hasher to reduce dependencies by <a
href="https://github.com/seanmonstar "><code>@seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/796 ">hyperium/http#796</a></li>
<li>v1.4.0 by <a
href="https://github.com/seanmonstar "><code>@seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/803 ">hyperium/http#803</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/FarzadMohtasham "><code>@FarzadMohtasham</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/763 ">hyperium/http#763</a></li>
<li><a
href="https://github.com/akonradi-signal "><code>@akonradi-signal</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/769 ">hyperium/http#769</a></li>
<li><a
href="https://github.com/crepererum "><code>@crepererum</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/773 ">hyperium/http#773</a></li>
<li><a href="https://github.com/Sol-Ell "><code>@Sol-Ell</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/774 ">hyperium/http#774</a></li>
<li><a
href="https://github.com/coolreader18 "><code>@coolreader18</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/761 ">hyperium/http#761</a></li>
<li><a href="https://github.com/zxzxovo "><code>@zxzxovo</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/784 ">hyperium/http#784</a></li>
<li><a
href="https://github.com/AriajSarkar "><code>@AriajSarkar</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/787 ">hyperium/http#787</a></li>
<li><a
href="https://github.com/claudecodering "><code>@claudecodering</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/790 ">hyperium/http#790</a></li>
<li><a href="https://github.com/mdevino "><code>@mdevino</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/758 ">hyperium/http#758</a></li>
<li><a
href="https://github.com/WaterWhisperer "><code>@WaterWhisperer</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/786 ">hyperium/http#786</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/hyperium/http/compare/v1.3.1...v1.4.0 ">https://github.com/hyperium/http/compare/v1.3.1...v1.4.0 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/http/blob/master/CHANGELOG.md ">http's
changelog</a>.</em></p>
<blockquote>
<h1>1.4.0 (November 24, 2025)</h1>
<ul>
<li>Add <code>StatusCode::EARLY_HINTS</code> constant for 103 Early
Hints.</li>
<li>Make <code>StatusCode::from_u16</code> now a <code>const
fn</code>.</li>
<li>Make <code>Authority::from_static</code> now a <code>const
fn</code>.</li>
<li>Make <code>PathAndQuery::from_static</code> now a <code>const
fn</code>.</li>
<li>MSRV increased to 1.57 (allows legible const fn panic
messages).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hyperium/http/commit/b9625d83b524f7a8306883484f29a746eefc1bab "><code>b9625d8</code></a>
v1.4.0</li>
<li><a
href="https://github.com/hyperium/http/commit/50b009c367dd9735f98bc3e4f5dd19acc629dfc5 "><code>50b009c</code></a>
refactor(header): inline FNV hasher to reduce dependencies (<a
href="https://redirect.github.com/hyperium/http/issues/796 ">#796</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/b370d361c12350f170f3502f1338c5c2fc27350f "><code>b370d36</code></a>
feat(uri): make <code>Authority/PathAndQuery::from_static</code> const
(<a
href="https://redirect.github.com/hyperium/http/issues/786 ">#786</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/0d7425146ea71b7ecb6bf9aa0be86c552ef481ce "><code>0d74251</code></a>
chore(ci): update to actions/checkout@v5 (<a
href="https://redirect.github.com/hyperium/http/issues/800 ">#800</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/a7607679dcbe08339a2612ef6a1a6c5152726316 "><code>a760767</code></a>
docs: remove unnecessary extern crate sentence (<a
href="https://redirect.github.com/hyperium/http/issues/799 ">#799</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/fb1d4572eea2c6b47acc05f1bba0620ba22c9c67 "><code>fb1d457</code></a>
refactor(header): use better panic message in const HeaderName and
HeaderValu...</li>
<li><a
href="https://github.com/hyperium/http/commit/20dbd6e54e95bb22386db3ca543c309100933087 "><code>20dbd6e</code></a>
feat(status): Add 103 EARLY_HINTS status code (<a
href="https://redirect.github.com/hyperium/http/issues/758 ">#758</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/e7a73372f56f803235f363de6c8fd43c9503b237 "><code>e7a7337</code></a>
chore: bump MSRV to 1.57</li>
<li><a
href="https://github.com/hyperium/http/commit/1888e28c544f8209f73c99b038dc0f645db34378 "><code>1888e28</code></a>
tests: downgrade rand back to 0.8 for now</li>
<li><a
href="https://github.com/hyperium/http/commit/918bbc3c24535458cd2d5235f36f19b5ea229f0b "><code>918bbc3</code></a>
chore: minor improvement for docs (<a
href="https://redirect.github.com/hyperium/http/issues/790 ">#790</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/hyperium/http/compare/v1.3.1...v1.4.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 15:41:40 +00:00
dependabot[bot]
bf6163c8bf
Bump docker/metadata-action from 5.9.0 to 5.10.0 ( #19246 )
...
Bumps
[docker/metadata-action](https://github.com/docker/metadata-action ) from
5.9.0 to 5.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/metadata-action/releases ">docker/metadata-action's
releases</a>.</em></p>
<blockquote>
<h2>v5.10.0</h2>
<ul>
<li>Bump <code>@docker/actions-toolkit</code> from 0.66.0 to 0.68.0 in
<a
href="https://redirect.github.com/docker/metadata-action/pull/559 ">docker/metadata-action#559</a>
<a
href="https://redirect.github.com/docker/metadata-action/pull/569 ">docker/metadata-action#569</a></li>
<li>Bump js-yaml from 3.14.1 to 3.14.2 in <a
href="https://redirect.github.com/docker/metadata-action/pull/564 ">docker/metadata-action#564</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/metadata-action/compare/v5.9.0...v5.10.0 ">https://github.com/docker/metadata-action/compare/v5.9.0...v5.10.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/docker/metadata-action/commit/c299e40c65443455700f0fdfc63efafe5b349051 "><code>c299e40</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/569 ">#569</a>
from docker/dependabot/npm_and_yarn/docker/actions-to...</li>
<li><a
href="https://github.com/docker/metadata-action/commit/f015d7914a06d5c4931affc0780479c2336fd8e3 "><code>f015d79</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/metadata-action/commit/121bcc2ca8f5f246e9af338aeb41e55825fe7c88 "><code>121bcc2</code></a>
chore(deps): Bump <code>@docker/actions-toolkit</code> from 0.67.0 to
0.68.0</li>
<li><a
href="https://github.com/docker/metadata-action/commit/f7b6bf41b94feca9834c527e3bd584efa2e7280b "><code>f7b6bf4</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/564 ">#564</a>
from docker/dependabot/npm_and_yarn/js-yaml-3.14.2</li>
<li><a
href="https://github.com/docker/metadata-action/commit/0b95c6b8604d853d90ab386caf3a1e754d9697f7 "><code>0b95c6b</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/565 ">#565</a>
from docker/dependabot/github_actions/actions/checkout-6</li>
<li><a
href="https://github.com/docker/metadata-action/commit/17f70d7525d8de2c783e41c092e28219c8fc2a67 "><code>17f70d7</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/568 ">#568</a>
from motoki317/docs/fix-to-24h-schedule-pattern</li>
<li><a
href="https://github.com/docker/metadata-action/commit/afd7e6d7bbf70ea7bc2e4f3c782fe1feabe42d88 "><code>afd7e6d</code></a>
docs(README): Fix date format from 12h to 24h in schedule pattern</li>
<li><a
href="https://github.com/docker/metadata-action/commit/602aff8e11accbaf5f2233069201ffe332de3d5e "><code>602aff8</code></a>
chore(deps): Bump actions/checkout from 5 to 6</li>
<li><a
href="https://github.com/docker/metadata-action/commit/aecb1a49a52523dc3b4dcab352cae7572eb61c87 "><code>aecb1a4</code></a>
chore(deps): Bump js-yaml from 3.14.1 to 3.14.2</li>
<li><a
href="https://github.com/docker/metadata-action/commit/8d8c7c12f7b958582a5cb82ba16d5903cb27976a "><code>8d8c7c1</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/559 ">#559</a>
from docker/dependabot/npm_and_yarn/docker/actions-to...</li>
<li>Additional commits viewable in <a
href="https://github.com/docker/metadata-action/compare/318604b99e75e41977312d83839a89be02ca4893...c299e40c65443455700f0fdfc63efafe5b349051 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 15:38:50 +00:00
dependabot[bot]
b4ee0bf71e
Bump actions/setup-python from 6.0.0 to 6.1.0 ( #19245 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python )
from 6.0.0 to 6.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-python/releases ">actions/setup-python's
releases</a>.</em></p>
<blockquote>
<h2>v6.1.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements:</h3>
<ul>
<li>Add support for <code>pip-install</code> input by <a
href="https://github.com/gowridurgad "><code>@gowridurgad</code></a> in
<a
href="https://redirect.github.com/actions/setup-python/pull/1201 ">actions/setup-python#1201</a></li>
<li>Add graalpy early-access and windows builds by <a
href="https://github.com/timfel "><code>@timfel</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/880 ">actions/setup-python#880</a></li>
</ul>
<h3>Dependency and Documentation updates:</h3>
<ul>
<li>Enhanced wording and updated example usage for
<code>allow-prereleases</code> by <a
href="https://github.com/yarikoptic "><code>@yarikoptic</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/979 ">actions/setup-python#979</a></li>
<li>Upgrade urllib3 from 1.26.19 to 2.5.0 and document breaking changes
in v6 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1139 ">actions/setup-python#1139</a></li>
<li>Upgrade typescript from 5.4.2 to 5.9.3 and Documentation update by
<a href="https://github.com/dependabot "><code>@dependabot</code></a> in
<a
href="https://redirect.github.com/actions/setup-python/pull/1094 ">actions/setup-python#1094</a></li>
<li>Upgrade actions/publish-action from 0.3.0 to 0.4.0 &
Documentation update for pip-install input by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1199 ">actions/setup-python#1199</a></li>
<li>Upgrade requests from 2.32.2 to 2.32.4 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1130 ">actions/setup-python#1130</a></li>
<li>Upgrade prettier from 3.5.3 to 3.6.2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1234 ">actions/setup-python#1234</a></li>
<li>Upgrade <code>@types/node</code> from 24.1.0 to 24.9.1 and update
macos-13 to macos-15-intel by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1235 ">actions/setup-python#1235</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/yarikoptic "><code>@yarikoptic</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/979 ">actions/setup-python#979</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v6...v6.1.0 ">https://github.com/actions/setup-python/compare/v6...v6.1.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/83679a892e2d95755f2dac6acb0bfd1e9ac5d548 "><code>83679a8</code></a>
Bump <code>@types/node</code> from 24.1.0 to 24.9.1 and update macos-13
to macos-15-intel ...</li>
<li><a
href="https://github.com/actions/setup-python/commit/bfc4944b43a5d84377eca3cf6ab5b7992ba61923 "><code>bfc4944</code></a>
Bump prettier from 3.5.3 to 3.6.2 (<a
href="https://redirect.github.com/actions/setup-python/issues/1234 ">#1234</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/97aeb3efb8a852c559869050c7fb175b4efcc8cf "><code>97aeb3e</code></a>
Bump requests from 2.32.2 to 2.32.4 in /<strong>tests</strong>/data (<a
href="https://redirect.github.com/actions/setup-python/issues/1130 ">#1130</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/443da59188462e2402e2942686db5aa6723f4bed "><code>443da59</code></a>
Bump actions/publish-action from 0.3.0 to 0.4.0 & Documentation
update for pi...</li>
<li><a
href="https://github.com/actions/setup-python/commit/cfd55ca82492758d853442341ad4d8010466803a "><code>cfd55ca</code></a>
graalpy: add graalpy early-access and windows builds (<a
href="https://redirect.github.com/actions/setup-python/issues/880 ">#880</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/bba65e51ff35d50c6dbaaacd8a4681db13aa7cb4 "><code>bba65e5</code></a>
Bump typescript from 5.4.2 to 5.9.3 and update docs/advanced-usage.md
(<a
href="https://redirect.github.com/actions/setup-python/issues/1094 ">#1094</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/18566f86b301499665bd3eb1a2247e0849c64fa5 "><code>18566f8</code></a>
Improve wording and "fix example" (remove 3.13) on testing
against pre-releas...</li>
<li><a
href="https://github.com/actions/setup-python/commit/2e3e4b15a884dc73a63f962bff250a855150a234 "><code>2e3e4b1</code></a>
Add support for pip-install input (<a
href="https://redirect.github.com/actions/setup-python/issues/1201 ">#1201</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/4267e283df95c05d9f16ece6624106f44613b489 "><code>4267e28</code></a>
Bump urllib3 from 1.26.19 to 2.5.0 in /<strong>tests</strong>/data and
document breaking c...</li>
<li>See full diff in <a
href="https://github.com/actions/setup-python/compare/e797f83bcb11b83ae66e0230d6156d7c80228e7c...83679a892e2d95755f2dac6acb0bfd1e9ac5d548 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 15:38:19 +00:00
Devon Hudson
119f02e3b3
Return 400 when canonical_alias content invalid ( #19240 )
...
Fixes #19198
Returns HTTP 400 when `alias` or `alt_alias` inside of
`m.room.canonical_alias` `content` are not of type string.
Previously this resulted in HTTP 500 errors as Synapse assumed they were
strings and would raise an exception when it tried to treat them as such
if they actually weren't.
With the changes implemented:
<img width="800" height="616" alt="Screenshot from 2025-11-28 16-48-06"
src="https://github.com/user-attachments/assets/1333a4b3-7b4f-435f-bbff-f48870bc4d96 "
/>
<img width="800" height="316" alt="Screenshot from 2025-11-28 16-47-42"
src="https://github.com/user-attachments/assets/5928abf8-88a2-4bd9-9420-9a1f743f66f5 "
/>
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-12-01 15:24:26 +00:00
Erik Johnston
1bddd25a85
Port Clock functions to use Duration class ( #19229 )
...
This changes the arguments in clock functions to be `Duration` and
converts call sites and constants into `Duration`. There are still some
more functions around that should be converted (e.g.
`timeout_deferred`), but we leave that to another PR.
We also changes `.as_secs()` to return a float, as the rounding broke
things subtly. The only reason to keep it (its the same as
`timedelta.total_seconds()`) is for symmetry with `as_millis()`.
Follows on from https://github.com/element-hq/synapse/pull/19223
2025-12-01 13:55:06 +00:00
Erik Johnston
d143276bda
Fix rust source check when using .egg-info ( #19251 )
...
We have checks to try and catch the case where Synapse is being run from
a source directory, but the compiled Rust code is out-of-date. This
commonly happens when Synapse is updated without running `poetry
install` (or equivalent).
These checks did not correctly handle `.egg-info` installs, and so were
not run.
Currently, the `.egg-info` directory is created automatically by poetry
(due to using setuptools to build Rust).
2025-12-01 13:34:21 +00:00
Andrew Morgan
034c5e625c
Move call invite filtering logic to filter_events_for_client ( #17782 )
2025-11-28 17:41:56 +00:00
Andrew Morgan
778897a4e9
Add a unit test that ensures that deleting a device purges the associated refresh token ( #19230 )
2025-11-28 17:01:15 +00:00
Erik Johnston
78ec3043d6
Use sqlglot to properly check SQL delta files ( #19224 )
...
Rather than using dodgy regexes which keep breaking.
Also fixes a regression where it looks like we didn't fail CI if the
delta was in the wrong place.
2025-11-28 15:49:15 +00:00
Andrew Morgan
566670c363
Move RestartDelayedEventServlet to workers ( #19207 )
2025-11-27 16:44:17 +00:00
Andrew Morgan
52089f1f79
Prevent lint-newsfile job activating when fixing dependabot PR branches ( #19220 )
2025-11-27 16:15:06 +00:00
Andrew Morgan
703464c1f7
Fix case where get_partial_current_state_deltas could return >100 rows ( #18960 )
2025-11-26 17:17:04 +00:00
Richard van der Hoff
c928347779
Implement MSC4380: Invite blocking ( #19203 )
...
MSC4380 aims to be a simplified implementation of MSC4155; the hope is
that we can get it specced and rolled out rapidly, so that we can
resolve the fact that `matrix.org` has enabled MSC4155.
The implementation leans heavily on what's already there for MSC4155.
It has its own `experimental_features` flag. If both MSC4155 and MSC4380
are enabled, and a user has both configurations set, then we prioritise
the MSC4380 one.
Contributed wearing my 🎩 Spec Core Team hat.
2025-11-26 16:12:14 +00:00
Erik Johnston
b74c29f694
Move towards a dedicated Duration class ( #19223 )
...
We have various constants to try and avoid mistyping of durations, e.g.
`ONE_HOUR_SECONDS * MILLISECONDS_PER_SECOND`, however this can get a
little verbose and doesn't help with typing.
Instead, let's move towards a dedicated `Duration` class (basically a
[`timedelta`](https://docs.python.org/3/library/datetime.html#timedelta-objects )
with helper methods).
This PR introduces the new types and converts all usages of the existing
constants with it. Future PRs may work to move the clock methods to also
use it (e.g. `call_later` and `looping_call`).
Reviewable commit-by-commit.
2025-11-26 10:56:59 +00:00
Andrew Morgan
2741ead569
Stop building wheels for MacOS ( #19225 )
2025-11-26 10:32:39 +00:00
Andrew Morgan
ba65d8c351
Put MSC2666 endpoint behind an experimental flag ( #19219 )
2025-11-25 18:03:33 +00:00
Devon Hudson
ae98771fea
Merge branch 'master' into develop
2025-11-25 09:58:11 -07:00
Devon Hudson
87d6e27057
Capitalize Synapse in changelog
2025-11-25 08:48:42 -07:00
Devon Hudson
2eb76b4741
1.143.0
2025-11-25 08:48:04 -07:00
Andrew Morgan
b7e592a88c
Allow ruff to auto-fix trailing spaces in multi-line comments ( #19221 )
2025-11-25 14:09:48 +00:00
Erik Johnston
db975ea10d
Expire sliding sync connections ( #19211 )
...
We add some logic to expire sliding sync connections if they get old or
if there is too much pending data to return.
The values of the constants are picked fairly arbitrarily, these are
currently:
1. More than 100 rooms with pending events if the connection hasn't been
used in over an hour
2. The connection hasn't been used for over a week
Reviewable commit-by-commit
---------
Co-authored-by: Eric Eastwood <erice@element.io >
2025-11-25 10:20:47 +00:00
dependabot[bot]
8b79583643
Bump sentry-sdk from 2.44.0 to 2.46.0 ( #19218 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from
2.44.0 to 2.46.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/releases ">sentry-sdk's
releases</a>.</em></p>
<blockquote>
<h2>2.46.0</h2>
<h3>Various fixes & improvements</h3>
<ul>
<li>Preserve metadata on wrapped coroutines (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5105 ">#5105</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
<li>Make imports defensive to avoid <code>ModuleNotFoundError</code> in
Pydantic AI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5135 ">#5135</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
<li>Fix OpenAI agents integration mistakenly enabling itself (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5132 ">#5132</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></li>
<li>Add instrumentation to embedding functions for various backends (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5120 ">#5120</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></li>
<li>Improve embeddings support for OpenAI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5121 ">#5121</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></li>
<li>Enhance input handling for embeddings in LiteLLM integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5127 ">#5127</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></li>
<li>Expect exceptions when re-raised (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5125 ">#5125</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
<li>Remove <code>MagicMock</code> from mocked <code>ModelResponse</code>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5126 ">#5126</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
</ul>
<h2>2.45.0</h2>
<h3>Various fixes & improvements</h3>
<ul>
<li>
<p>OTLPIntegration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4877 ">#4877</a>)
by <a
href="https://github.com/sl0thentr0py "><code>@sl0thentr0py</code></a></p>
<p>Enable the new OTLP integration with the code snippet below, and your
OpenTelemetry instrumentation will be automatically sent to Sentry's
OTLP ingestion endpoint.</p>
<pre lang="python"><code> import sentry_sdk
from sentry_sdk.integrations.otlp import OTLPIntegration
<p>sentry_sdk.init(<br />
dsn="<your-dsn>",<br />
# Add data like inputs and responses;<br />
# see <a
href="https://docs.sentry.io/platforms/python/data-management/data-collected/ ">https://docs.sentry.io/platforms/python/data-management/data-collected/ </a>
for more info<br />
send_default_pii=True,<br />
integrations=[<br />
OTLPIntegration(),<br />
],<br />
)<br />
</code></pre></p>
<p>Under the hood, this will setup:</p>
<ul>
<li>A <code>SpanExporter</code> that will automatically set up the OTLP
ingestion endpoint from your DSN</li>
<li>A <code>Propagator</code> that ensures Distributed Tracing
works</li>
<li>Trace/Span linking for all other Sentry events such as Errors, Logs,
Crons and Metrics</li>
</ul>
<p>If you were using the <code>SentrySpanProcessor</code> before, we
recommend migrating over to <code>OTLPIntegration</code> since it's a
much simpler setup.</p>
</li>
<li>
<p>feat(integrations): implement context management for invoke_agent
spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5089 ">#5089</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
</li>
<li>
<p>feat(loguru): Capture extra (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5096 ">#5096</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></p>
</li>
<li>
<p>feat: Attach <code>server.address</code> to metrics (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5113 ">#5113</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
<li>
<p>fix: Cast message and detail attributes before appending exception
notes (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5114 ">#5114</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
<li>
<p>fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for
GEN_AI spans under an invoke_agent span (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5030 ">#5030</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
</li>
<li>
<p>fix(logs): Update <code>sentry.origin</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5112 ">#5112</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></p>
</li>
<li>
<p>chore: Deprecate description truncation option for Redis spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5073 ">#5073</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
<li>
<p>chore: Deprecate <code>max_spans</code> LangChain parameter (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5074 ">#5074</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
<li>
<p>chore(toxgen): Check availability of pip and add detail to exceptions
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5076 ">#5076</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md ">sentry-sdk's
changelog</a>.</em></p>
<blockquote>
<h2>2.46.0</h2>
<h3>Various fixes & improvements</h3>
<ul>
<li>Preserve metadata on wrapped coroutines (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5105 ">#5105</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
<li>Make imports defensive to avoid <code>ModuleNotFoundError</code> in
Pydantic AI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5135 ">#5135</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
<li>Fix OpenAI agents integration mistakenly enabling itself (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5132 ">#5132</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></li>
<li>Add instrumentation to embedding functions for various backends (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5120 ">#5120</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></li>
<li>Improve embeddings support for OpenAI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5121 ">#5121</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></li>
<li>Enhance input handling for embeddings in LiteLLM integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5127 ">#5127</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></li>
<li>Expect exceptions when re-raised (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5125 ">#5125</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
<li>Remove <code>MagicMock</code> from mocked <code>ModelResponse</code>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5126 ">#5126</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></li>
</ul>
<h2>2.45.0</h2>
<h3>Various fixes & improvements</h3>
<ul>
<li>
<p>OTLPIntegration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4877 ">#4877</a>)
by <a
href="https://github.com/sl0thentr0py "><code>@sl0thentr0py</code></a></p>
<p>Enable the new OTLP integration with the code snippet below, and your
OpenTelemetry instrumentation will be automatically sent to Sentry's
OTLP ingestion endpoint.</p>
<pre lang="python"><code> import sentry_sdk
from sentry_sdk.integrations.otlp import OTLPIntegration
<p>sentry_sdk.init(<br />
dsn="<your-dsn>",<br />
# Add data like inputs and responses;<br />
# see <a
href="https://docs.sentry.io/platforms/python/data-management/data-collected/ ">https://docs.sentry.io/platforms/python/data-management/data-collected/ </a>
for more info<br />
send_default_pii=True,<br />
integrations=[<br />
OTLPIntegration(),<br />
],<br />
)<br />
</code></pre></p>
<p>Under the hood, this will setup:</p>
<ul>
<li>A <code>SpanExporter</code> that will automatically set up the OTLP
ingestion endpoint from your DSN</li>
<li>A <code>Propagator</code> that ensures Distributed Tracing
works</li>
<li>Trace/Span linking for all other Sentry events such as Errors, Logs,
Crons and Metrics</li>
</ul>
<p>If you were using the <code>SentrySpanProcessor</code> before, we
recommend migrating over to <code>OTLPIntegration</code> since it's a
much simpler setup.</p>
</li>
<li>
<p>feat(integrations): implement context management for invoke_agent
spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5089 ">#5089</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
</li>
<li>
<p>feat(loguru): Capture extra (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5096 ">#5096</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></p>
</li>
<li>
<p>feat: Attach <code>server.address</code> to metrics (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5113 ">#5113</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
<li>
<p>fix: Cast message and detail attributes before appending exception
notes (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5114 ">#5114</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
<li>
<p>fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for
GEN_AI spans under an invoke_agent span (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5030 ">#5030</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
</li>
<li>
<p>fix(logs): Update <code>sentry.origin</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5112 ">#5112</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></p>
</li>
<li>
<p>chore: Deprecate description truncation option for Redis spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5073 ">#5073</a>)
by <a
href="https://github.com/alexander-alderman-webb "><code>@alexander-alderman-webb</code></a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-python/commit/d3375bc37b08f0bb203689d77ea81fea6511eda4 "><code>d3375bc</code></a>
Update CHANGELOG.md</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/23abfe299675a32dc7354e72aee8890918659479 "><code>23abfe2</code></a>
release: 2.46.0</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/ca19d6300f53178e77e77ded477a91338ad9be09 "><code>ca19d63</code></a>
feat: Preserve metadata on wrapped coroutines (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5105 ">#5105</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/cf165e332b765b5ce657e09388fae454c1e63e54 "><code>cf165e3</code></a>
build(deps): bump actions/checkout from 5.0.0 to 6.0.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5136 ">#5136</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/b8d6a57d7861eb2420fc591083f70c2d0f477379 "><code>b8d6a57</code></a>
build(deps): bump actions/create-github-app-token from 2.1.4 to 2.2.0
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5137 ">#5137</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/c0c28b842d2ef3eb2e876bb40594ce8130b3bacd "><code>c0c28b8</code></a>
build(deps): bump supercharge/redis-github-action from 1.8.0 to 1.8.1
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5138 ">#5138</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/fb18c2164e054dfcf11c86b392c45a19a0630112 "><code>fb18c21</code></a>
fix(pydantic-ai): Make imports defensive to avoid
<code>ModuleNotFoundError</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5135 ">#5135</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/f945e382eeef31ad68738a0b6aef80119484ffbc "><code>f945e38</code></a>
Fix openai-agents import (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5132 ">#5132</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/8596f894907c488925eb3e1b9eb07c3219eef65c "><code>8596f89</code></a>
fix(integrations): enhance input handling for embeddings in LiteLLM
integrati...</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/0e6e80888296e2c907b399b375639ec7f662a2f6 "><code>0e6e808</code></a>
test(openai-agents): Remove <code>MagicMock</code> from mocked
<code>ModelResponse</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5126 ">#5126</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.44.0...2.46.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 18:04:07 +00:00
dependabot[bot]
9fb2b1731b
Bump actions/checkout from 5.0.0 to 6.0.0 ( #19213 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5.0.0
to 6.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases ">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update README to include Node.js 24 support details and requirements
by <a href="https://github.com/salmanmkc "><code>@salmanmkc</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2248 ">actions/checkout#2248</a></li>
<li>Persist creds to a separate file by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2286 ">actions/checkout#2286</a></li>
<li>v6-beta by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2298 ">actions/checkout#2298</a></li>
<li>update readme/changelog for v6 by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2311 ">actions/checkout#2311</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v5.0.0...v6.0.0 ">https://github.com/actions/checkout/compare/v5.0.0...v6.0.0 </a></p>
<h2>v6-beta</h2>
<h2>What's Changed</h2>
<p>Updated persist-credentials to store the credentials under
<code>$RUNNER_TEMP</code> instead of directly in the local git
config.</p>
<p>This requires a minimum Actions Runner version of <a
href="https://github.com/actions/runner/releases/tag/v2.329.0 ">v2.329.0</a>
to access the persisted credentials for <a
href="https://docs.github.com/en/actions/tutorials/use-containerized-services/create-a-docker-container-action ">Docker
container action</a> scenarios.</p>
<h2>v5.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Port v6 cleanup to v5 by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2301 ">actions/checkout#2301</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v5...v5.0.1 ">https://github.com/actions/checkout/compare/v5...v5.0.1 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md ">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>V6.0.0</h2>
<ul>
<li>Persist creds to a separate file by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2286 ">actions/checkout#2286</a></li>
<li>Update README to include Node.js 24 support details and requirements
by <a href="https://github.com/salmanmkc "><code>@salmanmkc</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2248 ">actions/checkout#2248</a></li>
</ul>
<h2>V5.0.1</h2>
<ul>
<li>Port v6 cleanup to v5 by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2301 ">actions/checkout#2301</a></li>
</ul>
<h2>V5.0.0</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc "><code>@salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226 ">actions/checkout#2226</a></li>
</ul>
<h2>V4.3.1</h2>
<ul>
<li>Port v6 cleanup to v4 by <a
href="https://github.com/ericsciple "><code>@ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2305 ">actions/checkout#2305</a></li>
</ul>
<h2>V4.3.0</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss "><code>@motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971 ">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail "><code>@mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977 ">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells "><code>@benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043 ">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross "><code>@joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044 ">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89 "><code>@nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194 ">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang "><code>@TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224 ">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc "><code>@salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236 ">actions/checkout#2236</a></li>
</ul>
<h2>v4.2.2</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3 "><code>@jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941 ">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3 "><code>@jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946 ">actions/checkout#1946</a></li>
</ul>
<h2>v4.2.1</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy "><code>@orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924 ">actions/checkout#1924</a></li>
</ul>
<h2>v4.2.0</h2>
<ul>
<li>Add Ref and Commit outputs by <a
href="https://github.com/lucacome "><code>@lucacome</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1180 ">actions/checkout#1180</a></li>
<li>Dependency updates by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>- <a
href="https://redirect.github.com/actions/checkout/pull/1777 ">actions/checkout#1777</a>,
<a
href="https://redirect.github.com/actions/checkout/pull/1872 ">actions/checkout#1872</a></li>
</ul>
<h2>v4.1.7</h2>
<ul>
<li>Bump the minor-npm-dependencies group across 1 directory with 4
updates by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1739 ">actions/checkout#1739</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1697 ">actions/checkout#1697</a></li>
<li>Check out other refs/* by commit by <a
href="https://github.com/orhantoy "><code>@orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1774 ">actions/checkout#1774</a></li>
<li>Pin actions/checkout's own workflows to a known, good, stable
version. by <a href="https://github.com/jww3 "><code>@jww3</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1776 ">actions/checkout#1776</a></li>
</ul>
<h2>v4.1.6</h2>
<ul>
<li>Check platform to set archive extension appropriately by <a
href="https://github.com/cory-miller "><code>@cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1732 ">actions/checkout#1732</a></li>
</ul>
<h2>v4.1.5</h2>
<ul>
<li>Update NPM dependencies by <a
href="https://github.com/cory-miller "><code>@cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1703 ">actions/checkout#1703</a></li>
<li>Bump github/codeql-action from 2 to 3 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1694 ">actions/checkout#1694</a></li>
<li>Bump actions/setup-node from 1 to 4 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1696 ">actions/checkout#1696</a></li>
<li>Bump actions/upload-artifact from 2 to 4 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1695 ">actions/checkout#1695</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/checkout/commit/1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 "><code>1af3b93</code></a>
update readme/changelog for v6 (<a
href="https://redirect.github.com/actions/checkout/issues/2311 ">#2311</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/71cf2267d89c5cb81562390fa70a37fa40b1305e "><code>71cf226</code></a>
v6-beta (<a
href="https://redirect.github.com/actions/checkout/issues/2298 ">#2298</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/069c6959146423d11cd0184e6accf28f9d45f06e "><code>069c695</code></a>
Persist creds to a separate file (<a
href="https://redirect.github.com/actions/checkout/issues/2286 ">#2286</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 "><code>ff7abcd</code></a>
Update README to include Node.js 24 support details and requirements (<a
href="https://redirect.github.com/actions/checkout/issues/2248 ">#2248</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/checkout/compare/08c6903cd8c0fde910a37f88322edcfb5dd907a8...1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 16:37:55 +00:00
dependabot[bot]
f3975ce247
Bump actions/setup-go from 6.0.0 to 6.1.0 ( #19214 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.0.0
to 6.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-go/releases ">actions/setup-go's
releases</a>.</em></p>
<blockquote>
<h2>v6.1.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements</h3>
<ul>
<li>Fall back to downloading from go.dev/dl instead of
storage.googleapis.com/golang by <a
href="https://github.com/nicholasngai "><code>@nicholasngai</code></a>
in <a
href="https://redirect.github.com/actions/setup-go/pull/665 ">actions/setup-go#665</a></li>
<li>Add support for .tool-versions file and update workflow by <a
href="https://github.com/priya-kinthali "><code>@priya-kinthali</code></a>
in <a
href="https://redirect.github.com/actions/setup-go/pull/673 ">actions/setup-go#673</a></li>
<li>Add comprehensive breaking changes documentation for v6 by <a
href="https://github.com/mahabaleshwars "><code>@mahabaleshwars</code></a>
in <a
href="https://redirect.github.com/actions/setup-go/pull/674 ">actions/setup-go#674</a></li>
</ul>
<h3>Dependency updates</h3>
<ul>
<li>Upgrade eslint-config-prettier from 10.0.1 to 10.1.8 and document
breaking changes in v6 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-go/pull/617 ">actions/setup-go#617</a></li>
<li>Upgrade actions/publish-action from 0.3.0 to 0.4.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-go/pull/641 ">actions/setup-go#641</a></li>
<li>Upgrade semver and <code>@types/semver</code> by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-go/pull/652 ">actions/setup-go#652</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/nicholasngai "><code>@nicholasngai</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-go/pull/665 ">actions/setup-go#665</a></li>
<li><a
href="https://github.com/priya-kinthali "><code>@priya-kinthali</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-go/pull/673 ">actions/setup-go#673</a></li>
<li><a
href="https://github.com/mahabaleshwars "><code>@mahabaleshwars</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-go/pull/674 ">actions/setup-go#674</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-go/compare/v6...v6.1.0 ">https://github.com/actions/setup-go/compare/v6...v6.1.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-go/commit/4dc6199c7b1a012772edbd06daecab0f50c9053c "><code>4dc6199</code></a>
Bump semver and <code>@types/semver</code> (<a
href="https://redirect.github.com/actions/setup-go/issues/652 ">#652</a>)</li>
<li><a
href="https://github.com/actions/setup-go/commit/f3787be646645f6c7bfecfa3e48f82a00d113834 "><code>f3787be</code></a>
Add comprehensive breaking changes documentation for v6 (<a
href="https://redirect.github.com/actions/setup-go/issues/674 ">#674</a>)</li>
<li><a
href="https://github.com/actions/setup-go/commit/3a0c2c82458cbb45a3cbfeeb2b91ce8f85420560 "><code>3a0c2c8</code></a>
Bump actions/publish-action from 0.3.0 to 0.4.0 (<a
href="https://redirect.github.com/actions/setup-go/issues/641 ">#641</a>)</li>
<li><a
href="https://github.com/actions/setup-go/commit/faf52423ec0d44c58f68e83b614bfcd99dded66f "><code>faf5242</code></a>
Add support for .tool-versions file in setup-go, update workflow (<a
href="https://redirect.github.com/actions/setup-go/issues/673 ">#673</a>)</li>
<li><a
href="https://github.com/actions/setup-go/commit/7bc60db215a8b16959b0b5cccfdc95950d697b25 "><code>7bc60db</code></a>
Fall back to downloading from go.dev/dl instead of
storage.googleapis.com/gol...</li>
<li><a
href="https://github.com/actions/setup-go/commit/c0137caad775660c0844396c52da96e560aba63d "><code>c0137ca</code></a>
Bump eslint-config-prettier from 10.0.1 to 10.1.8 and document breaking
chang...</li>
<li>See full diff in <a
href="https://github.com/actions/setup-go/compare/44694675825211faa026b3c33043df3e48a5fa00...4dc6199c7b1a012772edbd06daecab0f50c9053c ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 16:30:41 +00:00
dependabot[bot]
1b78f0318a
Bump rpds-py from 0.28.0 to 0.29.0 ( #19216 )
...
Bumps [rpds-py](https://github.com/crate-py/rpds ) from 0.28.0 to 0.29.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/crate-py/rpds/releases ">rpds-py's
releases</a>.</em></p>
<blockquote>
<h2>v0.29.0</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Bump actions/download-artifact from 5 to 6 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/195 ">crate-py/rpds#195</a></li>
<li>Bump github/codeql-action from 4.30.9 to 4.31.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/194 ">crate-py/rpds#194</a></li>
<li>Bump actions/upload-artifact from 4 to 5 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/192 ">crate-py/rpds#192</a></li>
<li>Bump astral-sh/setup-uv from 7.1.1 to 7.1.2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/193 ">crate-py/rpds#193</a></li>
<li>Bump github/codeql-action from 4.31.0 to 4.31.2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/196 ">crate-py/rpds#196</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci "><code>@pre-commit-ci</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/199 ">crate-py/rpds#199</a></li>
<li>Bump softprops/action-gh-release from 2.4.1 to 2.4.2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/198 ">crate-py/rpds#198</a></li>
<li>Bump rpds from 1.1.2 to 1.2.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/crate-py/rpds/pull/197 ">crate-py/rpds#197</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/crate-py/rpds/compare/v0.28.0...v0.29.0 ">https://github.com/crate-py/rpds/compare/v0.28.0...v0.29.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/crate-py/rpds/commit/5fb6f35abb2901542f27d01595f032815ffa39cd "><code>5fb6f35</code></a>
Prepare for 0.29.0</li>
<li><a
href="https://github.com/crate-py/rpds/commit/d17dbd1d84449070c4a94ddb779a0f68f9bb6ec8 "><code>d17dbd1</code></a>
Add rpds's Stack.</li>
<li><a
href="https://github.com/crate-py/rpds/commit/74707afd0c9aa7bcdf165b85bb741158ae20c987 "><code>74707af</code></a>
Follow the rpds API more closely for Queue.</li>
<li><a
href="https://github.com/crate-py/rpds/commit/41455f3794d22829e9a338cf63a9fd6a3e379049 "><code>41455f3</code></a>
-> native uv for dpeendency groups.</li>
<li><a
href="https://github.com/crate-py/rpds/commit/e93532daa50685b211892397291d0f44b0334314 "><code>e93532d</code></a>
Use 3.14 by default in nox.</li>
<li><a
href="https://github.com/crate-py/rpds/commit/020c41fb88d011c7919971348d56b800a4c2b53c "><code>020c41f</code></a>
Remove dead hooks.</li>
<li><a
href="https://github.com/crate-py/rpds/commit/6e08b759e4fd895752541ea21b37b1690c2924d8 "><code>6e08b75</code></a>
Accept zizmor's cooldown suggestions for dependabot.</li>
<li><a
href="https://github.com/crate-py/rpds/commit/a5d40a9fd324dc0941744014c98bcc84c94c599f "><code>a5d40a9</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-py/rpds/issues/197 ">#197</a>
from crate-py/dependabot/cargo/rpds-1.2.0</li>
<li><a
href="https://github.com/crate-py/rpds/commit/b830be14163a5a81fdc087efde7c65c2305b1b99 "><code>b830be1</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-py/rpds/issues/198 ">#198</a>
from crate-py/dependabot/github_actions/softprops/act...</li>
<li><a
href="https://github.com/crate-py/rpds/commit/e7ac33078a9086089bc633e61bccad9060864f04 "><code>e7ac330</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-py/rpds/issues/199 ">#199</a>
from crate-py/pre-commit-ci-update-config</li>
<li>Additional commits viewable in <a
href="https://github.com/crate-py/rpds/compare/v0.28.0...v0.29.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 16:30:09 +00:00
dependabot[bot]
a5d946bfcb
Bump types-bleach from 6.2.0.20250809 to 6.3.0.20251115 ( #19217 )
...
Bumps [types-bleach](https://github.com/typeshed-internal/stub_uploader )
from 6.2.0.20250809 to 6.3.0.20251115.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/typeshed-internal/stub_uploader/commits ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 16:29:32 +00:00
dependabot[bot]
ea3e08c49c
Bump attrs from 25.3.0 to 25.4.0 ( #19215 )
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 25.3.0 to 25.4.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/sponsors/hynek/commits ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 15:58:26 +00:00
Eric Eastwood
54c93a1372
Export SYNAPSE_SUPPORTED_COMPLEMENT_TEST_PACKAGES from scripts-dev/complement.sh ( #19208 )
...
This is useful as someone downstream can source the
`scripts-dev/complement.sh` script and run the same set of tests as
Synapse:
```bash
# Grab the test packages supported by Synapse.
#
# --fast: Skip rebuilding the docker images,
# --build-only: Will only build Docker images but because we also used `--fast`, it won't do anything.
# `>/dev/null` to redirect stdout to `/dev/null` to get rid of the `echo` logs from the script.
test_packages=$(source ${SYNAPSE_DIR}/scripts-dev/complement.sh --fast --build-only >/dev/null && echo "$SYNAPSE_SUPPORTED_COMPLEMENT_TEST_PACKAGES")
echo $test_packages
```
This is spawning from wanting to run the same set of Complement tests in
the https://github.com/element-hq/synapse-rust-apps project.
2025-11-21 19:01:43 -06:00
Eric Eastwood
e39fba61a7
Refactor scripts-dev/complement.sh logic to avoid exit ( #19209 )
...
This is useful so that the script can be sourced by other scripts
without exiting the calling subshell (composable).
This is split out from https://github.com/element-hq/synapse/pull/19208
to make easy to understand PR's and build up to where we want to go.
2025-11-21 10:51:19 -06:00
Andrew Morgan
3779c59d1b
move postgres 13 deprecation note to top of changelog
2025-11-19 11:37:57 +00:00
Devon Hudson
7a9660367a
Capitalize Synapse in CHANGES.md
2025-11-18 18:04:26 -07:00
Devon Hudson
b631bf7c2a
1.143.0rc2
2025-11-18 17:38:04 -07:00
Devon Hudson
2cffd755f2
Fix duplicate poetry version from merging patch release
2025-11-18 17:31:55 -07:00
Devon Hudson
f5bf02eff6
1.143.0rc1
2025-11-18 13:20:59 -07:00
Devon Hudson
1b24a145c1
Merge branch 'master' into develop
2025-11-18 13:04:25 -07:00
Devon Hudson
46efbae4c3
1.142.1
2025-11-18 12:26:53 -07:00
Devon Hudson
d01a8abc45
Allow subpaths in MAS endpoints ( #19186 )
...
Fixes #19184
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-11-18 12:05:41 -07:00
Devon Hudson
bc42899008
Allow subpaths in MAS endpoints ( #19186 )
...
Fixes #19184
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-11-18 18:45:33 +00:00
Devon Hudson
322481cd2d
Run background updates on all databases ( #19181 )
...
Fixes #18322
This PR changes synapse startup to run background updates against all
databases instead of just the "main" database.
This follows [what the admin api
does](https://github.com/element-hq/synapse/blob/develop/synapse/rest/admin/background_updates.py#L71-L77 ).
See the above linked issue for further details of why this is
beneficial.
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-11-17 15:32:21 +00:00
dependabot[bot]
34d93c96ed
Bump click from 8.1.8 to 8.3.1 ( #19195 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 12:09:49 +00:00
dependabot[bot]
ce65b5c8ba
Bump sentry-sdk from 2.43.0 to 2.44.0 ( #19197 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 12:09:38 +00:00
dependabot[bot]
26ddedb753
Bump ruff from 0.14.3 to 0.14.5 ( #19196 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 12:09:26 +00:00
dependabot[bot]
fca80e2eaa
Bump tomli from 2.2.1 to 2.3.0 ( #19194 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 11:40:03 +00:00
dependabot[bot]
19251fc4cf
Bump bytes from 1.10.1 to 1.11.0 ( #19193 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 11:38:35 +00:00
Eric Eastwood
edc0de9fa0
Fix bad deferred logcontext handling ( #19180 )
...
These aren't really something personally experienced but I just went
around the codebase looking for all of the Deferred `.callback`,
`.errback`, and `.cancel` and wrapped them with
`PreserveLoggingContext()`
Spawning from wanting to solve
https://github.com/element-hq/synapse/issues/19165 but unconfirmed
whether this has any effect.
To explain the fix, see the [*Deferred
callbacks*](https://github.com/element-hq/synapse/blob/3b59ac3b69f6a2f73a504699b30313d8dcfe4709/docs/log_contexts.md#deferred-callbacks )
section of our logcontext docs for more info (specifically using
solution 2).
2025-11-14 11:21:15 -06:00
Andrew Morgan
8da8d4b4f5
Remove explicit python 3.8/9 skips ( #19177 )
...
Co-authored-by: Devon Hudson <devon.dmytro@gmail.com >
2025-11-14 11:38:39 +00:00
Eric Eastwood
408a05ebbc
Fix potential lost logcontext when PerDestinationQueue.shutdown(...) ( #19178 )
...
Spawning from looking at the logs in
https://github.com/element-hq/synapse/issues/19165#issuecomment-3527452941
which mention the `federation_transaction_transmission_loop`. I don't
think it's the source of the lost logcontext that person in the issue is
experiencing because this only applies when you try to `shutdown` the
homeserver.
Problem code introduced in
https://github.com/element-hq/synapse/pull/18828
To explain the fix, see the [*Deferred
callbacks*](https://github.com/element-hq/synapse/blob/3b59ac3b69f6a2f73a504699b30313d8dcfe4709/docs/log_contexts.md#deferred-callbacks )
section of our logcontext docs for more info (specifically using
solution 2).
2025-11-13 15:17:15 -06:00
Devon Hudson
5d545d1626
Remove support for PostgreSQL 13 ( #19170 )
...
This PR removes support for PostgreSQL 13 as it is deprecated
(tomorrow).
Uses https://github.com/element-hq/synapse/pull/18034 as a reference of
where to look, and also found a few other places that needed updating.
I didn't see anywhere in Complement that needs updating.
There is a companion Sytest PR deprecating psql13 over there:
https://github.com/matrix-org/sytest/pull/1418
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-11-13 19:38:59 +00:00
Andrew Ferrazzutti
9e23cded8f
MSC4140: Remove auth from delayed event management endpoints ( #19152 )
...
As per recent proposals in MSC4140, remove authentication for
restarting/cancelling/sending a delayed event, and give each of those
actions its own endpoint. (The original consolidated endpoint is still
supported for backwards compatibility.)
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
---------
Co-authored-by: Half-Shot <will@half-shot.uk >
2025-11-13 18:56:17 +00:00
Eric Eastwood
4494cc0694
Point out which event caused the exception when checking MSC4293 redactions ( #19169 )
...
Spawning from looking at the stack trace in
https://github.com/element-hq/synapse/issues/19128 which has no useful
information on how to dig in deeper.
2025-11-13 12:08:22 -06:00
Eric Eastwood
47d24bd234
Add debug logs to track Clock callbacks ( #19173 )
...
Spawning from wanting to find the source of a `Clock.call_later()`
callback, https://github.com/element-hq/synapse/issues/19165
2025-11-13 12:07:23 -06:00
Eric Eastwood
b9dda0ff22
Restore printing sentinel for log_record.request ( #19172 )
...
This was unintentionally changed in
https://github.com/element-hq/synapse/pull/19068 .
There is no real bug here. Without this PR, we just printed an empty
string for the `sentinel` logcontext whereas the prior art behavior was
to print `sentinel` which this PR restores.
Found while staring at the logs in
https://github.com/element-hq/synapse/issues/19165
### Reproduction strategy
1. Configure Synapse with
[logging](https://github.com/element-hq/synapse/blob/df802882bb2ec7d52d5c064c20531fe5a5b263b1/docs/sample_log_config.yaml )
1. Start Synapse: `poetry run synapse_homeserver --config-path
homeserver.yaml`
1. Notice the `asyncio - 64 - DEBUG - - Using selector: EpollSelector`
log line (notice empty string `- -`)
1. With this PR, the log line will be `asyncio - 64 - DEBUG - sentinel -
Using selector: EpollSelector` (notice `sentinel`)
2025-11-13 09:57:56 -06:00
reivilibre
938c97416d
Add a shortcut return when there are no events to purge. ( #19093 )
...
Fixes : #13417
---------
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2025-11-13 14:26:37 +00:00
Jason Volk
e67ba69f20
Provide same servers list in s2s alias results as c2s. ( #18970 )
...
Signed-off-by: Jason Volk <jason@zemos.net >
Co-authored-by: dasha_uwu <dasha@linuxping.win >
2025-11-13 11:12:03 +00:00
Erik Johnston
df802882bb
Further reduce cardinality of metrics on event persister ( #19168 )
...
Follow on from #19133 to only track a subset of event types.
2025-11-12 16:40:38 +00:00
Andrew Ferrazzutti
97cc05d1d8
Bump lower bounds of unit test exclusive dependencies for Python 3.10 support ( #19167 )
...
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz >
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-11-12 16:37:14 +00:00
Erik Johnston
3ba3c7fe7d
Reduce cardinality of metrics on event persister ( #19133 )
...
This reduces the size of metrics by ~80%. Responding with the metrics
takes significant amounts of time.
2025-11-12 13:41:58 +00:00
Andrew Morgan
9722e05479
Update pyproject.toml to be compatible with other standard Python packaging tools ( #19137 )
2025-11-12 12:37:42 +00:00
Andrew Morgan
2c91896070
Run trial tests on Python 3.14 in PRs ( #19135 )
2025-11-12 12:02:50 +00:00
Andrew Morgan
9c67666eb8
Merge branch 'master' of github.com:element-hq/synapse into develop
2025-11-11 10:36:56 +00:00
Andrew Morgan
8feb862ff6
1.142.0
2025-11-11 09:46:48 +00:00
dependabot[bot]
03e873e77a
Bump cryptography from 43.0.3 to 45.0.7 ( #19159 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 43.0.3
to 45.0.7.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst ">cryptography's
changelog</a>.</em></p>
<blockquote>
<p>45.0.7 - 2025-09-01</p>
<pre><code>
* Added a function to support an upcoming ``pyOpenSSL`` release.
<p>.. _v45-0-6:</p>
<p>45.0.6 - 2025-08-05<br />
</code></pre></p>
<ul>
<li>Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
3.5.2.</li>
</ul>
<p>.. _v45-0-5:</p>
<p>45.0.5 - 2025-07-02</p>
<pre><code>
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
3.5.1.
<p>.. _v45-0-4:</p>
<p>45.0.4 - 2025-06-09<br />
</code></pre></p>
<ul>
<li>Fixed decrypting PKCS#8 files encrypted with SHA1-RC4. (This is not
considered secure, and is supported only for backwards
compatibility.)</li>
</ul>
<p>.. _v45-0-3:</p>
<p>45.0.3 - 2025-05-25</p>
<pre><code>
* Fixed decrypting PKCS#8 files encrypted with long salts (this impacts
keys
encrypted by Bouncy Castle).
* Fixed decrypting PKCS#8 files encrypted with DES-CBC-MD5. While wildly
insecure, this remains prevalent.
<p>.. _v45-0-2:</p>
<p>45.0.2 - 2025-05-17<br />
</code></pre></p>
<ul>
<li>Fixed using <code>mypy</code> with <code>cryptography</code> on
older versions of Python.</li>
</ul>
<p>.. _v45-0-1:</p>
<p>45.0.1 - 2025-05-17</p>
<pre><code>
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
3.5.0.
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyca/cryptography/commit/f52a3e14965fa16d03813d3ac78cd050d607794a "><code>f52a3e1</code></a>
prep for a 45.0.7 release (<a
href="https://redirect.github.com/pyca/cryptography/issues/13378 ">#13378</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/66198c23c97c9594d64540e5a866e4b4121aec2d "><code>66198c2</code></a>
Bump for release (<a
href="https://redirect.github.com/pyca/cryptography/issues/13249 ">#13249</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/3e53a233b65123d2a836b58ccdc427ed5207f92b "><code>3e53a23</code></a>
Bump for 45.0.5 release (<a
href="https://redirect.github.com/pyca/cryptography/issues/13135 ">#13135</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/678c0c59f743e3b301fbd34f1d26112db0cc2216 "><code>678c0c5</code></a>
prepare for 45.0.4 release (<a
href="https://redirect.github.com/pyca/cryptography/issues/13058 ">#13058</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/50384959872c84933b6059c3b697139c8fcdcdea "><code>5038495</code></a>
backports for 45.0.3 release (<a
href="https://redirect.github.com/pyca/cryptography/issues/12979 ">#12979</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/f81c07535ddf2d26cb1a27e70a9967ab708b8056 "><code>f81c075</code></a>
Backport mypy fixes for release (<a
href="https://redirect.github.com/pyca/cryptography/issues/12930 ">#12930</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/8ea28e0bc724e57433f4f062795d91c0a367e9ad "><code>8ea28e0</code></a>
bump for 45.0.1 (<a
href="https://redirect.github.com/pyca/cryptography/issues/12922 ">#12922</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/67840977c95a23d0dcfba154e303014026df0d3e "><code>6784097</code></a>
bump for 45 release (<a
href="https://redirect.github.com/pyca/cryptography/issues/12886 ">#12886</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/2d9c1c9cbe650f2888c14476a4b30ef85d3fd2bc "><code>2d9c1c9</code></a>
bump MSRV to 1.74 (<a
href="https://redirect.github.com/pyca/cryptography/issues/12919 ">#12919</a>)</li>
<li><a
href="https://github.com/pyca/cryptography/commit/6c18874cc2e76f173b77c67609cfb4d3495964c3 "><code>6c18874</code></a>
Bump BoringSSL, OpenSSL, AWS-LC in CI (<a
href="https://redirect.github.com/pyca/cryptography/issues/12918 ">#12918</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyca/cryptography/compare/43.0.3...45.0.7 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-11 00:01:47 +00:00
dependabot[bot]
2e66cf10e8
Bump types-netaddr from 1.3.0.20240530 to 1.3.0.20251108 ( #19160 )
...
Bumps
[types-netaddr](https://github.com/typeshed-internal/stub_uploader ) from
1.3.0.20240530 to 1.3.0.20251108.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/typeshed-internal/stub_uploader/commits ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 23:39:03 +00:00
dependabot[bot]
70e6cc01e5
Bump pyo3-log from 0.13.1 to 0.13.2 ( #19156 )
...
Bumps [pyo3-log](https://github.com/vorner/pyo3-log ) from 0.13.1 to
0.13.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vorner/pyo3-log/blob/main/CHANGELOG.md ">pyo3-log's
changelog</a>.</em></p>
<blockquote>
<h1>0.13.2</h1>
<ul>
<li>Support for pyo3 0.27 (<a
href="https://redirect.github.com/vorner/pyo3-log/issues/72 ">#72</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vorner/pyo3-log/commit/9674e2d39c30d8ed1dc745d60ea4002d36dc7f66 "><code>9674e2d</code></a>
Version 0.13.2</li>
<li><a
href="https://github.com/vorner/pyo3-log/commit/c51e45a9cd4b7ca6c1209258a248f8908c09cd46 "><code>c51e45a</code></a>
Bump <code>pyo3</code> to 0.27 (<a
href="https://redirect.github.com/vorner/pyo3-log/issues/72 ">#72</a>)</li>
<li>See full diff in <a
href="https://github.com/vorner/pyo3-log/compare/v0.13.1...v0.13.2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 23:36:08 +00:00
dependabot[bot]
91c2845180
Bump pydantic from 2.12.3 to 2.12.4 ( #19158 )
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.12.3 to
2.12.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/releases ">pydantic's
releases</a>.</em></p>
<blockquote>
<h2>v2.12.4 2025-11-05</h2>
<h2>v2.12.4 (2025-11-05)</h2>
<p>This is the fourth 2.12 patch release, fixing more regressions, and
reverting a change in the <code>build()</code> method
of the <a
href="https://docs.pydantic.dev/latest/api/networks/ "><code>AnyUrl</code>
and Dsn types</a>.</p>
<p>This patch release also fixes an issue with the serialization of IP
address types, when <code>serialize_as_any</code> is used. The next
patch release
will try to address the remaining issues with <em>serialize as any</em>
behavior by introducing a new <em>polymorphic serialization</em>
feature, that
should be used in most cases in place of <em>serialize as any</em>.</p>
<ul>
<li>
<p>Fix issue with forward references in parent <code>TypedDict</code>
classes by <a href="https://github.com/Viicos "><code>@Viicos</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12427 ">#12427</a>.</p>
<p>This issue is only relevant on Python 3.14 and greater.</p>
</li>
<li>
<p>Exclude fields with <code>exclude_if</code> from JSON Schema required
fields by <a href="https://github.com/Viicos "><code>@Viicos</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12430 ">#12430</a></p>
</li>
<li>
<p>Revert URL percent-encoding of credentials in the
<code>build()</code> method of the <a
href="https://docs.pydantic.dev/latest/api/networks/ "><code>AnyUrl</code>
and Dsn types</a> by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1833 ">pydantic-core#1833</a>.</p>
<p>This was initially considered as a bugfix, but caused regressions and
as such was fully reverted. The next release will include
an opt-in option to percent-encode components of the URL.</p>
</li>
<li>
<p>Add type inference for IP address types by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1868 ">pydantic-core#1868</a>.</p>
<p>The 2.12 changes to the <code>serialize_as_any</code> behavior made
it so that IP address types could not properly serialize to JSON.</p>
</li>
<li>
<p>Avoid getting default values from defaultdict by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1853 ">pydantic-core#1853</a>.</p>
<p>This fixes a subtle regression in the validation behavior of the <a
href="https://docs.python.org/3/library/collections.html#collections.defaultdict "><code>collections.defaultdict</code></a>
type.</p>
</li>
<li>
<p>Fix issue with field serializers on nested typed dictionaries by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1879 ">pydantic-core#1879</a>.</p>
</li>
<li>
<p>Add more <code>pydantic-core</code> builds for the three-threaded
version of Python 3.14 by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1864 ">pydantic-core#1864</a>.</p>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pydantic/pydantic/compare/v2.12.3...v2.12.4 ">https://github.com/pydantic/pydantic/compare/v2.12.3...v2.12.4 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/blob/v2.12.4/HISTORY.md ">pydantic's
changelog</a>.</em></p>
<blockquote>
<h2>v2.12.4 (2025-11-05)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.12.4 ">GitHub
release</a></p>
<p>This is the fourth 2.12 patch release, fixing more regressions, and
reverting a change in the <code>build()</code> method
of the <a
href="https://docs.pydantic.dev/latest/api/networks/ "><code>AnyUrl</code>
and Dsn types</a>.</p>
<p>This patch release also fixes an issue with the serialization of IP
address types, when <code>serialize_as_any</code> is used. The next
patch release
will try to address the remaining issues with <em>serialize as any</em>
behavior by introducing a new <em>polymorphic serialization</em>
feature, that
should be used in most cases in place of <em>serialize as any</em>.</p>
<ul>
<li>
<p>Fix issue with forward references in parent <code>TypedDict</code>
classes by <a href="https://github.com/Viicos "><code>@Viicos</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12427 ">#12427</a>.</p>
<p>This issue is only relevant on Python 3.14 and greater.</p>
</li>
<li>
<p>Exclude fields with <code>exclude_if</code> from JSON Schema required
fields by <a href="https://github.com/Viicos "><code>@Viicos</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12430 ">#12430</a></p>
</li>
<li>
<p>Revert URL percent-encoding of credentials in the
<code>build()</code> method
of the <a
href="https://docs.pydantic.dev/latest/api/networks/ "><code>AnyUrl</code>
and Dsn types</a> by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1833 ">pydantic-core#1833</a>.</p>
<p>This was initially considered as a bugfix, but caused regressions and
as such was fully reverted. The next release will include
an opt-in option to percent-encode components of the URL.</p>
</li>
<li>
<p>Add type inference for IP address types by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1868 ">pydantic-core#1868</a>.</p>
<p>The 2.12 changes to the <code>serialize_as_any</code> behavior made
it so that IP address types could not properly serialize to JSON.</p>
</li>
<li>
<p>Avoid getting default values from defaultdict by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1853 ">pydantic-core#1853</a>.</p>
<p>This fixes a subtle regression in the validation behavior of the <a
href="https://docs.python.org/3/library/collections.html#collections.defaultdict "><code>collections.defaultdict</code></a>
type.</p>
</li>
<li>
<p>Fix issue with field serializers on nested typed dictionaries by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1879 ">pydantic-core#1879</a>.</p>
</li>
<li>
<p>Add more <code>pydantic-core</code> builds for the three-threaded
version of Python 3.14 by <a
href="https://github.com/davidhewitt "><code>@davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1864 ">pydantic-core#1864</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pydantic/pydantic/commit/5c842dfc9c245fb37aa1f5ec5b55c1aed10bd7e6 "><code>5c842df</code></a>
Prepare release v2.12.4</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/c678a710e8b8bb2ff4dce6233c6d5c88dc579136 "><code>c678a71</code></a>
Bump <code>pydantic-core</code> to v2.41.5</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/a7cd29254b2611c5768beb86e7ffd2c1c130a19a "><code>a7cd292</code></a>
Bump <code>cloudpickle</code> to v3.1.2</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/21f627801b5eedfa87bed55925f73cf329cc9c2c "><code>21f6278</code></a>
Bump actions/setup-node from 5 to 6</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/8d6be8fea9662203977b95758d97ec298edcd54a "><code>8d6be8f</code></a>
Bump astral-sh/setup-uv from 6 to 7</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/17865ea3a1fd389ba697990b762f82a419a48221 "><code>17865ea</code></a>
Bump actions/upload-artifact from 4 to 5</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/90ad0af6b9340f72dde77997ed18fc180771e69f "><code>90ad0af</code></a>
Bump actions/download-artifact from 5 to 6</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/18e6672b6fdeaeb75ccbbcb3c7883509b1f56cb3 "><code>18e6672</code></a>
Drop testing under PyPy 3.9</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/650215be2d2336a72af481b724b368fed356d7e8 "><code>650215b</code></a>
Document workaround for <code>MongoDsn</code> default port</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/e3267902272d8290ed6d1ae06f43052b2968ef14 "><code>e326790</code></a>
Fix example of for <code>bytes_invalid_encoding</code> validation
error</li>
<li>Additional commits viewable in <a
href="https://github.com/pydantic/pydantic/compare/v2.12.3...v2.12.4 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 23:08:36 +00:00
Eric Eastwood
8fa7d4a5a3
Ignore Python language refactors (.git-blame-ignore-revs) ( #19150 )
...
Ignore Python language refactors (`.git-blame-ignore-revs`)
- https://github.com/element-hq/synapse/pull/19046
- https://github.com/element-hq/synapse/pull/19111
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
2025-11-10 22:34:30 +00:00
dependabot[bot]
a10e2386f1
Bump docker/metadata-action from 5.8.0 to 5.9.0 ( #19161 )
...
Bumps
[docker/metadata-action](https://github.com/docker/metadata-action ) from
5.8.0 to 5.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/metadata-action/releases ">docker/metadata-action's
releases</a>.</em></p>
<blockquote>
<h2>v5.9.0</h2>
<ul>
<li>Add <code>tag-names</code> output to return tag names without image
base name by <a
href="https://github.com/crazy-max "><code>@crazy-max</code></a> in <a
href="https://redirect.github.com/docker/metadata-action/pull/553 ">docker/metadata-action#553</a></li>
<li>Bump <code>@babel/runtime-corejs3</code> from 7.14.7 to 7.28.2 in
<a
href="https://redirect.github.com/docker/metadata-action/pull/539 ">docker/metadata-action#539</a></li>
<li>Bump <code>@docker/actions-toolkit</code> from 0.62.1 to 0.66.0 in
<a
href="https://redirect.github.com/docker/metadata-action/pull/555 ">docker/metadata-action#555</a></li>
<li>Bump brace-expansion from 1.1.11 to 1.1.12 in <a
href="https://redirect.github.com/docker/metadata-action/pull/540 ">docker/metadata-action#540</a></li>
<li>Bump csv-parse from 5.6.0 to 6.1.0 in <a
href="https://redirect.github.com/docker/metadata-action/pull/532 ">docker/metadata-action#532</a></li>
<li>Bump semver from 7.7.2 to 7.7.3 in in <a
href="https://redirect.github.com/docker/metadata-action/pull/554 ">docker/metadata-action#554</a></li>
<li>Bump tmp from 0.2.3 to 0.2.5 in <a
href="https://redirect.github.com/docker/metadata-action/pull/541 ">docker/metadata-action#541</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/metadata-action/compare/v5.8.0...v5.9.0 ">https://github.com/docker/metadata-action/compare/v5.8.0...v5.9.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/docker/metadata-action/commit/318604b99e75e41977312d83839a89be02ca4893 "><code>318604b</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/539 ">#539</a>
from docker/dependabot/npm_and_yarn/babel/runtime-cor...</li>
<li><a
href="https://github.com/docker/metadata-action/commit/49c0a55d550aa6a75ca45d794feeed45985039b1 "><code>49c0a55</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/metadata-action/commit/486229e3f47b6ee1b8f8222e94b250765d66c21f "><code>486229e</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/558 ">#558</a>
from crazy-max/fix-dist</li>
<li><a
href="https://github.com/docker/metadata-action/commit/f02aeab1eec44688425e47726ea8f1517e67b6c1 "><code>f02aeab</code></a>
chore: fix dist</li>
<li><a
href="https://github.com/docker/metadata-action/commit/beafb973058c84432dbfe5597f50522a763b1203 "><code>beafb97</code></a>
chore(deps): Bump <code>@babel/runtime-corejs3</code> from 7.14.7 to
7.28.2</li>
<li><a
href="https://github.com/docker/metadata-action/commit/3ff819c6c588be1afbd2a366e7d4277a6f657b85 "><code>3ff819c</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/557 ">#557</a>
from crazy-max/yarn-4.9.2</li>
<li><a
href="https://github.com/docker/metadata-action/commit/05838e9769c2d7801f424666843e0d4d5c80b6f3 "><code>05838e9</code></a>
update yarn to 4.9.2</li>
<li><a
href="https://github.com/docker/metadata-action/commit/43fa4ac0d33c225d08882e24e3aa49bcea4f135b "><code>43fa4ac</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/metadata-action/issues/556 ">#556</a>
from crazy-max/dev-deps</li>
<li><a
href="https://github.com/docker/metadata-action/commit/b3120f2f185dcf0a842f81a5550c160d87034a9c "><code>b3120f2</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/metadata-action/commit/1f469d21ee9a749f1501af441c4cb15d7bf409d6 "><code>1f469d2</code></a>
update dev dependencies</li>
<li>Additional commits viewable in <a
href="https://github.com/docker/metadata-action/compare/c1e51972afc2121e065aed6d45c65596fe445f3f...318604b99e75e41977312d83839a89be02ca4893 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 22:26:59 +00:00
dependabot[bot]
674b932b33
Bump sentry-sdk from 2.34.1 to 2.43.0 ( #19157 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from
2.34.1 to 2.43.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/releases ">sentry-sdk's
releases</a>.</em></p>
<blockquote>
<h2>2.43.0</h2>
<h3>Various fixes & improvements</h3>
<ul>
<li>
<p>Pydantic AI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4906 ">#4906</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
<p>Enable the new Pydantic AI integration with the code snippet below,
and you can use the Sentry AI dashboards to observe your AI calls:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration
sentry_sdk.init(
dsn="<your-dsn>",
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for tracing.
traces_sample_rate=1.0,
# Add data like inputs and responses;
# see
https://docs.sentry.io/platforms/python/data-management/data-collected/
for more info
send_default_pii=True,
integrations=[
PydanticAIIntegration(),
],
)
</code></pre>
</li>
<li>
<p>MCP Python SDK (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4964 ">#4964</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
<p>Enable the new Python MCP integration with the code snippet
below:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.integrations.mcp import MCPIntegration
sentry_sdk.init(
dsn="<your-dsn>",
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for tracing.
traces_sample_rate=1.0,
# Add data like inputs and responses;
# see
https://docs.sentry.io/platforms/python/data-management/data-collected/
for more info
send_default_pii=True,
integrations=[
MCPIntegration(),
],
)
</code></pre>
</li>
<li>
<p>fix(strawberry): Remove autodetection, always use sync extension (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4984 ">#4984</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></p>
<p>Previously, <code>StrawberryIntegration</code> would try to guess
whether it should install the sync or async version of itself. This
auto-detection was very brittle and could lead to us auto-enabling async
code in a sync context. With this change,
<code>StrawberryIntegration</code> remains an auto-enabling integration,
but it'll enable the sync version by default. If you want to enable the
async version, pass the option explicitly:</p>
<pre lang="python"><code>sentry_sdk.init(
# ...
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md ">sentry-sdk's
changelog</a>.</em></p>
<blockquote>
<h2>2.43.0</h2>
<h3>Various fixes & improvements</h3>
<ul>
<li>
<p>Pydantic AI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4906 ">#4906</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
<p>Enable the new Pydantic AI integration with the code snippet below,
and you can use the Sentry AI dashboards to observe your AI calls:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration
sentry_sdk.init(
dsn="<your-dsn>",
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for tracing.
traces_sample_rate=1.0,
# Add data like inputs and responses;
# see
https://docs.sentry.io/platforms/python/data-management/data-collected/
for more info
send_default_pii=True,
integrations=[
PydanticAIIntegration(),
],
)
</code></pre>
</li>
<li>
<p>MCP Python SDK (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4964 ">#4964</a>)
by <a
href="https://github.com/constantinius "><code>@constantinius</code></a></p>
<p>Enable the new Python MCP integration with the code snippet
below:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.integrations.mcp import MCPIntegration
sentry_sdk.init(
dsn="<your-dsn>",
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for tracing.
traces_sample_rate=1.0,
# Add data like inputs and responses;
# see
https://docs.sentry.io/platforms/python/data-management/data-collected/
for more info
send_default_pii=True,
integrations=[
MCPIntegration(),
],
)
</code></pre>
</li>
<li>
<p>fix(strawberry): Remove autodetection, always use sync extension (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4984 ">#4984</a>)
by <a
href="https://github.com/sentrivana "><code>@sentrivana</code></a></p>
<p>Previously, <code>StrawberryIntegration</code> would try to guess
whether it should install the sync or async version of itself. This
auto-detection was very brittle and could lead to us auto-enabling async
code in a sync context. With this change,
<code>StrawberryIntegration</code> remains an auto-enabling integration,
but it'll enable the sync version by default. If you want to enable the
async version, pass the option explicitly:</p>
<pre lang="python"><code>sentry_sdk.init(
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-python/commit/b069aa24fdf3c52a9e8b75f4f83d5fee035c3234 "><code>b069aa2</code></a>
Update CHANGELOG.md</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/a7a3fb17956790a0ddba575c0436e6409e0ddec5 "><code>a7a3fb1</code></a>
release: 2.43.0</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/76cc4163087c6e89f406b89440be45d87ff8e148 "><code>76cc416</code></a>
fix(google-genai): Set agent name (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5038 ">#5038</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/b3b2eb62d9f1d9132aa8114a4d2eecf7e5fc517c "><code>b3b2eb6</code></a>
fix(integrations): hooking into error tracing function to find out if an
exec...</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/d7ccf06aea28c709abd3d6e7002951c4fa169fe2 "><code>d7ccf06</code></a>
fix(django): Improve logic for classifying cache hits and misses (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5029 ">#5029</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/64c145ffb19cb7c49b679b0cdf2e7754f0f91d12 "><code>64c145f</code></a>
chore(metrics): Rename _metrics to metrics (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5035 ">#5035</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/fe31660c50c649f1730f4307ae6f4c10e61acd2f "><code>fe31660</code></a>
fix(tracemetrics): Bump metric buffer size to 1k (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5031 ">#5031</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/6e06a07467b7b808699d67e8b71bc5ec2fbc9f6f "><code>6e06a07</code></a>
fix startlette deprecation warning (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5034 ">#5034</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/e6366194f61fdae97e7867c6457b67ac9a77014c "><code>e636619</code></a>
fix(strawberry): Remove autodetection, always use sync extension (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/4984 ">#4984</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/8ab8f3b3895944ac52518d47a4ea436f715bab6c "><code>8ab8f3b</code></a>
ci: 🤖 Update test matrix with new releases (10/27) (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5033 ">#5033</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.34.1...2.43.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 22:24:27 +00:00
V02460
dc7f01f334
register_new_matrix_user: Support multiple config files ( #18784 )
...
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz >
2025-11-10 16:52:57 +00:00
reivilibre
a50923b6bf
Improve documentation around streams, particularly ID generators and adding new streams. ( #18943 )
...
This arises mostly from my recent experience adding a stream for Thread
Subscriptions
and trying to help others add their own streams.
---------
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2025-11-10 13:07:22 +00:00
Sharakea
378c5c838c
Document Nginx Proxy Manager configuration steps ( #19136 )
...
Added configuration details for Nginx Proxy Manager including proxy host
setup, SSL/TLS settings, and advanced configurations for change the
Federation Port.
2025-11-10 13:05:45 +00:00
Andrew Morgan
39f8e28861
Update cibuildwheel config to stop building Python 3.9 and free-threaded wheels ( #19154 )
2025-11-10 13:05:03 +00:00
Andrew Ferrazzutti
8580ab60c9
Add delayed_events table to boolean column port ( #19155 )
...
The `delayed_events` table has a boolean column that should be handled
by the SQLite->PostgreSQL migration script.
2025-11-10 12:17:42 +00:00
Andrew Morgan
077a6f7e63
Merge branch 'release-v1.142' into develop
2025-11-07 12:09:02 +00:00
Andrew Morgan
72073d82ae
Move important messages to the top of the changelog
2025-11-07 11:20:20 +00:00
Andrew Morgan
5d4a731499
1.142.0rc4
2025-11-07 10:54:55 +00:00
Andrew Morgan
18f1d28a49
1.142.0rc1 regression fix: Allow coercing a str to a FilePath in MasConfigModel ( #19144 )
2025-11-07 10:41:05 +00:00
Andrew Ferrazzutti
fcac7e0282
Write union types as X | Y where possible ( #19111 )
...
aka PEP 604, added in Python 3.10
2025-11-06 14:02:33 -06:00
Erik Johnston
6790312831
Fixup logcontexts after replication PR. ( #19146 )
...
Fixes logcontext leaks introduced in #19138 .
2025-11-05 15:38:14 +00:00
Erik Johnston
d3ffd04f66
Fix spelling ( #19145 )
...
Fixes up #19138
2025-11-05 14:00:59 +00:00
Erik Johnston
4906771da1
Faster redis replication handling ( #19138 )
...
Spawning a background process comes with a bunch of overhead, so let's
try to reduce the number of background processes we need to spawn when
handling inbound fed.
Currently, we seem to be doing roughly one per command. Instead, lets
keep the background process alive for a bit waiting for a new command to
come in.
2025-11-05 13:42:04 +00:00
Andrew Morgan
2fd8d88b42
1.142.0rc3
2025-11-04 17:39:28 +00:00
Andrew Morgan
0cbb2a15e0
Don't build free-threaded wheels ( #19140 )
...
Fixes https://github.com/element-hq/synapse/issues/19139 .
2025-11-04 17:38:25 +00:00
Andrew Morgan
5d71034f81
1.142.0rc2
2025-11-04 16:21:50 +00:00
Andrew Morgan
4bbde142dc
Skip building Python 3.9 wheels with cibuildwheel ( #19119 )
2025-11-04 16:20:01 +00:00
Andrew Morgan
d888126372
Drop period from title
2025-11-04 14:05:51 +00:00
Andrew Morgan
b2237ff4f1
Add sqlite deprecation to changelog and upgrade notes
2025-11-04 13:40:58 +00:00
Andrew Morgan
2760d15348
1.142.0rc1
2025-11-04 13:34:46 +00:00
Erik Johnston
5408101d21
Speed up pruning of ratelimiter ( #19129 )
...
I noticed this in some profiling. Basically, we prune the ratelimiters
by copying and iterating over every entry every 60 seconds. Instead,
let's use a wheel timer to track when we should potentially prune a
given key, and then we a) check fewer keys, and b) can run more
frequently. Hopefully this should mean we don't have a large pause
everytime we prune a ratelimiter with lots of keys.
Also fixes a bug where we didn't prune entries that were added via
`record_action` and never subsequently updated. This affected the media
and joins-per-room ratelimiter.
2025-11-04 12:44:57 +00:00
Andrew Morgan
08f570f5f5
Fix "There is no current event loop in thread" error in tests ( #19134 )
2025-11-04 12:32:49 +00:00
Eric Eastwood
db00925ae7
Redirect stdout/stderr to logs after initialization ( #19131 )
...
This regressed in https://github.com/element-hq/synapse/pull/19121 . I
moved things in https://github.com/element-hq/synapse/pull/19121 because
I thought that it made sense to redirect anything printed to
`stdout`/`stderr` to the logs as early as possible. But we actually want
to log any immediately apparent problems during initialization to
`stderr` in the terminal so that they are obvious and visible to the
operator.
Now, I've moved `redirect_stdio_to_logs()` back to where it was
previously along with some proper comment context for why we have it
there.
2025-11-03 16:16:23 -06:00
Eric Eastwood
891acfd502
Move oidc.load_metadata() startup into _base.start() ( #19056 )
...
Slightly related to ["clean-tenant
provisioning"](https://github.com/element-hq/synapse-small-hosts/issues/221 )
as making startup cleaner, makes it more clear how to handle clean
provisioning.
2025-11-03 15:23:22 -06:00
Eric Eastwood
e02a6f5e5d
Fix lost logcontext on HomeServer.shutdown() ( #19108 )
...
Same fix as https://github.com/element-hq/synapse/pull/19090
Spawning from working on clean tenant deprovisioning in the Synapse Pro
for small hosts project
(https://github.com/element-hq/synapse-small-hosts/pull/204 ).
2025-11-03 14:07:10 -06:00
dependabot[bot]
4f9dc3b613
Bump psycopg2 from 2.9.10 to 2.9.11 ( #19125 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 19:19:06 +00:00
dependabot[bot]
2c5deb800e
Bump icu_segmenter from 2.0.0 to 2.0.1 ( #19126 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 19:18:16 +00:00
Eric Eastwood
a7107458c6
Refactor app entrypoints (avoid exit(1) in our composable functions) ( #19121 )
...
- Move `register_start` (calls `os._exit(1)`) out of `setup` (our
composable function)
- We want to avoid `exit(...)` because we use these composable functions
in Synapse Pro for small hosts where we have multiple Synapse instances
running in the same process. We don't want a problem from one homeserver
tenant causing the entire Python process to exit and affect all of the
other homeserver tenants.
- Continuation of https://github.com/element-hq/synapse/pull/19116
- Align our app entrypoints: `homeserver` (main), `generic_worker`
(worker), and `admin_cmd`
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process) (c.f
Synapse Pro for small hosts), we're currently diving into the details
and implications of running multiple instances of Synapse in the same
Python process.
"Clean tenant provisioning" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/48
2025-11-03 12:04:43 -06:00
dependabot[bot]
f02ac5a4d5
Bump markdown-it-py from 3.0.0 to 4.0.0 ( #19123 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 17:19:20 +00:00
Eric Eastwood
e00a411837
Move exception handling up the stack (avoid exit(1) in our composable functions) ( #19116 )
...
Move exception handling up the stack (avoid `exit(1)` in our composable
functions)
Relevant to Synapse Pro for small hosts as we don't want to exit the
entire Python process and affect all homeserver tenants.
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process) (c.f
Synapse Pro for small hosts), we're currently diving into the details
and implications of running multiple instances of Synapse in the same
Python process.
"Clean tenant provisioning" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/48
2025-11-03 11:18:56 -06:00
dependabot[bot]
bc926bd99e
Bump ruff from 0.12.10 to 0.14.3 ( #19124 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 16:38:19 +00:00
Andrew Morgan
69bab78b44
Python 3.14 support ( #19055 )
...
Co-authored-by: Eric Eastwood <erice@element.io >
2025-11-03 11:53:59 +00:00
Eric Eastwood
41a2762e58
Be mindful of other logging context filters in 3rd-party code ( #19068 )
...
Be mindful that Synapse can be run alongside other code in the same
Python process. We shouldn't overwrite fields on given log record unless
we know it's relevant to Synapse.
(no clobber)
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process), we're
currently diving into the details and implications of running multiple
instances of Synapse in the same Python process.
"Per-tenant logging" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/48
2025-10-31 10:12:05 -05:00
Erik Johnston
3ccc5184e0
Fix schema lint script to understand CREATE TABLE IF NOT EXISTS ( #19020 )
...
The schema lint tries to make sure we don't add or remove indices in
schema files (rather than as background updates), *unless* the table was
created in the same schema file.
The regex to pull out the `CREATE TABLE` SQL incorrectly didn't
recognise `IF NOT EXISTS`.
There is a test delta file that shows that we accept different types of
`CREATE TABLE` and `CREATE INDEX` statements, as well as an index
creation that doesn't have a matching create table (to show that we do
still catch it). The test delta should be removed before merge.
2025-10-31 13:16:47 +00:00
V02460
07e7980572
Fix Rust’s confusing lifetime lint ( #19118 )
...
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2025-10-31 12:09:13 +00:00
V02460
3595ff921f
Pydantic v2 ( #19071 )
...
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz >
2025-10-31 09:22:22 +00:00
Andrew Morgan
300c5558ab
Update check_dependencies to support markers ( #19110 )
2025-10-30 21:33:29 +00:00
Eric Eastwood
c0b9437ab6
Fix lost logcontext when using timeout_deferred(...) ( #19090 )
...
Fix lost logcontext when using `timeout_deferred(...)` and things
actually timeout.
Fix https://github.com/element-hq/synapse/issues/19087 (our HTTP client
times out requests using `timeout_deferred(...)`
Fix https://github.com/element-hq/synapse/issues/19066 (`/sync` uses
`notifier.wait_for_events()` which uses `timeout_deferred(...)` under
the hood)
### When/why did these lost logcontext warnings start happening?
```
synapse.logging.context - 107 - WARNING - sentinel - Expected logging context call_later but found POST-2453
synapse.logging.context - 107 - WARNING - sentinel - Expected logging context call_later was lost
```
In https://github.com/element-hq/synapse/pull/18828 , we switched
`timeout_deferred(...)` from using `reactor.callLater(...)` to
[`clock.call_later(...)`](https://github.com/element-hq/synapse/blob/3b59ac3b69f6a2f73a504699b30313d8dcfe4709/synapse/util/clock.py#L224-L313 )
under the hood. This meant it started dealing with logcontexts but our
`time_it_out()` callback didn't follow our [Synapse logcontext
rules](https://github.com/element-hq/synapse/blob/3b59ac3b69f6a2f73a504699b30313d8dcfe4709/docs/log_contexts.md ).
2025-10-30 11:49:15 -05:00
Eric Eastwood
f0aae62f85
Cheaper logcontext debug logs (random_string_insecure_fast(...)) ( #19094 )
...
Follow-up to https://github.com/element-hq/synapse/pull/18966
During the weekly Backend team meeting, it was mentioned that
`random_string(...)` was taking a significant amount of CPU on
`matrix.org`. This makes sense as it relies on
[`secrets.choice(...)`](https://docs.python.org/3/library/secrets.html#secrets.choice ),
a cryptographically secure function that is inherently computationally
expensive. And since https://github.com/element-hq/synapse/pull/18966 ,
we're calling `random_string(...)` as part of a bunch of logcontext
utilities.
Since we don't need cryptographically secure random strings for our
debug logs, this PR is introducing a new `random_string_insecure_fast(...)`
function that uses
[`random.choice(...)`](https://docs.python.org/3/library/random.html#random.choice )
which uses pseudo-random numbers that are "both fast and threadsafe".
2025-10-30 11:47:53 -05:00
Andrew Morgan
349599143e
Move reading of multipart response into try body ( #19062 )
2025-10-30 15:22:52 +00:00
Eric Eastwood
2c4057bf93
Prevent duplicate logging setup when running multiple Synapse instances ( #19067 )
...
Be mindful that it's possible to run Synapse multiple times in the same
Python process. So we only need to do some part of the logging setup
once.
- We only need to setup the global log record factory and context filter
once
- We only need to redirect Twisted logging once
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process), we're
currently diving into the details and implications of running multiple
instances of Synapse in the same Python process.
"Per-tenant logging" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/48
2025-10-30 10:21:56 -05:00
Andrew Morgan
f54ddbcace
Prevent duplicate GH releases being created during Synapse release process ( #19096 )
2025-10-30 12:40:53 +00:00
Andrew Morgan
728512918e
Exclude .lock file from /usr/local when building docker images ( #19107 )
2025-10-30 10:17:35 +00:00
Andrew Ferrazzutti
e0838c2567
Drop Python 3.9, bump tests/builds to Python 3.10 ( #19099 )
...
Python 3.9 EOL is on 2025-10-31
2025-10-29 12:15:00 -05:00
dependabot[bot]
32998d07d2
Bump sigstore/cosign-installer from 3.10.0 to 4.0.0 ( #19075 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-29 15:39:07 +00:00
Eric Eastwood
6facf98a3a
Be mindful of other SIGHUP handlers in 3rd-party code ( #19095 )
...
Be mindful that Synapse can be run alongside other code in the same
Python process. We shouldn't clobber other `SIGHUP` handlers as only one
can be set at time.
(no clobber)
### Background
As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process), we're
currently diving into the details and implications of running multiple
instances of Synapse in the same Python process.
"Per-tenant logging" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/48
Relevant to logging as we use a `SIGHUP` to reload log config in
Synapse.
2025-10-29 10:28:05 -05:00
Eric Eastwood
0417296b9f
Remove logcontext problems caused by awaiting raw deferLater(...) ( #19058 )
...
This is a normal
problem where we `await` a deferred without wrapping it in
`make_deferred_yieldable(...)`. But I've opted to replace the usage of
`deferLater` with something more standard for the Synapse codebase.
Part of https://github.com/element-hq/synapse/issues/18905
It's unclear why we're only now seeing these failures happen with the
changes from https://github.com/element-hq/synapse/pull/19057
Example failures seen in
https://github.com/element-hq/synapse/actions/runs/18477454390/job/52645183606?pr=19057
```
builtins.AssertionError: Expected `looping_call` callback from the reactor to start with the sentinel logcontext but saw task-_resumable_task-0-IBzAmHUoepQfLnEA. In other words, another task shouldn't have leaked their logcontext to us.
```
2025-10-29 10:23:10 -05:00
Andrew Morgan
18232871d0
Merge branch 'master' into develop
2025-10-29 11:49:11 +00:00
Andrew Morgan
7897c8f6af
Add a docs page with common steps to review the release notes ( #19109 )
2025-10-29 11:32:33 +00:00
Andrew Morgan
facb81d97b
Add Debian trixie notice to the top of the release notes
2025-10-29 11:03:56 +00:00
Andrew Morgan
1090c3ec81
Move MacOS wheels deprecation notice to the top
2025-10-29 11:02:46 +00:00
Andrew Morgan
5f9f3d72b8
1.141.0
2025-10-29 11:01:53 +00:00
Andrew Ferrazzutti
dc33ef90d3
Update docs on downstream Debian package ( #19100 )
2025-10-28 17:25:16 -05:00
Andrew Ferrazzutti
a07dd43ac4
Use Pillow's non-experimental getexif ( #19098 )
...
It has been available since Pillow 6, and Synapse is now pinned on
Pillow >=10.0.1.
Found this while looking at Debian-shipped dependencies, and figured
this may as well be updated.
2025-10-28 13:11:45 -05:00
Andrew Morgan
086b887f29
Merge branch 'release-v1.141' into develop
2025-10-28 12:44:07 +00:00
dependabot[bot]
e23e7ae48f
Bump actions/upload-artifact from 4 to 5 ( #19106 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:56:29 +00:00
dependabot[bot]
1a78fc8a65
Bump pyyaml from 6.0.2 to 6.0.3 ( #19105 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:55:12 +00:00
dependabot[bot]
66a42d4e54
Bump hiredis from 3.2.1 to 3.3.0 ( #19103 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:54:00 +00:00
dependabot[bot]
cb0ed5ec76
Bump actions/download-artifact from 5.0.0 to 6.0.0 ( #19102 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:53:36 +00:00
dependabot[bot]
0d20f762cb
Bump reqwest from 0.12.23 to 0.12.24 ( #19077 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:49:26 +00:00
dependabot[bot]
5cfe873146
Bump tokio from 1.47.1 to 1.48.0 ( #19076 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:48:44 +00:00
dependabot[bot]
77c6905805
Bump regex from 1.11.3 to 1.12.2 ( #19074 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 11:47:23 +00:00
Andrew Morgan
7106f67470
Move MacOS wheel deprecation message to top of changelog
2025-10-28 10:22:23 +00:00
Andrew Morgan
d8e6fcced7
1.141.0rc2
2025-10-28 10:20:39 +00:00
Andrew Morgan
db9a61c30f
Fix bcrypt errors preventing users from being able to log in ( #19101 )
2025-10-28 10:16:02 +00:00
dependabot[bot]
634f7cf18b
Bump types-psycopg2 from 2.9.21.20250915 to 2.9.21.20251012 ( #19054 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 16:58:33 +00:00
dependabot[bot]
f6ef9c129a
Bump stefanzweifel/git-auto-commit-action from 6.0.1 to 7.0.0 ( #19052 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 16:58:05 +00:00
Shay
f1695ac20e
Add an admin API to get the space hierarchy ( #19021 )
...
It is often useful when investigating a space to get information about
that space and it's children. This PR adds an Admin API to return
information about a space and it's children, regardless of room
membership. Will not fetch information over federation about remote
rooms that the server is not participating in.
2025-10-24 15:32:16 -05:00
Andrew Ferrazzutti
9d81bb703c
Always treat RETURNING as supported by SQL engines ( #19047 )
...
Can do this now that SQLite 3.35.0 added support for `RETURNING`.
> The RETURNING syntax has been supported by SQLite since version 3.35.0
(2021-03-12).
>
> *-- https://sqlite.org/lang_returning.html *
This also bumps the minimum supported SQLite version according to
Synapse's [deprecation
policy](https://element-hq.github.io/synapse/latest/deprecation_policy.html#platform-dependencies ).
Fix https://github.com/element-hq/synapse/issues/17577
2025-10-24 13:21:49 -05:00
dependabot[bot]
40893be93c
Bump idna from 3.10 to 3.11 ( #19053 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 13:24:16 +01:00
dependabot[bot]
1419b35a40
Bump ijson from 3.4.0 to 3.4.0.post0 ( #19051 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 13:18:25 +01:00
dependabot[bot]
a2fa61d1b5
Bump msgpack from 1.1.1 to 1.1.2 ( #19050 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 13:17:35 +01:00
Andrew Morgan
123eff1bc0
Update poetry dev dependencies name ( #19081 )
2025-10-24 11:19:40 +01:00
Andrew Morgan
a092d2053a
Fix deprecation warning in release script ( #19080 )
2025-10-24 11:19:04 +01:00
Andrew Morgan
45a042ae88
Remove cibuildwheel pp38* skip selector ( #19085 )
2025-10-24 10:39:29 +01:00
Andrew Morgan
72d0de9f30
Don't exit the release script if there are uncommitted changes ( #19088 )
2025-10-24 10:39:06 +01:00
Andrew Morgan
5556b491c1
Spruce up generated announcement text in the release script ( #19089 )
2025-10-24 10:19:44 +01:00
Bryce Servis
b835eb253c
Make optional networking and security settings for Redis more apparent in workers.md ( #19073 )
...
I couldn't really find any documentation regarding how to setup TLS
communication between Synapse and Redis, so I looked through the source
code and found it. I figured I should go ahead and document it here.
2025-10-23 10:10:10 -05:00
Andrew Ferrazzutti
fc244bb592
Use type hinting generics in standard collections ( #19046 )
...
aka PEP 585, added in Python 3.9
- https://peps.python.org/pep-0585/
- https://docs.astral.sh/ruff/rules/non-pep585-annotation/
2025-10-22 16:48:19 -05:00
Eric Eastwood
cba3a814c6
Fix lints on develop ( #19092 )
...
Snuck in with
https://github.com/element-hq/synapse/commit/ff242faad0ce3f6a53c365f1470f782aeee19963
2025-10-22 10:39:04 -05:00
Andrew Morgan
3b59ac3b69
Merge branch 'release-v1.141' into develop
2025-10-21 16:48:09 +01:00
Andrew Morgan
ff242faad0
Don't exit the release script if there are uncommitted changes
...
Instead, all the user to fix them and retry.
2025-10-21 16:40:26 +01:00
Andrew Morgan
1271e896b5
1.141.0rc1
2025-10-21 11:12:59 +01:00
Devon Hudson
c0e9144286
Merge branch 'release-v1.129' into matrix-org-hotfixes
2025-04-16 07:20:54 -06:00
Devon Hudson
cffd982d30
Merge remote-tracking branch 'origin/release-v1.129' into matrix-org-hotfixes
2025-04-15 13:04:03 -06:00
Quentin Gliech
a8a6401b2f
Merge branch 'release-v1.128' into matrix-org-hotfixes
2025-04-01 16:42:21 +02:00
Quentin Gliech
4911795ea2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2025-03-31 10:37:57 +02:00
Andrew Morgan
984d716196
Merge branch 'release-v1.127' of github.com:element-hq/synapse into matrix-org-hotfixes
2025-03-27 10:03:13 +00:00
Erik Johnston
a086e3adb7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2025-03-18 10:33:28 +00:00
Andrew Morgan
06bdc98ca2
Bump db txn expected count in relations tests
...
As we're now performing another db txn to check if the user is an admin.
2025-03-14 10:18:29 +00:00
Travis Ralston
4ac6aa79bd
Empty commit to fix CI
2025-03-14 10:18:24 +00:00
turt2live
bf06f42608
Attempt to fix linting
2025-03-14 10:18:15 +00:00
Travis Ralston
f7a92226bc
changelog
2025-03-14 10:18:09 +00:00
Travis Ralston
a65e8640fe
Allow admins to see soft failed events
2025-03-14 10:18:05 +00:00
Andrew Morgan
19129ba4b0
Merge branch 'develop' into matrix-org-hotfixes
2025-03-14 10:17:34 +00:00
Olivier 'reivilibre
2e609202b4
Merge branch 'release-v1.126' into matrix-org-hotfixes
2025-03-07 16:03:23 +00:00
Olivier 'reivilibre
a9f27ff73f
Merge branch 'release-v1.126' into matrix-org-hotfixes
2025-03-04 13:31:38 +00:00
Quentin Gliech
db9a75c46b
Merge remote-tracking branch 'origin/release-v1.125' into matrix-org-hotfixes
2025-02-18 14:35:44 +01:00
Till Faelligen
bbafd5a21d
Merge remote-tracking branch 'origin/release-v1.124' into matrix-org-hotfixes
2025-02-11 11:59:26 +01:00
Erik Johnston
fed913aef1
Merge remote-tracking branch 'origin/release-v1.124' into matrix-org-hotfixes
2025-02-07 10:19:09 +00:00
Erik Johnston
78b02a348a
Merge remote-tracking branch 'origin/release-v1.124' into matrix-org-hotfixes
2025-02-05 16:26:20 +00:00
Erik Johnston
95f5f2bc10
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2025-02-05 14:20:31 +00:00
Erik Johnston
87bd7ae707
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2025-02-04 09:23:11 +00:00
Andrew Morgan
add2f8d03c
Move (un)block_room storage function to RoomWorkerStore
...
This is so workers can call these functions.
2025-01-30 17:45:14 +00:00
Till Faelligen
9d5a6057ec
Merge remote-tracking branch 'origin/release-v1.123' into matrix-org-hotfixes
2025-01-21 15:03:55 +01:00
Olivier 'reivilibre
2beaad71cc
Merge branch 'release-v1.122' into matrix-org-hotfixes
2025-01-07 15:49:43 +00:00
Till Faelligen
2487ea5b9e
Merge remote-tracking branch 'origin/release-v1.121' into matrix-org-hotfixes
2024-12-11 13:16:37 +01:00
Andrew Morgan
0fb2633a27
Merge branch 'release-v1.121' into matrix-org-hotfixes
2024-12-04 14:52:27 +00:00
Quentin Gliech
ca87366454
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-12-04 10:16:13 +01:00
Erik Johnston
445b83bdc7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-11-29 10:11:51 +00:00
Erik Johnston
fa8d6d3dbf
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-11-27 14:01:13 +00:00
Quentin Gliech
8eaa88cbaf
Merge branch 'release-v1.120' into matrix-org-hotfixes
2024-11-26 14:12:04 +01:00
Quentin Gliech
b4b1705927
Merge remote-tracking branch 'origin/release-v1.120' into matrix-org-hotfixes
2024-11-26 08:47:48 +01:00
Olivier 'reivilibre
f4bbc74f44
Merge branch 'release-v1.120' into matrix-org-hotfixes
2024-11-20 15:16:26 +00:00
Erik Johnston
c9bd03ea34
Merge remote-tracking branch 'origin/release-v1.119' into matrix-org-hotfixes
2024-11-11 10:46:47 +00:00
Erik Johnston
b8a7bffff0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-11-06 11:22:13 +00:00
Till Faelligen
82a385d9c9
Merge remote-tracking branch 'origin/release-v1.118' into matrix-org-hotfixes
2024-10-29 15:35:55 +01:00
Andrew Morgan
d315523f40
Merge remote-tracking branch 'origin/release-v1.118' into matrix-org-hotfixes
2024-10-22 12:08:20 +01:00
Andrew Morgan
8a0bfd2f02
Merge branch 'develop' of github.com:element-hq/synapse into matrix-org-hotfixes
2024-10-17 10:29:07 +01:00
Erik Johnston
63439300cd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-10-08 11:44:08 +01:00
Erik Johnston
c9baa73896
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-10-01 11:04:32 +01:00
Quentin Gliech
c19eb6fdaf
Merge branch 'release-v1.116' into matrix-org-hotfixes
2024-09-26 15:30:52 +02:00
Quentin Gliech
0674a2420c
Merge branch 'release-v1.116' into matrix-org-hotfixes
2024-09-25 11:36:20 +02:00
Erik Johnston
65f5373035
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-09-20 08:13:47 +01:00
Erik Johnston
26ac069915
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-09-19 17:20:00 +01:00
Olivier 'reivilibre
df28811624
Merge branch 'develop' into matrix-org-hotfixes
2024-09-19 11:10:46 +01:00
Devon Hudson
4dfaa7f772
Merge branch 'origin/develop' into matrix-org-hotfixes
2024-09-18 10:39:11 -06:00
Olivier 'reivilibre
521532a3dc
Merge branch 'develop' into matrix-org-hotfixes
2024-09-17 14:33:32 +01:00
Andrew Morgan
3db6a83d35
Merge branch 'develop' of github.com:element-hq/synapse into matrix-org-hotfixes
2024-09-16 10:32:01 +01:00
Andrew Morgan
a9e191b28e
Merge branch 'release-v1.115' of github.com:element-hq/synapse into matrix-org-hotfixes
2024-09-12 11:20:45 +01:00
Erik Johnston
7bb499154a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-09-11 14:16:51 +01:00
Erik Johnston
e7234d0ce1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-09-10 10:35:30 +01:00
Erik Johnston
0c512abce1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-09-10 10:32:01 +01:00
Erik Johnston
e21bbe9070
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-09-01 12:27:04 +01:00
Erik Johnston
bb70d6d9e0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-29 16:59:04 +01:00
Erik Johnston
313ac69d0a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-29 16:31:17 +01:00
Erik Johnston
bd00c10485
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-29 13:38:41 +01:00
Erik Johnston
a6d259a775
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-29 12:52:28 +01:00
Olivier 'reivilibre
18d0f269ab
Merge branch 'rei/no_imgs_in_notif_emails' into matrix-org-hotfixes
2024-08-22 14:17:06 +01:00
Olivier 'reivilibre
f0ebe2f215
Remove images from message notification e-mails
2024-08-22 14:16:10 +01:00
Quentin Gliech
60f2782a82
Merge remote-tracking branch 'origin/release-v1.114' into matrix-org-hotfixes
2024-08-20 15:33:26 +02:00
Erik Johnston
df995ed1fe
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-20 12:57:56 +01:00
Erik Johnston
a378a92bb0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-20 10:35:53 +01:00
Erik Johnston
abd516304e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-16 16:04:59 +01:00
Erik Johnston
988e74eabf
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-14 13:47:10 +01:00
Erik Johnston
829f2d0605
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-14 12:42:35 +01:00
Andrew Morgan
5e16820e4c
Register the media threadpool with our metrics
...
Otherwise it won't be visible.
2024-08-13 18:30:49 +01:00
Andrew Morgan
856db87bc7
Merge branch 'develop' of github.com:element-hq/synapse into matrix-org-hotfixes
2024-08-13 18:00:21 +01:00
Erik Johnston
e650f51e46
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-13 16:54:06 +01:00
Erik Johnston
697f7dae40
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-13 15:06:19 +01:00
Erik Johnston
62a52a7926
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-13 14:07:04 +01:00
Erik Johnston
170059b27a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-12 09:18:13 +01:00
Erik Johnston
46c66aa8e7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-08 11:27:23 +01:00
Andrew Morgan
4907b7d459
Merge remote-tracking branch 'origin/release-v1.113' into matrix-org-hotfixes
2024-08-06 12:31:23 +01:00
Erik Johnston
f2a4798528
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-08-06 10:44:51 +01:00
Olivier 'reivilibre
b0800d3ba6
Merge branch 'rei/twisted_247rc1' into matrix-org-hotfixes
2024-07-30 15:11:03 +01:00
Olivier 'reivilibre
dc03039b70
Change to misc
2024-07-30 14:55:27 +01:00
Olivier 'reivilibre
a301c63426
Fix and hush Mypy errors
2024-07-30 14:54:42 +01:00
Olivier 'reivilibre
48bac0db0d
Newsfile
...
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2024-07-30 14:27:19 +01:00
Olivier 'reivilibre
48d92ed0f6
Make HTTP proxy support changes in Twisted 24.7.0rc1
2024-07-30 14:27:19 +01:00
Olivier 'reivilibre
d216a956b6
Slightly simplify some tests whilst reducing 'Any'-typing
2024-07-30 14:27:19 +01:00
Olivier 'reivilibre
98876d342f
Fix tests relying on headers not being Headers
2024-07-30 14:27:19 +01:00
Olivier 'reivilibre
3b8ed30163
Fix signature and bug in writeHeaders in the tests
2024-07-30 14:27:19 +01:00
Olivier 'reivilibre
b220096147
Update locked dependency on Twisted to 24.7.0rc1
...
Pulls in fix for
https://github.com/twisted/twisted/security/advisories/GHSA-c8m8-j448-xjx7
2024-07-30 11:51:26 +01:00
Erik Johnston
3f6a71bd71
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-30 10:58:17 +01:00
Erik Johnston
9cdfb4e08d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-30 09:31:42 +01:00
Erik Johnston
15147dba15
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-24 15:29:14 +01:00
Erik Johnston
b003be0ad0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-23 14:07:36 +01:00
Erik Johnston
b1d4bfe053
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-18 13:00:18 +01:00
Erik Johnston
84d14b4aa8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-18 12:51:37 +01:00
Till Faelligen
89e764e332
Merge remote-tracking branch 'origin/release-v1.111' into matrix-org-hotfixes
2024-07-16 12:59:48 +02:00
Erik Johnston
dd50e9e86f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-11 16:05:11 +01:00
Quentin Gliech
9fc80af80c
Merge remote-tracking branch 'origin/release-v1.111' into matrix-org-hotfixes
2024-07-10 10:52:29 +02:00
Olivier 'reivilibre
b6e9441409
Only log once when waiting for current token to catch up
...
Rather than once every 0.5s
2024-07-09 21:28:18 +01:00
Quentin Gliech
ca66648b11
Merge branch 'release-v1.111' into matrix-org-hotfixes
2024-07-09 12:38:58 +02:00
Quentin Gliech
1ced5f1073
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-09 12:12:13 +02:00
Quentin Gliech
d98fffa1ab
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-09 11:37:08 +02:00
Erik Johnston
97795d8437
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-07-08 10:35:57 +01:00
Erik Johnston
6e2453066d
Merge remote-tracking branch 'origin/release-v1.110' into matrix-org-hotfixes
2024-07-02 14:09:36 +01:00
Erik Johnston
71ed997718
Merge branch 'release-v1.110' into matrix-org-hotfixes
2024-07-02 12:41:04 +01:00
Till Faelligen
ddc46e90a8
Merge remote-tracking branch 'origin/release-v1.110' into matrix-org-hotfixes
2024-06-26 15:11:55 +02:00
Till Faelligen
4021cb186d
Merge remote-tracking branch 'origin/release-v1.110' into matrix-org-hotfixes
2024-06-26 14:51:13 +02:00
Erik Johnston
1379286f69
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-06-25 11:19:06 +01:00
Erik Johnston
8a2a335db4
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-06-24 16:21:16 +01:00
Erik Johnston
e1324ab2c1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-06-19 17:39:55 +01:00
Erik Johnston
4f308ea362
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-06-19 10:34:40 +01:00
Andrew Morgan
0b01683e80
Revert "Support MSC3916 by adding a federation /download endpoint" ( #17325 )
2024-06-18 17:02:26 +01:00
Erik Johnston
edc36df409
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-06-18 14:06:08 +01:00
Quentin Gliech
e081fcfa85
Merge remote-tracking branch 'origin/release-v1.109' into matrix-org-hotfixes
2024-06-18 11:51:20 +02:00
Quentin Gliech
4375273374
Merge remote-tracking branch 'origin/release-v1.109' into matrix-org-hotfixes
2024-06-17 14:37:21 +02:00
Quentin Gliech
329514de69
Merge remote-tracking branch 'origin/release-v1.109' into matrix-org-hotfixes
2024-06-17 13:50:31 +02:00
Quentin Gliech
6a860838bb
Fix the import for RequestBodyModel
...
This apparently got moved in develop, so cherry-picking the merge
stuff.
This should be reverted once we merge develop again
2024-06-12 13:35:59 +02:00
Travis Ralston
52f47d12a9
Add report room API (MSC4151) ( #17270 )
...
https://github.com/matrix-org/matrix-spec-proposals/pull/4151
This is intended to be enabled by default for immediate use. When FCP is
complete, the unstable endpoint will be dropped and stable endpoint
supported instead - no backwards compatibility is expected for the
unstable endpoint.
2024-06-12 12:29:48 +02:00
Erik Johnston
f5d7a8951d
Merge remote-tracking branch 'origin/release-v1.109' into matrix-org-hotfixes
2024-06-11 11:07:20 +01:00
Erik Johnston
b03e8cdaec
Don't cache
2024-06-06 15:46:00 +01:00
Erik Johnston
04dc1a7afb
Always return OTK counts
2024-06-06 15:13:21 +01:00
Andrew Morgan
abb3f75cd5
Merge remote-tracking branch 'origin/release-v1.109' into matrix-org-hotfixes
2024-06-04 09:50:07 +01:00
Erik Johnston
9ddaa8c418
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-31 11:28:18 +01:00
Erik Johnston
293eeffb0c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-30 14:30:39 +01:00
Erik Johnston
f266dfebc7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-30 11:22:47 +01:00
Erik Johnston
e4550d4c64
Fix lack of PostgresEngine imported
2024-05-29 13:55:45 +01:00
Erik Johnston
484845524f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-29 13:40:10 +01:00
Olivier 'reivilibre
7786060e4a
Merge branch 'rei/task_scheduler_better_logging' into matrix-org-hotfixes
2024-05-18 21:16:23 +01:00
Olivier 'reivilibre
effebb3e88
Oops! Clock.time gives seconds
2024-05-18 21:16:06 +01:00
Olivier 'reivilibre
cdd333b4f1
Merge branch 'rei/task_scheduler_better_logging' into matrix-org-hotfixes
2024-05-18 20:51:16 +01:00
Olivier 'reivilibre
3958fdab77
Newsfile
...
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2024-05-18 20:50:40 +01:00
Olivier 'reivilibre
d7b8d87dad
Log task usage upon finish and every 5 minutes otherwise
2024-05-18 20:50:40 +01:00
Olivier 'reivilibre
dd5f3eb17d
Merge branch 'rei/task_scheduler_better_logging' into matrix-org-hotfixes
2024-05-18 20:47:00 +01:00
Olivier 'reivilibre
d9003ae507
Newsfile
...
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2024-05-18 20:44:49 +01:00
Olivier 'reivilibre
5831342024
Log task usage upon finish and every 5 minutes otherwise
2024-05-18 20:44:49 +01:00
Olivier 'reivilibre
02efa51f0f
Merge branch 'erikj/wait_for_stream_pos' into matrix-org-hotfixes
2024-05-18 19:50:05 +01:00
Olivier 'reivilibre
122d190e40
Merge branch 'erikj/device_list_sync_perf' into matrix-org-hotfixes
2024-05-18 16:33:57 +01:00
Erik Johnston
6a0d2dc6fc
Only check for all rooms if not outbound poke
2024-05-18 16:12:46 +01:00
Olivier 'reivilibre
233e25e193
Merge branch 'erikj/device_list_sync_perf' into matrix-org-hotfixes
2024-05-18 15:21:52 +01:00
Olivier 'reivilibre
1e4d9df3cd
Add current token to log line
2024-05-18 15:21:40 +01:00
Erik Johnston
7bd1575ddf
Ignore typing stream for now
2024-05-18 13:08:52 +01:00
Erik Johnston
a2dc84fc90
Bump typing_extensions version
2024-05-18 12:40:04 +01:00
Erik Johnston
e6d3d808aa
Newsfile
2024-05-18 12:33:46 +01:00
Erik Johnston
cf474a094f
Add stream change cache for device lists in room
2024-05-18 12:33:26 +01:00
Erik Johnston
5b2b3120c2
Cap the top stream ID when fetching changed devices
2024-05-18 12:27:27 +01:00
Erik Johnston
bec0313e1b
Improve perf of sync device lists ( #17191 )
...
It's almost always more efficient to query the rooms that have device
list changes, rather than looking at the list of all users whose devices
have changed and then look for shared rooms.
2024-05-18 12:27:12 +01:00
Erik Johnston
bd6b57653f
Newsfile
2024-05-18 12:23:54 +01:00
Erik Johnston
169c9f85a8
In sync wait for worker to catch up since token
...
Otherwise things will get confused.
2024-05-18 12:22:09 +01:00
Erik Johnston
1b7fa7b04a
Add StreamToken.is_before_or_eq func
2024-05-18 12:08:30 +01:00
Olivier 'reivilibre
a6b7aed06a
Merge branch 'develop' into matrix-org-hotfixes
2024-05-18 12:05:59 +01:00
Erik Johnston
212f6646a6
Merge branch 'erikj/redundant_outbound_pokes' into matrix-org-hotfixes
2024-05-17 18:07:11 +01:00
Erik Johnston
db39ef061b
Newsfile
2024-05-17 17:39:14 +01:00
Erik Johnston
689666c4ba
Reduce work of calculating outbound device pokes
2024-05-17 17:38:44 +01:00
Erik Johnston
12a4094a5f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-16 16:08:39 +01:00
Erik Johnston
47aa20f104
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-14 15:10:14 +01:00
Erik Johnston
cef3519e96
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-13 13:11:28 +01:00
Erik Johnston
784c048aa4
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-13 12:12:54 +01:00
Olivier 'reivilibre
1629429538
Merge remote-tracking branch 'origin/release-v1.107' into matrix-org-hotfixes
2024-05-07 16:35:57 +01:00
Erik Johnston
fa68816fb8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-05-07 11:48:08 +01:00
Olivier 'reivilibre
b9639065eb
Merge remote-tracking branch 'origin/release-v1.106' into matrix-org-hotfixes
2024-04-25 16:01:00 +01:00
Erik Johnston
31ac8b745c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-04-18 13:34:28 +01:00
Andrew Morgan
656a007c70
Revert "block non-admins from publishing to room directory"
...
This reverts commit e34f406cfd .
2024-04-15 15:56:09 +01:00
Andrew Morgan
09885e1a33
Merge branch 'release-v1.105' into matrix-org-hotfixes
2024-04-11 12:48:18 +01:00
Erik Johnston
b1c1f6d29a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-04-10 11:19:31 +01:00
Erik Johnston
562066577c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-04-08 14:55:30 +01:00
Erik Johnston
b02490afcd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-04-08 14:25:41 +01:00
Erik Johnston
6e95084685
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-04-08 10:11:02 +01:00
Erik Johnston
7d5f3ea750
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-03-28 16:32:02 +00:00
Erik Johnston
88273387d2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-03-26 13:27:02 +00:00
Erik Johnston
00bc269a8a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-03-26 11:49:43 +00:00
Erik Johnston
d9db944600
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-03-12 14:39:54 +00:00
Andrew Morgan
5a4b8b8456
Merge branch 'release-v1.102' into matrix-org-hotfixes
2024-03-05 12:50:29 +00:00
Andrew Morgan
2b78ad37b3
Revert "Improve DB performance of calculating badge counts for push. ( #16756 )"
...
This reverts commit b11f7b5122 .
2024-03-05 11:51:18 +00:00
Andrew Morgan
beff0a756e
Merge branch 'develop' into matrix-org-hotfixes
2024-02-20 14:31:44 +00:00
Erik Johnston
6dbedcf601
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-02-13 13:25:43 +00:00
Erik Johnston
d1c180a7c9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-02-09 10:53:01 +00:00
Erik Johnston
f7a8fafbc1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-02-06 15:27:17 +00:00
Olivier Wilkinson (reivilibre)
cf83fac597
Merge branch 'release-v1.100' into matrix-org-hotfixes
2024-01-24 14:19:06 +00:00
Olivier Wilkinson (reivilibre)
d5e213e16f
Merge branch 'release-v1.100' into matrix-org-hotfixes
2024-01-23 15:30:03 +00:00
Erik Johnston
9302d20247
Speed up e2e device keys queries for bot accounts
2024-01-22 17:25:21 +00:00
Erik Johnston
87ababed7b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-01-17 13:40:33 +00:00
Erik Johnston
4df836af09
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-01-12 12:20:17 +00:00
Erik Johnston
3f96c956f1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2024-01-09 11:18:58 +00:00
Erik Johnston
e21ffb8948
Fix 'block non-admins from publishing to room directory'
2023-12-22 11:25:15 +00:00
Erik Johnston
c2deef254a
Merge remote-tracking branch 'shay/shay/freeze_directory' into matrix-org-hotfixes
2023-12-12 16:17:52 +00:00
H. Shay
e34f406cfd
block non-admins from publishing to room directory
2023-12-11 20:06:34 -08:00
Erik Johnston
f0b69250b5
Merge remote-tracking branch 'origin/release-v1.98' into matrix-org-hotfixes
2023-12-05 16:14:32 +00:00
Erik Johnston
9583a06178
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-12-05 15:52:49 +00:00
Erik Johnston
afc82ecb44
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-12-04 09:58:38 +00:00
Erik Johnston
9c3b906b3a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-20 10:09:33 +00:00
Erik Johnston
f8f7355678
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-16 16:57:54 +00:00
Erik Johnston
01b2477b10
Revert "Fix test not detecting tables with missing primary keys and missing replica identities, then add more replica identities. ( #16647 )"
...
This reverts commit 830988ae72 .
2023-11-16 16:53:04 +00:00
Erik Johnston
a96086e9ed
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-16 16:50:37 +00:00
Erik Johnston
b20bdd3997
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-16 16:27:21 +00:00
Patrick Cloke
8c2d3d0b4c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-09 11:14:57 -05:00
Patrick Cloke
b77c9c3f73
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-08 07:45:34 -05:00
Patrick Cloke
671266b5a9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-11-03 07:45:38 -04:00
Erik Johnston
728f163f51
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-10-31 13:45:19 +00:00
Erik Johnston
aa00ab19ce
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-10-30 14:48:17 +00:00
Erik Johnston
ab4d4073de
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-10-30 12:28:01 +00:00
Erik Johnston
22eb7b0186
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-10-27 16:08:05 +01:00
Patrick Cloke
46fd454783
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-10-27 09:32:35 -04:00
Patrick Cloke
07b3b9a95e
Merge branch 'release-v1.95' into matrix-org-hotfixes
2023-10-17 11:56:14 -04:00
Olivier Wilkinson (reivilibre)
e09b91b9d6
Revert "TEMPORARY Measure and log test cases"
...
This reverts commit adfdd6afe1 .
2023-10-17 11:44:57 +01:00
Olivier Wilkinson (reivilibre)
adfdd6afe1
TEMPORARY Measure and log test cases
2023-10-17 11:42:24 +01:00
Olivier Wilkinson (reivilibre)
8c60ebf209
Revert "TEMPORARY Subdivide _resolve_events Measure blocks"
...
This reverts commit f3db863420 .
2023-10-16 18:24:46 +01:00
Olivier Wilkinson (reivilibre)
1e1cf4bb9d
Revert "TEMPORARY Add more Measure blocks"
...
This reverts commit adfa0fded3 .
2023-10-16 18:24:45 +01:00
Olivier Wilkinson (reivilibre)
adfa0fded3
TEMPORARY Add more Measure blocks
2023-10-16 18:15:48 +01:00
Olivier Wilkinson (reivilibre)
f3db863420
TEMPORARY Subdivide _resolve_events Measure blocks
2023-10-16 17:55:05 +01:00
Olivier Wilkinson (reivilibre)
96769a229c
TEMPORARY Disable prune_old_outbound_device_pokes
...
See #16480
2023-10-16 17:37:58 +01:00
David Robertson
6cb0b8b048
Merge remote-tracking branch 'origin/release-v1.94' into matrix-org-hotfixes
2023-10-03 12:03:50 +01:00
Patrick Cloke
656ffa23c9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-10-02 09:08:23 -04:00
Patrick Cloke
e60993e42d
Revert "Temporarily disable webp thumbnailing"
...
This reverts commit 93248076c2 .
2023-09-25 08:12:05 -04:00
Patrick Cloke
7ab1b46029
Merge remote-tracking branch 'origin/release-v1.93' into matrix-org-hotfixes
2023-09-19 08:14:46 -04:00
Erik Johnston
93248076c2
Temporarily disable webp thumbnailing
2023-09-15 15:45:41 +01:00
Erik Johnston
1e0b96f1a4
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-09-14 16:21:58 +01:00
Erik Johnston
60b3dc65f6
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-09-13 11:59:54 +01:00
Erik Johnston
9a28f154c8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-09-13 11:54:35 +01:00
Erik Johnston
3bb8cce692
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-09-13 11:12:26 +01:00
Patrick Cloke
ec703e7d97
Merge branch 'release-v1.92' into matrix-org-hotfixes
2023-09-06 11:25:41 -04:00
David Robertson
0e8cbbdb8e
Merge remote-tracking branch 'origin/release-v1.92' into matrix-org-hotfixes
2023-09-05 14:40:53 +01:00
David Robertson
e4fe4dbecd
Merge remote-tracking branch 'origin/release-v1.91' into matrix-org-hotfixes
2023-09-04 10:42:51 +01:00
Erik Johnston
535e5832a3
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-08-23 16:24:44 +01:00
Erik Johnston
a8bd3df5e1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-08-23 14:00:49 +01:00
Erik Johnston
b7d0c7d3fd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-08-23 13:46:10 +01:00
Erik Johnston
144cf227ca
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-08-23 09:41:34 +01:00
Erik Johnston
de16789d87
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-08-18 11:06:02 +01:00
Erik Johnston
94d4507d35
Merge remote-tracking branch 'origin/release-v1.90' into matrix-org-hotfixes
2023-08-09 11:00:30 +01:00
Mathieu Velten
42ec11ae56
Merge branch 'release-v1.89' into matrix-org-hotfixes
2023-07-26 14:57:13 +02:00
Mathieu Velten
2eada7ef13
Merge branch 'release-v1.89' into matrix-org-hotfixes
2023-07-25 14:43:27 +02:00
Erik Johnston
b89e8d695d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-07-20 16:19:45 +01:00
Erik Johnston
d9fa426a54
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-07-20 11:08:14 +01:00
Erik Johnston
1ea1a0b251
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-07-20 10:50:03 +01:00
Olivier Wilkinson (reivilibre)
d31e6c7541
Merge branch 'release-v1.88' into matrix-org-hotfixes
2023-07-18 14:11:42 +01:00
David Robertson
426cf50ecc
Merge remote-tracking branch 'origin/release-v1.88' into matrix-org-hotfixes
2023-07-11 10:37:37 +01:00
Erik Johnston
21cb804023
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-06-27 10:31:31 +01:00
Erik Johnston
fb8d629dcd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-06-23 09:31:50 +01:00
Mathieu Velten
98a00339a5
Merge branch 'release-v1.86' into matrix-org-hotfixes
2023-06-13 11:27:29 +02:00
David Robertson
50cb0d298a
Merge remote-tracking branch 'origin/release-v1.85' into matrix-org-hotfixes
2023-06-01 11:12:11 +01:00
David Robertson
4427151a21
Merge remote-tracking branch 'origin/release-v1.85' into matrix-org-hotfixes
2023-05-30 14:20:41 +01:00
Erik Johnston
881855d4e3
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-05-24 15:49:43 +01:00
Olivier Wilkinson (reivilibre)
184a688c64
Merge branch 'release-v1.84' into matrix-org-hotfixes
2023-05-16 12:14:55 +01:00
Erik Johnston
106fb7005d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-05-12 11:38:28 +01:00
Erik Johnston
7c74fe01d3
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-05-12 11:09:10 +01:00
Sean Quah
36b72b9f2e
Revert "Redirect event persistence traffic to a particular event persister worker"
...
Now that things have settled down in the two rooms we special-cased, we
can return the sharding config to normal.
Rich suspects that event_persister-4 being idle was the cause of
federation senders getting stuck on 2023-05-11. It was observed that the
min stream position of RoomStreamTokens was not advancing.
This reverts commit 2263c3bcd7 .
2023-05-12 11:01:57 +01:00
Andrew Morgan
2263c3bcd7
Redirect event persistence traffic to a particular event persister worker
2023-05-10 19:55:20 +01:00
Sean Quah
c9b98e85b6
Merge remote-tracking branch 'origin/release-v1.83' into matrix-org-hotfixes
2023-05-03 13:11:09 +01:00
Sean Quah
c2abd04877
Merge remote-tracking branch 'origin/release-v1.83' into matrix-org-hotfixes
2023-05-02 16:33:00 +01:00
David Robertson
d1b33ae118
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-04-26 11:38:39 +01:00
Olivier Wilkinson (reivilibre)
d94aba25a6
Merge branch 'release-v1.82' into matrix-org-hotfixes
2023-04-18 10:59:20 +01:00
Olivier Wilkinson (reivilibre)
85fc42c546
Merge branch 'release-v1.82' into matrix-org-hotfixes
2023-04-18 10:24:22 +01:00
Olivier Wilkinson (reivilibre)
2cf9f78d23
Merge branch 'develop' into matrix-org-hotfixes
2023-04-13 15:06:42 +01:00
Olivier Wilkinson (reivilibre)
7212fc4659
Merge branch 'develop' into matrix-org-hotfixes
2023-04-13 11:55:21 +01:00
David Robertson
b1c36648b5
Merge remote-tracking branch 'origin/release-v1.81' into matrix-org-hotfixes
2023-04-06 15:33:43 +01:00
Erik Johnston
ab0a5f1972
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-04-04 14:11:53 +01:00
Erik Johnston
5c42359de8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-03-31 13:52:25 +01:00
Sean Quah
46a2fbea6a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-03-31 12:12:40 +01:00
Sean Quah
bf81ee4217
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-03-31 10:17:16 +01:00
Erik Johnston
16e07b6742
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-03-29 14:43:08 +01:00
Erik Johnston
85630ad1f8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-03-29 13:24:47 +01:00
Erik Johnston
34a2dff973
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-03-29 13:10:57 +01:00
Mathieu Velten
53352a2b80
Merge remote-tracking branch 'origin/release-v1.80' into matrix-org-hotfixes
2023-03-22 11:28:59 +01:00
Mathieu Velten
6400f03029
Merge remote-tracking branch 'origin/release-v1.80' into matrix-org-hotfixes
2023-03-21 12:52:12 +01:00
David Robertson
7317f83510
Merge remote-tracking branch 'origin/release-v1.79' into matrix-org-hotfixes
2023-03-13 13:00:31 +00:00
David Robertson
b4df6be0d0
Revert "Hack to workaround libera federation pain"
...
This reverts commit ab629c17cc .
2023-03-13 12:44:50 +00:00
David Robertson
ab629c17cc
Hack to workaround libera federation pain
...
as seen in https://github.com/matrix-org/synapse/issues/15216
2023-03-07 19:49:14 +00:00
David Robertson
a95e906227
Merge remote-tracking branch 'origin/release-v1.79' into matrix-org-hotfixes
2023-03-07 12:17:08 +00:00
Erik Johnston
b67e4b6015
Merge remote-tracking branch 'origin/release-v1.78' into matrix-org-hotfixes
2023-02-24 14:45:26 +00:00
Olivier Wilkinson (reivilibre)
6bb4db78ce
MORG HOTFIXES: increase /state response body size limit to 600MB
...
See #15127 .
2023-02-21 20:03:45 +00:00
Olivier Wilkinson (reivilibre)
e0f9a514c6
Merge branch 'release-v1.78' into matrix-org-hotfixes
2023-02-21 14:47:40 +00:00
David Robertson
e984b6f9dd
Use changelog from release branch
2023-02-10 18:24:15 +00:00
David Robertson
4d2d701840
Clean up old changelog files
2023-02-10 18:22:26 +00:00
David Robertson
269f22478c
Merge branch 'release-v1.77' into matrix-org-hotfixes
2023-02-10 18:05:34 +00:00
Erik Johnston
19bb342763
Merge remote-tracking branch 'origin/release-v1.77' into matrix-org-hotfixes
2023-02-09 15:30:19 +00:00
Patrick Cloke
3be2fc192d
Merge remote-tracking branch 'origin/release-v1.77' into matrix-org-hotfixes
2023-02-08 10:24:46 -05:00
David Robertson
599960bacf
Merge remote-tracking branch 'origin/release-v1.77' into matrix-org-hotfixes
2023-02-07 16:27:37 +00:00
David Robertson
78a4caad72
Merge branch 'release-v1.77' into matrix-org-hotfixes
2023-02-07 13:48:42 +00:00
Patrick Cloke
306ecd6740
Skip unused calculations in sync handler. ( #14908 )
...
If a sync request does not need to calculate per-room entries &
is not generating presence & is not generating device list data
(e.g. during initial sync) avoid the expensive calculation of room
specific data.
This is a micro-optimisation for clients syncing simply to receive
to-device information.
2023-02-02 18:49:38 +00:00
Patrick Cloke
0f63c73cf7
Do not calculate presence or ephemeral events when they are filtered out ( #14970 )
...
This expands the previous optimisation from being only for initial
sync to being for all sync requests.
It also inverts some of the logic to be inclusive instead of exclusive.
2023-02-02 18:49:32 +00:00
David Robertson
c9564e08ba
Fix stupid bug
2023-02-02 16:47:39 +00:00
David Robertson
ea3210f8e5
Don't notify a target who's not in the room
...
Also avoid unncessary DB queries when creating a room
2023-02-02 16:30:30 +00:00
David Robertson
a7fa951876
Only notify the target of a membership event
...
Naughty, but should be a big speedup in large rooms
Changelog
2023-02-02 15:43:10 +00:00
David Robertson
769406378c
Cherry-pick "Fetch fewer events when getting hosts in room" (WIP #14962 )
...
This is a squashed verion of the following commits:
- bc739a444fb5bffc6dd3b57399a223bc5b5b4a15
- 70947443798e995ff026819cf5dd6823134ac81a
- f781304e1882fd60cdef84d3405767773237629d
- 7ee3976debf925fc2f79381c0c51003588e31e32
2023-02-01 18:41:56 +00:00
David Robertson
e03b1e858b
Fix my hack
...
The tag isn't set unless we force tracing, apparently
2023-02-01 12:27:22 +00:00
David Robertson
d6e40d75ff
HACK: force tracing for partial state /send_join responses
2023-01-31 15:28:55 +00:00
David Robertson
873cf51149
Tag /send_join responses to detect faster joins ( #14950 )
...
* Tag /send_join responses to detect faster joins
* Changelog
* Define a proper SynapseTag
* isort
2023-01-31 15:25:47 +00:00
David Robertson
488cea0399
Revert "Tag /send_join responses to detect faster joins"
...
This reverts commit 204bdb7f07 . I will
cherry pick #14950 in its place.
2023-01-31 15:25:04 +00:00
David Robertson
204bdb7f07
Tag /send_join responses to detect faster joins
2023-01-31 11:25:21 +00:00
David Robertson
484db60cd6
Merge remote-tracking branch 'origin/release-v1.76' into matrix-org-hotfixes
2023-01-26 17:20:12 +00:00
David Robertson
505d85e0db
Merge remote-tracking branch 'origin/dmr/bump-state-timeouts' into matrix-org-hotfixes
2023-01-25 15:29:55 +00:00
David Robertson
5d8486d43e
Milliseconds!!!!
2023-01-25 15:27:18 +00:00
David Robertson
8d6bb6e8ee
Merge remote-tracking branch 'origin/dmr/bump-state-timeouts' into matrix-org-hotfixes
2023-01-25 15:19:33 +00:00
David Robertson
42996efa78
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-01-25 15:19:17 +00:00
David Robertson
840ba65d92
Changelog
2023-01-25 15:18:17 +00:00
David Robertson
16a4473034
Bump the client-side timeout for /state
...
to allow faster joins resyncs the chance to complete for large rooms.
We have seen this fair poorly (~90s for Matrix HQ's /state) in testing,
causing the resync to advance to another HS who hasn't seen our join yet.
2023-01-25 15:14:26 +00:00
David Robertson
c4c8a2716e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-01-23 11:46:48 +00:00
Erik Johnston
94a75ab6af
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-01-20 09:30:27 +00:00
Erik Johnston
1b001d1069
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2023-01-19 14:21:55 +00:00
David Robertson
6a185c8b17
Merge remote-tracking branch 'origin/release-v1.75' into matrix-org-hotfixes
2023-01-12 10:38:17 +00:00
David Robertson
04aa6a9707
Merge remote-tracking branch 'origin/release-v1.75' into matrix-org-hotfixes
2023-01-10 12:43:28 +00:00
Olivier Wilkinson (reivilibre)
5a1b56b9b0
Merge branch 'rei/dresync_exp' into matrix-org-hotfixes
2022-12-21 13:13:30 +00:00
Olivier Wilkinson (reivilibre)
62e4ad7991
Use the multi-user device resync to batch requests
2022-12-21 13:12:53 +00:00
Olivier Wilkinson (reivilibre)
24b802a524
Merge branch 'rei/dresync_exp' into matrix-org-hotfixes
2022-12-21 11:42:37 +00:00
Olivier Wilkinson (reivilibre)
55a4d7e1ce
Typo fix
2022-12-21 11:42:31 +00:00
Olivier Wilkinson (reivilibre)
ad8265562d
Merge branch 'rei/hiredis_210_no_sdist' into matrix-org-hotfixes
2022-12-21 11:12:50 +00:00
Olivier Wilkinson (reivilibre)
50a56edcc2
Newsfile
...
Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org >
2022-12-21 11:04:34 +00:00
Olivier Wilkinson (reivilibre)
3ac08cc0be
Revert "Bump hiredis from 2.0.0 to 2.1.0 ( #14699 )"
...
This reverts commit 9c89707b56 .
2022-12-21 11:03:26 +00:00
Olivier Wilkinson (reivilibre)
83dab8e25f
Merge branch 'rei/dresync_exp' into matrix-org-hotfixes
2022-12-21 10:51:29 +00:00
Olivier Wilkinson (reivilibre)
65981bcb27
Merge branch 'rei/jumptodate_statement_limit' into matrix-org-hotfixes
2022-12-21 10:51:27 +00:00
Olivier Wilkinson (reivilibre)
cbf1cebef3
Mitigate jump to date slowness by adding 30s timeout
2022-12-20 18:30:47 +00:00
Olivier Wilkinson (reivilibre)
46807789d0
Newsfile
...
Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org >
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
712144e768
Batch up the DB writes when marking failures
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
3d7451e04f
Split out the marking of failed
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
3c68aa4342
Use the multi-user path even for single users
...
This is futureproofing: we'll be able to rip out the single-user path later
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
369a97a714
Use assertions to ensure we don't have our expectations broken
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
b4f98428ca
Add a replication servlet for multi-user device resync
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
55f46d499b
Add multi-user device resync in handler
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
7d2261f922
Limit query_devices_for_destination to 10 concurrent invocations
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
227c953d99
Add async helpers
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
9c4562c74a
Add log lines
2022-12-20 18:21:31 +00:00
Olivier Wilkinson (reivilibre)
2654d61114
Build a set of who we are interested in first and foremost
2022-12-20 18:21:31 +00:00
Sean Quah
9d40fc961b
Merge branch 'release-v1.74' into matrix-org-hotfixes
2022-12-13 13:45:55 +00:00
Olivier Wilkinson (reivilibre)
d0df5cc8ad
Merge branch 'develop' into matrix-org-hotfixes
2022-12-12 14:46:11 +00:00
Erik Johnston
3cab3dae20
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-12-09 17:06:39 +00:00
Erik Johnston
6cbd5ed0c2
Revert "Revert "Delete stale non-e2e devices for users, take 2 ( #14595 )""
...
This reverts commit 694a3fd5c2 .
2022-12-09 17:06:34 +00:00
Andrew Morgan
694a3fd5c2
Revert "Delete stale non-e2e devices for users, take 2 ( #14595 )"
...
This reverts commit c2de2ca630 .
2022-12-09 16:36:15 +00:00
Erik Johnston
90d007ec57
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-12-09 09:53:29 +00:00
Olivier Wilkinson (reivilibre)
e966424466
Merge branch 'develop' into matrix-org-hotfixes
2022-12-07 12:25:52 +00:00
David Robertson
34fa1276a4
Merge branch 'release-v1.73' into matrix-org-hotfixes
2022-12-01 10:03:23 +00:00
David Robertson
9d943ba8a6
Merge remote-tracking branch 'origin/release-v1.73' into matrix-org-hotfixes
2022-11-29 13:05:38 +00:00
David Robertson
b968ecdf45
Merge remote-tracking branch 'origin/release-v1.73' into matrix-org-hotfixes
2022-11-29 12:34:53 +00:00
Erik Johnston
28a84af1bc
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-11-23 14:22:56 +00:00
Erik Johnston
47534a1bff
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-11-22 21:58:38 +00:00
Erik Johnston
2f59645025
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-11-22 16:50:52 +00:00
Erik Johnston
5436c3e0ad
Ignore device list updates for users with large numbers of devices
2022-11-22 16:50:48 +00:00
David Robertson
c3336516d2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-11-22 14:52:01 +00:00
Erik Johnston
6f577a0c21
Merge branch 'release-v1.72' into matrix-org-hotfixes
2022-11-16 15:11:58 +00:00
Richard van der Hoff
39ea774cff
Merge branch 'rav/patch_events_bg_update' into matrix-org-hotfixes
2022-11-05 18:25:11 +00:00
Richard van der Hoff
779d48f4de
Fix background update table-scanning events
...
When this background update did its last batch, it would try to update all the
events that had been inserted since the bgupdate started, which could cause a
table-scan. Make sure we limit the update correctly
2022-11-05 18:23:13 +00:00
Sean Quah
52d4c9f051
Merge remote-tracking branch 'origin/release-v1.71' into matrix-org-hotfixes
2022-11-04 12:20:05 +00:00
Sean Quah
4b38c0a5f2
Merge branch 'squah/unrevert-fts-changes-on-hotfix' into matrix-org-hotfixes
2022-11-04 11:39:49 +00:00
Sean Quah
02a25ce3f9
Revert "Revert "Switch search SQL to triple-quote strings. ( #14311 )""
...
This reverts commit 220af1df54 .
2022-11-04 11:38:46 +00:00
Sean Quah
e2008e4ef5
Revert "Revert "Fix tests for change in PostgreSQL 14 behavior change. ( #14310 )""
...
This reverts commit 7f77f1386c .
2022-11-04 11:38:39 +00:00
Sean Quah
3b44a7c9d1
Revert "Revert "Unified search query syntax using the full-text search capabilities of the underlying DB. ( #11635 )""
...
This reverts commit 7e0dd52782 .
2022-11-04 11:38:31 +00:00
Sean Quah
f8f01b869e
Revert "Disable auto search for prefixes in event search"
...
This reverts commit 24409c7c15 .
2022-11-04 11:38:23 +00:00
David Robertson
37307a5cce
Merge branch 'dmr/revert-fts-changes-on-hotfix' into matrix-org-hotfixes
2022-11-02 12:35:00 +00:00
Erik Johnston
24409c7c15
Disable auto search for prefixes in event search
2022-11-02 12:31:16 +00:00
David Robertson
7e0dd52782
Revert "Unified search query syntax using the full-text search capabilities of the underlying DB. ( #11635 )"
...
This reverts commit d902181de9 .
2022-11-02 12:29:34 +00:00
David Robertson
7f77f1386c
Revert "Fix tests for change in PostgreSQL 14 behavior change. ( #14310 )"
...
This reverts commit 67583281e3 .
2022-11-02 12:28:47 +00:00
David Robertson
220af1df54
Revert "Switch search SQL to triple-quote strings. ( #14311 )"
...
This reverts commit 81815e0561 .
2022-11-02 12:28:24 +00:00
David Robertson
03ba8c83be
Merge branch 'release-v1.71' into matrix-org-hotfixes
2022-11-01 12:48:12 +00:00
Olivier Wilkinson (reivilibre)
18a045ba69
Merge branch 'release-v1.70' into matrix-org-hotfixes
2022-10-28 12:27:04 +01:00
Olivier Wilkinson (reivilibre)
42dc734f85
Merge branch 'release-v1.70' into matrix-org-hotfixes
2022-10-24 17:10:50 +01:00
Erik Johnston
4398548556
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-10-19 10:29:02 +01:00
Erik Johnston
1235316645
Merge remote-tracking branch 'origin/release-v1.70' into matrix-org-hotfixes
2022-10-18 10:55:09 +01:00
Erik Johnston
aca3a117a9
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-hotfixes
2022-10-14 14:49:42 +01:00
Erik Johnston
382c9e9acd
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-hotfixes
2022-10-11 16:43:00 +01:00
Sean Quah
3d5242da14
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-hotfixes
2022-10-06 15:04:49 +01:00
Sean Quah
dedd4cd061
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-hotfixes
2022-10-04 11:26:47 +01:00
Erik Johnston
a2b6ee7b00
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-09-30 14:27:14 +01:00
Erik Johnston
3f30bdca19
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-09-28 11:12:36 +01:00
Olivier Wilkinson (reivilibre)
f4419438c1
Merge branch 'release-v1.68' into matrix-org-hotfixes
2022-09-20 12:24:26 +01:00
Erik Johnston
3a5edde170
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-09-14 14:48:45 +01:00
Erik Johnston
9d2d3bdee6
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-09-06 09:01:48 +01:00
David Robertson
42374f46f5
Merge remote-tracking branch 'origin/release-v1.66' into matrix-org-hotfixes
2022-08-30 12:26:33 +01:00
David Robertson
ce8f7d118c
Merge branch 'release-v1.66' into matrix-org-hotfixes
2022-08-23 12:41:34 +01:00
David Robertson
7ba0336010
Remove the hotfix-specific hack for auth on room_members
...
This reverts fae708c0e8 .
We believe this to be unnecessary---other Synapse deployments do not
have this patch, and we are not aware of bridging problems as a result.
Related:
- https://github.com/matrix-org/matrix-appservice-irc/issues/506
- https://github.com/matrix-org/synapse/issues/4826
2022-08-23 11:31:19 +01:00
David Robertson
7c59528d54
Merge branch 'release-v1.66' into matrix-org-hotfixes
2022-08-23 10:23:40 +01:00
David Robertson
04b00974e5
Merge branch 'release-v1.66' into matrix-org-hotfixes
2022-08-23 10:21:42 +01:00
Andrew Morgan
80bf6da876
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-08-22 10:47:30 +01:00
Olivier Wilkinson (reivilibre)
aedc5b04b9
Merge branch 'develop' into matrix-org-hotfixes
2022-08-19 12:19:30 +01:00
Sean Quah
d20c92d2c2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-08-18 16:27:31 +01:00
Erik Johnston
e91a929049
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-08-17 13:18:00 +01:00
Erik Johnston
7cd167f607
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-08-17 10:54:17 +01:00
Olivier Wilkinson (reivilibre)
d39ca69d0b
Merge branch 'release-v1.65' into matrix-org-hotfixes
2022-08-11 11:42:17 +01:00
Olivier Wilkinson (reivilibre)
ba5d52f50c
Merge branch 'release-v1.65' into matrix-org-hotfixes
2022-08-09 11:49:06 +01:00
Richard van der Hoff
08d6aa3340
Merge branch 'release-v1.64' into matrix-org-hotfixes
2022-07-29 12:32:03 +01:00
Olivier Wilkinson (reivilibre)
0a9bcc0313
Merge branch 'release-v1.64' into matrix-org-hotfixes
2022-07-26 13:05:49 +01:00
Erik Johnston
9d2dab8e7c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-07-25 10:41:03 +01:00
Erik Johnston
fa0fc4acce
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-07-22 10:26:35 +01:00
Sean Quah
54f2ebbea5
Merge remote-tracking branch 'origin/release-v1.63' into matrix-org-hotfixes
2022-07-12 13:15:53 +01:00
Erik Johnston
e808df9e2e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-07-12 09:22:01 +01:00
Erik Johnston
8881bd77d4
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-07-06 12:11:24 +01:00
Andrew Morgan
860ed0e636
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-hotfixes
2022-07-04 16:18:49 +01:00
Erik Johnston
614f6ccb48
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-hotfixes
2022-06-30 15:09:39 +01:00
Andrew Morgan
f825db3d6c
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-hotfixes
2022-06-28 17:02:40 +01:00
Erik Johnston
1bfb991453
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-hotfixes
2022-06-28 13:15:03 +01:00
Erik Johnston
b1ed0e044c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-06-17 10:52:07 +01:00
Olivier Wilkinson (reivilibre)
e3b00708bd
Merge remote-tracking branch 'origin/release-v1.61' into matrix-org-hotfixes
2022-06-07 14:37:24 +01:00
Erik Johnston
d45a0af44d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-06-06 14:12:06 +01:00
Erik Johnston
302491c81e
Merge remote-tracking branch 'origin/release-v1.60' into matrix-org-hotfixes
2022-05-31 13:23:15 +01:00
Sean Quah
7335ab609e
Merge remote-tracking branch 'origin/release-v1.60' into matrix-org-hotfixes
2022-05-27 11:12:13 +01:00
Sean Quah
4ff9477996
Merge remote-tracking branch 'origin/release-v1.60' into matrix-org-hotfixes
2022-05-24 12:09:40 +01:00
Brendan Abolivier
4cee2a6330
Fixup changelog
2022-05-18 12:23:37 +01:00
Brendan Abolivier
dc6e607edc
Merge branch 'release-v1.59' into matrix-org-hotfixes
2022-05-18 11:46:34 +01:00
Erik Johnston
771d2041cd
Fix query performance for /sync
...
Broke in #12729 .
2022-05-16 15:50:05 +01:00
David Robertson
7b83ac8675
Merge remote-tracking branch 'origin/release-v1.59' into matrix-org-hotfixes
2022-05-16 12:55:19 +01:00
David Robertson
42f8b22ce2
Merge branch 'release-v1.59' into matrix-org-hotfixes
2022-05-10 11:34:30 +01:00
David Robertson
3ba5d67cb8
Merge branch 'release-v1.58' into matrix-org-hotfixes
2022-04-26 17:24:44 +01:00
David Robertson
474a964fb7
Merge remote-tracking branch 'origin/release-v1.58' into matrix-org-hotfixes
2022-04-26 12:04:34 +01:00
Andrew Morgan
a794ad17c2
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2022-04-25 14:06:31 +01:00
Erik Johnston
8674fa3bc9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-04-12 12:02:43 +01:00
Erik Johnston
27c2386b3d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-04-07 15:55:46 +01:00
Erik Johnston
c37cd85d8a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-04-07 13:34:23 +01:00
Sean Quah
5f814b2838
Merge remote-tracking branch 'origin/release-v1.56' into matrix-org-hotfixes
2022-04-05 14:12:18 +01:00
Erik Johnston
ee5377c9aa
Merge branch 'erikj/prefill_device_list_change_cache' into matrix-org-hotfixes
2022-04-04 20:13:45 +01:00
Erik Johnston
ea2d01366c
Newsfile
2022-04-04 19:13:58 +01:00
Erik Johnston
f986db2adb
Newsfile
2022-04-04 19:08:42 +01:00
Erik Johnston
36383d48f3
Prefill the device_list_stream_cache
2022-04-04 19:07:49 +01:00
Erik Johnston
fd1b6334f0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-03-29 10:15:25 +01:00
Andrew Morgan
895c12e421
Merge branch 'release-v1.55' of github.com:matrix-org/synapse into matrix-org-hotfixes
2022-03-22 10:38:46 +00:00
Olivier Wilkinson (reivilibre)
d4c9fa5dbd
Merge branch 'release-v1.55' into matrix-org-hotfixes
2022-03-21 14:47:46 +00:00
David Robertson
b9bbbebc06
Merge remote-tracking branch 'origin/release-v1.55' into matrix-org-hotfixes
2022-03-17 11:05:45 +00:00
David Robertson
2207fa50b4
Merge branch 'release-v1.55' into matrix-org-hotfixes
2022-03-15 11:21:08 +00:00
Patrick Cloke
fdc1063782
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-03-10 10:38:28 -05:00
Olivier Wilkinson (reivilibre)
0203dcfe46
Merge branch 'release-v1.54', remote-tracking branch 'origin' into matrix-org-hotfixes
2022-03-08 10:56:20 +00:00
Olivier Wilkinson (reivilibre)
20e10495f6
Merge commit 'd8001' (pre v1.54.0rc1) into matrix-org-hotfixes
2022-03-02 11:18:09 +00:00
reivilibre
f1b625ad56
matrix.org hotfixes: Back out in-flight state cache changes ( #12117 )
2022-03-01 15:30:22 +00:00
Erik Johnston
3d92936c14
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2022-02-22 14:36:44 +00:00
Sean Quah
c5ba1d67b1
Merge branch 'release-v1.53' into matrix-org-hotfixes
2022-02-15 11:40:00 +00:00
David Robertson
ed2f158a38
Printf debugging for MSISDN validation ( #11882 )
...
This makes some attempt to keep CI happy too, but it probably ought not to.
2022-02-08 12:57:17 +00:00
reivilibre
3bf466698f
Hotfixes: Revert commit() OpenTracing hackery ( #11906 )
2022-02-04 10:54:35 +00:00
David Robertson
6705391eec
Merge branch 'release-v1.52' into matrix-org-hotfixes
2022-02-01 11:17:39 +00:00
Richard van der Hoff
2b9f741f3a
Fix logic for dropping old events in fed queue
...
Fixes infinite loops of
> logger.info("Invalid prev_events for %s", event_id)
2022-01-23 21:09:17 +00:00
Olivier Wilkinson (reivilibre)
7977b7f6a8
Merge branch 'release-v1.51' into matrix-org-hotfixes
2022-01-21 10:49:43 +00:00
Andrew Morgan
d1e6333f12
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2022-01-19 12:44:55 +00:00
Andrew Morgan
20d4418485
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2022-01-19 10:59:51 +00:00
Olivier Wilkinson (reivilibre)
8e8a00829f
Merge branch 'release-v1.50' into matrix-org-hotfixes
2022-01-14 10:51:50 +00:00
Richard van der Hoff
5cc41f1b05
Updates to opentracing hackery
2022-01-07 12:49:54 +00:00
Richard van der Hoff
99e7fb1d52
Wrap connection.commit with OpenTracing
...
This is an attempt to diagnose poor apdex levels, per
https://github.com/matrix-org/internal-config/issues/1181
2022-01-07 11:53:28 +00:00
Olivier Wilkinson (reivilibre)
1a776f6710
Merge branch 'release-v1.50' into matrix-org-hotfixes
2022-01-06 16:37:36 +00:00
Olivier Wilkinson (reivilibre)
717a5c085a
Merge branch 'release-v1.50' into matrix-org-hotfixes
2022-01-05 14:19:39 +00:00
Richard van der Hoff
59544678a1
Merge branch 'rav/no_bundle_aggregations_in_sync' into matrix-org-hotfixes
2021-12-15 13:13:08 +00:00
Richard van der Hoff
a9c146ac53
Disable aggregation bundling on /sync responses
...
A partial revert of #11478 . This turns out to have had a significant CPU impact
on initial-sync handling. For now, let's disable it, until we find a more
efficient way of achieving this.
2021-12-15 13:10:25 +00:00
Sean Quah
dbceb00688
Merge branch 'release-v1.49' into matrix-org-hotfixes
2021-12-07 13:57:18 +00:00
Brendan Abolivier
cb79a2b785
Merge branch 'develop' into matrix-org-hotfixes
2021-11-25 15:16:47 +00:00
David Robertson
098e964bbc
Prevent the media store from writing outside of the configured directory
...
And the associated changelog/release process updates too.
Applied by patch from the security fork.
2021-11-23 10:14:27 +00:00
David Robertson
e147f067c5
Merge branch 'release-v1.47' into matrix-org-hotfixes
2021-11-23 10:09:27 +00:00
Andrew Morgan
ce06cb59c3
Merge branch 'release-v1.47' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-11-16 13:55:44 +00:00
Andrew Morgan
2a93005a7b
Merge branch 'release-v1.47' into matrix-org-hotfixes
2021-11-15 11:52:32 +00:00
Olivier Wilkinson (reivilibre)
9d3b04e749
Merge branch 'release-v1.47' into matrix-org-hotfixes
2021-11-09 11:58:35 +00:00
Erik Johnston
459d2ae157
Merge remote-tracking branch 'origin/release-v1.46' into matrix-org-hotfixes
2021-11-02 10:04:06 +00:00
Erik Johnston
2bb023ba2b
Don't seqscan event_json due to relates_to_id
2021-10-27 11:56:36 +01:00
Sean Quah
d8c1a21492
Merge branch 'release-v1.46' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-10-26 14:32:17 +01:00
Sean Quah
c59b9711f3
Merge branch 'release-v1.45' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-10-20 11:06:51 +01:00
David Robertson
27e6e45349
Merge branch 'release-v1.45' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-10-13 10:52:17 +01:00
Erik Johnston
2aacb49446
Merge remote-tracking branch 'origin/release-v1.45' into matrix-org-hotfixes
2021-10-12 14:27:34 +01:00
Brendan Abolivier
6ce0dc0620
Merge branch 'release-v1.45' into matrix-org-hotfixes
2021-10-12 10:21:26 +01:00
Brendan Abolivier
ebbd37b66d
Merge branch 'release-v1.44' into matrix-org-hotfixes
2021-10-04 14:17:05 +01:00
Olivier Wilkinson (reivilibre)
4cb6ffdf46
Merge branch 'release-v1.44' into matrix-org-hotfixes
2021-09-30 11:43:38 +01:00
Erik Johnston
b9a0f7983d
Merge remote-tracking branch 'origin/release-v1.44' into matrix-org-hotfixes
2021-09-28 14:37:06 +01:00
Erik Johnston
ba3a888a05
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-09-28 11:55:53 +01:00
David Robertson
a8340692ab
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-09-22 13:35:31 +01:00
Erik Johnston
2cc4c33d0a
Merge remote-tracking branch 'origin/dmr/cache-eviction-hack' into matrix-org-hotfixes
2021-09-16 11:13:00 +01:00
Erik Johnston
bb0a4bd6d5
Merge remote-tracking branch 'origin/release-v1.43' into matrix-org-hotfixes
2021-09-16 11:12:52 +01:00
David Robertson
6227858482
Changelog
2021-09-15 17:22:21 +01:00
David Robertson
361ffb8f0a
Don't expire get_users_who_share_room & friends
2021-09-15 17:22:17 +01:00
David Robertson
c9fb203ce0
Allow LruCaches to opt out of time-based expiry
2021-09-15 17:20:07 +01:00
Andrew Morgan
003c2ab629
Merge branch 'release-v1.43' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-09-14 11:02:37 +01:00
Richard van der Hoff
97ef48b07e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-09-10 10:43:42 +01:00
Richard van der Hoff
dffdda5f89
Revert "Expand on why users should read upgrade notes"
...
This reverts commit 4d03ad5255 .
This was committed to the wrong branch - it has been superceded by ca3cb1e039
on the release branches.
2021-09-10 10:42:14 +01:00
Brendan Abolivier
4d03ad5255
Expand on why users should read upgrade notes
2021-09-06 15:57:57 +01:00
Brendan Abolivier
92bbe0ebe1
Merge branch 'release-v1.42' into matrix-org-hotfixes
2021-09-06 15:38:03 +01:00
Andrew Morgan
ca2e5b2060
Merge branch 'release-v1.42' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-09-01 10:56:17 +01:00
Olivier Wilkinson (reivilibre)
3cd1277a7b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-08-31 14:33:17 +01:00
Richard van der Hoff
619cc1d230
Merge branch 'release-v1.41' into matrix-org-hotfixes
2021-08-31 11:30:16 +01:00
Richard van der Hoff
ac646fed06
Remove some redundant patches from the hotfixes branch
2021-08-26 09:45:19 +01:00
Patrick Cloke
fe3466a8ad
Merge remote-tracking branch 'origin/release-v1.41' into matrix-org-hotfixes
2021-08-20 07:53:27 -04:00
Andrew Morgan
2f4fe530a1
Merge branch 'release-v1.41' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-08-18 14:23:52 +01:00
Andrew Morgan
18572fddcc
Merge branch 'release-v1.41' into matrix-org-hotfixes
2021-08-17 14:35:20 +01:00
Šimon Brandner
40e92b224c
Handle string read receipt data ( #10606 )
...
* Handle string read receipt data
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Test that we handle string read receipt data
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add changelog for #10606
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add docs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Ignore malformed RRs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Only surround hidden = ...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove unnecessary argument
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Update changelog.d/10606.bugfix
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2021-08-16 12:23:15 +01:00
Brendan Abolivier
53d7d92511
Merge branch 'release-v1.40' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-08-09 11:32:41 +01:00
Brendan Abolivier
0dcc40e81a
Merge branch 'release-v1.40' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-08-04 15:20:28 +01:00
Olivier Wilkinson (reivilibre)
11dda97e86
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-08-03 10:34:44 +01:00
Andrew Morgan
1d3a9fe6e5
Merge branch 'release-v1.39' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-07-28 10:36:55 +01:00
Erik Johnston
12c92eec18
Merge remote-tracking branch 'origin/release-v1.38' into matrix-org-hotfixes
2021-07-22 15:30:22 +01:00
Andrew Morgan
c0121d69e7
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-07-20 11:48:03 +01:00
Erik Johnston
cc07548d71
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-07-16 11:25:22 +01:00
Erik Johnston
8a2be4f799
Merge remote-tracking branch 'origin/release-v1.38' into matrix-org-hotfixes
2021-07-09 10:17:22 +01:00
Brendan Abolivier
fc8a586ab9
Merge branch 'release-v1.38' into matrix-org-hotfixes
2021-07-06 14:11:37 +01:00
Richard van der Hoff
7eea8de9de
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-07-01 08:59:54 +01:00
Richard van der Hoff
cfddd43bfb
bump background update rate
2021-06-29 20:56:46 +01:00
Richard van der Hoff
d70eefc313
Merge branch 'release-v1.37' into matrix-org-hotfixes
2021-06-29 20:54:40 +01:00
Richard van der Hoff
b4bdab8e52
Revert "Don't send catchup transactions for matrix hq"
...
This reverts commits 5575b5cb43 ,
f271b32bea ,
ffe17e47ce
2021-06-29 16:13:09 +01:00
Richard van der Hoff
b18d18d03b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-06-29 12:49:50 +01:00
Richard van der Hoff
077d441d42
Merge branch 'develop' into matrix-org-hotfixes
2021-06-29 11:27:25 +01:00
Erik Johnston
ffe17e47ce
Fix SQL
2021-06-28 14:29:27 +01:00
Erik Johnston
f271b32bea
don't send out events for matrix.org
2021-06-28 14:17:56 +01:00
Erik Johnston
5575b5cb43
Don't send catchup transactions for matrix hq
...
This is because there are problems with HQ atm.
2021-06-28 14:12:48 +01:00
Brendan Abolivier
0bbdca814a
Merge branch 'release-v1.37' into matrix-org-hotfixes
2021-06-24 10:58:19 +01:00
Brendan Abolivier
c80e8b98de
Tweak changelog
2021-06-24 10:57:39 +01:00
Brendan Abolivier
a0e48edd2f
Merge branch 'release-v1.37' into matrix-org-hotfixes
2021-06-24 09:41:28 +01:00
Brendan Abolivier
6f4c860c56
Merge branch 'release-v1.37' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-06-23 09:49:14 +01:00
Richard van der Hoff
89013b99bd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-06-16 15:35:00 +01:00
Erik Johnston
a4b573ee48
Merge branch 'release-v1.36' into matrix-org-hotfixes
2021-06-11 15:37:22 +01:00
Andrew Morgan
f6e1e48dcf
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-06-08 13:52:56 +01:00
Andrew Morgan
fc8bab8291
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-06-08 11:52:11 +01:00
Andrew Morgan
efc5febc33
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-06-08 11:21:03 +01:00
Richard van der Hoff
68d7704d19
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-06-07 16:57:58 +01:00
Richard van der Hoff
f36457dce2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-06-04 10:41:36 +01:00
Patrick Cloke
09361655d2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-06-02 11:38:54 -04:00
Erik Johnston
a027b65c8e
Merge remote-tracking branch 'origin/release-v1.35' into matrix-org-hotfixes
2021-05-28 17:15:01 +01:00
Erik Johnston
d2fcfef679
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-05-27 17:11:57 +01:00
Erik Johnston
2d83d19061
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-05-25 10:23:00 +01:00
Erik Johnston
6942377f90
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-05-14 11:31:38 +01:00
Brendan Abolivier
019ed44b84
Merge branch 'release-v1.34.0' into matrix-org-hotfixes
2021-05-12 16:41:04 +01:00
Richard van der Hoff
b0b8110acd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-05-12 12:57:55 +01:00
Brendan Abolivier
ab717bceb5
Merge branch 'release-v1.33.2' into matrix-org-hotfixes
2021-05-11 10:49:58 +01:00
Brendan Abolivier
6157f02067
Revert "improve efficiency of _glob_to_re"
...
This reverts commit edac710bc0 .
2021-05-11 10:49:45 +01:00
Erik Johnston
7865bc1dfb
Always cache 'event_to_prev_state_group'
...
Fixes regression in send PDU times introduced in #9905 .
2021-05-07 14:55:22 +01:00
Erik Johnston
e11cd368b7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-05-06 15:07:28 +01:00
Erik Johnston
a8f48246b6
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-05-06 10:25:53 +01:00
Andrew Morgan
696e7df2e8
Merge branch 'release-v1.33.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-04-29 11:30:12 +01:00
Andrew Morgan
9979fef4fe
Revert "Experimental Federation Speedup ( #9702 )"
...
This reverts commit 05e8c70c05 .
2021-04-27 13:47:39 +01:00
Andrew Morgan
9773abf3d8
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-04-27 13:46:16 +01:00
Richard van der Hoff
7b5022ee2e
Merge remote-tracking branch 'origin/release-v1.32.2' into matrix-org-hotfixes
2021-04-21 16:43:10 +01:00
Richard van der Hoff
f21a46216f
Merge branch 'release-v1.32.2' into matrix-org-hotfixes
2021-04-21 16:39:55 +01:00
Andrew Morgan
a468d19fd6
Merge branch 'release-v1.32.1' into matrix-org-hotfixes
2021-04-21 10:26:43 +01:00
Richard van der Hoff
edac710bc0
improve efficiency of _glob_to_re
2021-04-19 19:03:38 +01:00
Andrew Morgan
bf4ad8070e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-04-19 14:32:50 +01:00
Andrew Morgan
118e789e0c
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-04-13 16:10:20 +01:00
Andrew Morgan
77866a5f5f
Merge branch 'matrix-org-hotfixes' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-04-13 16:10:07 +01:00
Erik Johnston
053c8c019f
Merge branch 'erikj/fix_stalled_catchup' into matrix-org-hotfixes
2021-04-08 18:05:22 +01:00
Patrick Cloke
fbcc8703dc
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-04-08 08:10:56 -04:00
Erik Johnston
f46b864748
Merge remote-tracking branch 'origin/release-v1.31.0' into matrix-org-hotfixes
2021-03-30 11:41:52 +01:00
Erik Johnston
2b8650547f
Merge tag 'v1.30.1' into matrix-org-hotfixes
...
Synapse 1.30.1 (2021-03-26)
===========================
This release is identical to Synapse 1.30.0, with the exception of explicitly
setting a minimum version of Python's Cryptography library to ensure that users
of Synapse are protected from the recent [OpenSSL security advisories](https://mta.openssl.org/pipermail/openssl-announce/2021-March/000198.html ),
especially CVE-2021-3449.
Note that Cryptography defaults to bundling its own statically linked copy of
OpenSSL, which means that you may not be protected by your operating system's
security updates.
It's also worth noting that Cryptography no longer supports Python 3.5, so
admins deploying to older environments may not be protected against this or
future vulnerabilities. Synapse will be dropping support for Python 3.5 at the
end of March.
Updates to the Docker image
---------------------------
- Ensure that the docker container has up to date versions of openssl. ([\#9697](https://github.com/matrix-org/synapse/issues/9697 ))
Internal Changes
----------------
- Enforce that `cryptography` dependency is up to date to ensure it has the most recent openssl patches. ([\#9697](https://github.com/matrix-org/synapse/issues/9697 ))
2021-03-26 14:44:31 +00:00
Erik Johnston
f36a060d2c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-03-24 16:13:19 +00:00
Richard van der Hoff
ea74189a90
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-03-24 12:45:54 +00:00
Andrew Morgan
05ec9e8d37
Revert "Patch to temporarily drop cross-user m.key_share_requests ( #8675 )" ( #9668 )
...
We patched `matrix-org-hotfixes` a little while ago in #8675 to drop any cross-user key share requests while they were being accidentally spammed by a client. This was a temporary fix until we had some rate-limiting in place.
Rate-limiting landed in https://github.com/matrix-org/synapse/pull/8957 . Note that the rate-limit can't be configured, but has what appear to be [sensible defaults](https://github.com/matrix-org/synapse/blob/db2efa9c50569adbfab102b1f447f5a8312b95f3/synapse/config/ratelimiting.py#L105-L113 ).
Note that the original patch was already actually overridden partially when the rate-limit PR landed, as they conflicted. So we've already lifted the restriction between local devices on matrix.org, but requests were still blocked from being sent over federation. This PR cleans up the remaining bits.
This reverts commit d60af9305a .
2021-03-23 10:53:05 +00:00
Andrew Morgan
6557eba7dc
Revert "Patch to temporarily drop cross-user m.key_share_requests ( #8675 )"
...
This reverts commit d60af9305a .
2021-03-23 10:24:03 +00:00
Richard van der Hoff
d8953b34f2
Merge branch 'develop' into matrix-org-hotfixes
2021-03-16 12:42:54 +00:00
Richard van der Hoff
56c0c711c1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-03-09 15:23:55 +00:00
Erik Johnston
61a970e25f
Merge remote-tracking branch 'origin/release-v1.29.0' into matrix-org-hotfixes
2021-03-04 10:23:26 +00:00
Erik Johnston
50c242fa29
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-03-03 16:08:05 +00:00
Erik Johnston
8965291b87
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-03-03 12:12:15 +00:00
Erik Johnston
81c7b0515d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-03-03 10:59:10 +00:00
Richard van der Hoff
fdbccc1e74
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-02-26 14:05:40 +00:00
Richard van der Hoff
0e56f02d5d
Revert "Redirect redirect requests if they arrive on the wrong URI"
...
This reverts commit 5ee8a1c50a .
This has now been superceded on develop by PR #9436 .
2021-02-26 14:05:00 +00:00
Richard van der Hoff
c7934aee2c
Revert "more login hacking"
...
This reverts commit 47d2b49e2b .
This has now been superceded on develop by PR 9472.
2021-02-26 14:04:05 +00:00
Erik Johnston
5d405f7e7a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-02-22 12:55:32 +00:00
Erik Johnston
5054eb291e
Merge remote-tracking branch 'origin/release-v1.28.0' into matrix-org-hotfixes
2021-02-19 10:06:01 +00:00
Richard van der Hoff
47d2b49e2b
more login hacking
2021-02-18 14:29:48 +00:00
Richard van der Hoff
1f507c2515
Merge branch 'rav/fix_cookie_path' into matrix-org-hotfixes
...
Merge the cookie fix to hotfixes
2021-02-18 14:03:43 +00:00
Richard van der Hoff
5ee8a1c50a
Redirect redirect requests if they arrive on the wrong URI
2021-02-18 14:01:23 +00:00
Richard van der Hoff
7b7831bb63
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-02-17 16:31:57 +00:00
Erik Johnston
a4aa56a0eb
Ensure that we never stop reconnecting to redis ( #9391 )
2021-02-11 17:39:56 +00:00
Patrick Cloke
fa0f99e4f2
Merge branch 'release-v1.27.0' into matrix-org-hotfixes
2021-02-11 11:30:16 -05:00
Richard van der Hoff
844b3e3f65
Revert "block groups requests to fosdem"
...
This reverts commit 3f6530ed55 .
2021-02-06 12:03:46 +00:00
Richard van der Hoff
3f6530ed55
block groups requests to fosdem
2021-02-06 11:04:32 +00:00
Erik Johnston
25757a3d47
Merge branch 'erikj/media_spam_checker' into matrix-org-hotfixes
2021-02-05 10:13:55 +00:00
Erik Johnston
6e774373c2
Merge remote-tracking branch 'origin/release-v1.27.0' into matrix-org-hotfixes
2021-02-02 16:06:59 +00:00
Erik Johnston
512e313f18
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-26 14:15:26 +00:00
Patrick Cloke
a574751a87
Merge remote-tracking branch 'origin/release-v1.26.0' into matrix-org-hotfixes
2021-01-25 08:07:39 -05:00
Erik Johnston
bde75f5f66
Merge remote-tracking branch 'origin/release-v1.26.0' into matrix-org-hotfixes
2021-01-21 16:05:34 +00:00
Erik Johnston
e33124a642
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-20 10:45:19 +00:00
Erik Johnston
bed4fa29fd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-19 10:19:25 +00:00
Erik Johnston
f5ab7d8306
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-18 11:14:37 +00:00
Erik Johnston
029c9ef967
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-15 14:05:55 +00:00
Erik Johnston
e6b27b480c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-14 17:39:13 +00:00
Erik Johnston
43dc637136
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-14 15:29:29 +00:00
Erik Johnston
00c62b9d07
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-08 11:18:20 +00:00
Erik Johnston
82a91208d6
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-07 13:04:45 +00:00
Erik Johnston
91fd180be1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2021-01-07 10:35:04 +00:00
Patrick Cloke
fb4a4f9f15
Merge branch 'release-v1.25.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2021-01-05 12:12:07 -05:00
Richard van der Hoff
5a4f09228d
Remove cache from room directory query results
...
This reverts a285fe0 . Hopefully the cache is no longer required, thanks to
2021-01-05 13:52:36 +00:00
Richard van der Hoff
97d12dcf56
Merge remote-tracking branch 'origin/release-v1.25.0' into matrix-org-hotfixes
2021-01-05 11:32:29 +00:00
Patrick Cloke
f4f65f4e99
Allow redacting events on workers ( #8994 )
...
Adds the redacts endpoint to workers that have the client listener.
2020-12-29 11:06:10 -05:00
Patrick Cloke
863359a04f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-12-15 11:26:13 -05:00
Patrick Cloke
33a349df91
Merge branch 'develop' into matrix-org-hotfixes
2020-12-15 08:23:14 -05:00
Patrick Cloke
a41b1dc49f
Merge branch 'release-v1.24.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-12-04 09:03:12 -05:00
Patrick Cloke
16744644f6
Merge branch 'release-v1.24.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-12-02 08:40:21 -05:00
Erik Johnston
dbf46f3891
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-11-27 10:25:17 +00:00
Erik Johnston
52984e9e69
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-11-13 12:05:55 +00:00
Richard van der Hoff
ce2107eee1
Merge branch 'rav/fix_sighup' into matrix-org-hotfixes
2020-10-31 10:54:23 +00:00
Richard van der Hoff
8373e6254f
Fix SIGHUP handler
...
Fixes:
```
builtins.TypeError: _reload_logging_config() takes 1 positional argument but 2 were given
```
2020-10-31 10:53:12 +00:00
Erik Johnston
1ff3bc332a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-10-30 12:08:09 +00:00
Andrew Morgan
172ddb3b45
Merge branch 'develop' into matrix-org-hotfixes
...
* develop:
Don't unnecessarily start bg process in replication sending loop. (#8670 )
Don't unnecessarily start bg process while handling typing. (#8668 )
2020-10-28 12:14:03 +00:00
Andrew Morgan
d60af9305a
Patch to temporarily drop cross-user m.key_share_requests ( #8675 )
...
Cross-user `m.key_share_requests` are a relatively new `to_device` message that allows user to re-request session keys for a message from another user if they were otherwise unable to retrieve them.
Unfortunately, these have had performance concerns on matrix.org. This is a temporary patch to disable them while we investigate a better solution.
2020-10-28 11:58:47 +00:00
Erik Johnston
bcb6b243e9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-10-27 14:13:14 +00:00
Erik Johnston
32457baa40
Merge branch 'release-v1.22.0' into matrix-org-hotfixes
2020-10-26 15:03:36 +00:00
Erik Johnston
ab4cd7f802
Merge remote-tracking branch 'origin/release-v1.21.3' into matrix-org-hotfixes
2020-10-22 09:57:06 +01:00
Erik Johnston
e9b5e642c3
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-10-16 11:34:53 +01:00
Erik Johnston
9250ee8650
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-10-14 13:32:07 +01:00
Richard van der Hoff
bdbe2b12c2
Revert "block membership events from spammy freenode bridge"
...
This reverts commit cd2f831b9d .
2020-10-13 17:10:45 +01:00
Erik Johnston
43bcb1e54e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-10-13 13:29:50 +01:00
Richard van der Hoff
cd2f831b9d
block membership events from spammy freenode bridge
2020-10-12 19:09:30 +01:00
Erik Johnston
4b43332131
Merge remote-tracking branch 'origin/release-v1.21.0' into matrix-org-hotfixes
2020-10-07 17:09:29 +01:00
Richard van der Hoff
77daff166d
Merge remote-tracking branch 'origin/release-v1.21.0' into matrix-org-hotfixes
2020-10-02 12:32:26 +01:00
Richard van der Hoff
5ccc0785c1
Revert "fix remote thumbnails?"
...
This has now been fixed by a different commit (73d93039f ).
This reverts commit b0a463f758 .
2020-10-02 12:30:49 +01:00
Richard van der Hoff
b0a463f758
fix remote thumbnails?
2020-10-01 15:53:18 +01:00
Richard van der Hoff
8a8d01d732
Merge branch 'develop' into matrix-org-hotfixes
2020-10-01 15:07:33 +01:00
Richard van der Hoff
1c22954668
Revert "Temporary fix to ensure kde can contact matrix.org if stuff breaks"
...
This reverts commit d90b0946ed .
We believe this is no longer required.
2020-10-01 12:10:55 +01:00
Richard van der Hoff
e675bbcc49
Remove redundant EventCreationHandler._is_worker_app attribute
...
This was added in 1c347c84bf/#7544 as a temporary optimisation. That was never
merged to develop, since it conflicted with #7492 . The merge cf92310da forgot
to remove it.
2020-10-01 11:51:57 +01:00
Richard van der Hoff
607367aeb1
Fix typo in comment
...
I think this came from a bad merge
2020-10-01 11:43:16 +01:00
Richard van der Hoff
ac6c5f198e
Remove dangling changelog.d files
...
These result from PRs which were cherry-picked from release branches.
2020-10-01 11:31:07 +01:00
Richard van der Hoff
db13a8607e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-10-01 11:22:36 +01:00
Richard van der Hoff
cfb3096e33
Revert federation-transaction-transmission backoff hacks
...
This reverts b852a8247 , 15b2a5081 , 28889d8da .
I don't think these patches are required any more, and if they are, they should
be on mainline, not hidden in our hotfixes branch. Let's try backing them out:
if that turns out to be an error, we can PR them properly.
2020-10-01 11:22:19 +01:00
Erik Johnston
7b6f857aa9
Merge remote-tracking branch 'origin/release-v1.20.0' into matrix-org-hotfixes
2020-09-22 10:11:01 +01:00
Erik Johnston
9eea5c43af
Intelligently select extremities used in backfill. ( #8349 )
...
Instead of just using the most recent extremities let's pick the
ones that will give us results that the pagination request cares about,
i.e. pick extremities only if they have a smaller depth than the
pagination token.
This is useful when we fail to backfill an extremity, as we no longer
get stuck requesting that same extremity repeatedly.
2020-09-18 15:07:36 +01:00
Andrew Morgan
104c490274
Use _check_sigs_and_hash_and_fetch to validate backfill requests ( #8350 )
...
This is a bit of a hack, as `_check_sigs_and_hash_and_fetch` is intended
for attempting to pull an event from the database/(re)pull it from the
server that originally sent the event if checking the signature of the
event fails.
During backfill we *know* that we won't have the event in our database,
however it is still useful to be able to query the original sending
server as the server we're backfilling from may be acting maliciously.
The main benefit and reason for this change however is that
`_check_sigs_and_hash_and_fetch` will drop an event during backfill if
it cannot be successfully validated, whereas the current code will
simply fail the backfill request - resulting in the client's /messages
request silently being dropped.
This is a quick patch to fix backfilling rooms that contain malformed
events. A better implementation in planned in future.
2020-09-18 15:07:33 +01:00
Patrick Cloke
bbb7ca1f15
Merge remote-tracking branch 'origin/release-v1.19.2' into matrix-org-hotfixes
2020-09-16 08:21:05 -04:00
Patrick Cloke
27ef82d972
Merge remote-tracking branch 'origin/release-v1.20.0' into matrix-org-hotfixes
2020-09-11 07:34:53 -04:00
Richard van der Hoff
9df3a8a19f
Merge branch 'release-v1.20.0' into matrix-org-hotfixes
2020-09-09 16:59:10 +01:00
Richard van der Hoff
5c4b13cd8f
Merge remote-tracking branch 'origin/release-v1.20.0' into matrix-org-hotfixes
2020-09-07 17:00:02 +01:00
Richard van der Hoff
d74e8f2875
Merge branch 'release-v1.20.0' into matrix-org-hotfixes
2020-09-07 13:44:54 +01:00
Brendan Abolivier
cc23d81a74
Merge branch 'develop' into matrix-org-hotfixes
2020-09-04 11:02:10 +01:00
Brendan Abolivier
505ea932f5
Merge branch 'develop' into matrix-org-hotfixes
2020-09-03 15:30:00 +01:00
Richard van der Hoff
5f224a4794
Merge branch 'develop' into matrix-org-hotfixes
2020-08-28 15:59:57 +01:00
Patrick Cloke
3f488bfded
Merge branch 'develop' into matrix-org-hotfixes
2020-08-27 10:16:21 -04:00
Richard van der Hoff
b4c1cfacc2
Merge branch 'develop' into matrix-org-hotfixes
2020-08-18 18:20:01 +01:00
Richard van der Hoff
afe4c4e02e
Merge branch 'develop' into matrix-org-hotfixes
2020-08-18 18:13:47 +01:00
Brendan Abolivier
527f73d902
Merge branch 'develop' into matrix-org-hotfixes
2020-08-13 11:45:08 +01:00
Richard van der Hoff
82fec809a5
Merge branch 'develop' into matrix-org-hotfixes
2020-07-31 10:30:05 +01:00
Richard van der Hoff
b2ccc72a00
Merge branch 'release-v1.18.0' into matrix-org-hotfixes
2020-07-28 10:15:22 +01:00
Richard van der Hoff
be777e325d
Merge branch 'develop' into matrix-org-hotfixes
2020-07-24 09:57:49 +01:00
Richard van der Hoff
25880bd441
Merge branch 'develop' into matrix-org-hotfixes
2020-07-09 12:49:39 +01:00
Richard van der Hoff
cc86fbc9ad
Merge branch 'develop' into matrix-org-hotfixes
2020-07-09 11:06:52 +01:00
Patrick Cloke
bd30967bd7
Merge branch 'release-v1.15.2' into matrix-org-hotfixes
2020-07-02 10:08:07 -04:00
Andrew Morgan
8fed03aa3e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-07-01 11:12:28 +01:00
Andrew Morgan
ba66e3dfef
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-07-01 10:46:06 +01:00
Erik Johnston
199ab854d6
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-06-26 11:08:10 +01:00
Erik Johnston
c16bb06d25
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-06-25 09:39:01 +01:00
Erik Johnston
d06f4ab693
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-06-17 16:32:39 +01:00
Erik Johnston
8ba1086801
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-06-17 14:38:15 +01:00
Brendan Abolivier
fea4b1d6ad
Merge branch 'release-v1.15.1' into matrix-org-hotfixes
2020-06-16 11:29:33 +01:00
Brendan Abolivier
ae91d50100
Merge branch 'release-v1.15.1' into matrix-org-hotfixes
2020-06-16 10:16:44 +01:00
Brendan Abolivier
0d29112624
Merge branch 'release-v1.15.0' into matrix-org-hotfixes
2020-06-11 13:43:55 +01:00
Brendan Abolivier
d6c7550cf5
Merge tag 'v1.15.0rc1' of github.com:matrix-org/synapse into matrix-org-hotfixes
...
Synapse 1.15.0rc1 (2020-06-09)
==============================
Features
--------
- Advertise support for Client-Server API r0.6.0 and remove related unstable feature flags. ([\#6585](https://github.com/matrix-org/synapse/issues/6585 ))
- Add an option to disable autojoining rooms for guest accounts. ([\#6637](https://github.com/matrix-org/synapse/issues/6637 ))
- For SAML authentication, add the ability to pass email addresses to be added to new users' accounts via SAML attributes. Contributed by Christopher Cooper. ([\#7385](https://github.com/matrix-org/synapse/issues/7385 ))
- Add admin APIs to allow server admins to manage users' devices. Contributed by @dklimpel. ([\#7481](https://github.com/matrix-org/synapse/issues/7481 ))
- Add support for generating thumbnails for WebP images. Previously, users would see an empty box instead of preview image. ([\#7586](https://github.com/matrix-org/synapse/issues/7586 ))
- Support the standardized `m.login.sso` user-interactive authentication flow. ([\#7630](https://github.com/matrix-org/synapse/issues/7630 ))
Bugfixes
--------
- Allow new users to be registered via the admin API even if the monthly active user limit has been reached. Contributed by @dkimpel. ([\#7263](https://github.com/matrix-org/synapse/issues/7263 ))
- Fix email notifications not being enabled for new users when created via the Admin API. ([\#7267](https://github.com/matrix-org/synapse/issues/7267 ))
- Fix str placeholders in an instance of `PrepareDatabaseException`. Introduced in Synapse v1.8.0. ([\#7575](https://github.com/matrix-org/synapse/issues/7575 ))
- Fix a bug in automatic user creation during first time login with `m.login.jwt`. Regression in v1.6.0. Contributed by @olof. ([\#7585](https://github.com/matrix-org/synapse/issues/7585 ))
- Fix a bug causing the cross-signing keys to be ignored when resyncing a device list. ([\#7594](https://github.com/matrix-org/synapse/issues/7594 ))
- Fix metrics failing when there is a large number of active background processes. ([\#7597](https://github.com/matrix-org/synapse/issues/7597 ))
- Fix bug where returning rooms for a group would fail if it included a room that the server was not in. ([\#7599](https://github.com/matrix-org/synapse/issues/7599 ))
- Fix duplicate key violation when persisting read markers. ([\#7607](https://github.com/matrix-org/synapse/issues/7607 ))
- Prevent an entire iteration of the device list resync loop from failing if one server responds with a malformed result. ([\#7609](https://github.com/matrix-org/synapse/issues/7609 ))
- Fix exceptions when fetching events from a remote host fails. ([\#7622](https://github.com/matrix-org/synapse/issues/7622 ))
- Make `synctl restart` start synapse if it wasn't running. ([\#7624](https://github.com/matrix-org/synapse/issues/7624 ))
- Pass device information through to the login endpoint when using the login fallback. ([\#7629](https://github.com/matrix-org/synapse/issues/7629 ))
- Advertise the `m.login.token` login flow when OpenID Connect is enabled. ([\#7631](https://github.com/matrix-org/synapse/issues/7631 ))
- Fix bug in account data replication stream. ([\#7656](https://github.com/matrix-org/synapse/issues/7656 ))
Improved Documentation
----------------------
- Update the OpenBSD installation instructions. ([\#7587](https://github.com/matrix-org/synapse/issues/7587 ))
- Advertise Python 3.8 support in `setup.py`. ([\#7602](https://github.com/matrix-org/synapse/issues/7602 ))
- Add a link to `#synapse:matrix.org` in the troubleshooting section of the README. ([\#7603](https://github.com/matrix-org/synapse/issues/7603 ))
- Clarifications to the admin api documentation. ([\#7647](https://github.com/matrix-org/synapse/issues/7647 ))
Internal Changes
----------------
- Convert the identity handler to async/await. ([\#7561](https://github.com/matrix-org/synapse/issues/7561 ))
- Improve query performance for fetching state from a PostgreSQL database. ([\#7567](https://github.com/matrix-org/synapse/issues/7567 ))
- Speed up processing of federation stream RDATA rows. ([\#7584](https://github.com/matrix-org/synapse/issues/7584 ))
- Add comment to systemd example to show postgresql dependency. ([\#7591](https://github.com/matrix-org/synapse/issues/7591 ))
- Refactor `Ratelimiter` to limit the amount of expensive config value accesses. ([\#7595](https://github.com/matrix-org/synapse/issues/7595 ))
- Convert groups handlers to async/await. ([\#7600](https://github.com/matrix-org/synapse/issues/7600 ))
- Clean up exception handling in `SAML2ResponseResource`. ([\#7614](https://github.com/matrix-org/synapse/issues/7614 ))
- Check that all asynchronous tasks succeed and general cleanup of `MonthlyActiveUsersTestCase` and `TestMauLimit`. ([\#7619](https://github.com/matrix-org/synapse/issues/7619 ))
- Convert `get_user_id_by_threepid` to async/await. ([\#7620](https://github.com/matrix-org/synapse/issues/7620 ))
- Switch to upstream `dh-virtualenv` rather than our fork for Debian package builds. ([\#7621](https://github.com/matrix-org/synapse/issues/7621 ))
- Update CI scripts to check the number in the newsfile fragment. ([\#7623](https://github.com/matrix-org/synapse/issues/7623 ))
- Check if the localpart of a Matrix ID is reserved for guest users earlier in the registration flow, as well as when responding to requests to `/register/available`. ([\#7625](https://github.com/matrix-org/synapse/issues/7625 ))
- Minor cleanups to OpenID Connect integration. ([\#7628](https://github.com/matrix-org/synapse/issues/7628 ))
- Attempt to fix flaky test: `PhoneHomeStatsTestCase.test_performance_100`. ([\#7634](https://github.com/matrix-org/synapse/issues/7634 ))
- Fix typos of `m.olm.curve25519-aes-sha2` and `m.megolm.v1.aes-sha2` in comments, test files. ([\#7637](https://github.com/matrix-org/synapse/issues/7637 ))
- Convert user directory, state deltas, and stats handlers to async/await. ([\#7640](https://github.com/matrix-org/synapse/issues/7640 ))
- Remove some unused constants. ([\#7644](https://github.com/matrix-org/synapse/issues/7644 ))
- Fix type information on `assert_*_is_admin` methods. ([\#7645](https://github.com/matrix-org/synapse/issues/7645 ))
- Convert registration handler to async/await. ([\#7649](https://github.com/matrix-org/synapse/issues/7649 ))
2020-06-10 10:57:26 +01:00
Brendan Abolivier
4cf4c7dc99
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-06-01 12:58:34 +02:00
Erik Johnston
6fdf5ef66b
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-29 13:27:12 +01:00
Brendan Abolivier
d4220574a2
Merge branch 'release-v1.14.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-28 14:12:46 +02:00
Erik Johnston
1a9c8d5ee9
Merge commit 'ef3934ec8f123f6f553b07471588fbcc7f444cd8' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-27 20:06:41 +01:00
Erik Johnston
407dbf8574
Merge branch 'release-v1.14.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-27 13:35:15 +01:00
Erik Johnston
8beca8e21f
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-26 09:43:21 +01:00
Erik Johnston
cf92310da2
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-21 15:19:00 +01:00
Richard van der Hoff
89f795fe8a
Merge branch 'rav/matrix_hacks' into matrix-org-hotfixes
2020-05-20 23:40:22 +01:00
Richard van der Hoff
1c347c84bf
inline some config references
2020-05-20 23:33:13 +01:00
Richard van der Hoff
0d8fb99cdf
Merge branch 'rav/matrix_hacks' into matrix-org-hotfixes
2020-05-20 22:18:21 +01:00
Richard van der Hoff
b3a9ad124c
Fix field name in stubbed out presence servlet
2020-05-20 22:17:59 +01:00
Richard van der Hoff
a902468354
Merge branch 'rav/matrix_hacks' into matrix-org-hotfixes
2020-05-20 22:13:44 +01:00
Richard van der Hoff
84639b32ae
stub out GET presence requests
2020-05-20 22:13:32 +01:00
Patrick Cloke
dac5d5ae42
Merge branch 'release-v1.13.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-05-18 10:27:51 -04:00
Richard van der Hoff
6bd2a39a7d
Merge branch 'release-v1.13.0' into matrix-org-hotfixes
2020-05-14 10:08:45 +01:00
Richard van der Hoff
309e30bae3
Merge remote-tracking branch 'origin/release-v1.13.0' into matrix-org-hotfixes
2020-05-11 13:09:14 +01:00
Richard van der Hoff
7ff7a415d1
Revert emergency registration patches
...
Revert "Merge commit '4d3ebc' into matrix-org-hotfixes"
This reverts commit 617541c4c6 , reversing
changes made to ae4f6140f1 .
2020-05-11 13:08:48 +01:00
Richard van der Hoff
6610343332
Revert emergency registration patches
...
Revert "Merge remote-tracking branch 'origin/clokep/no-validate-ui-auth-sess' into matrix-org-hotfixes"
This reverts commit 5adad58d95 , reversing
changes made to 617541c4c6 .
2020-05-11 13:08:14 +01:00
Richard van der Hoff
5adad58d95
Merge remote-tracking branch 'origin/clokep/no-validate-ui-auth-sess' into matrix-org-hotfixes
2020-05-07 15:19:54 +01:00
Patrick Cloke
d7c7f64f17
Propagate changes to the client dict to the database.
2020-05-07 10:07:09 -04:00
Patrick Cloke
c4c84b67d5
Disable a failing test.
2020-05-07 10:05:00 -04:00
Richard van der Hoff
617541c4c6
Merge commit '4d3ebc' into matrix-org-hotfixes
2020-05-07 14:16:52 +01:00
Patrick Cloke
4d3ebc3620
Disable validation that a UI authentication session has not been modified during a request cycle.
...
Partial backout of 1c1242acba (#7068 )
2020-05-07 08:34:14 -04:00
Richard van der Hoff
ae4f6140f1
Merge branch 'release-v1.13.0' into matrix-org-hotfixes
2020-05-07 10:42:56 +01:00
Richard van der Hoff
323cfe3efb
fix bad merge
2020-05-06 12:14:01 +01:00
Richard van der Hoff
b0d2add89d
Merge branch 'rav/cross_signing_keys_cache' into matrix-org-hotfixes
2020-05-06 11:59:41 +01:00
Richard van der Hoff
ff20747703
Merge branch 'release-v1.13.0' into matrix-org-hotfixes
2020-05-06 11:57:36 +01:00
Richard van der Hoff
9192f1b9dd
Merge rav/upsert_for_device_list into matrix-org-hotfixes
2020-05-06 11:46:19 +01:00
Richard van der Hoff
89d178e8e7
Merge rav/fix_dropped_messages into matrix-org-hotfixes
2020-05-05 22:42:48 +01:00
Richard van der Hoff
1c24e35e85
Merge erikj/faster_device_lists_fetch into matrix-org-hotfixes
2020-05-05 18:36:17 +01:00
Erik Johnston
5debf3071c
Fix redis password support
2020-05-04 16:44:21 +01:00
Richard van der Hoff
e9bd4bb388
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-05-01 09:26:57 +01:00
Richard van der Hoff
649e48a799
Merge branch 'develop' into matrix-org-hotfixes
2020-04-24 14:07:47 +01:00
Richard van der Hoff
9b0157686b
Merge branch 'release-v1.12.4' into matrix-org-hotfixes
2020-04-22 13:30:35 +01:00
Richard van der Hoff
8288218b29
Merge remote-tracking branch 'origin/release-v1.12.4' into matrix-org-hotfixes
2020-04-21 11:03:32 +01:00
Richard van der Hoff
da5e6eea45
Revert recent merges of #7289 into matrix-org-hotfixes
...
This was incorrectly merged before it was ready.
This reverts commit aead826d2d , reversing
changes made to 4cd2a4ae3a .
It also reverts commits 9b8212d25 , fb3f1fb5c and 2fdfa96ee .
2020-04-21 11:00:57 +01:00
Andrew Morgan
2fdfa96ee6
lint
2020-04-17 17:38:36 +01:00
Andrew Morgan
fb3f1fb5c0
Fix log lines, return type, tuple handling
2020-04-17 17:36:53 +01:00
Andrew Morgan
9b8212d256
Update changelog
2020-04-17 17:36:24 +01:00
Andrew Morgan
aead826d2d
Merge branch 'release-v1.12.4' of github.com:matrix-org/synapse into matrix-org-hotfixes
...
* 'release-v1.12.4' of github.com:matrix-org/synapse:
Query missing cross-signing keys on local sig upload
2020-04-17 15:49:31 +01:00
Andrew Morgan
4cd2a4ae3a
Merge branch 'release-v1.12.4' into HEAD
...
* release-v1.12.4:
Only register devices edu handler on the master process (#7255 )
tweak changelog
1.12.3
Fix the debian build in a better way. (#7212 )
Fix changelog wording
1.12.2
Pin Pillow>=4.3.0,<7.1.0 to fix dep issue
1.12.1
2020-04-14 13:36:19 +01:00
Andrew Morgan
66cd243e6f
Merge branch 'release-v1.12.1' of github.com:matrix-org/synapse into matrix-org-hotfixes
...
* 'release-v1.12.1' of github.com:matrix-org/synapse:
Note where bugs were introduced
1.12.1rc1
Newsfile
Rewrite changelog
Add changelog
Only import sqlite3 when type checking
Fix another instance
Only setdefault for signatures if device has key_json
Fix starting workers when federation sending not split out.
matrix.org was fine
Update CHANGES.md
changelog typos
1.12.0 changelog
1.12.0
more changelog
changelog fixes
fix typo
1.12.0rc1
update grafana dashboard
2020-03-31 12:06:11 +01:00
Richard van der Hoff
7b66a1f0d9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-03-19 10:29:20 +00:00
Richard van der Hoff
059e91bdce
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-03-19 10:03:10 +00:00
Erik Johnston
f86962cb6b
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-03-18 17:17:03 +00:00
Brendan Abolivier
03c694bb08
Fix schema deltas
2020-03-12 16:48:11 +00:00
Brendan Abolivier
08d68c5296
Populate the room version from state events
...
See `rooms_version_column_3.sql.postgres` for details about why we need to do
that.
2020-03-12 15:59:24 +00:00
Brendan Abolivier
568461b5ec
Also don't filter out events sent by ignored users when checking state visibility
2020-03-11 17:04:18 +00:00
Brendan Abolivier
6b73b8b70c
Fix condition
2020-03-11 15:32:07 +00:00
Brendan Abolivier
936686ed2d
Don't filter out events when we're checking the visibility of state
2020-03-11 15:21:25 +00:00
Brendan Abolivier
74050d0c1c
Merge branch 'develop' into matrix-org-hotfixes
2020-03-09 15:06:56 +00:00
Richard van der Hoff
69111a8b2a
Merge branch 'develop' into matrix-org-hotfixes
2020-02-27 10:46:36 +00:00
Richard van der Hoff
d840ee5bde
Revert "skip send without trailing slash"
...
I think this was done back when most synapses would reject the
no-trailing-slash version; it's no longer required, and makes matrix.org spec-incompliant.
This reverts commit fc5be50d56 .
2020-02-27 10:44:55 +00:00
Erik Johnston
e3d811e85d
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-02-19 15:48:33 +00:00
Erik Johnston
578ad9fc48
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-02-19 15:11:20 +00:00
Richard van der Hoff
9dbe34f0d0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-02-19 11:40:25 +00:00
Erik Johnston
93a0751302
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-02-19 10:16:46 +00:00
Erik Johnston
bc936b5657
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-02-18 16:11:26 +00:00
Richard van der Hoff
d6eae548a7
Merge branch 'release-v1.10.0' into matrix-org-hotfixes
2020-02-11 10:43:32 +00:00
Richard van der Hoff
e439438b9b
Merge branch 'release-v1.10.0' into matrix-org-hotfixes
2020-02-10 09:56:51 +00:00
Richard van der Hoff
f8a1e0d1d2
Merge branch 'release-v1.10.0' into matrix-org-hotfixes
2020-02-10 09:54:40 +00:00
Erik Johnston
8a29def84a
Add support for putting fed user query API on workers ( #6873 )
2020-02-07 15:59:05 +00:00
Erik Johnston
77a166577a
Allow moving group read APIs to workers ( #6866 )
2020-02-07 13:57:07 +00:00
Erik Johnston
7d5268d37c
Merge branch 'release-v1.10.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-02-06 10:26:39 +00:00
Erik Johnston
c854d255e5
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-01-31 15:06:16 +00:00
Brendan Abolivier
c660962d4d
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-01-22 13:48:11 +00:00
Richard van der Hoff
767bef0033
Merge branch 'rav/storage_provider_debug' into matrix-org-hotfixes
2020-01-21 23:03:22 +00:00
Richard van der Hoff
4d02bfd6e1
a bit of debugging for media storage providers
2020-01-21 23:02:58 +00:00
Andrew Morgan
a099ab7d38
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-01-14 10:37:32 +00:00
Erik Johnston
ce72a9ccdb
Merge branch 'erikj/media_admin_apis' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-01-08 15:52:58 +00:00
Erik Johnston
bace86ed15
Merge branch 'release-v1.8.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-01-08 15:52:48 +00:00
Erik Johnston
45bf455948
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2020-01-07 14:24:36 +00:00
Richard van der Hoff
859663565c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2020-01-06 15:43:41 +00:00
Richard van der Hoff
0876a5b641
Merge branch 'release-v1.7.3' into matrix-org-hotfixes
2019-12-31 10:47:29 +00:00
Richard van der Hoff
5b5314ee41
Merge branch 'release-v1.7.2' into matrix-org-hotfixes
2019-12-20 10:48:04 +00:00
Richard van der Hoff
aff9189149
Merge remote-tracking branch 'origin/release-v1.7.1' into matrix-org-hotfixes
2019-12-17 16:00:43 +00:00
Richard van der Hoff
2eda49a8db
Merge remote-tracking branch 'origin/release-v1.7.1' into matrix-org-hotfixes
2019-12-17 10:56:36 +00:00
Richard van der Hoff
96b17d4e4f
Merge remote-tracking branch 'origin/release-v1.7.0' into matrix-org-hotfixes
2019-12-17 10:56:26 +00:00
Erik Johnston
aadc131dc1
Merge branch 'babolivier/pusher-room-store' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-12-10 12:50:04 +00:00
Neil Johnson
0a522121a0
Merge branch 'release-v1.7.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-12-10 11:25:28 +00:00
Andrew Morgan
0b5e2c8093
Merge branch 'release-v1.6.1' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-11-28 11:40:33 +00:00
Erik Johnston
c665d154a2
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-11-26 18:56:54 +00:00
Neil Johnson
31295b5a60
Merge branch 'release-v1.6.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-11-26 13:16:18 +00:00
Erik Johnston
aebe20c452
Fix phone home stats ( #6418 )
...
Fix phone home stats
2019-11-26 13:10:09 +00:00
Andrew Morgan
508e0f9310
1.6.0
2019-11-26 12:15:46 +00:00
Andrew Morgan
e04e7e830e
Merge branch 'release-v1.6.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-11-26 12:06:38 +00:00
Andrew Morgan
5407e69732
Change /push/v1/notify IP to 10.103.0.7
2019-11-26 12:04:19 +00:00
Erik Johnston
2c59eb368c
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-11-20 15:17:10 +00:00
Erik Johnston
6d1a3e2bdd
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-11-19 12:59:39 +00:00
Richard van der Hoff
7fa4586e36
Merge branch 'rav/url_preview_limit_title_2' into matrix-org-hotfixes
2019-11-05 18:18:02 +00:00
Erik Johnston
33b4aa8d99
Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-29 12:18:44 +00:00
Erik Johnston
627cf5def8
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-25 11:35:14 +01:00
Erik Johnston
b409d51dee
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-25 10:19:09 +01:00
Erik Johnston
4a4e620f30
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-11 10:40:15 +01:00
Richard van der Hoff
28889d8da5
fix logging
2019-10-11 09:57:18 +01:00
Richard van der Hoff
15b2a50817
Add some randomness to the high-cpu backoff hack
2019-10-11 09:15:56 +01:00
Richard van der Hoff
b852a8247d
Awful hackery to try to get the fed sender to keep up
...
Basically, if the federation sender starts getting behind, insert some sleeps
into the transaction transmission code to give the fed sender a chance to catch
up.
Might have to experiment a bit with the numbers.
2019-10-10 10:34:08 +01:00
Erik Johnston
7b55cca011
Merge branch 'erikj/cache_memberships' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-07 13:15:22 +01:00
Richard van der Hoff
a9577ab1f4
Merge branch 'develop' into matrix-org-hotfixes
2019-10-03 17:52:22 +01:00
Richard van der Hoff
cb217d5d60
Revert "Awful hackery to try to get the fed sender to keep up"
...
This reverts commit 721086a291 .
This didn't help.
2019-10-03 17:05:24 +01:00
Andrew Morgan
f4f5355bcf
Merge branch 'release-v1.4.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-03 13:06:32 +01:00
Erik Johnston
23bb2713d2
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-02 16:51:08 +01:00
Erik Johnston
b2471e1109
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-02 15:39:31 +01:00
Erik Johnston
610219d53d
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-02 14:09:29 +01:00
Erik Johnston
b464afe283
Merge branch 'release-v1.4.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-10-02 11:09:05 +01:00
Richard van der Hoff
7657ad3ced
Merge branch 'rav/federation_sender_hackery' into matrix-org-hotfixes
2019-09-27 16:14:52 +01:00
Richard van der Hoff
721086a291
Awful hackery to try to get the fed sender to keep up
...
Basically, if the federation sender starts getting behind, insert some sleeps
into the transaction transmission code to give the fed sender a chance to catch
up.
Might have to experiment a bit with the numbers.
2019-09-27 16:13:51 +01:00
Richard van der Hoff
6e6b53ed3a
Merge branch 'develop' into matrix-org-hotfixes
2019-09-26 15:22:33 +01:00
Richard van der Hoff
601b50672d
Merge branch 'develop' into matrix-org-hotfixes
2019-09-25 12:48:40 +01:00
Richard van der Hoff
a7af389da0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2019-09-24 17:05:15 +01:00
Neil Johnson
99db0d76fd
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-24 14:56:12 +01:00
Richard van der Hoff
561b0f79bc
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2019-09-24 10:11:19 +01:00
Richard van der Hoff
8569f3cdef
Merge branch 'rav/fix_retry_reset' into matrix-org-hotfixes
2019-09-20 12:14:19 +01:00
Richard van der Hoff
7b61e6f5d6
Merge branch 'develop' into matrix-org-hotfixes
2019-09-18 13:55:25 +01:00
Richard van der Hoff
05241b3031
Revert "Fix m.federate bug"
...
This has now been merged into develop (142c9325c ) so we no longer need this
cherry-picked commit.
This reverts commit ee91c69ef7 .
2019-09-18 13:54:57 +01:00
Richard van der Hoff
e01026d84d
Revert "Fix existing v2 identity server calls (MSC2140) ( #6013 )"
...
This has now been merged into develop (3505ffcda ) so we don't need this
cherry-picked commit.
This reverts commit e0eef47315 .
2019-09-18 13:53:37 +01:00
Erik Johnston
ee91c69ef7
Fix m.federate bug
2019-09-13 14:44:48 +01:00
Andrew Morgan
e0eef47315
Fix existing v2 identity server calls (MSC2140) ( #6013 )
...
Two things I missed while implementing [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140/files#diff-c03a26de5ac40fb532de19cb7fc2aaf7R80 ).
1. Access tokens should be provided to the identity server as `access_token`, not `id_access_token`, even though the homeserver may accept the tokens as `id_access_token`.
2. Access tokens must be sent to the identity server in a query parameter, the JSON body is not allowed.
We now send the access token as part of an `Authorization: ...` header, which fixes both things.
The breaking code was added in https://github.com/matrix-org/synapse/pull/5892
Sytest PR: https://github.com/matrix-org/sytest/pull/697
2019-09-13 14:08:26 +01:00
Erik Johnston
44d2ca2990
Merge branch 'anoa/fix_3pid_validation' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-10 18:15:24 +01:00
Erik Johnston
9240622c1a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-06 14:10:53 +01:00
Erik Johnston
0dbba85e95
Merge branch 'anoa/worker_store_reg' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-06 13:02:12 +01:00
Andrew Morgan
1ceeccb769
Move get_threepid_validation_session into RegistrationWorkerStore
2019-09-06 13:00:34 +01:00
Erik Johnston
39883e85bd
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-06 12:50:28 +01:00
Erik Johnston
68f53b7a0e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-06 09:53:37 +01:00
Erik Johnston
e679b008ff
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-05 15:23:40 +01:00
Erik Johnston
e80a5b7492
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-09-04 13:13:30 +01:00
Richard van der Hoff
b272e7345f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2019-08-30 12:01:24 +01:00
Erik Johnston
a81e0233e9
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-08-29 11:18:57 +01:00
Richard van der Hoff
80898481ab
Merge branch 'release-v1.3.1' into matrix-org-hotfixes
2019-08-17 09:22:30 +01:00
Brendan Abolivier
9d4c716d85
Merge branch 'release-v1.3.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-08-15 11:36:00 +01:00
Brendan Abolivier
d90b0946ed
Temporary fix to ensure kde can contact matrix.org if stuff breaks
2019-08-13 18:05:06 +01:00
Brendan Abolivier
8d5762b0dc
Merge branch 'release-v1.3.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-08-13 17:39:30 +01:00
Brendan Abolivier
a7efbc5416
Merge branch 'release-v1.3.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-08-13 15:54:01 +01:00
Richard van der Hoff
be362cb8f8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2019-08-13 10:52:19 +01:00
Erik Johnston
873ff9522b
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-08-01 14:46:09 +01:00
Erik Johnston
c1ee2999a0
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-31 10:01:56 +01:00
Erik Johnston
9b2b386f76
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-30 13:26:19 +01:00
Erik Johnston
65fe31786d
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-30 10:12:13 +01:00
Andrew Morgan
70b6d1dfd6
Merge branch 'release-v1.2.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-24 13:32:41 +01:00
Erik Johnston
ee62aed72e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-23 10:23:40 +01:00
Erik Johnston
c02f26319d
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-23 09:20:26 +01:00
Andrew Morgan
fdd182870c
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-22 10:19:16 +01:00
Richard van der Hoff
4102cb220a
Merge branch 'release-v1.2.0' into matrix-org-hotfixes
2019-07-18 15:20:00 +01:00
Erik Johnston
5299707329
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-07-17 10:56:55 +01:00
Richard van der Hoff
43e01be158
Merge remote-tracking branch 'origin/release-v1.1.0' into matrix-org-hotfixes
2019-07-03 09:49:35 +01:00
Richard van der Hoff
589e080c6b
Merge branch 'release-v1.1.0' into matrix-org-hotfixes
2019-07-03 09:47:55 +01:00
Richard van der Hoff
24e48bc9ff
Merge branch 'release-v1.1.0' into matrix-org-hotfixes
2019-07-02 12:05:33 +01:00
Erik Johnston
576b62a6a3
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-28 10:04:54 +01:00
Erik Johnston
ad2ba70959
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-24 15:31:36 +01:00
Erik Johnston
a330505025
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-21 14:36:13 +01:00
Erik Johnston
67b73fd147
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-21 13:27:04 +01:00
Erik Johnston
c08e4dbadc
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-17 14:10:28 +01:00
Erik Johnston
6dbd498772
Merge branch 'master' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-11 17:25:54 +01:00
Erik Johnston
03b09b32d6
Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-11 14:00:50 +01:00
Erik Johnston
8f1711da0e
Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-11 00:23:54 +01:00
Erik Johnston
6fb6c98f71
Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-10 18:34:45 +01:00
Erik Johnston
aad993f24d
Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-10 16:05:10 +01:00
Erik Johnston
544e101c24
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-06-04 16:58:38 +01:00
Richard van der Hoff
8699f380f0
hotfix RetryLimiter
2019-06-04 12:14:41 +01:00
Richard van der Hoff
e91a68ef3a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2019-06-04 11:59:55 +01:00
Richard van der Hoff
9f5048c198
Merge branch 'rav/limit_displayname_length' into matrix-org-hotfixes
2019-06-01 11:15:43 +01:00
Erik Johnston
b3c40ba58a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-05-31 10:58:47 +01:00
Erik Johnston
8d69193a42
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-05-30 14:33:44 +01:00
Erik Johnston
bbcd19f2d0
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-05-24 10:53:01 +01:00
Erik Johnston
3cd598135f
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-05-23 15:54:13 +01:00
Richard van der Hoff
1c8f2c34ff
Merge branch 'develop' into matrix-org-hotfixes
2019-05-21 16:29:25 +01:00
Richard van der Hoff
ca03f90ee7
Merge branch 'develop' into matrix-org-hotfixes
2019-05-20 15:55:39 +01:00
Richard van der Hoff
9feee29d76
Merge tag 'v0.99.4rc1' into matrix-org-hotfixes
...
v0.99.4rc1
2019-05-14 11:12:22 +01:00
Richard van der Hoff
e7dcee13da
Merge commit 'a845abbf3' into matrix-org-hotfixes
2019-05-03 17:12:28 +01:00
Richard van der Hoff
7467738834
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2019-05-02 13:37:35 +01:00
Erik Johnston
d75fb8ae22
Merge branch 'erikj/ratelimit_3pid_invite' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-04-26 18:12:33 +01:00
Erik Johnston
ae25a8efef
Merge branch 'erikj/postpath' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-04-17 10:14:57 +01:00
Richard van der Hoff
fc5be50d56
skip send without trailing slash
2019-04-16 15:16:57 +01:00
Erik Johnston
aadba440da
Point pusher to new box
2019-04-15 19:23:21 +01:00
Erik Johnston
ec94d6a590
VersionRestServlet doesn't take a param
2019-04-15 19:21:32 +01:00
Erik Johnston
42ce90c3f7
Merge branch 'erikj/move_endpoints' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-04-15 18:56:46 +01:00
Erik Johnston
8467756dc1
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-04-04 14:43:57 +01:00
Erik Johnston
613b443ff0
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-04-02 18:25:45 +01:00
Richard van der Hoff
233b61ac61
Remove spurious changelog files from hotfixes
...
The relevant patches are now in develop thanks to
https://github.com/matrix-org/synapse/pull/4816 .
2019-04-02 13:51:37 +01:00
Richard van der Hoff
f41c9d37d6
Merge branch 'develop' into matrix-org-hotfixes
2019-04-02 13:47:08 +01:00
Neil Johnson
1048e2ca6a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-27 09:18:35 +00:00
Richard van der Hoff
ce0ce1add3
Merge branch 'develop' into matrix-org-hotfixes
2019-03-25 16:48:56 +00:00
Erik Johnston
b0bf1ea7bd
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-21 14:10:31 +00:00
Richard van der Hoff
2561b628af
Merge branch 'develop' into matrix-org-hotfixes
2019-03-19 12:19:20 +00:00
Richard van der Hoff
73c6630718
Revert "Reinstate EDU-batching hacks"
...
This reverts commit ed8ccc3737 .
2019-03-19 12:17:28 +00:00
Erik Johnston
a189bb03ab
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-14 14:39:06 +00:00
Erik Johnston
404a2d70be
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-14 13:55:29 +00:00
Richard van der Hoff
ed8ccc3737
Reinstate EDU-batching hacks
...
This reverts commit c7285607a3 .
2019-03-13 14:42:11 +00:00
Erik Johnston
18b1a92162
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-08 09:56:17 +00:00
Amber Brown
199aa72d35
Merge branch 'develop' of ssh://github.com/matrix-org/synapse into
...
matrix-org-hotfixes
2019-03-07 21:43:10 +11:00
Erik Johnston
8f7dbbc14a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-06 19:30:30 +00:00
Erik Johnston
27dbc9ac42
Reenable presence tests and remove pointless change
2019-03-06 17:12:45 +00:00
Richard van der Hoff
e9aa401994
Remove redundant changes from synapse/replication/tcp/streams.py ( #4813 )
...
This was some hacky code (introduced in c10c71e70d ) to make the presence stream
do nothing on hotfixes. We now ensure that no replication clients subscribe to
the presence stream, so this is redundant.
2019-03-06 13:21:32 +00:00
Richard van der Hoff
9e9572c79e
Run black on synapse/handlers/user_directory.py ( #4812 )
...
This got done on the develop branch in #4635 , but the subsequent merge to
hotfixes (88af0317a ) discarded the changes for some reason.
Fixing this here and now means (a) there are fewer differences between
matrix-org-hotfixes and develop, making future patches easier to merge, and (b)
fixes some pep8 errors on the hotfixes branch which have been annoying me for
some time.
2019-03-06 11:56:03 +00:00
Richard van der Hoff
c7285607a3
Revert EDU-batching hacks from matrix-org-hotfixes
...
Firstly: we want to do this in a better way, which is the intention of
too many RRs, which means we need to make it happen again.
This reverts commits: 8d7c0264b 000d23090 eb0334b07 4d07dc0d1
2019-03-06 11:04:53 +00:00
Erik Johnston
a6e2546980
Fix outbound federation
2019-03-05 14:50:37 +00:00
Erik Johnston
dc510e0e43
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-03-05 14:41:13 +00:00
Richard van der Hoff
ed12338f35
Remove #4733 debug ( #4767 )
...
We don't need any of this stuff now; this brings protocol.py back into line
with develop for the hotfixes branch.
2019-03-04 14:00:03 +00:00
Richard van der Hoff
bf3f8b8855
Add more debug for #4422 ( #4769 )
2019-02-28 17:46:22 +00:00
Richard van der Hoff
67acd1aa1b
Merge branch 'develop' into matrix-org-hotfixes
2019-02-27 10:29:24 +00:00
Erik Johnston
75c924430e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-26 09:36:29 +00:00
Richard van der Hoff
6087c53830
Add more debug for membership syncing issues ( #4719 )
2019-02-25 17:00:18 +00:00
Erik Johnston
b50fe65a22
Add logging when sending error
2019-02-25 15:55:21 +00:00
Erik Johnston
17009e689b
Merge pull request #4734 from matrix-org/rav/repl_debug
...
Add some debug to help with #4733
2019-02-25 15:52:45 +00:00
Richard van der Hoff
5d2f755d3f
Add some debug to help with #4733
2019-02-25 14:37:23 +00:00
Richard van der Hoff
8d7c0264bc
more fix edu batching hackery
2019-02-24 23:27:52 +00:00
Richard van der Hoff
000d230901
fix edu batching hackery
2019-02-24 23:19:37 +00:00
Richard van der Hoff
eb0334b07c
more edu batching hackery
2019-02-24 23:15:09 +00:00
Richard van der Hoff
4d07dc0d18
Add a delay to the federation loop for EDUs
2019-02-24 22:24:36 +00:00
Erik Johnston
0ea52872ab
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-22 15:29:41 +00:00
Richard van der Hoff
6868d53fe9
bail out early in on_new_receipts if no pushers
2019-02-21 15:58:15 +00:00
Richard van der Hoff
68af15637b
Merge branch 'develop' into matrix-org-hotfixes
2019-02-20 14:24:17 +00:00
Richard van der Hoff
4da63d9f6f
Merge branch 'develop' into matrix-org-hotfixes
2019-02-20 14:15:56 +00:00
Richard van der Hoff
085d69b0bd
Apply the pusher http hack in the right place ( #4692 )
...
Do it in the constructor, so that it works for badge updates as well as pushes
2019-02-20 11:25:10 +00:00
Erik Johnston
776fe6c184
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-20 09:52:24 +00:00
Erik Johnston
0e07d2c7d5
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-19 13:24:37 +00:00
Erik Johnston
90ec885805
Revert "Merge pull request #4654 from matrix-org/hawkowl/registration-worker"
...
This reverts commit 5bd2e2c31d , reversing
changes made to d97c3a6ce6 .
2019-02-19 13:23:17 +00:00
Erik Johnston
5a28154c4d
Revert "Merge pull request #4655 from matrix-org/hawkowl/registration-worker"
...
This reverts commit 93555af5c9 , reversing
changes made to 5bd2e2c31d .
2019-02-19 13:23:14 +00:00
Erik Johnston
2fcb51e703
Merge branch 'matthew/well-known-cors' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-18 18:38:49 +00:00
Erik Johnston
26f524872f
Revert change that cached connection factory
2019-02-18 18:36:54 +00:00
Erik Johnston
88af0317a2
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-15 22:39:13 +00:00
Erik Johnston
c10c71e70d
Emergency changes
2019-02-15 18:15:21 +00:00
Erik Johnston
93555af5c9
Merge pull request #4655 from matrix-org/hawkowl/registration-worker
...
Device replication
2019-02-15 18:12:49 +00:00
Amber Brown
06622e4110
fix
2019-02-16 05:11:09 +11:00
Amber Brown
155efa9e36
fix
2019-02-16 05:10:48 +11:00
Amber Brown
3175edc5d8
maybe
2019-02-16 05:09:08 +11:00
Amber Brown
d95252c01f
use a device replication thingy
2019-02-16 05:08:58 +11:00
Erik Johnston
5bd2e2c31d
Merge pull request #4654 from matrix-org/hawkowl/registration-worker
...
Registration worker
2019-02-15 17:51:34 +00:00
Amber Brown
84528e4fb2
cleanup
2019-02-16 04:49:09 +11:00
Amber Brown
e4381ed514
pep8
2019-02-16 04:42:04 +11:00
Amber Brown
d9235b9e29
fix appservice, add to frontend proxy
2019-02-16 04:39:49 +11:00
Amber Brown
ce5f3b1ba5
add all the files
2019-02-16 04:35:58 +11:00
Amber Brown
7b5c04312e
isort
2019-02-16 04:35:27 +11:00
Amber Brown
f5bafd70f4
add cache remover endpoint and wire it up
2019-02-16 04:34:23 +11:00
Richard van der Hoff
d97c3a6ce6
Merge remote-tracking branch 'origin/release-v0.99.1' into matrix-org-hotfixes
2019-02-13 14:29:05 +00:00
Erik Johnston
341c35614a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-02-13 10:29:31 +00:00
Richard van der Hoff
fecf28319c
Merge branch 'release-v0.99.0' into matrix-org-hotfixes
2019-02-01 13:29:31 +00:00
Richard van der Hoff
345d8cfb69
Merge branch 'release-v0.99.0' into matrix-org-hotfixes
2019-02-01 13:21:42 +00:00
Richard van der Hoff
b60d005156
Merge branch 'develop' into matrix-org-hotfixes
2019-01-31 18:44:04 +00:00
Richard van der Hoff
6c232a69df
Revert "Break infinite loop on redaction in v3 rooms"
...
We've got a better fix of this now.
This reverts commit decb5698b3 .
2019-01-31 18:43:49 +00:00
Amber Brown
e97c1df30c
remove slow code on userdir ( #4534 )
2019-01-31 13:26:38 +00:00
Richard van der Hoff
decb5698b3
Break infinite loop on redaction in v3 rooms
2019-01-31 00:23:58 +00:00
Erik Johnston
62962e30e4
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-30 17:04:08 +00:00
Erik Johnston
05413d4e20
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-30 14:27:19 +00:00
Erik Johnston
ca46dcf683
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-30 13:11:25 +00:00
Erik Johnston
d351be1567
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-30 11:48:29 +00:00
Andrew Morgan
c7f2eaf4f4
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-29 10:07:13 +00:00
Andrew Morgan
53d25116df
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-25 14:33:14 +00:00
Andrew Morgan
08e25ffa0c
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-24 15:51:59 +00:00
Andrew Morgan
1c148e442b
Merge branch 'anoa/room_dir_quick_fix' into matrix-org-hotfixes
2019-01-24 15:37:16 +00:00
Andrew Morgan
acaca1b4e9
Merge branch 'anoa/room_dir_quick_fix' into matrix-org-hotfixes
2019-01-24 14:51:35 +00:00
Andrew Morgan
4777836b83
Fix missing synapse metrics import
2019-01-23 15:26:03 +00:00
Andrew Morgan
7da659dd6d
Use existing stream position counter metric
2019-01-23 15:04:12 +00:00
Andrew Morgan
77dfe51aba
Name metric consistently
2019-01-23 15:04:05 +00:00
Andrew Morgan
ef7865e2f2
Track user_dir current event stream position
2019-01-23 15:03:54 +00:00
Matthew Hodgson
5cb15c0443
warn if we ignore device lists
2019-01-15 22:11:46 +00:00
Matthew Hodgson
b43172ffbc
Merge pull request #4396 from matrix-org/matthew/bodge_device_update_dos
...
limit remote device lists to 10000 entries per user
2019-01-15 21:47:00 +00:00
Matthew Hodgson
b4796d1814
drop the limit to 1K as e2e will be hosed beyond that point anyway
2019-01-15 21:46:29 +00:00
Matthew Hodgson
482d06774a
don't store remote device lists if they have more than 10K devices
2019-01-15 21:38:07 +00:00
Matthew Hodgson
046d731fbd
limit remote device lists to 1000 entries per user
2019-01-15 21:07:12 +00:00
Richard van der Hoff
892f6c98ec
Merge tag 'v0.34.1.1' into matrix-org-hotfixes
...
Synapse 0.34.1.1 (2019-01-11)
=============================
This release fixes CVE-2019-5885 and is recommended for all users of Synapse 0.34.1.
This release is compatible with Python 2.7 and 3.5+. Python 3.7 is fully supported.
Bugfixes
--------
- Fix spontaneous logout on upgrade
([\#4374](https://github.com/matrix-org/synapse/issues/4374 ))
2019-01-11 10:21:18 +00:00
Erik Johnston
7fafa2d954
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2019-01-09 09:13:16 +00:00
Richard van der Hoff
1d63046542
Merge tag 'v0.34.1rc1' into matrix-org-hotfixes
...
Synapse 0.34.1rc1 (2019-01-08)
==============================
Features
--------
- Special-case a support user for use in verifying behaviour of a given server. The support user does not appear in user directory or monthly active user counts. ([\#4141](https://github.com/matrix-org/synapse/issues/4141 ), [\#4344](https://github.com/matrix-org/synapse/issues/4344 ))
- Support for serving .well-known files ([\#4262](https://github.com/matrix-org/synapse/issues/4262 ))
- Rework SAML2 authentication ([\#4265](https://github.com/matrix-org/synapse/issues/4265 ), [\#4267](https://github.com/matrix-org/synapse/issues/4267 ))
- SAML2 authentication: Initialise user display name from SAML2 data ([\#4272](https://github.com/matrix-org/synapse/issues/4272 ))
- Synapse can now have its conditional/extra dependencies installed by pip. This functionality can be used by using `pip install matrix-synapse[feature]`, where feature is a comma separated list with the possible values `email.enable_notifs`, `matrix-synapse-ldap3`, `postgres`, `resources.consent`, `saml2`, `url_preview`, and `test`. If you want to install all optional dependencies, you can use "all" instead. ([\#4298](https://github.com/matrix-org/synapse/issues/4298 ), [\#4325](https://github.com/matrix-org/synapse/issues/4325 ), [\#4327](https://github.com/matrix-org/synapse/issues/4327 ))
- Add routes for reading account data. ([\#4303](https://github.com/matrix-org/synapse/issues/4303 ))
- Add opt-in support for v2 rooms ([\#4307](https://github.com/matrix-org/synapse/issues/4307 ))
- Add a script to generate a clean config file ([\#4315](https://github.com/matrix-org/synapse/issues/4315 ))
- Return server data in /login response ([\#4319](https://github.com/matrix-org/synapse/issues/4319 ))
Bugfixes
--------
- Fix contains_url check to be consistent with other instances in code-base and check that value is an instance of string. ([\#3405](https://github.com/matrix-org/synapse/issues/3405 ))
- Fix CAS login when username is not valid in an MXID ([\#4264](https://github.com/matrix-org/synapse/issues/4264 ))
- Send CORS headers for /media/config ([\#4279](https://github.com/matrix-org/synapse/issues/4279 ))
- Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284 ))
- Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294 ))
- Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295 ))
- The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True ([\#4305](https://github.com/matrix-org/synapse/issues/4305 ))
- Fixed per-room account data filters ([\#4309](https://github.com/matrix-org/synapse/issues/4309 ))
- Fix indentation in default config ([\#4313](https://github.com/matrix-org/synapse/issues/4313 ))
- Fix synapse:latest docker upload ([\#4316](https://github.com/matrix-org/synapse/issues/4316 ))
- Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <maarten@de-vri.es >. ([\#4317](https://github.com/matrix-org/synapse/issues/4317 ))
- Avoid packaging _trial_temp directory in -py3 debian packages ([\#4326](https://github.com/matrix-org/synapse/issues/4326 ))
- Check jinja version for consent resource ([\#4327](https://github.com/matrix-org/synapse/issues/4327 ))
- fix NPE in /messages by checking if all events were filtered out ([\#4330](https://github.com/matrix-org/synapse/issues/4330 ))
- Fix `python -m synapse.config` on Python 3. ([\#4356](https://github.com/matrix-org/synapse/issues/4356 ))
Deprecations and Removals
-------------------------
- Remove the deprecated v1/register API on Python 2. It was never ported to Python 3. ([\#4334](https://github.com/matrix-org/synapse/issues/4334 ))
Internal Changes
----------------
- Getting URL previews of IP addresses no longer fails on Python 3. ([\#4215](https://github.com/matrix-org/synapse/issues/4215 ))
- drop undocumented dependency on dateutil ([\#4266](https://github.com/matrix-org/synapse/issues/4266 ))
- Update the example systemd config to use a virtualenv ([\#4273](https://github.com/matrix-org/synapse/issues/4273 ))
- Update link to kernel DCO guide ([\#4274](https://github.com/matrix-org/synapse/issues/4274 ))
- Make isort tox check print diff when it fails ([\#4283](https://github.com/matrix-org/synapse/issues/4283 ))
- Log room_id in Unknown room errors ([\#4297](https://github.com/matrix-org/synapse/issues/4297 ))
- Documentation improvements for coturn setup. Contributed by Krithin Sitaram. ([\#4333](https://github.com/matrix-org/synapse/issues/4333 ))
- Update pull request template to use absolute links ([\#4341](https://github.com/matrix-org/synapse/issues/4341 ))
- Update README to not lie about required restart when updating TLS certificates ([\#4343](https://github.com/matrix-org/synapse/issues/4343 ))
- Update debian packaging for compatibility with transitional package ([\#4349](https://github.com/matrix-org/synapse/issues/4349 ))
- Fix command hint to generate a config file when trying to start without a config file ([\#4353](https://github.com/matrix-org/synapse/issues/4353 ))
- Add better logging for unexpected errors while sending transactions ([\#4358](https://github.com/matrix-org/synapse/issues/4358 ))
2019-01-08 11:37:25 +00:00
Richard van der Hoff
4c238a9a91
Merge remote-tracking branch 'origin/release-v0.34.0' into matrix-org-hotfixes
2018-12-19 10:24:26 +00:00
Richard van der Hoff
002db39a36
Merge tag 'v0.34.0rc1' into matrix-org-hotfixes
2018-12-04 14:07:28 +00:00
Richard van der Hoff
c4074e4ab6
Revert "Merge branch 'rav/timestamp_patch' into matrix-org-hotfixes"
...
This reverts commit 7960e814e5 , reversing
changes made to 3dd704ee9a .
We no longer need this; please redo it as a proper MSC & synapse PR if you want
to keep it...
2018-12-03 10:15:39 +00:00
Richard van der Hoff
7960e814e5
Merge branch 'rav/timestamp_patch' into matrix-org-hotfixes
2018-11-30 12:10:30 +00:00
Richard van der Hoff
080025e533
Fix buglet and remove thread_id stuff
2018-11-30 12:09:33 +00:00
Richard van der Hoff
9accd63a38
Initial patch from Erik
2018-11-30 12:04:38 +00:00
Richard van der Hoff
3dd704ee9a
Merge branch 'develop' into matrix-org-hotfixes
2018-11-20 11:29:45 +00:00
Richard van der Hoff
28e28a1974
Merge branch 'develop' into matrix-org-hotfixes
2018-11-20 11:03:35 +00:00
Richard van der Hoff
b699178aa1
Merge branch 'develop' into matrix-org-hotfixes
2018-11-14 11:54:29 +00:00
Richard van der Hoff
c08c649fa1
Merge remote-tracking branch 'origin/erikj/fix_device_comparison' into matrix-org-hotfixes
2018-11-08 12:48:19 +00:00
hera
5c0c4b4079
Fix encoding error for consent form on python3
...
The form was rendering this as "b'01234....'".
-- richvdh
2018-11-08 11:03:39 +00:00
Richard van der Hoff
b55cdfaa31
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-11-08 10:47:56 +00:00
Richard van der Hoff
34406cf22c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-11-06 10:49:20 +00:00
Amber Brown
f91aefd245
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-10-31 04:41:03 +11:00
Erik Johnston
f8281f42c8
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-10-29 18:16:58 +00:00
Amber Brown
7171bdf279
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-10-29 23:14:47 +11:00
Erik Johnston
9f2d14ee26
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-10-26 09:52:23 +01:00
Amber Brown
ead471e72d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-10-22 22:18:02 +11:00
Richard van der Hoff
9a4011de46
Merge branch 'develop' into matrix-org-hotfixes
2018-10-18 16:37:01 +01:00
Amber Brown
33551be61b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-10-15 20:15:27 +11:00
Richard van der Hoff
eeb29d99fd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-10-09 09:49:08 +01:00
Richard van der Hoff
1a0c407e6b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-10-09 09:47:37 +01:00
Erik Johnston
c4b37cbf18
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-10-02 16:44:57 +01:00
Erik Johnston
7fa156af80
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-10-02 14:39:30 +01:00
Richard van der Hoff
78825f4f1c
Merge branch 'develop' into matrix-org-hotfixes
2018-09-26 13:27:33 +01:00
Richard van der Hoff
6e15b5debe
Revert "Actuall set cache factors in workers"
...
This reverts commit e21c312e16 .
2018-09-26 13:25:52 +01:00
Matthew Hodgson
2e0d2879d0
Merge branch 'develop' into matrix-org-hotfixes
2018-09-26 11:00:26 +01:00
Michael Kaye
128043072b
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-24 11:20:10 +01:00
Erik Johnston
b2fda9d20e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-20 11:00:14 +01:00
Erik Johnston
3c8c5eabc2
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-15 11:40:37 +01:00
Erik Johnston
2da2041e2e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-14 19:56:33 +01:00
Erik Johnston
b5eef203f4
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-14 18:25:55 +01:00
Erik Johnston
df73da691f
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-13 16:15:56 +01:00
Matthew Hodgson
30d054e0bb
Merge branch 'develop' into matrix-org-hotfixes
2018-09-12 17:16:21 +01:00
Erik Johnston
ebb3cc4ab6
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-12 11:22:06 +01:00
Erik Johnston
17201abd53
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-09-11 14:17:33 +01:00
Erik Johnston
2f141f4c41
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-22 11:47:08 +01:00
Richard van der Hoff
638c0bf49b
Merge branch 'rav/fix_gdpr_consent' into matrix-org-hotfixes
2018-08-21 22:54:35 +01:00
hera
d1065e6f51
Merge tag 'v0.33.3rc2' into matrix-org-hotfixes
...
Bugfixes
--------
- Fix bug in v0.33.3rc1 which caused infinite loops and OOMs
([\#3723](https://github.com/matrix-org/synapse/issues/3723 ))
2018-08-21 19:12:14 +00:00
Erik Johnston
567863127a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-20 13:34:47 +01:00
Erik Johnston
f5abc10724
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-20 11:12:18 +01:00
Erik Johnston
bb795b56da
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-16 15:51:16 +01:00
Erik Johnston
4dd0604f61
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-15 15:37:05 +01:00
Richard van der Hoff
c05d278ba0
Merge branch 'rav/federation_metrics' into matrix-org-hotfixes
2018-08-07 19:11:29 +01:00
Erik Johnston
49a3163958
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-06 13:33:54 +01:00
Erik Johnston
1a568041fa
Merge branch 'release-v0.33.1' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-08-02 15:28:32 +01:00
Erik Johnston
c9db8b0c32
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-24 17:22:23 +01:00
Erik Johnston
aa1bf10b91
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-24 15:49:38 +01:00
Erik Johnston
5222907bea
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-23 17:54:41 +01:00
Erik Johnston
e1eb147f2a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-23 16:45:22 +01:00
hera
e43eb47c5f
Fixup limiter
2018-07-23 15:22:47 +00:00
hera
27eb4c45cd
Lower hacky timeout for member limiter
2018-07-23 15:16:36 +00:00
Erik Johnston
b136d7ff8f
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-23 16:09:40 +01:00
Richard van der Hoff
9e56e1ab30
Merge branch 'develop' into matrix-org-hotfixes
2018-07-19 16:40:28 +01:00
Erik Johnston
742f757337
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-19 10:26:13 +01:00
Richard van der Hoff
2f5dfe299c
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-07-17 15:26:47 +01:00
Erik Johnston
e4eec87c6a
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-17 11:18:39 +01:00
Erik Johnston
f793ff4571
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-17 10:04:33 +01:00
Richard van der Hoff
195aae2f16
Merge branch 'develop' into matrix-org-hotfixes
2018-07-12 12:09:25 +01:00
Erik Johnston
7c79f2cb72
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-12 09:59:58 +01:00
Richard van der Hoff
f04e35c170
Merge branch 'develop' into matrix-org-hotfixes
2018-07-10 18:04:03 +01:00
Matthew Hodgson
36bbac05bd
Merge branch 'develop' of git+ssh://github.com/matrix-org/synapse into matrix-org-hotfixes
2018-07-06 19:21:09 +01:00
Erik Johnston
e2a4b7681e
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-07-05 10:29:32 +01:00
Erik Johnston
957944eee4
Merge pull request #3476 from matrix-org/erikj/timeout_memberships
...
Timeout membership requests after 90s
2018-07-03 10:18:39 +01:00
Erik Johnston
bf425e533e
Fix PEP8
2018-07-03 10:11:09 +01:00
Erik Johnston
ca21957b8a
Timeout membership requests after 90s
...
This is a hacky fix to try and stop in flight requests from building up
2018-07-02 13:56:08 +01:00
Erik Johnston
6a95270671
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-06-29 14:10:29 +01:00
hera
82781f5838
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
2018-06-28 21:09:28 +00:00
Matthew Hodgson
aae6d3ff69
Merge remote-tracking branch 'origin/revert-3451-hawkowl/sorteddict-api' into matrix-org-hotfixes
2018-06-26 18:36:29 +01:00
Matthew Hodgson
9175225adf
Merge remote-tracking branch 'origin/hawkowl/sorteddict-api' into matrix-org-hotfixes
2018-06-26 17:52:37 +01:00
David Baker
7a32fa0101
Fix error on deleting users pending deactivation
...
Use simple_delete instead of simple_delete_one as commented
2018-06-26 11:57:44 +01:00
Erik Johnston
d46450195b
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-06-25 20:14:34 +01:00
Erik Johnston
c0128c1021
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-06-25 20:12:13 +01:00
Erik Johnston
3320b7c9a4
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-06-25 15:23:18 +01:00
Erik Johnston
4c22c9b0b6
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
2018-06-25 14:37:13 +01:00
Richard van der Hoff
6d6ea1bb40
Merge branch 'develop' into matrix-org-hotfixes
2018-06-22 16:35:37 +01:00
aphrodite
9e38981ae4
Send HTTP pushes direct to http-priv rather than via clouldflare
...
(This is a heinous hack that ought to be made more generic and pushed back to develop)
2018-06-22 15:58:15 +01:00
hera
463e7c2709
Lower member limiter
2018-06-22 15:58:15 +01:00
Richard van der Hoff
ce9d0b1d0c
Fix earlier logging patch
...
`@cached` doesn't work on decorated functions, because it uses inspection on
the target to calculate the number of arguments.
2018-06-22 15:58:15 +01:00
Richard van der Hoff
80786d5caf
Logging for get_users_in_room
2018-06-22 15:58:15 +01:00
Richard van der Hoff
e18378c3e2
Increase member limiter to 20
...
Let's see if this makes the bridges go faster, or if it kills the synapse
master.
2018-06-22 15:58:15 +01:00
hera
0ca2857baa
increase sync cache to 2 minutes
...
to give synchrotrons being hammered by repeating initial /syncs to get more
chance to actually complete and avoid a DoS
2018-06-22 15:58:15 +01:00
Erik Johnston
e21c312e16
Actuall set cache factors in workers
2018-06-22 15:58:15 +01:00
Richard van der Hoff
1031bd25f8
Avoid doing presence updates on replication reconnect
...
Presence is supposed to be disabled on matrix.org, so we shouldn't send a load
of USER_SYNC commands every time the synchrotron reconnects to the master.
2018-06-22 15:58:15 +01:00
hera
fae708c0e8
Disable auth on room_members for now
...
because the moznet bridge is broken (https://github.com/matrix-org/matrix-appservice-irc/issues/506 )
2018-06-22 15:58:15 +01:00
Erik Johnston
8f8ea91eef
Bump LAST_SEEN_GRANULARITY in client_ips
2018-06-22 15:58:15 +01:00
Erik Johnston
7a1406d144
Prefill client_ip_last_seen in replication
2018-06-22 15:58:15 +01:00
Erik Johnston
6373874833
Move event sending to end in shutdown room admin api
2018-06-22 15:58:15 +01:00
Erik Johnston
a79823e64b
Add dummy presence REST handler to frontend proxy
...
The handler no-ops all requests as presence is disabled.
2018-06-22 15:58:15 +01:00
Erik Johnston
1766a5fdc0
Increase MAX_EVENTS_BEHIND for replication clients
2018-06-22 15:58:14 +01:00
Erik Johnston
e6b1ea3eb2
Disable presence in txn queue
2018-06-22 15:58:14 +01:00
Erik Johnston
e5537cf983
Limit concurrent AS joins
2018-06-22 15:58:14 +01:00
Erik Johnston
43bb12e640
Disable presence
...
This reverts commit 0ebd376a53 and
disables presence a bit more
2018-06-22 15:58:14 +01:00
Erik Johnston
66dcbf47a3
Disable auto search for prefixes in event search
2018-06-22 15:58:14 +01:00
Erik Johnston
a285fe05fd
Add timeout to ResponseCache of /public_rooms
2018-06-22 15:58:14 +01:00