summary refs log tree commit diff
path: root/pyproject.toml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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