Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v1.55.0' into beeper-master
Synapse 1.55.0 (2022-03-22) =========================== This release removes a workaround introduced in Synapse 1.50.0 for Mjolnir compatibility. **This breaks compatibility with Mjolnir 1.3.1 and earlier. ([\matrix-org#11700](matrix-org#11700; Mjolnir users should upgrade Mjolnir before upgrading Synapse to this version. This release also moves the location of the `synctl` script; see the [upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#synctl-script-has-been-moved) for more details. Internal Changes ---------------- - Tweak copy for default Single Sign-On account details template to better adhere to mobile app store guidelines. ([\matrix-org#12265](matrix-org#12265), [\matrix-org#12260](matrix-org#12260)) Synapse 1.55.0rc1 (2022-03-15) ============================== Features -------- - Add third-party rules callbacks `check_can_shutdown_room` and `check_can_deactivate_user`. ([\matrix-org#12028](matrix-org#12028)) - Improve performance of logging in for large accounts. ([\matrix-org#12132](matrix-org#12132)) - Add experimental env var `SYNAPSE_ASYNC_IO_REACTOR` that causes Synapse to use the asyncio reactor for Twisted. ([\matrix-org#12135](matrix-org#12135)) - Support the stable identifiers from [MSC3440](matrix-org/matrix-spec-proposals#3440): threads. ([\matrix-org#12151](matrix-org#12151)) - Add a new Jinja2 template filter to extract the local part of an email address. ([\matrix-org#12212](matrix-org#12212)) Bugfixes -------- - Use the proper serialization format for bundled thread aggregations. The bug has existed since Synapse v1.48.0. ([\matrix-org#12090](matrix-org#12090)) - Fix a long-standing bug when redacting events with relations. ([\matrix-org#12113](matrix-org#12113), [\matrix-org#12121](matrix-org#12121), [\matrix-org#12130](matrix-org#12130), [\matrix-org#12189](matrix-org#12189)) - Fix a bug introduced in Synapse 1.7.2 whereby background updates are never run with the default background batch size. ([\matrix-org#12157](matrix-org#12157)) - Fix a bug where non-standard information was returned from the `/hierarchy` API. Introduced in Synapse v1.41.0. ([\matrix-org#12175](matrix-org#12175)) - Fix a bug introduced in Synapse 1.54.0 that broke background updates on sqlite homeservers while search was disabled. ([\matrix-org#12215](matrix-org#12215)) - Fix a long-standing bug when a `filter` argument with `event_fields` which did not include the `unsigned` field could result in a 500 error on `/sync`. ([\matrix-org#12234](matrix-org#12234)) Improved Documentation ---------------------- - Fix complexity checking config example in [Resource Constrained Devices](https://matrix-org.github.io/synapse/v1.54/other/running_synapse_on_single_board_computers.html) docs page. ([\matrix-org#11998](matrix-org#11998)) - Improve documentation for demo scripts. ([\matrix-org#12143](matrix-org#12143)) - Updates to the Room DAG concepts development document. ([\matrix-org#12179](matrix-org#12179)) - Document that the `typing`, `to_device`, `account_data`, `receipts`, and `presence` stream writer can only be used on a single worker. ([\matrix-org#12196](matrix-org#12196)) - Document that contributors can sign off privately by email. ([\matrix-org#12204](matrix-org#12204)) Deprecations and Removals ------------------------- - **Remove workaround introduced in Synapse 1.50.0 for Mjolnir compatibility. Breaks compatibility with Mjolnir 1.3.1 and earlier. ([\matrix-org#11700](matrix-org#11700 - **`synctl` has been moved into into `synapse._scripts` and is exposed as an entry point; see [upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#synctl-script-has-been-moved). ([\matrix-org#12140](matrix-org#12140)) - Remove backwards compatibilty with pagination tokens from the `/relations` and `/aggregations` endpoints generated from Synapse < v1.52.0. ([\matrix-org#12138](matrix-org#12138)) - The groups/communities feature in Synapse has been deprecated. ([\matrix-org#12200](matrix-org#12200)) Internal Changes ---------------- - Simplify the `ApplicationService` class' set of public methods related to interest checking. ([\matrix-org#11915](matrix-org#11915)) - Add config settings for background update parameters. ([\matrix-org#11980](matrix-org#11980)) - Correct type hints for txredis. ([\matrix-org#12042](matrix-org#12042)) - Limit the size of `aggregation_key` on annotations. ([\matrix-org#12101](matrix-org#12101)) - Add type hints to tests files. ([\matrix-org#12108](matrix-org#12108), [\matrix-org#12146](matrix-org#12146), [\matrix-org#12207](matrix-org#12207), [\matrix-org#12208](matrix-org#12208)) - Move scripts to Synapse package and expose as setuptools entry points. ([\matrix-org#12118](matrix-org#12118)) - Add support for cancellation to `ReadWriteLock`. ([\matrix-org#12120](matrix-org#12120)) - Fix data validation to compare to lists, not sequences. ([\matrix-org#12128](matrix-org#12128)) - Fix CI not attaching source distributions and wheels to the GitHub releases. ([\matrix-org#12131](matrix-org#12131)) - Remove unused mocks from `test_typing`. ([\matrix-org#12136](matrix-org#12136)) - Give `scripts-dev` scripts suffixes for neater CI config. ([\matrix-org#12137](matrix-org#12137)) - Move the snapcraft configuration file to `contrib`. ([\matrix-org#12142](matrix-org#12142)) - Enable [MSC3030](matrix-org/matrix-spec-proposals#3030) Complement tests in CI. ([\matrix-org#12144](matrix-org#12144)) - Enable [MSC2716](matrix-org/matrix-spec-proposals#2716) Complement tests in CI. ([\matrix-org#12145](matrix-org#12145)) - Add test for `ObservableDeferred`'s cancellation behaviour. ([\matrix-org#12149](matrix-org#12149)) - Use `ParamSpec` in type hints for `synapse.logging.context`. ([\matrix-org#12150](matrix-org#12150)) - Prune unused jobs from `tox` config. ([\matrix-org#12152](matrix-org#12152)) - Move CI checks out of tox, to facilitate a move to using poetry. ([\matrix-org#12153](matrix-org#12153)) - Avoid generating state groups for local out-of-band leaves. ([\matrix-org#12154](matrix-org#12154)) - Avoid trying to calculate the state at outlier events. ([\matrix-org#12155](matrix-org#12155), [\matrix-org#12173](matrix-org#12173), [\matrix-org#12202](matrix-org#12202)) - Fix some type annotations. ([\matrix-org#12156](matrix-org#12156)) - Add type hints for `ObservableDeferred` attributes. ([\matrix-org#12159](matrix-org#12159)) - Use a prebuilt Action for the `tests-done` CI job. ([\matrix-org#12161](matrix-org#12161)) - Reduce number of DB queries made during processing of `/sync`. ([\matrix-org#12163](matrix-org#12163)) - Add `delay_cancellation` utility function, which behaves like `stop_cancellation` but waits until the original `Deferred` resolves before raising a `CancelledError`. ([\matrix-org#12180](matrix-org#12180)) - Retry HTTP replication failures, this should prevent 502's when restarting stateful workers (main, event persisters, stream writers). Contributed by Nick @ Beeper. ([\matrix-org#12182](matrix-org#12182)) - Add cancellation support to `@cached` and `@cachedList` decorators. ([\matrix-org#12183](matrix-org#12183)) - Remove unused variables. ([\matrix-org#12187](matrix-org#12187)) - Add combined test for HTTP pusher and push rule. Contributed by Nick @ Beeper. ([\matrix-org#12188](matrix-org#12188)) - Rename `HomeServer.get_tcp_replication` to `get_replication_command_handler`. ([\matrix-org#12192](matrix-org#12192)) - Remove some dead code. ([\matrix-org#12197](matrix-org#12197)) - Fix a misleading comment in the function `check_event_for_spam`. ([\matrix-org#12203](matrix-org#12203)) - Remove unnecessary `pass` statements. ([\matrix-org#12206](matrix-org#12206)) - Update the SSO username picker template to comply with SIWA guidelines. ([\matrix-org#12210](matrix-org#12210)) - Improve code documentation for the typing stream over replication. ([\matrix-org#12211](matrix-org#12211)) # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEEgQG31Z317NrSMt0QiISIDS7+X/QFAmI53SwACgkQiISIDS7+ # X/RlgQ/9HX3moAXQw67uIII5BnSGAYdgovL2uM990urQ6HVYRxcnidRlWQUyqlJ0 # qbvpOrJXRpK5MvoFyrJg+ryJLEncoUiccs5WQHNt4t22zmUXusLH/Bxxc/U24s5D # 3gQVhYdjiyyR0dIzr/EwZsYGSgl9wANoKVJXbRInrE7gdMP5RT/IcifWBZETNWjQ # zPGp3R5RDYzFecDiZUcGJCldXC+WPOw0YlhMdR7Rm5NkiE6eM1kAREH+K5vxBM7i # H+nP//NLl+wL4nxb3f3paEgCakPkB+xuC6bZZ3NA7LfMw2OKBHdUqEl4rmXr4vCS # lboF9kDhb42uIKgVPBnVcf3hv4m5NbVA7f6k3tpFJOvqk9G58UhnqcjdXS8DBso6 # gQpk7Zk6ILU0j8i7N21R/aZLSwmQ96h1O3lNO+43usPbh6WjqMIHR/kv/ADyZEhZ # /6taXiOHtg7KaqtpHAy2UVuWjJ8c3a0vHbReRe77S+yMD7iggHbBTpSNMfgcM4yi # gimKq55Z0qhPLI7vjr4IOB5irEd64ciKnUI3IQfkyFoCMyJHo0fw7+boC/Kc5FgM # O7V69r+CBfJ9SsGeSlheiCTv6fGyh4n960ya2BQY+BHDjTFW+BUkTyjXkIeiIJ04 # CihTgluISePbrdRKL4JkceL+Im6NmpJhTOe1+Pjsncy/8WkOeos= # =HvNr # -----END PGP SIGNATURE----- # gpg: Signature made Tue Mar 22 14:29:00 2022 GMT # gpg: using RSA key 8101B7D59DF5ECDAD232DD108884880D2EFE5FF4 # gpg: Can't check signature: No public key # Conflicts: # synapse/appservice/__init__.py # synapse/handlers/pagination.py # synapse/push/baserules.py
- Loading branch information