mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-03 05:53:00 +03:00
23922 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
dependabot[bot]
|
02bda250f8
|
Bump furo from 2024.1.29 to 2024.4.27 (#17133)
Bumps [furo](https://github.com/pradyunsg/furo) from 2024.1.29 to 2024.4.27. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pradyunsg/furo/blob/main/docs/changelog.md">furo's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <!-- raw HTML omitted --> <h2>2024.04.27 -- Bold Burgundy</h2> <ul> <li>Add a skip to content link.</li> <li>Add <code>--font-stack--headings</code>.</li> <li>Add <code>:visited</code> colour and enforce uniform contrast between light/dark.</li> <li>Add an offset of <code>:target</code> to reduce back-to-top overlap.</li> <li>Improve dark mode colours.</li> <li>Fix outstanding colour contrast warnings on Firefox.</li> <li>Fix bad indent in footnotes.</li> <li>Tweak handling of default configuration options in a more resilient manner.</li> <li>Tweak length and sizing of API <code>source</code> links.</li> <li>Stop search engine indexing on search page.</li> </ul> <h2>2024.01.29 -- Amazing Amethyst</h2> <ul> <li>Fix canonical url when building with <code>dirhtml</code>.</li> <li>Relicense the demo module.</li> </ul> <h2>2023.09.10 -- Zesty Zaffre</h2> <ul> <li>Make asset hash injection idempotent, fixing Sphinx 6 compatibility.</li> <li>Fix the check for HTML builders, fixing non-HTML Read the Docs builds.</li> </ul> <h2>2023.08.19 -- Xenolithic Xanadu</h2> <ul> <li>Fix missing search context with Sphinx 7.2, for dirhtml builds.</li> <li>Drop support for Python 3.7.</li> <li>Present configuration errors in a better format -- thanks <a href="https://github.com/AA-Turner"><code>@AA-Turner</code></a>!</li> <li>Bump <code>require_sphinx()</code> to Sphinx 6.0, in line with dependency changes in Unassuming Ultramarine.</li> </ul> <h2>2023.08.17 -- Wonderous White</h2> <ul> <li>Fix compatiblity with Sphinx 7.2.0 and 7.2.1.</li> </ul> <h2>2023.07.26 -- Vigilant Volt</h2> <ul> <li>Fix compatiblity with Sphinx 7.1.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
devonh
|
0fd6b269d3
|
Fix various typos in docs (#17114)
### 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)) |
||
Andrew Morgan
|
89fc579329
|
Fix filtering of rooms when supplying the destination query parameter to /_synapse/admin/v1/federation/destinations/<destination>/rooms (#17077)
|
||
villepeh
|
9c91873922
|
Add RuntimeDirectory to matrix-synapse.service (#17084)
This makes it easy to store UNIX sockets with correct permissions. Those would be located in /run/synapse which is the directory used in many examples in Synapse configuration manual. Additionally, the directory and sockets are deleted when Synapse is shut down. |
||
Michael Telatynski
|
41fbe387d6
|
Improve error message for cross signing reset with MSC3861 enabled (#17121) | ||
Amanda H. L. de Andrade Katz
|
90cc9e5b29
|
Rephrase enable_notifs configuration (#17116) | ||
Andrew Ferrazzutti
|
516fd891ee
|
Use recommended endpoint for MSC3266 requests (#17078)
Keep the existing endpoint for backwards compatibility Signed-off-by: Andrew Ferrazzutti <andrewf@element.io> |
||
Amanda H. L. de Andrade Katz
|
0ef2315a99
|
Update event_cache_size and global_factor configurations documentation (#17071)
### 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)) |
||
Melvyn Laïly
|
59710437e4
|
Return the search terms as search highlights for SQLite instead of nothing (#17000)
Fixes https://github.com/element-hq/synapse/issues/16999 and https://github.com/element-hq/element-android/pull/8729 by returning the search terms as search highlights. |
||
dependabot[bot]
|
9985aa6821
|
Bump serde_json from 1.0.115 to 1.0.116 (#17112)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.115 to 1.0.116. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.116</h2> <ul> <li>Make module structure comprehensible to static analysis (<a href="https://redirect.github.com/serde-rs/json/issues/1124">#1124</a>, thanks <a href="https://github.com/mleonhard"><code>@mleonhard</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
31742149d4
|
Bump serde from 1.0.197 to 1.0.198 (#17111)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p> <blockquote> <h2>v1.0.198</h2> <ul> <li>Support serializing and deserializing <code>Saturating<T></code> (<a href="https://redirect.github.com/serde-rs/serde/issues/2709">#2709</a>, thanks <a href="https://github.com/jbethune"><code>@jbethune</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
947e8a6cb0
|
Bump types-bleach from 6.1.0.1 to 6.1.0.20240331 (#17110)
Bumps [types-bleach](https://github.com/python/typeshed) from 6.1.0.1 to 6.1.0.20240331. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=types-bleach&package-manager=pip&previous-version=6.1.0.1&new-version=6.1.0.20240331)](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> |
||
dependabot[bot]
|
0d4d00a07c
|
Bump pyicu from 2.12 to 2.13 (#17109)
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyicu&package-manager=pip&previous-version=2.12&new-version=2.13)](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> |
||
dependabot[bot]
|
3166445514
|
Bump pydantic from 2.6.4 to 2.7.0 (#17107)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.6.4 to 2.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h1>v2.7.0 (2024-04-11)</h1> <p>The code released in v2.7.0 is practically identical to that of v2.7.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Reorganize <code>pyproject.toml</code> sections by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8899">#8899</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.18.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9211">#9211</a></li> <li>Adopt <code>jiter</code> <code>v0.2.0</code> by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1250">pydantic/pydantic-core#1250</a></li> </ul> <h4>New Features</h4> <ul> <li>Extract attribute docstrings from <code>FieldInfo.description</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6563">#6563</a></li> <li>Add a <code>with_config</code> decorator to comply with typing spec by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8611">#8611</a></li> <li>Allow an optional separator splitting the value and unit of the result of <code>ByteSize.human_readable</code> by <a href="https://github.com/jks15satoshi"><code>@jks15satoshi</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8706">#8706</a></li> <li>Add generic <code>Secret</code> base type by <a href="https://github.com/conradogarciaberrotaran"><code>@conradogarciaberrotaran</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8519">#8519</a></li> <li>Make use of <code>Sphinx</code> inventories for cross references in docs by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8682">#8682</a></li> <li>Add environment variable to disable plugins by <a href="https://github.com/geospackle"><code>@geospackle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8767">#8767</a></li> <li>Add support for <code>deprecated</code> fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8237">#8237</a></li> <li>Allow <code>field_serializer('*')</code> by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9001">#9001</a></li> <li>Handle a case when <code>model_config</code> is defined as a model property by <a href="https://github.com/alexeyt101"><code>@alexeyt101</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9004">#9004</a></li> <li>Update <code>create_model()</code> to support <code>typing.Annotated</code> as input by <a href="https://github.com/wannieman98"><code>@wannieman98</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8947">#8947</a></li> <li>Add <code>ClickhouseDsn</code> support by <a href="https://github.com/solidguy7"><code>@solidguy7</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9062">#9062</a></li> <li>Add support for <code>re.Pattern[str]</code> to <code>pattern</code> field by <a href="https://github.com/jag-k"><code>@jag-k</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9053">#9053</a></li> <li>Support for <code>serialize_as_any</code> runtime setting by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8830">#8830</a></li> <li>Add support for <code>typing.Self</code> by <a href="https://github.com/Youssefares"><code>@Youssefares</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9023">#9023</a></li> <li>Ability to pass <code>context</code> to serialization by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8965">#8965</a></li> <li>Add feedback widget to docs with flarelytics integration by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9129">#9129</a></li> <li>Support for parsing partial JSON strings in Python by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/jiter/pull/66">pydantic/jiter#66</a></li> </ul> <p><strong>Finalized in v2.7.0, rather than v2.7.0b1:</strong></p> <ul> <li>Add support for field level number to str coercion option by <a href="https://github.com/NeevCohen"><code>@NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9137">#9137</a></li> <li>Update <code>warnings</code> parameter for serialization utilities to allow raising a warning by <a href="https://github.com/Lance-Drane"><code>@Lance-Drane</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9166">#9166</a></li> </ul> <h4>Changes</h4> <ul> <li>Correct docs, logic for <code>model_construct</code> behavior with <code>extra</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8807">#8807</a></li> <li>Improve error message for improper <code>RootModel</code> subclasses by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8857">#8857</a></li> <li>Use <code>PEP570</code> syntax by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8940">#8940</a></li> <li>Add <code>enum</code> and <code>type</code> to the JSON schema for single item literals by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8944">#8944</a></li> <li>Deprecate <code>update_json_schema</code> internal function by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9125">#9125</a></li> <li>Serialize duration to hour minute second, instead of just seconds by <a href="https://github.com/kakilangit"><code>@kakilangit</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/50">pydantic/speedate#50</a></li> <li>Trimming str before parsing to int and float by <a href="https://github.com/hungtsetse"><code>@hungtsetse</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1203">pydantic/pydantic-core#1203</a></li> </ul> <h4>Performance</h4> <ul> <li><code>enum</code> validator improvements by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9045">#9045</a></li> <li>Move <code>enum</code> validation and serialization to Rust by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9064">#9064</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.7.0 (2024-04-11)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.7.0">GitHub release</a></p> <p>The code released in v2.7.0 is practically identical to that of v2.7.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Reorganize <code>pyproject.toml</code> sections by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8899">#8899</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.18.1</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9211">#9211</a></li> <li>Adopt <code>jiter</code> <code>v0.2.0</code> by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1250">pydantic/pydantic-core#1250</a></li> </ul> <h4>New Features</h4> <ul> <li>Extract attribute docstrings from <code>FieldInfo.description</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/6563">#6563</a></li> <li>Add a <code>with_config</code> decorator to comply with typing spec by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8611">#8611</a></li> <li>Allow an optional separator splitting the value and unit of the result of <code>ByteSize.human_readable</code> by <a href="https://github.com/jks15satoshi"><code>@jks15satoshi</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8706">#8706</a></li> <li>Add generic <code>Secret</code> base type by <a href="https://github.com/conradogarciaberrotaran"><code>@conradogarciaberrotaran</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8519">#8519</a></li> <li>Make use of <code>Sphinx</code> inventories for cross references in docs by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8682">#8682</a></li> <li>Add environment variable to disable plugins by <a href="https://github.com/geospackle"><code>@geospackle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8767">#8767</a></li> <li>Add support for <code>deprecated</code> fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8237">#8237</a></li> <li>Allow <code>field_serializer('*')</code> by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9001">#9001</a></li> <li>Handle a case when <code>model_config</code> is defined as a model property by <a href="https://github.com/alexeyt101"><code>@alexeyt101</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9004">#9004</a></li> <li>Update <code>create_model()</code> to support <code>typing.Annotated</code> as input by <a href="https://github.com/wannieman98"><code>@wannieman98</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8947">#8947</a></li> <li>Add <code>ClickhouseDsn</code> support by <a href="https://github.com/solidguy7"><code>@solidguy7</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9062">#9062</a></li> <li>Add support for <code>re.Pattern[str]</code> to <code>pattern</code> field by <a href="https://github.com/jag-k"><code>@jag-k</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9053">#9053</a></li> <li>Support for <code>serialize_as_any</code> runtime setting by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8830">#8830</a></li> <li>Add support for <code>typing.Self</code> by <a href="https://github.com/Youssefares"><code>@Youssefares</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9023">#9023</a></li> <li>Ability to pass <code>context</code> to serialization by <a href="https://github.com/ornariece"><code>@ornariece</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8965">#8965</a></li> <li>Add feedback widget to docs with flarelytics integration by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9129">#9129</a></li> <li>Support for parsing partial JSON strings in Python by <a href="https://github.com/samuelcolvin"><code>@samuelcolvin</code></a> in <a href="https://redirect.github.com/pydantic/jiter/pull/66">pydantic/jiter#66</a></li> </ul> <p><strong>Finalized in v2.7.0, rather than v2.7.0b1:</strong></p> <ul> <li>Add support for field level number to str coercion option by <a href="https://github.com/NeevCohen"><code>@NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9137">#9137</a></li> <li>Update <code>warnings</code> parameter for serialization utilities to allow raising a warning by <a href="https://github.com/Lance-Drane"><code>@Lance-Drane</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9166">#9166</a></li> </ul> <h4>Changes</h4> <ul> <li>Correct docs, logic for <code>model_construct</code> behavior with <code>extra</code> by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8807">#8807</a></li> <li>Improve error message for improper <code>RootModel</code> subclasses by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8857">#8857</a></li> <li>Use <code>PEP570</code> syntax by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8940">#8940</a></li> <li>Add <code>enum</code> and <code>type</code> to the JSON schema for single item literals by <a href="https://github.com/dmontagu"><code>@dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8944">#8944</a></li> <li>Deprecate <code>update_json_schema</code> internal function by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9125">#9125</a></li> <li>Serialize duration to hour minute second, instead of just seconds by <a href="https://github.com/kakilangit"><code>@kakilangit</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/50">pydantic/speedate#50</a></li> <li>Trimming str before parsing to int and float by <a href="https://github.com/hungtsetse"><code>@hungtsetse</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-core/pull/1203">pydantic/pydantic-core#1203</a></li> </ul> <h4>Performance</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
922656fc77
|
Bump phonenumbers from 8.13.29 to 8.13.35 (#17106)
Bumps [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) from 8.13.29 to 8.13.35. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
Olivier 'reivilibre
|
30c50e0240 | Tweak changelog | ||
Olivier 'reivilibre
|
48a90c697b | 1.106.0rc1 | ||
Till
|
47773232b0
|
Redact membership events if the user requested erasure upon deactivating (#17076)
Fixes #15355 by redacting all membership events before leaving rooms. |
||
Quentin Gliech
|
2e92b718d5
|
MSC4108 implementation (#17056)
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io> Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> |
||
Andrew Morgan
|
646cb6ff24
|
Add type annotation to visited_chains (#17125)
This should fix CI on `develop`. Broke in
|
||
Erik Johnston
|
0fe9e1f7da | Merge branch 'master' into develop | ||
mcalinghee
|
ae181233aa
|
Send an email if the address is already bound to an user account (#16819)
Co-authored-by: Mathieu Velten <mathieu.velten@beta.gouv.fr> Co-authored-by: Olivier D <odelcroi@gmail.com> |
||
Erik Johnston
|
20c9e19519 | 1.105.1 | ||
Erik Johnston
|
55b0aa847a |
Fix GHSA-3h7q-rfh9-xm4v
Weakness in auth chain indexing allows DoS from remote room members through disk fill and high CPU usage. A remote Matrix user with malicious intent, sharing a room with Synapse instances before 1.104.1, can dispatch specially crafted events to exploit a weakness in how the auth chain cover index is calculated. This can induce high CPU consumption and accumulate excessive data in the database of such instances, resulting in a denial of service. Servers in private federations, or those that do not federate, are not affected. |
||
Neil Johnson
|
074ef4d75f
|
Add an OSX prompt to manually configure icu4c. (#17069)
Documentation fix. |
||
devonh
|
301c9771c4
|
Clarify what part of message retention is still experimental (#17099)
### 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)) |
||
dependabot[bot]
|
800a5b6ef3
|
Bump types-pillow from 10.2.0.20240406 to 10.2.0.20240415 (#17090)
Bumps [types-pillow](https://github.com/python/typeshed) from 10.2.0.20240406 to 10.2.0.20240415. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=types-pillow&package-manager=pip&previous-version=10.2.0.20240406&new-version=10.2.0.20240415)](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> |
||
dependabot[bot]
|
8c667759ad
|
Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#17087)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.3 to 4.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/peaceiris/actions-gh-pages/releases">peaceiris/actions-gh-pages's releases</a>.</em></p> <blockquote> <h2>actions-github-pages v4.0.0</h2> <p>See <a href="https://github.com/peaceiris/actions-gh-pages/blob/v4.0.0/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md">peaceiris/actions-gh-pages's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file. See <a href="https://github.com/conventional-changelog/standard-version">standard-version</a> for commit guidelines.</p> <h1><a href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.3...v4.0.0">4.0.0</a> (2024-04-08)</h1> <h3>build</h3> <ul> <li>node 20.11.1 (<a href=" |
||
dependabot[bot]
|
14e9ab19be
|
Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#17088)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.4.0 to 3.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sigstore/cosign-installer/releases">sigstore/cosign-installer's releases</a>.</em></p> <blockquote> <h2>v3.5.0</h2> <h2>What's Changed</h2> <ul> <li>Bump actions/checkout from 4.1.1 to 4.1.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/sigstore/cosign-installer/pull/157">sigstore/cosign-installer#157</a></li> <li>use go 1.22 now by <a href="https://github.com/bobcallaway"><code>@bobcallaway</code></a> in <a href="https://redirect.github.com/sigstore/cosign-installer/pull/160">sigstore/cosign-installer#160</a></li> <li>bump default version to v2.2.4, prep for v3.5.0 release by <a href="https://github.com/bobcallaway"><code>@bobcallaway</code></a> in <a href="https://redirect.github.com/sigstore/cosign-installer/pull/159">sigstore/cosign-installer#159</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/sigstore/cosign-installer/compare/v3.4.0...v3.5.0">https://github.com/sigstore/cosign-installer/compare/v3.4.0...v3.5.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
20c8991a94
|
Bump peaceiris/actions-mdbook from 1.2.0 to 2.0.0 (#17089)
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook) from 1.2.0 to 2.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/peaceiris/actions-mdbook/releases">peaceiris/actions-mdbook's releases</a>.</em></p> <blockquote> <h2>actions-mdbook v2.0.0</h2> <p>See <a href="https://github.com/peaceiris/actions-mdbook/blob/v2.0.0/CHANGELOG.md">CHANGELOG.md</a> for more details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md">peaceiris/actions-mdbook's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file. See <a href="https://github.com/conventional-changelog/standard-version">standard-version</a> for commit guidelines.</p> <h1><a href="https://github.com/peaceiris/actions-mdbook/compare/v1.2.0...v2.0.0">2.0.0</a> (2024-04-08)</h1> <h3>build</h3> <ul> <li>bump node to 20.12.1 (<a href="https://redirect.github.com/peaceiris/actions-mdbook/issues/504">#504</a>) (<a href=" |
||
dependabot[bot]
|
dcae2b4ba4
|
Bump twine from 4.0.2 to 5.0.0 (#17091)
Bumps [twine](https://github.com/pypa/twine) from 4.0.2 to 5.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/twine/blob/main/docs/changelog.rst">twine's changelog</a>.</em></p> <blockquote> <h2>Twine 5.0.0 (2024-02-10)</h2> <p>Bugfixes ^^^^^^^^</p> <ul> <li>Use <code>email.message</code> instead of <code>cgi</code> as <code>cgi</code> has been deprecated (<code>[#969](https://github.com/pypa/twine/issues/969) <https://github.com/pypa/twine/issues/969></code>_)</li> </ul> <p>Misc ^^^^</p> <ul> <li><code>[#931](https://github.com/pypa/twine/issues/931) <https://github.com/pypa/twine/issues/931></code><em>, <code>[#991](https://github.com/pypa/twine/issues/991) <https://github.com/pypa/twine/issues/991></code></em>, <code>[#1028](https://github.com/pypa/twine/issues/1028) <https://github.com/pypa/twine/issues/1028></code><em>, <code>[#1040](https://github.com/pypa/twine/issues/1040) <https://github.com/pypa/twine/issues/1040></code></em></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
98f57ea3f2
|
Bump pygithub from 2.2.0 to 2.3.0 (#17092)
Bumps [pygithub](https://github.com/pygithub/pygithub) from 2.2.0 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pygithub/pygithub/releases">pygithub's releases</a>.</em></p> <blockquote> <h2>v2.3.0</h2> <h2>New features</h2> <ul> <li>Support oauth for enterprise <a href="https://github.com/EnricoMi"><code>@EnricoMi</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2780">#2780</a>)</li> <li>Support creation of Dependabot Organization and Repository Secrets <a href="https://github.com/thomascrowley"><code>@thomascrowley</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2874">#2874</a>)</li> </ul> <h2>Improvements</h2> <ul> <li>Create release with optional <code>name</code> and <code>message</code> when <code>generate_release_notes</code> is true <a href="https://github.com/heitorpolidoro"><code>@heitorpolidoro</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2868">#2868</a>)</li> <li>Add missing attributes to <code>WorkflowJob</code> <a href="https://github.com/xvega"><code>@xvega</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2921">#2921</a>)</li> <li>Add <code>created</code> and <code>check_suite_id</code> filter for Repository Workflow runs <a href="https://github.com/treee111"><code>@treee111</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2891">#2891</a>)</li> <li>Assert requester argument type in Auth <a href="https://github.com/EnricoMi"><code>@EnricoMi</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2912">#2912</a>)</li> </ul> <h2>Bug Fixes</h2> <ul> <li>Revert having allowed values for <code>add_to_collaborators</code> <a href="https://github.com/jodelasur"><code>@jodelasur</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2905">#2905</a>)</li> </ul> <h2>Maintenance</h2> <ul> <li>Fix imports in authentication docs <a href="https://github.com/wurstbrot"><code>@wurstbrot</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2923">#2923</a>)</li> <li>CI: add docformatter to precommit <a href="https://github.com/Borda"><code>@Borda</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2614">#2614</a>)</li> <li>Add <code>.swp</code> fils to <code>.gitignore</code> <a href="https://github.com/boomanaiden154"><code>@boomanaiden154</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2903">#2903</a>)</li> <li>Fix instructions building docs in <code>CONTRIBUTING.md</code> <a href="https://github.com/wakamex"><code>@wakamex</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2900">#2900</a>)</li> <li>Explicitly name the modules built in <code>pyproject.toml</code> <a href="https://github.com/treee111"><code>@treee111</code></a> (<a href="https://redirect.github.com/pygithub/pygithub/issues/2894">#2894</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst">pygithub's changelog</a>.</em></p> <blockquote> <h2>Version 2.3.0 (March 21, 2024)</h2> <p>New features ^^^^^^^^^^^^</p> <ul> <li>Support OAuth for enterprise (<a href="https://redirect.github.com/pygithub/pygithub/issues/2780">#2780</a>) (e4106e00)</li> <li>Support creation of Dependabot Organization and Repository Secrets (<a href="https://redirect.github.com/pygithub/pygithub/issues/2874">#2874</a>) (0784f835)</li> </ul> <p>Improvements ^^^^^^^^^^^^</p> <ul> <li>Create release with optional name and message when generate_release_notes is true (<a href="https://redirect.github.com/pygithub/pygithub/issues/2868">#2868</a>) (d65fc30d)</li> <li>Add missing attributes to WorkflowJob (<a href="https://redirect.github.com/pygithub/pygithub/issues/2921">#2921</a>) (9e092458)</li> <li>Add <code>created</code> and <code>check_suite_id</code> filter for Repository WorkflowRuns (<a href="https://redirect.github.com/pygithub/pygithub/issues/2891">#2891</a>) (c788985c)</li> <li>Assert requester argument type in Auth (<a href="https://redirect.github.com/pygithub/pygithub/issues/2912">#2912</a>) (0b8435fc)</li> </ul> <p>Bug Fixes ^^^^^^^^^</p> <ul> <li>Revert having allowed values for add_to_collaborators (<a href="https://redirect.github.com/pygithub/pygithub/issues/2905">#2905</a>) (b542438e)</li> </ul> <p>Maintenance ^^^^^^^^^^^</p> <ul> <li>Fix imports in authentication docs (<a href="https://redirect.github.com/pygithub/pygithub/issues/2923">#2923</a>) (e3d36535)</li> <li>CI: add docformatter to precommit (<a href="https://redirect.github.com/pygithub/pygithub/issues/2614">#2614</a>) (96ad19ae)</li> <li>Add .swp files to gitignore (<a href="https://redirect.github.com/pygithub/pygithub/issues/2903">#2903</a>) (af529abe)</li> <li>Fix instructions building docs in CONTRIBUTING.md (<a href="https://redirect.github.com/pygithub/pygithub/issues/2900">#2900</a>) (cd8e528d)</li> <li>Explicitly name the modules built in pyproject.toml (<a href="https://redirect.github.com/pygithub/pygithub/issues/2894">#2894</a>) (4d461734)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
f5b6005559
|
Bump pyasn1-modules from 0.3.0 to 0.4.0 (#17093)
Bumps [pyasn1-modules](https://github.com/pyasn1/pyasn1-modules) from 0.3.0 to 0.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyasn1/pyasn1-modules/releases">pyasn1-modules's releases</a>.</em></p> <blockquote> <h2>Release 0.4.0</h2> <p>It's a major release where we drop Python 2 support entirely. The most significant changes are:</p> <ul> <li>Added support for Python 3.11, 3.12</li> <li>Removed support for EOL Pythons 2.7, 3.6, 3.7</li> </ul> <p>A full list of changes can be seen in the <a href="https://github.com/pyasn1/pyasn1-modules/blob/main/CHANGES.txt">CHANGELOG</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyasn1/pyasn1-modules/blob/main/CHANGES.txt">pyasn1-modules's changelog</a>.</em></p> <blockquote> <h2>Revision 0.4.0, released 26-03-2024</h2> <ul> <li>Added support for Python 3.11, 3.12</li> <li>Removed support for EOL Pythons 2.7, 3.6, 3.7</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
47f3870894
|
Bump ruff from 0.3.5 to 0.3.7 (#17094)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.5 to 0.3.7. <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>v0.3.7</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-bugbear</code>] Implement <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9578">#9578</a>)</li> <li>[<code>pylint</code>] Implement rule to prefer augmented assignment (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9932">#9932</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid TOCTOU errors in cache initialization (<a href="https://redirect.github.com/astral-sh/ruff/pull/10884">#10884</a>)</li> <li>[<code>pylint</code>] Recode <code>nan-comparison</code> rule to <code>W0177</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10894">#10894</a>)</li> <li>[<code>pylint</code>] Reverse min-max logic in <code>if-stmt-min-max</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10890">#10890</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/lshi18"><code>@lshi18</code></a></li> <li><a href="https://github.com/mimre25"><code>@mimre25</code></a></li> </ul> <h2>v0.3.6</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>bad-staticmethod-argument</code> (<code>PLW0211</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10781">#10781</a>)</li> <li>[<code>pylint</code>] Implement <code>if-stmt-min-max</code> (<code>PLR1730</code>, <code>PLR1731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10002">#10002</a>)</li> <li>[<code>pyupgrade</code>] Replace <code>str,Enum</code> multiple inheritance with <code>StrEnum</code> <code>UP042</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10713">#10713</a>)</li> <li>[<code>refurb</code>] Implement <code>if-expr-instead-of-or-operator</code> (<code>FURB110</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10687">#10687</a>)</li> <li>[<code>refurb</code>] Implement <code>int-on-sliced-str</code> (<code>FURB166</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10650">#10650</a>)</li> <li>[<code>refurb</code>] Implement <code>write-whole-file</code> (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10802">#10802</a>)</li> <li>[<code>refurb</code>] Support <code>itemgetter</code> in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10526">#10526</a>)</li> <li>[<code>flake8_comprehensions</code>] Add <code>sum</code>/<code>min</code>/<code>max</code> to unnecessary comprehension check (<code>C419</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10759">#10759</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Require capitalizing docstrings where the first sentence is a single word (<code>D403</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10776">#10776</a>)</li> <li>[<code>pycodestyle</code>] Ignore annotated lambdas in class scopes (<code>E731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10720">#10720</a>)</li> <li>[<code>flake8-pyi</code>] Various improvements to PYI034 (<a href="https://redirect.github.com/astral-sh/ruff/pull/10807">#10807</a>)</li> <li>[<code>flake8-slots</code>] Flag subclasses of call-based <code>typing.NamedTuple</code>s as well as subclasses of <code>collections.namedtuple()</code> (<code>SLOT002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10808">#10808</a>)</li> <li>[<code>pyflakes</code>] Allow forward references in class bases in stub files (<code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10779">#10779</a>)</li> <li>[<code>pygrep-hooks</code>] Improve <code>blanket-noqa</code> error message (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10851">#10851</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Support <code>FORCE_COLOR</code> env var (<a href="https://redirect.github.com/astral-sh/ruff/pull/10839">#10839</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Support negated patterns in <code>[extend-]per-file-ignores</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10852">#10852</a>)</li> </ul> <!-- raw HTML omitted --> </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.3.7</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-bugbear</code>] Implement <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9578">#9578</a>)</li> <li>[<code>pylint</code>] Implement rule to prefer augmented assignment (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/9932">#9932</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid TOCTOU errors in cache initialization (<a href="https://redirect.github.com/astral-sh/ruff/pull/10884">#10884</a>)</li> <li>[<code>pylint</code>] Recode <code>nan-comparison</code> rule to <code>W0177</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10894">#10894</a>)</li> <li>[<code>pylint</code>] Reverse min-max logic in <code>if-stmt-min-max</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10890">#10890</a>)</li> </ul> <h2>0.3.6</h2> <h3>Preview features</h3> <ul> <li>[<code>pylint</code>] Implement <code>bad-staticmethod-argument</code> (<code>PLW0211</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10781">#10781</a>)</li> <li>[<code>pylint</code>] Implement <code>if-stmt-min-max</code> (<code>PLR1730</code>, <code>PLR1731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10002">#10002</a>)</li> <li>[<code>pyupgrade</code>] Replace <code>str,Enum</code> multiple inheritance with <code>StrEnum</code> <code>UP042</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10713">#10713</a>)</li> <li>[<code>refurb</code>] Implement <code>if-expr-instead-of-or-operator</code> (<code>FURB110</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10687">#10687</a>)</li> <li>[<code>refurb</code>] Implement <code>int-on-sliced-str</code> (<code>FURB166</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10650">#10650</a>)</li> <li>[<code>refurb</code>] Implement <code>write-whole-file</code> (<code>FURB103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10802">#10802</a>)</li> <li>[<code>refurb</code>] Support <code>itemgetter</code> in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10526">#10526</a>)</li> <li>[<code>flake8_comprehensions</code>] Add <code>sum</code>/<code>min</code>/<code>max</code> to unnecessary comprehension check (<code>C419</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10759">#10759</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Require capitalizing docstrings where the first sentence is a single word (<code>D403</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10776">#10776</a>)</li> <li>[<code>pycodestyle</code>] Ignore annotated lambdas in class scopes (<code>E731</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10720">#10720</a>)</li> <li>[<code>flake8-pyi</code>] Various improvements to PYI034 (<a href="https://redirect.github.com/astral-sh/ruff/pull/10807">#10807</a>)</li> <li>[<code>flake8-slots</code>] Flag subclasses of call-based <code>typing.NamedTuple</code>s as well as subclasses of <code>collections.namedtuple()</code> (<code>SLOT002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10808">#10808</a>)</li> <li>[<code>pyflakes</code>] Allow forward references in class bases in stub files (<code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10779">#10779</a>)</li> <li>[<code>pygrep-hooks</code>] Improve <code>blanket-noqa</code> error message (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10851">#10851</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Support <code>FORCE_COLOR</code> env var (<a href="https://redirect.github.com/astral-sh/ruff/pull/10839">#10839</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Support negated patterns in <code>[extend-]per-file-ignores</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/10852">#10852</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-import-conventions</code>] Accept non-aliased (but correct) import in <code>unconventional-import-alias</code> (<code>ICN001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10729">#10729</a>)</li> <li>[<code>flake8-quotes</code>] Add semantic model flag when inside f-string replacement field (<a href="https://redirect.github.com/astral-sh/ruff/pull/10766">#10766</a>)</li> <li>[<code>pep8-naming</code>] Recursively resolve <code>TypeDicts</code> for N815 violations (<a href="https://redirect.github.com/astral-sh/ruff/pull/10719">#10719</a>)</li> <li>[<code>flake8-quotes</code>] Respect <code>Q00*</code> ignores in <code>flake8-quotes</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/10728">#10728</a>)</li> <li>[<code>flake8-simplify</code>] Show negated condition in <code>needless-bool</code> diagnostics (<code>SIM103</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10854">#10854</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
6d64f1b2b8
|
Bump anyhow from 1.0.81 to 1.0.82 (#17095)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.81 to 1.0.82. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.82</h2> <ul> <li>Documentation improvements</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
Gordan Trevis
|
1d47532310
|
Parse json validation (#16923)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> |
||
Quentin Gliech
|
09f0957b36
|
Helpers to transform Twisted requests to Rust http Requests/Responses (#17081)
This adds functions to transform a Twisted request to the `http::Request`, and then to send back an `http::Response` through it. It also imports the SynapseError exception so that we can throw that from Rust code directly Example usage of this would be: ```rust use crate::http::{http_request_from_twisted, http_response_to_twisted, HeaderMapPyExt}; fn handler(twisted_request: &PyAny) -> PyResult<()> { let request = http_request_from_twisted(twisted_request)?; let ua: headers::UserAgent = request.headers().typed_get_required()?; if whatever { return Err((crate::errors::SynapseError::new( StatusCode::UNAUTHORIZED, "Whatever".to_owned "M_UNAUTHORIZED", None, None, ))); } let response = Response::new("hello".as_bytes()); http_response_to_twisted(twisted_request, response)?; Ok(()) } ``` |
||
Erik Johnston
|
803f05f60c
|
Fix remote receipts for events we don't have (#17096)
Introduced in #17032 |
||
Quentin Gliech
|
c8e0bed426
|
Support for MSC4108 via delegation (#17086)
This adds support for MSC4108 via delegation, similar to what has been done for MSC3886 --------- Co-authored-by: Hugh Nimmo-Smith <hughns@element.io> |
||
Quentin Gliech
|
28f5ad07d3
|
Bump minimum required Rust version to 1.66.0 (#17079) | ||
Gordan Trevis
|
f0d6f14047
|
Parse Integer negative value validation (#16920) | ||
Olivier Wilkinson (reivilibre)
|
3a196b3227 | Merge branch 'master' into develop | ||
Olivier Wilkinson (reivilibre)
|
fbb2573525 | 1.105.0 | ||
Kegan Dougal
|
259442fa4c
|
bugfix: make msc3967 idempotent (#16943)
MSC3967 was updated recently to make it more robust to network failures: > there is an existing cross-signing master key and it exactly matches the cross-signing master key provided in the request body. If there are any additional keys provided in the request (self signing key, user signing key) they MUST also match the existing keys stored on the server. In other words, the request contains no new keys. If there are new keys, UIA MUST be performed. https://github.com/matrix-org/matrix-spec-proposals/blob/hughns/device-signing-upload-uia/proposals/3967-device-signing-upload-uia.md#proposal This covers the case where the 200 OK is lost in transit so the client retries the upload, only to then get UIA'd. Complement tests: https://github.com/matrix-org/complement/pull/713 - passing example https://github.com/element-hq/synapse/actions/runs/7976948122/job/21778795094?pr=16943#step:7:8820 ### 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: reivilibre <oliverw@matrix.org> |
||
Nick Mills-Barrett
|
fe4719a268
|
Use receipts event_stream_ordering instead of joins (#17032)
Resurrecting https://github.com/matrix-org/synapse/pull/13918.
This should reduce IOPs incurred by joining to the events table to
lookup stream ordering, which happens in many receipt handling code
paths. Like the previous PR I believe sufficient time has passed between
the original migration in DB schema 72 and now to merge this as-is. It's
highly unlikely that both the migration is still ongoing AND (active)
users still have any receipts prior to that date.
In the unlikely event there is a receipt without a populated
`event_stream_ordering` synapse will behave just as it does now when
receipts exist for events that don't (yet): for push action calculation
the receipts are just ignored.
I've removed the validation on event IDs as this is already covered
here:
|
||
Erik Johnston
|
3a30846bd0
|
Fix mypy on latest Twisted release (#17036)
`ITransport.abortConnection` isn't a thing, but `HTTPChannel.forceAbortClient` calls it, so lets just use that Fixes https://github.com/element-hq/synapse/issues/16728 |
||
Andrew Morgan
|
db4e321219 | 1.105.0rc1 | ||
Patrick Cloke
|
657b8cc75c
|
Stabilize support for MSC4010: push rules & account data. (#17022)
See [MSC4010](https://github.com/matrix-org/matrix-spec-proposals/pull/4010), but this is pretty much just removing an experimental flag. Part of #17021 |
||
Patrick Cloke
|
a2a543fd12
|
Stabliize support for MSC3981: recurse /relations (#17023)
See [MSC3981](https://github.com/matrix-org/matrix-spec-proposals/pull/3981), this pretty much just removes flags though. Part of #17021 |
||
Erik Johnston
|
89f1092284
|
Also check if first event matches the last in prev batch (#17066)
Refinement of #17064 cc @richvdh |