summary refs log tree commit diff
path: root/pyproject.toml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1.92.0rc1David Robertson2023-09-051-1/+1
|
* Merge branch 'master' into developDavid Robertson2023-09-041-1/+1
|\
| * 1.91.1 v1.91.1David Robertson2023-09-041-1/+1
| |
* | Merge branch 'master' into developDavid Robertson2023-08-301-1/+1
|\|
| * 1.91.0 v1.91.0David Robertson2023-08-301-1/+1
| |
* | Bump ruff from 0.0.277 to 0.0.286 (#16198)dependabot[bot]2023-08-291-1/+1
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Update black & fix the targeted Python versions. (#16187)Patrick Cloke2023-08-291-3/+6
|/ | | Black should target Python 3.8 to 3.11.
* 1.91.0rc1 v1.91.0rc1H. Shay2023-08-231-1/+1
|
* Raise poetry-core version cap to 1.7.0 (#16152)Theodore Ni2023-08-221-1/+1
|
* 1.90.0 v1.90.0Olivier Wilkinson (reivilibre)2023-08-151-1/+1
|
* 1.90.0rc1Erik Johnston2023-08-081-1/+1
|
* 1.89.0 v1.89.0David Robertson2023-08-011-1/+1
|
* 1.89.0rc1Mathieu Velten2023-07-251-1/+1
|
* 1.88.0 v1.88.0Olivier Wilkinson (reivilibre)2023-07-181-1/+1
|
* Don't build wheels for Python 3.7 (#15917) v1.88.0rc1David Robertson2023-07-111-1/+9
| | | | | | | * Don't build wheels for CPython or PyPy 3.7 * Update pyproject.toml comments * Manually update the changelog
* 1.88.0rc1David Robertson2023-07-111-1/+1
|
* Bump ruff from 0.0.275 to 0.0.277 (#15900)dependabot[bot]2023-07-101-1/+1
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.275 to 0.0.277. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.275...v0.0.277) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove support for Python 3.7 (#15851)Eric Eastwood2023-07-051-4/+1
| | | Fix https://github.com/matrix-org/synapse/issues/15836
* 1.87.0Olivier Wilkinson (reivilibre)2023-07-041-1/+1
|
* Pin `pydantic` to <2.0.0 (#15862)Paarth Shah2023-07-041-1/+2
| | | Signed-off-by: Paarth Shah <mail@shahpaarth.com>
* Prepare changelog for v1.87.0rc1Eric Eastwood2023-06-271-1/+1
|
* Bump ruff from 0.0.272 to 0.0.275 (#15833)dependabot[bot]2023-06-261-1/+1
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.272 to 0.0.275. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.272...v0.0.275) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Merge branch 'master' into developErik Johnston2023-06-201-1/+1
|\
| * 1.86.0 v1.86.0Mathieu Velten2023-06-201-1/+1
| |
* | Bump ruff from 0.0.265 to 0.0.272 (#15799)dependabot[bot]2023-06-191-1/+1
|/ | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.265 to 0.0.272. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.272) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 1.86.0rc2 v1.86.0rc2Mathieu Velten2023-06-141-1/+1
|
* 1.86.0rc1Mathieu Velten2023-06-131-1/+1
|
* Merge branch 'master' into developErik Johnston2023-06-081-1/+1
|\
| * 1.85.2Erik Johnston2023-06-081-1/+1
| |
* | Merge branch 'master' into developErik Johnston2023-06-071-1/+1
|\|
| * 1.85.1Erik Johnston2023-06-071-1/+1
| |
* | Merge branch 'master' into developErik Johnston2023-06-061-1/+1
|\|
| * 1.85.0Erik Johnston2023-06-061-1/+1
| |
* | Merge branch 'release-v1.85' into developH. Shay2023-06-011-1/+1
|\|
| * 1.85.0rc2 v1.85.0rc2H. Shay2023-06-011-1/+1
| |
* | Add stubs package for lxml. (#15697)Patrick Cloke2023-05-311-0/+1
|/ | | | | | | The stubs have some issues so this has some generous cast and ignores in it, but it is better than not having stubs. Note that confusing that Element is a function which creates _Element instances (and similarly for Comment).
* 1.85.0rc1David Robertson2023-05-301-1/+1
|
* 1.84.1Olivier Wilkinson (reivilibre)2023-05-261-1/+1
|
* 1.84.0Olivier Wilkinson (reivilibre)2023-05-231-1/+1
|
* 1.84.0rc1Olivier Wilkinson (reivilibre)2023-05-161-1/+1
|
* Allow poetry-core 1.6.0 (#15588)icp2023-05-151-1/+1
|
* Relax poetry-core lower bound to 1.1.0 (#15571)David Robertson2023-05-121-1/+1
| | | | | See https://github.com/matrix-org/synapse/pull/15566#issuecomment-1543844104 Also check you can `pip install` in the old-deps CI job
* Allow `pip install` to use setuptools_rust 1.6.0 (#15570)David Robertson2023-05-111-1/+1
| | | | | | | | | | | | | | | * Allow `pip install` to use setuptools_rust 1.6.0 This was bumped by dependabot in #15512, but we didn't bump also raise the version guard here. I don't know how we can avoid this happening in the future. Closes #15461. Spotted in [1] by @landryb. [1]: https://github.com/matrix-org/synapse/issues/15461#issuecomment-1543513934 * Changelog
* Require at least poetry-core v1.2.0 (#15566)V024602023-05-111-1/+1
| | | Signed-off-by: Kai A. Hiller <V02460@gmail.com>
* Merge branch 'master' into developMathieu Velten2023-05-091-1/+1
|\
| * 1.83.0 v1.83.0Mathieu Velten2023-05-091-1/+1
| |
* | Bump ruff from 0.0.259 to 0.0.265 (#15551)dependabot[bot]2023-05-081-1/+1
|/
* 1.83.0rc1Sean Quah2023-05-021-1/+1
|
* 1.82.0 v1.82.0David Robertson2023-04-251-1/+1
|
* 1.82.0rc1Olivier Wilkinson (reivilibre)2023-04-181-1/+1
|
* 1.81.0 v1.81.0Erik Johnston2023-04-111-1/+1
|
* 1.81.0rc2 v1.81.0rc2David Robertson2023-04-061-1/+1
|
* 1.81.0rc1Erik Johnston2023-04-041-1/+1
|
* Merge branch 'master' into developSean Quah2023-03-281-1/+1
|\
| * 1.80.0 v1.80.0Sean Quah2023-03-281-1/+1
| |
* | Bump ruff from 0.0.252 to 0.0.259 (#15328)dependabot[bot]2023-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump ruff from 0.0.252 to 0.0.259 Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.252 to 0.0.259. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.252...v0.0.259) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix new warnings * Mypy * Newsfile --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Johnston <erik@matrix.org>
* | Bump furo from 2022.12.7 to 2023.3.23 (#15327)dependabot[bot]2023-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump furo from 2022.12.7 to 2023.3.23 Bumps [furo](https://github.com/pradyunsg/furo) from 2022.12.7 to 2023.3.23. - [Release notes](https://github.com/pradyunsg/furo/releases) - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md) - [Commits](https://github.com/pradyunsg/furo/compare/2022.12.07...2023.03.23) --- updated-dependencies: - dependency-name: furo dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* | Add developer documentation for the Federation Sender and add a ↵reivilibre2023-03-241-0/+12
| | | | | | | | | | | | documentation mechanism using Sphinx. (#15265) Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* | Use immutabledict instead of frozendict (#15113)David Robertson2023-03-221-7/+5
|/ | | | | | | | | | Additionally: * Consistently use `freeze()` in test --------- Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de>
* 1.80.0rc2 v1.80.0rc2H. Shay2023-03-221-1/+1
|
* 1.80.0rc1H. Shay2023-03-211-1/+1
|
* Merge branch 'master' into developMathieu Velten2023-03-141-1/+1
|\
| * 1.79.0 v1.79.0Mathieu Velten2023-03-141-1/+1
| |
* | Merge branch 'release-v1.79' into developDavid Robertson2023-03-131-1/+1
|\|
| * 1.79.0rc2 v1.79.0rc2David Robertson2023-03-131-1/+1
| |
* | Pull in netaddr type hints. (#15231)Patrick Cloke2023-03-091-0/+1
|/ | | And fix any issues from having those type hints.
* 1.79.0rc1David Robertson2023-03-071-1/+1
|
* Merge branch 'master' into developH. Shay2023-02-281-1/+1
|\
| * 1.78.0 v1.78.0H. Shay2023-02-281-1/+1
| |
* | Bump ruff from 0.0.237 to 0.0.252 (#15159)dependabot[bot]2023-02-271-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | * Bump ruff from 0.0.237 to 0.0.252 Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.237 to 0.0.252. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.237...v0.0.252) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* 1.78.0rc1Olivier Wilkinson (reivilibre)2023-02-211-1/+1
|
* Upper-bound frozendict dependency (#15114)David Robertson2023-02-211-1/+3
| | | | | | | | | | | * Upper-bound frozendict dependency This is an ugly kludge to solve https://github.com/matrix-org/synapse/issues/15109. It is not the most friendly thing to do for downstream packagers (apologies), but we are a) running low on time at the moment, and b) seeking to remove frozendict anyway. * Changelog
* Merge branch 'master' into developMathieu Velten2023-02-141-1/+1
|\
| * 1.77.0 v1.77.0Mathieu Velten2023-02-141-1/+1
| |
* | Add check to ensure locked dependencies have source distributions available. ↵reivilibre2023-02-131-0/+3
| | | | | | | | | | | | (#14742)
* | Merge branch 'release-v1.77' into developDavid Robertson2023-02-101-1/+1
|\|
| * 1.77.0rc2 v1.77.0rc2David Robertson2023-02-101-1/+1
| |
* | Bump ruff version from 0.0.230 to 0.0.237. (#15033)Andrew Morgan2023-02-091-1/+1
|/
* 1.77.0rc1David Robertson2023-02-071-1/+1
|
* Allow poetry-core 1.5.0 (#14949)icp2023-02-061-2/+4
|
* 1.76.0H. Shay2023-01-311-1/+1
|
* 1.76.0rc2 v1.76.0rc2David Robertson2023-01-271-1/+1
|
* 1.76.0rc1 v1.76.0rc1David Robertson2023-01-251-1/+1
|
* Bump ruff from 0.0.224 to 0.0.230 (#14897)dependabot[bot]2023-01-231-1/+1
|
* Bump ruff from 0.0.215 to 0.0.224 (#14862)dependabot[bot]2023-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Bump ruff from 0.0.215 to 0.0.224 Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.215 to 0.0.224. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.215...v0.0.224) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Merge branch 'master' into developDavid Robertson2023-01-171-1/+1
|\
| * 1.75.0 v1.75.0David Robertson2023-01-171-1/+1
| |
* | Merge branch 'release-v1.75' into developH. Shay2023-01-121-1/+1
|\|
| * 1.75.0rc2 v1.75.0rc2H. Shay2023-01-121-1/+1
| |
* | Re-enable some linting (#14821)Erik Johnston2023-01-121-8/+0
|/ | | | | | | * Re-enable some linting * Newsfile * Remove comment
* 1.75.0rc1David Robertson2023-01-101-1/+1
|
* Bump ruff from 0.0.206 to 0.0.215 (#14796)dependabot[bot]2023-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Bump ruff from 0.0.206 to 0.0.215 Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.206 to 0.0.215. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.206...v0.0.215) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Bump ruff from 0.0.189 to 0.0.206 (#14759)dependabot[bot]2023-01-051-1/+1
|
* Switch to ruff instead of flake8. (#14633)Patrick Cloke2022-12-211-4/+42
| | | | | ruff is a flake8-compatible Python linter written in Rust. It supports the flake8 plugins that we use and is significantly faster in testing.
* Bump minimum PyYAML to 3.13. (#14720)Patrick Cloke2022-12-211-1/+1
| | | | PyYAML 3.13 fixes some issues with Python 3.7 compatibility and was released in 2018.
* 1.74.0 v1.74.0Sean Quah2022-12-201-1/+1
|
* 1.74.0rc1Sean Quah2022-12-131-1/+1
|
* Add optional ICU support for user search (#14464)Brendan Abolivier2022-12-121-0/+7
| | | | | | | Fixes #13655 This change uses ICU (International Components for Unicode) to improve boundary detection in user search. This change also adds a new dependency on libicu-dev and pkg-config for the Debian packages, which are available in all supported distros.
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2022-12-061-1/+1
|\
| * 1.73.0Olivier Wilkinson (reivilibre)2022-12-061-1/+1
| |
* | Compare to the earliest known stream pos in the stream change cache. (#14435)Patrick Cloke2022-12-051-1/+2
|/ | | | | | The internal methods of the StreamChangeCache were inconsistently treating the earliest known stream position as valid. It is now treated as invalid, meaning the cache cannot determine if an entity at the earliest known stream position has changed or not.
* 1.73.0rc2 v1.73.0rc2David Robertson2022-12-011-1/+1
|
* 1.73.0rc1David Robertson2022-11-291-1/+1
|
* 1.72.0David Robertson2022-11-221-1/+1
|
* 1.72.0rc1Erik Johnston2022-11-161-1/+1
|
* 1.71.0Sean Quah2022-11-081-1/+1
|
* 1.71.0rc2Sean Quah2022-11-041-1/+1
|
* 1.71.0rc1David Robertson2022-11-011-1/+1
|
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2022-10-281-1/+1
|\
| * 1.70.1Olivier Wilkinson (reivilibre)2022-10-281-1/+1
| |
* | Merge branch 'master' into developOlivier Wilkinson (reivilibre)2022-10-261-1/+1
|\|
| * 1.70.0 v1.70.0Olivier Wilkinson (reivilibre)2022-10-261-1/+1
| |
* | Merge branch 'release-v1.70' into developOlivier Wilkinson (reivilibre)2022-10-251-2/+11
|\|
| * 1.70.0rc2Olivier Wilkinson (reivilibre)2022-10-251-1/+1
| |
| * Only build aarch64 wheels for cpython manylinux (#14259)Erik Johnston2022-10-211-1/+1
| |
| * Try building ABI3 wheels for cpython (#14253)Erik Johnston2022-10-211-0/+9
| |
* | Refactor OIDC tests to better mimic an actual OIDC provider. (#13910)Quentin Gliech2022-10-251-1/+1
|/ | | | | | | | | This implements a fake OIDC server, which intercepts calls to the HTTP client. Improves accuracy of tests by covering more internal methods. One particular example was the ID token validation, which previously mocked. This uncovered an incorrect dependency: Synapse actually requires at least authlib 0.15.1, not 0.14.0.
* 1.70.0rc1Erik Johnston2022-10-191-1/+1
|
* Don't pin dev-deps in pyproject; use lower bounds (#14227)David Robertson2022-10-181-6/+6
| | | | | | | | | | | * Don't pin dev-deps in pyproject; use lower bounds This makes it slightly less tedious to update these things via successive dependabot updates, by reducing the likelihood of a merge conflict. * Changelog * Changelog
* Fix `track_memory_usage` on poetry-core 1.3.x installations (#14221)David Robertson2022-10-181-2/+2
| | | | | | | | | | | | | * Fix `track_memory_usage` on poetry-core 1.3.x installations The same kind of problem as discussed in #14085: 1. we defined an extra with an underscore 2. we look it up at runtime with an underscore 3. but poetry-core 1.3.x. installs it with a dash, causing (2) to fail. Fix by using a dash everywhere. * Changelog
* Allow poetry-core 1.3.2 (#14217)Ivan Shapovalov2022-10-181-1/+1
| | | Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
* Bump click from 8.1.1 to 8.1.3 (#14201)dependabot[bot]2022-10-171-1/+1
|
* Merge branch 'master' into developErik Johnston2022-10-171-1/+1
|\
| * 1.69.0 v1.69.0Erik Johnston2022-10-171-1/+1
| |
* | Merge remote-tracking branch 'origin/release-v1.69' into developPatrick Cloke2022-10-141-4/+9
|\|
| * 1.69.0rc4 v1.69.0rc4Erik Johnston2022-10-141-1/+1
| |
| * 1.69.0rc3Erik Johnston2022-10-121-1/+1
| |
| * Unpin build-system requirements, but impose an upper-bound (#14085)David Robertson2022-10-071-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert to prior build-system requirements This reverts #14080. * Use normalised extra name, which poetry-core 1.3 will generate anyway * Changelog * Upper bound build-system requirements * Remove upgrade note; expand changelog entry a little. * Fix typo in build-system comment Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* | Use minimal Rust installation in docker images and CI (#14141)David Robertson2022-10-121-1/+1
| |
* | Merge tag 'v1.69.0rc2' into developSean Quah2022-10-061-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 1.69.0rc2 (2022-10-06) ============================== Please note that legacy Prometheus metric names are now deprecated and will be removed in Synapse 1.73.0. Server administrators should update their dashboards and alerting rules to avoid using the deprecated metric names. See the [upgrade notes](https://matrix-org.github.io/synapse/v1.69/upgrade.html#upgrading-to-v1690) for more details. Deprecations and Removals ------------------------- - Deprecate the `generate_short_term_login_token` method in favor of an async `create_login_token` method in the Module API. ([\#13842](https://github.com/matrix-org/synapse/issues/13842)) Internal Changes ---------------- - Ensure Synapse v1.69 works with upcoming database changes in v1.70. ([\#14045](https://github.com/matrix-org/synapse/issues/14045)) - Fix a bug introduced in Synapse v1.68.0 where messages could not be sent in rooms with non-integer `notifications` power level. ([\#14073](https://github.com/matrix-org/synapse/issues/14073)) - Temporarily pin build-system requirements to workaround an incompatibility with poetry-core 1.3.0. This will be reverted before the v1.69.0 release proper, see [\#14079](https://github.com/matrix-org/synapse/issues/14079). ([\#14080](https://github.com/matrix-org/synapse/issues/14080))
| * Pin build-system requirements (#14080)David Robertson2022-10-061-1/+1
| | | | | | | | | | * Pin build-system requirements * Changelog
| * 1.69.0rc2Sean Quah2022-10-061-1/+1
| |
* | Merge tag 'v1.69.0rc1' into developSean Quah2022-10-041-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 1.69.0rc1 (2022-10-04) ============================== Please note that legacy Prometheus metric names are now deprecated and will be removed in Synapse 1.73.0. Server administrators should update their dashboards and alerting rules to avoid using the deprecated metric names. See the [upgrade notes](https://matrix-org.github.io/synapse/v1.69/upgrade.html#upgrading-to-v1690) for more details. Features -------- - Allow application services to set the `origin_server_ts` of a state event by providing the query parameter `ts` in [`PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}`](https://spec.matrix.org/v1.4/client-server-api/#put_matrixclientv3roomsroomidstateeventtypestatekey), per [MSC3316](https://github.com/matrix-org/matrix-doc/pull/3316). Contributed by @lukasdenk. ([\#11866](https://github.com/matrix-org/synapse/issues/11866)) - Allow server admins to require a manual approval process before new accounts can be used (using [MSC3866](https://github.com/matrix-org/matrix-spec-proposals/pull/3866)). ([\#13556](https://github.com/matrix-org/synapse/issues/13556)) - Exponentially backoff from backfilling the same event over and over. ([\#13635](https://github.com/matrix-org/synapse/issues/13635), [\#13936](https://github.com/matrix-org/synapse/issues/13936)) - Add cache invalidation across workers to module API. ([\#13667](https://github.com/matrix-org/synapse/issues/13667), [\#13947](https://github.com/matrix-org/synapse/issues/13947)) - Experimental implementation of [MSC3882](https://github.com/matrix-org/matrix-spec-proposals/pull/3882) to allow an existing device/session to generate a login token for use on a new device/session. ([\#13722](https://github.com/matrix-org/synapse/issues/13722), [\#13868](https://github.com/matrix-org/synapse/issues/13868)) - Experimental support for thread-specific receipts ([MSC3771](https://github.com/matrix-org/matrix-spec-proposals/pull/3771)). ([\#13782](https://github.com/matrix-org/synapse/issues/13782), [\#13893](https://github.com/matrix-org/synapse/issues/13893), [\#13932](https://github.com/matrix-org/synapse/issues/13932), [\#13937](https://github.com/matrix-org/synapse/issues/13937), [\#13939](https://github.com/matrix-org/synapse/issues/13939)) - Add experimental support for [MSC3881: Remotely toggle push notifications for another client](https://github.com/matrix-org/matrix-spec-proposals/pull/3881). ([\#13799](https://github.com/matrix-org/synapse/issues/13799), [\#13831](https://github.com/matrix-org/synapse/issues/13831), [\#13860](https://github.com/matrix-org/synapse/issues/13860)) - Keep track when an event pulled over federation fails its signature check so we can intelligently back-off in the future. ([\#13815](https://github.com/matrix-org/synapse/issues/13815)) - Improve validation for the unspecced, internal-only `_matrix/client/unstable/add_threepid/msisdn/submit_token` endpoint. ([\#13832](https://github.com/matrix-org/synapse/issues/13832)) - Faster remote room joins: record _when_ we first partial-join to a room. ([\#13892](https://github.com/matrix-org/synapse/issues/13892)) - Support a `dir` parameter on the `/relations` endpoint per [MSC3715](https://github.com/matrix-org/matrix-doc/pull/3715). ([\#13920](https://github.com/matrix-org/synapse/issues/13920)) - Ask mail servers receiving emails from Synapse to not send automatic replies (e.g. out-of-office responses). ([\#13957](https://github.com/matrix-org/synapse/issues/13957)) Bugfixes -------- - Send push notifications for invites received over federation. ([\#13719](https://github.com/matrix-org/synapse/issues/13719), [\#14014](https://github.com/matrix-org/synapse/issues/14014)) - Fix a long-standing bug where typing events would be accepted from remote servers not present in a room. Also fix a bug where incoming typing events would cause other incoming events to get stuck during a fast join. ([\#13830](https://github.com/matrix-org/synapse/issues/13830)) - Fix a bug introduced in Synapse v1.53.0 where the experimental implementation of [MSC3715](https://github.com/matrix-org/matrix-spec-proposals/pull/3715) would give incorrect results when paginating forward. ([\#13840](https://github.com/matrix-org/synapse/issues/13840)) - Fix access token leak to logs from proxy agent. ([\#13855](https://github.com/matrix-org/synapse/issues/13855)) - Fix `have_seen_event` cache not being invalidated after we persist an event which causes inefficiency effects like extra `/state` federation calls. ([\#13863](https://github.com/matrix-org/synapse/issues/13863)) - Faster room joins: Fix a bug introduced in 1.66.0 where an error would be logged when syncing after joining a room. ([\#13872](https://github.com/matrix-org/synapse/issues/13872)) - Fix a bug introduced in 1.66.0 where some required fields in the pushrules sent to clients were not present anymore. Contributed by Nico. ([\#13904](https://github.com/matrix-org/synapse/issues/13904)) - Fix packaging to include `Cargo.lock` in `sdist`. ([\#13909](https://github.com/matrix-org/synapse/issues/13909)) - Fix a long-standing bug where device updates could cause delays sending out to-device messages over federation. ([\#13922](https://github.com/matrix-org/synapse/issues/13922)) - Fix a bug introduced in v1.68.0 where Synapse would require `setuptools_rust` at runtime, even though the package is only required at build time. ([\#13952](https://github.com/matrix-org/synapse/issues/13952)) - Fix a long-standing bug where `POST /_matrix/client/v3/keys/query` requests could result in excessively large SQL queries. ([\#13956](https://github.com/matrix-org/synapse/issues/13956)) - Fix a performance regression in the `get_users_in_room` database query. Introduced in v1.67.0. ([\#13972](https://github.com/matrix-org/synapse/issues/13972)) - Fix a bug introduced in v1.68.0 bug where Rust extension wasn't built in `release` mode when using `poetry install`. ([\#14009](https://github.com/matrix-org/synapse/issues/14009)) - Do not return an unspecified `original_event` field when using the stable `/relations` endpoint. Introduced in Synapse v1.57.0. ([\#14025](https://github.com/matrix-org/synapse/issues/14025)) - Correctly handle a race with device lists when a remote user leaves during a partial join. ([\#13885](https://github.com/matrix-org/synapse/issues/13885)) - Correctly handle sending local device list updates to remote servers during a partial join. ([\#13934](https://github.com/matrix-org/synapse/issues/13934)) Improved Documentation ---------------------- - Add `worker_main_http_uri` for the worker generator bash script. ([\#13772](https://github.com/matrix-org/synapse/issues/13772)) - Update URL for the NixOS module for Synapse. ([\#13818](https://github.com/matrix-org/synapse/issues/13818)) - Fix a mistake in sso_mapping_providers.md: `map_user_attributes` is expected to return `display_name`, not `displayname`. ([\#13836](https://github.com/matrix-org/synapse/issues/13836)) - Fix a cross-link from the registration admin API to the `registration_shared_secret` configuration documentation. ([\#13870](https://github.com/matrix-org/synapse/issues/13870)) - Update the man page for the `hash_password` script to correct the default number of bcrypt rounds performed. ([\#13911](https://github.com/matrix-org/synapse/issues/13911), [\#13930](https://github.com/matrix-org/synapse/issues/13930)) - Emphasize the right reasons when to use `(room_id, event_id)` in a database schema. ([\#13915](https://github.com/matrix-org/synapse/issues/13915)) - Add instruction to contributing guide for running unit tests in parallel. Contributed by @ashfame. ([\#13928](https://github.com/matrix-org/synapse/issues/13928)) - Clarify that the `auto_join_rooms` config option can also be used with Space aliases. ([\#13931](https://github.com/matrix-org/synapse/issues/13931)) - Add some cross references to worker documentation. ([\#13974](https://github.com/matrix-org/synapse/issues/13974)) - Linkify urls in config documentation. ([\#14003](https://github.com/matrix-org/synapse/issues/14003)) Deprecations and Removals ------------------------- - Remove the `complete_sso_login` method from the Module API which was deprecated in Synapse 1.13.0. ([\#13843](https://github.com/matrix-org/synapse/issues/13843)) - Announce that legacy metric names are deprecated, will be turned off by default in Synapse v1.71.0 and removed altogether in Synapse v1.73.0. See the upgrade notes for more information. ([\#14024](https://github.com/matrix-org/synapse/issues/14024)) Internal Changes ---------------- - Speed up creation of DM rooms. ([\#13487](https://github.com/matrix-org/synapse/issues/13487), [\#13800](https://github.com/matrix-org/synapse/issues/13800)) - Port push rules to using Rust. ([\#13768](https://github.com/matrix-org/synapse/issues/13768), [\#13838](https://github.com/matrix-org/synapse/issues/13838), [\#13889](https://github.com/matrix-org/synapse/issues/13889)) - Optimise get rooms for user calls. Contributed by Nick @ Beeper (@fizzadar). ([\#13787](https://github.com/matrix-org/synapse/issues/13787)) - Update the script which makes full schema dumps. ([\#13792](https://github.com/matrix-org/synapse/issues/13792)) - Use shared methods for cache invalidation when persisting events, remove duplicate codepaths. Contributed by Nick @ Beeper (@fizzadar). ([\#13796](https://github.com/matrix-org/synapse/issues/13796)) - Improve the `synapse.api.auth.Auth` mock used in unit tests. ([\#13809](https://github.com/matrix-org/synapse/issues/13809)) - Faster Remote Room Joins: tell remote homeservers that we are unable to authorise them if they query a room which has partial state on our server. ([\#13823](https://github.com/matrix-org/synapse/issues/13823)) - Carry IdP Session IDs through user-mapping sessions. ([\#13839](https://github.com/matrix-org/synapse/issues/13839)) - Fix the release script not publishing binary wheels. ([\#13850](https://github.com/matrix-org/synapse/issues/13850)) - Raise issue if complement fails with latest deps. ([\#13859](https://github.com/matrix-org/synapse/issues/13859)) - Correct the comments in the complement dockerfile. ([\#13867](https://github.com/matrix-org/synapse/issues/13867)) - Create a new snapshot of the database schema. ([\#13873](https://github.com/matrix-org/synapse/issues/13873)) - Faster room joins: Send device list updates to most servers in rooms with partial state. ([\#13874](https://github.com/matrix-org/synapse/issues/13874), [\#14013](https://github.com/matrix-org/synapse/issues/14013)) - Add comments to the Prometheus recording rules to make it clear which set of rules you need for Grafana or Prometheus Console. ([\#13876](https://github.com/matrix-org/synapse/issues/13876)) - Only pull relevant backfill points from the database based on the current depth and limit (instead of all) every time we want to `/backfill`. ([\#13879](https://github.com/matrix-org/synapse/issues/13879)) - Faster room joins: Avoid waiting for full state when processing `/keys/changes` requests. ([\#13888](https://github.com/matrix-org/synapse/issues/13888)) - Improve backfill robustness by trying more servers when we get a `4xx` error back. ([\#13890](https://github.com/matrix-org/synapse/issues/13890)) - Fix mypy errors with canonicaljson 1.6.3. ([\#13905](https://github.com/matrix-org/synapse/issues/13905)) - Faster remote room joins: correctly handle remote device list updates during a partial join. ([\#13913](https://github.com/matrix-org/synapse/issues/13913)) - Complement image: propagate SIGTERM to all workers. ([\#13914](https://github.com/matrix-org/synapse/issues/13914)) - Update an innaccurate comment in Synapse's upsert database helper. ([\#13924](https://github.com/matrix-org/synapse/issues/13924)) - Update mypy (0.950 -> 0.981) and mypy-zope (0.3.7 -> 0.3.11). ([\#13925](https://github.com/matrix-org/synapse/issues/13925), [\#13993](https://github.com/matrix-org/synapse/issues/13993)) - Use dedicated `get_local_users_in_room(room_id)` function to find local users when calculating users to copy over during a room upgrade. ([\#13960](https://github.com/matrix-org/synapse/issues/13960)) - Refactor language in user directory `_track_user_joined_room` code to make it more clear that we use both local and remote users. ([\#13966](https://github.com/matrix-org/synapse/issues/13966)) - Revert catch-all exceptions being recorded as event pull attempt failures (only handle what we know about). ([\#13969](https://github.com/matrix-org/synapse/issues/13969)) - Speed up calculating push actions in large rooms. ([\#13973](https://github.com/matrix-org/synapse/issues/13973), [\#13992](https://github.com/matrix-org/synapse/issues/13992)) - Enable update notifications from Github's dependabot. ([\#13976](https://github.com/matrix-org/synapse/issues/13976)) - Prototype a workflow to automatically add changelogs to dependabot PRs. ([\#13998](https://github.com/matrix-org/synapse/issues/13998), [\#14011](https://github.com/matrix-org/synapse/issues/14011), [\#14017](https://github.com/matrix-org/synapse/issues/14017), [\#14021](https://github.com/matrix-org/synapse/issues/14021), [\#14027](https://github.com/matrix-org/synapse/issues/14027)) - Fix type annotations to be compatible with new annotations in development versions of twisted. ([\#14012](https://github.com/matrix-org/synapse/issues/14012)) - Clear out stale entries in `event_push_actions_staging` table. ([\#14020](https://github.com/matrix-org/synapse/issues/14020)) - Bump versions of GitHub actions. ([\#13978](https://github.com/matrix-org/synapse/issues/13978), [\#13979](https://github.com/matrix-org/synapse/issues/13979), [\#13980](https://github.com/matrix-org/synapse/issues/13980), [\#13982](https://github.com/matrix-org/synapse/issues/13982), [\#14015](https://github.com/matrix-org/synapse/issues/14015), [\#14019](https://github.com/matrix-org/synapse/issues/14019), [\#14022](https://github.com/matrix-org/synapse/issues/14022), [\#14023](https://github.com/matrix-org/synapse/issues/14023))
| * 1.69.0rc1Sean Quah2022-10-041-1/+1
| |
* | Bump isort from 5.7.0 to 5.10.1 (#13988)dependabot[bot]2022-10-041-1/+1
|/ | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* 1.68.0David Robertson2022-09-271-1/+1
|
* Correctly add Cargo.lock to sdsit (#13909)Erik Johnston2022-09-261-1/+1
|
* 1.68.0rc2Erik Johnston2022-09-231-1/+1
|
* Fix sdist to include rust build script (#13866)Erik Johnston2022-09-221-0/+1
| | | | | | | * Fix sdist to include rust build script Fixes #13851 * Newsfile
* 1.68.0rc1Olivier Wilkinson (reivilibre)2022-09-201-1/+1
|
* Add a `MXCUri` class to make working with mxc uri's easier. (#13162)Andrew Morgan2022-09-151-1/+1
|
* Merge branch 'master' into developErik Johnston2022-09-131-1/+1
|\
| * 1.67.0Erik Johnston2022-09-131-1/+1
| |
| * 1.67.0rc1Erik Johnston2022-09-061-1/+1
| |
* | Add a stub Rust crate (#12595)Erik Johnston2022-09-061-1/+38
| |
* | Fix trial-olddeps (#13725)Erik Johnston2022-09-061-1/+1
|/
* 1.66.0Sean Quah2022-08-311-1/+1
|
* 1.66.0rc2David Robertson2022-08-301-1/+1
|
* 1.66.0rc1David Robertson2022-08-231-1/+1
|
* Merge branch 'master' into developAndrew Morgan2022-08-161-1/+1
|\
| * 1.65.0 v1.65.0Andrew Morgan2022-08-161-1/+1
| |
* | Use Pydantic to systematically validate a first batch of endpoints in ↵David Robertson2022-08-151-0/+3
|/ | | | `synapse.rest.client.account`. (#13188)
* 1.65.0rc2 v1.65.0rc2Olivier Wilkinson (reivilibre)2022-08-111-1/+1
|
* 1.65.0rc1Olivier Wilkinson (reivilibre)2022-08-091-1/+1
|
* 1.64.0Olivier Wilkinson (reivilibre)2022-08-021-1/+1
|
* 1.64.0rc2Richard van der Hoff2022-07-291-1/+1
|
* 1.64.0rc1Olivier Wilkinson (reivilibre)2022-07-261-1/+1
|
* Merge remote-tracking branch 'origin/master' into developErik Johnston2022-07-201-1/+1
|\
| * 1.63.1 v1.63.1Erik Johnston2022-07-201-1/+1
| |
* | Merge branch 'master' into developBrendan Abolivier2022-07-191-1/+1
|\|
| * 1.63.0Brendan Abolivier2022-07-191-1/+1
| |
* | Up the dependency on canonicaljson to ^1.5.0 (#13172)Brendan Abolivier2022-07-181-1/+3
|/ | | Co-authored-by: David Robertson <davidr@element.io>
* 1.63.0rc1Sean Quah2022-07-121-1/+1
|
* 1.62.0David Robertson2022-07-051-1/+1
|
* 1.62.0rc3Andrew Morgan2022-07-041-1/+1
|
* 1.62.0rc2 v1.62.0rc2Andrew Morgan2022-07-011-1/+1
|
* 1.62.0rc1Andrew Morgan2022-06-281-1/+1
|
* Merge branch 'master' into developAndrew Morgan2022-06-281-1/+1
|\
| * 1.61.1Andrew Morgan2022-06-281-1/+1
| |
* | Use caret (semver bounds) for matrix.org packages (#13082)David Robertson2022-06-171-3/+3
| |
* | Replace pyjwt with authlib in `org.matrix.login.jwt` (#13011)Hannes Lerchl2022-06-151-5/+2
| |
* | Add a CI job to check that schema deltas are in the correct folder. (#13063)Erik Johnston2022-06-151-1/+1
| |
* | Merge branch 'release-v1.61' into developErik Johnston2022-06-141-1/+1
|\|
| * 1.61.0Erik Johnston2022-06-141-1/+1
| |
* | Merge branch 'master' into developOlivier Wilkinson (reivilibre)2022-06-071-1/+1
|\|
| * 1.61.0rc1Olivier Wilkinson (reivilibre)2022-06-071-1/+1
| |
* | Fix Synapse git info missing in version strings (#12973)David Robertson2022-06-071-1/+1
|/
* Remove direct refeferences to PyNaCl (use signedjson instead). (#12902)Jacek Kuśnierz2022-06-011-1/+0
|
* 1.60.0 v1.60.0Erik Johnston2022-05-311-1/+1
|
* 1.60.0rc2 v1.60.0rc2Sean Quah2022-05-271-1/+1
|
* 1.60.0rc1Sean Quah2022-05-241-1/+1
|
* 1.59.1Brendan Abolivier2022-05-181-1/+1
|
* 1.59.0David Robertson2022-05-171-1/+1
|
* 1.59.0rc2David Robertson2022-05-161-1/+1
|
* 1.59.0rc1David Robertson2022-05-101-1/+1
|
* Use `ParamSpec` in a few places (#12667)David Robertson2022-05-091-1/+3
|
* Use `Concatenate` to annotate `do_execute` (#12666)David Robertson2022-05-091-1/+1
|
* Move `pympler` back into the `all` extras (#12652)David Robertson2022-05-071-3/+4
| | | | | | | | | | | | | * Move `pympler` back into the `all` extras Undoes a change I made in #12381. I can't fully remember my reasoning, but this changed the contents of the debian packages in a backwards incompatible way. We're not aware of anyone who's been bitten by this, but we still want to fix it. To the reviewer: please be convinced that the debian packages will still contain pympler after this change. * Debian changelog entry to keep the linter happy
* Update mypy to 0.950 and fix complaints (#12650)David Robertson2022-05-061-2/+2
|
* Merge branch 'master' into developAndrew Morgan2022-05-051-1/+1
|\
| * 1.58.1Andrew Morgan2022-05-051-1/+1
| |
* | Bump Synapse minimum Python version to 3.7.1 (#12613)David Robertson2022-05-031-1/+1
| |
* | Merge branch 'master' into developAndrew Morgan2022-05-031-1/+1
|\|
| * 1.58.0Andrew Morgan2022-05-031-1/+1
| |
* | Make `scripts-dev` pass `mypy --disallow-untyped-defs` (#12356)David Robertson2022-04-271-1/+3
|/ | | Not enforced in config yet. One day.
* 1.58.0rc2David Robertson2022-04-261-1/+1
|
* We don't require redbaron in the release scriptDavid Robertson2022-04-261-1/+0
|
* 1.58.0rc1David Robertson2022-04-261-1/+1
|
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2022-04-201-1/+1
|\
| * 1.57.1Olivier Wilkinson (reivilibre)2022-04-201-1/+1
| |
* | Dump setuptools; correct pyproject version number (#12478)David Robertson2022-04-201-2/+2
|/
* 1.57.0Olivier Wilkinson (reivilibre)2022-04-191-1/+1
|
* Specify tls extra for Twisted dependency. (#12444)Erik Johnston2022-04-121-4/+5
| | | | | | | | | | | * Specify `tls` extra for Twisted dependency. It was already pulled in for us by `treq`, but we should be explicit that we do use the `tls` functionality of Twisted directly. * Mark `idna` as dev-dependency This doesn't actually change anything, as `Twisted[tls]` will put it in as a main dependency anyway.
* Stop maintaining a list of lint targets in `lint.sh` (#12420)David Robertson2022-04-081-18/+4
|
* Add missing dependency on importlib_metadata (#12384)David Robertson2022-04-051-0/+3
|
* Poetry: initial pyproject.toml and poetry.lock (#12381)David Robertson2022-04-051-0/+226
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Move isort config to `pyproject.toml` (#12052)David Robertson2022-02-221-0/+12
|
* Update to the current version of Black and run it on Synapse codebase (#11596)Shay2021-12-231-1/+1
| | | | | | | | | * update black version * run updated version of black on code * newsfragment * enumerate python versions
* Bump black configuration to target py36 (#9781)Dan Callahan2021-04-131-1/+1
| | | Signed-off-by: Dan Callahan <danc@element.io>
* Tell Black to format code for Python 3.5 (#8664)Dan Callahan2020-10-271-1/+1
| | | | | | | | This allows trailing commas in multi-line arg lists. Minor, but we might as well keep our formatting current with regard to our minimum supported Python version. Signed-off-by: Dan Callahan <danc@element.io>
* Add a `docker` type to the towncrier configuration (#5673)Richard van der Hoff2019-07-121-0/+5
| | | ... and certain other changelog-related fixes
* Add a few more common environment directory names to black exclusion (#5630)Andrew Morgan2019-07-081-0/+2
| | | | | | * Add a few more common environment directory names to black exclusion * Add changelog
* Run Black. (#5482)Amber Brown2019-06-201-0/+19
|
* fix the changelog & templateAmber Brown2018-08-091-1/+1
|
* fixesAmber Brown2018-07-191-1/+1
|
* make pyproject point at itAmber Brown2018-07-191-2/+27
|
* Use towncrier to build the changelog (#3425)Amber Brown2018-06-251-0/+5