From 32376238bc462290ff430f7c6aff4099b2fe7f4d Mon Sep 17 00:00:00 2001 From: js Date: Sun, 17 Apr 2022 11:08:33 +0000 Subject: [PATCH] Update chat/matrix-synapse to 1.56.0 Synapse 1.56.0 (2022-04-05) =========================== Synapse will now refuse to start up if open registration is enabled, in order to help mitigate abuse across the federation. If you would like to provide registration to anyone, consider adding [email](https://github.com/matrix-org/synapse/blob/8a519f8abc6de772167c2cca101d22ee2052fafc/docs/sample_config.yaml#L1285), [recaptcha](https://matrix-org.github.io/synapse/v1.56/CAPTCHA_SETUP.html) or [token-based](https://matrix-org.github.io/synapse/v1.56/usage/administration/admin_api/registration_tokens.html) verification in order to prevent automated registration from bad actors. This check can be disabled by setting the `enable_registration_without_verification` option in your homeserver configuration file to `true`. More details are available in the [upgrade notes](https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default). Synapse will additionally now refuse to start when using PostgreSQL with a non-`C` values for `COLLATE` and `CTYPE`, unless the config flag `allow_unsafe_locale`, found in the database section of the configuration file, is set to `true`. See the [upgrade notes](https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale) for details. Internal Changes ---------------- - Bump the version of `black` for compatibility with the latest `click` release. ([\#12320](https://github.com/matrix-org/synapse/issues/12320)) Synapse 1.56.0rc1 (2022-03-29) ============================== Features -------- - Allow modules to store already existing 3PID associations. ([\#12195](https://github.com/matrix-org/synapse/issues/12195)) - Allow registering server administrators using the module API. Contributed by Famedly. ([\#12250](https://github.com/matrix-org/synapse/issues/12250)) Bugfixes -------- - Fix a long-standing bug which caused the `/_matrix/federation/v1/state` and `/_matrix/federation/v1/state_ids` endpoints to return incorrect or invalid data when called for an event which we have stored as an "outlier". ([\#12087](https://github.com/matrix-org/synapse/issues/12087)) - Fix a long-standing bug where events from ignored users would still be considered for relations. ([\#12227](https://github.com/matrix-org/synapse/issues/12227), [\#12232](https://github.com/matrix-org/synapse/issues/12232), [\#12285](https://github.com/matrix-org/synapse/issues/12285)) - Fix a bug introduced in Synapse 1.53.0 where an unnecessary query could be performed when fetching bundled aggregations for threads. ([\#12228](https://github.com/matrix-org/synapse/issues/12228)) - Fix a bug introduced in Synapse 1.52.0 where admins could not deactivate and GDPR-erase a user if Synapse was configured with limits on avatars. ([\#12261](https://github.com/matrix-org/synapse/issues/12261)) Improved Documentation ---------------------- - Fix the link to the module documentation in the legacy spam checker warning message. ([\#12231](https://github.com/matrix-org/synapse/issues/12231)) - Remove incorrect prefixes in the worker documentation for some endpoints. ([\#12243](https://github.com/matrix-org/synapse/issues/12243)) - Correct `check_username_for_spam` annotations and docs. ([\#12246](https://github.com/matrix-org/synapse/issues/12246)) - Correct Authentik OpenID typo, and add notes on troubleshooting. Contributed by @IronTooch. ([\#12275](https://github.com/matrix-org/synapse/issues/12275)) - HAProxy reverse proxy guide update to stop sending IPv4-mapped address to homeserver. Contributed by @villepeh. ([\#12279](https://github.com/matrix-org/synapse/issues/12279)) Internal Changes ---------------- - Rename `shared_rooms` to `mutual_rooms` ([MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666)), as per proposal changes. ([\#12036](https://github.com/matrix-org/synapse/issues/12036)) - Remove check on `update_user_directory` for shared rooms handler ([MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666)), and update/expand documentation. ([\#12038](https://github.com/matrix-org/synapse/issues/12038)) - Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) instead of abusing `auth_event_ids`. ([\#12083](https://github.com/matrix-org/synapse/issues/12083), [\#12304](https://github.com/matrix-org/synapse/issues/12304)) - Refuse to start if registration is enabled without email, captcha, or token-based verification unless the new config flag `enable_registration_without_verification` is set to `true`. ([\#12091](https://github.com/matrix-org/synapse/issues/12091), [\#12322](https://github.com/matrix-org/synapse/issues/12322)) - Add tests for database transaction callbacks. ([\#12198](https://github.com/matrix-org/synapse/issues/12198)) - Handle cancellation in `DatabasePool.runInteraction`. ([\#12199](https://github.com/matrix-org/synapse/issues/12199)) - Add missing type hints for cache storage. ([\#12216](https://github.com/matrix-org/synapse/issues/12216)) - Add missing type hints for storage. ([\#12248](https://github.com/matrix-org/synapse/issues/12248), [\#12255](https://github.com/matrix-org/synapse/issues/12255)) - Add type hints to tests files. ([\#12224](https://github.com/matrix-org/synapse/issues/12224), [\#12240](https://github.com/matrix-org/synapse/issues/12240), [\#12256](https://github.com/matrix-org/synapse/issues/12256)) - Use type stubs for `psycopg2`. ([\#12269](https://github.com/matrix-org/synapse/issues/12269)) - Improve type annotations for `execute_values`. ([\#12311](https://github.com/matrix-org/synapse/issues/12311)) - Clean-up logic around rebasing URLs for URL image previews. ([\#12219](https://github.com/matrix-org/synapse/issues/12219)) - Use the `ignored_users` table in additional places instead of re-parsing the account data. ([\#12225](https://github.com/matrix-org/synapse/issues/12225)) - Refactor the relations endpoints to add a `RelationsHandler`. ([\#12237](https://github.com/matrix-org/synapse/issues/12237)) - Generate announcement links in the release script. ([\#12242](https://github.com/matrix-org/synapse/issues/12242)) - Improve error message when dependencies check finds a broken installation. ([\#12244](https://github.com/matrix-org/synapse/issues/12244)) - Compress metrics HTTP resource when enabled. Contributed by Nick @ Beeper. ([\#12258](https://github.com/matrix-org/synapse/issues/12258)) - Refuse to start if the PostgreSQL database has a non-`C` locale, unless the config flag `allow_unsafe_db_locale` is set to true. ([\#12262](https://github.com/matrix-org/synapse/issues/12262), [\#12288](https://github.com/matrix-org/synapse/issues/12288)) - Optionally include account validity expiration information to experimental [MSC3720](https://github.com/matrix-org/matrix-doc/pull/3720) account status responses. ([\#12266](https://github.com/matrix-org/synapse/issues/12266)) - Add a new cache `_get_membership_from_event_id` to speed up push rule calculations in large rooms. ([\#12272](https://github.com/matrix-org/synapse/issues/12272)) - Re-enable Complement concurrency in CI. ([\#12283](https://github.com/matrix-org/synapse/issues/12283)) - Remove unused test utilities. ([\#12291](https://github.com/matrix-org/synapse/issues/12291)) - Enhance logging for inbound federation events. ([\#12301](https://github.com/matrix-org/synapse/issues/12301)) - Fix compatibility with the recently-released Jinja 3.1. ([\#12313](https://github.com/matrix-org/synapse/issues/12313)) - Avoid trying to calculate the state at outlier events. ([\#12314](https://github.com/matrix-org/synapse/issues/12314)) Synapse 1.55.2 (2022-03-24) =========================== This patch version reverts the earlier fixes from Synapse 1.55.1, which could cause problems in certain deployments, and instead adds a cap to the version of Jinja to be installed. Again, this is to fix an incompatibility with version 3.1.0 of the [Jinja](https://pypi.org/project/Jinja2/) library, and again, deployments of Synapse using the `matrixdotorg/synapse` Docker image or Debian packages from packages.matrix.org are not affected. Internal Changes ---------------- - Pin Jinja to <3.1.0, as Synapse fails to start with Jinja 3.1.0. ([\#12297](https://github.com/matrix-org/synapse/issues/12297)) - Revert changes from 1.55.1 as they caused problems with older versions of Jinja ([\#12296](https://github.com/matrix-org/synapse/issues/12296)) Synapse 1.55.1 (2022-03-24) =========================== This is a patch release that fixes an incompatibility with version 3.1.0 of the [Jinja](https://pypi.org/project/Jinja2/) library, released on March 24th, 2022. Deployments of Synapse using the `matrixdotorg/synapse` Docker image or Debian packages from packages.matrix.org are not affected. Internal Changes ---------------- - Remove uses of the long-deprecated `jinja2.Markup` which would prevent Synapse from starting with Jinja 3.1.0 or above installed. ([\#12289](https://github.com/matrix-org/synapse/issues/12289)) 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. ([\#11700](https://github.com/matrix-org/synapse/issues/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. ([\#12265](https://github.com/matrix-org/synapse/issues/12265), [\#12260](https://github.com/matrix-org/synapse/issues/12260)) Synapse 1.55.0rc1 (2022-03-15) ============================== Features -------- - Add third-party rules callbacks `check_can_shutdown_room` and `check_can_deactivate_user`. ([\#12028](https://github.com/matrix-org/synapse/issues/12028)) - Improve performance of logging in for large accounts. ([\#12132](https://github.com/matrix-org/synapse/issues/12132)) - Add experimental env var `SYNAPSE_ASYNC_IO_REACTOR` that causes Synapse to use the asyncio reactor for Twisted. ([\#12135](https://github.com/matrix-org/synapse/issues/12135)) - Support the stable identifiers from [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440): threads. ([\#12151](https://github.com/matrix-org/synapse/issues/12151)) - Add a new Jinja2 template filter to extract the local part of an email address. ([\#12212](https://github.com/matrix-org/synapse/issues/12212)) Bugfixes -------- - Use the proper serialization format for bundled thread aggregations. The bug has existed since Synapse v1.48.0. ([\#12090](https://github.com/matrix-org/synapse/issues/12090)) - Fix a long-standing bug when redacting events with relations. ([\#12113](https://github.com/matrix-org/synapse/issues/12113), [\#12121](https://github.com/matrix-org/synapse/issues/12121), [\#12130](https://github.com/matrix-org/synapse/issues/12130), [\#12189](https://github.com/matrix-org/synapse/issues/12189)) - Fix a bug introduced in Synapse 1.7.2 whereby background updates are never run with the default background batch size. ([\#12157](https://github.com/matrix-org/synapse/issues/12157)) - Fix a bug where non-standard information was returned from the `/hierarchy` API. Introduced in Synapse v1.41.0. ([\#12175](https://github.com/matrix-org/synapse/issues/12175)) - Fix a bug introduced in Synapse 1.54.0 that broke background updates on sqlite homeservers while search was disabled. ([\#12215](https://github.com/matrix-org/synapse/issues/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`. ([\#12234](https://github.com/matrix-org/synapse/issues/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. ([\#11998](https://github.com/matrix-org/synapse/issues/11998)) - Improve documentation for demo scripts. ([\#12143](https://github.com/matrix-org/synapse/issues/12143)) - Updates to the Room DAG concepts development document. ([\#12179](https://github.com/matrix-org/synapse/issues/12179)) - Document that the `typing`, `to_device`, `account_data`, `receipts`, and `presence` stream writer can only be used on a single worker. ([\#12196](https://github.com/matrix-org/synapse/issues/12196)) - Document that contributors can sign off privately by email. ([\#12204](https://github.com/matrix-org/synapse/issues/12204)) Deprecations and Removals ------------------------- - **Remove workaround introduced in Synapse 1.50.0 for Mjolnir compatibility. Breaks compatibility with Mjolnir 1.3.1 and earlier. ([\#11700](https://github.com/matrix-org/synapse/issues/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). ([\#12140](https://github.com/matrix-org/synapse/issues/12140)) - Remove backwards compatibilty with pagination tokens from the `/relations` and `/aggregations` endpoints generated from Synapse < v1.52.0. ([\#12138](https://github.com/matrix-org/synapse/issues/12138)) - The groups/communities feature in Synapse has been deprecated. ([\#12200](https://github.com/matrix-org/synapse/issues/12200)) Internal Changes ---------------- - Simplify the `ApplicationService` class' set of public methods related to interest checking. ([\#11915](https://github.com/matrix-org/synapse/issues/11915)) - Add config settings for background update parameters. ([\#11980](https://github.com/matrix-org/synapse/issues/11980)) - Correct type hints for txredis. ([\#12042](https://github.com/matrix-org/synapse/issues/12042)) - Limit the size of `aggregation_key` on annotations. ([\#12101](https://github.com/matrix-org/synapse/issues/12101)) - Add type hints to tests files. ([\#12108](https://github.com/matrix-org/synapse/issues/12108), [\#12146](https://github.com/matrix-org/synapse/issues/12146), [\#12207](https://github.com/matrix-org/synapse/issues/12207), [\#12208](https://github.com/matrix-org/synapse/issues/12208)) - Move scripts to Synapse package and expose as setuptools entry points. ([\#12118](https://github.com/matrix-org/synapse/issues/12118)) - Add support for cancellation to `ReadWriteLock`. ([\#12120](https://github.com/matrix-org/synapse/issues/12120)) - Fix data validation to compare to lists, not sequences. ([\#12128](https://github.com/matrix-org/synapse/issues/12128)) - Fix CI not attaching source distributions and wheels to the GitHub releases. ([\#12131](https://github.com/matrix-org/synapse/issues/12131)) - Remove unused mocks from `test_typing`. ([\#12136](https://github.com/matrix-org/synapse/issues/12136)) - Give `scripts-dev` scripts suffixes for neater CI config. ([\#12137](https://github.com/matrix-org/synapse/issues/12137)) - Move the snapcraft configuration file to `contrib`. ([\#12142](https://github.com/matrix-org/synapse/issues/12142)) - Enable [MSC3030](https://github.com/matrix-org/matrix-doc/pull/3030) Complement tests in CI. ([\#12144](https://github.com/matrix-org/synapse/issues/12144)) - Enable [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) Complement tests in CI. ([\#12145](https://github.com/matrix-org/synapse/issues/12145)) - Add test for `ObservableDeferred`'s cancellation behaviour. ([\#12149](https://github.com/matrix-org/synapse/issues/12149)) - Use `ParamSpec` in type hints for `synapse.logging.context`. ([\#12150](https://github.com/matrix-org/synapse/issues/12150)) - Prune unused jobs from `tox` config. ([\#12152](https://github.com/matrix-org/synapse/issues/12152)) - Move CI checks out of tox, to facilitate a move to using poetry. ([\#12153](https://github.com/matrix-org/synapse/issues/12153)) - Avoid generating state groups for local out-of-band leaves. ([\#12154](https://github.com/matrix-org/synapse/issues/12154)) - Avoid trying to calculate the state at outlier events. ([\#12155](https://github.com/matrix-org/synapse/issues/12155), [\#12173](https://github.com/matrix-org/synapse/issues/12173), [\#12202](https://github.com/matrix-org/synapse/issues/12202)) - Fix some type annotations. ([\#12156](https://github.com/matrix-org/synapse/issues/12156)) - Add type hints for `ObservableDeferred` attributes. ([\#12159](https://github.com/matrix-org/synapse/issues/12159)) - Use a prebuilt Action for the `tests-done` CI job. ([\#12161](https://github.com/matrix-org/synapse/issues/12161)) - Reduce number of DB queries made during processing of `/sync`. ([\#12163](https://github.com/matrix-org/synapse/issues/12163)) - Add `delay_cancellation` utility function, which behaves like `stop_cancellation` but waits until the original `Deferred` resolves before raising a `CancelledError`. ([\#12180](https://github.com/matrix-org/synapse/issues/12180)) - Retry HTTP replication failures, this should prevent 502's when restarting stateful workers (main, event persisters, stream writers). Contributed by Nick @ Beeper. ([\#12182](https://github.com/matrix-org/synapse/issues/12182)) - Add cancellation support to `@cached` and `@cachedList` decorators. ([\#12183](https://github.com/matrix-org/synapse/issues/12183)) - Remove unused variables. ([\#12187](https://github.com/matrix-org/synapse/issues/12187)) - Add combined test for HTTP pusher and push rule. Contributed by Nick @ Beeper. ([\#12188](https://github.com/matrix-org/synapse/issues/12188)) - Rename `HomeServer.get_tcp_replication` to `get_replication_command_handler`. ([\#12192](https://github.com/matrix-org/synapse/issues/12192)) - Remove some dead code. ([\#12197](https://github.com/matrix-org/synapse/issues/12197)) - Fix a misleading comment in the function `check_event_for_spam`. ([\#12203](https://github.com/matrix-org/synapse/issues/12203)) - Remove unnecessary `pass` statements. ([\#12206](https://github.com/matrix-org/synapse/issues/12206)) - Update the SSO username picker template to comply with SIWA guidelines. ([\#12210](https://github.com/matrix-org/synapse/issues/12210)) - Improve code documentation for the typing stream over replication. ([\#12211](https://github.com/matrix-org/synapse/issues/12211)) --- chat/matrix-synapse/Makefile | 6 +-- chat/matrix-synapse/PLIST | 45 ++++++++++++++++--- chat/matrix-synapse/distinfo | 10 ++--- .../patch-synapse_python_dependencies.py | 10 ++--- 4 files changed, 51 insertions(+), 20 deletions(-) diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile index 0e2ebe101524..110eb2ef2c25 100644 --- a/chat/matrix-synapse/Makefile +++ b/chat/matrix-synapse/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.46 2022/03/18 12:59:38 gdt Exp $ +# $NetBSD: Makefile,v 1.47 2022/04/17 11:08:33 js Exp $ -DISTNAME= matrix-synapse-1.54.0 +DISTNAME= matrix-synapse-1.56.0 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/} EGG_NAME= matrix_synapse-${PKGVERSION_NOREV} @@ -41,7 +41,7 @@ DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=1.4.4:../../devel/py-sortedcontainers DEPENDS+= ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3 DEPENDS+= ${PYPKGPREFIX}-treq>=15.1:../../devel/py-treq DEPENDS+= ${PYPKGPREFIX}-twisted>=18.9.0:../../net/py-twisted -DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions +DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64>=1.1.0:../../devel/py-unpaddedbase64 DEPENDS+= ${PYPKGPREFIX}-yaml>=3.11:../../textproc/py-yaml TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized diff --git a/chat/matrix-synapse/PLIST b/chat/matrix-synapse/PLIST index a9c09fafdce2..fbc667073df1 100644 --- a/chat/matrix-synapse/PLIST +++ b/chat/matrix-synapse/PLIST @@ -1,16 +1,14 @@ -@comment $NetBSD: PLIST,v 1.23 2022/03/18 12:23:50 gdt Exp $ +@comment $NetBSD: PLIST,v 1.24 2022/04/17 11:08:33 js Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config -bin/generate_signing_key.py +bin/generate_signing_key bin/hash_password -bin/move_remote_media_to_new_store.py bin/register_new_matrix_user bin/synapse_homeserver bin/synapse_port_db bin/synapse_review_recent_signups bin/synapse_worker -bin/sync_room_to_group.pl bin/synctl bin/update_synapse_database ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO @@ -26,12 +24,39 @@ ${PYSITELIB}/synapse/__init__.pyo ${PYSITELIB}/synapse/_scripts/__init__.py ${PYSITELIB}/synapse/_scripts/__init__.pyc ${PYSITELIB}/synapse/_scripts/__init__.pyo +${PYSITELIB}/synapse/_scripts/export_signing_key.py +${PYSITELIB}/synapse/_scripts/export_signing_key.pyc +${PYSITELIB}/synapse/_scripts/export_signing_key.pyo +${PYSITELIB}/synapse/_scripts/generate_config.py +${PYSITELIB}/synapse/_scripts/generate_config.pyc +${PYSITELIB}/synapse/_scripts/generate_config.pyo +${PYSITELIB}/synapse/_scripts/generate_log_config.py +${PYSITELIB}/synapse/_scripts/generate_log_config.pyc +${PYSITELIB}/synapse/_scripts/generate_log_config.pyo +${PYSITELIB}/synapse/_scripts/generate_signing_key.py +${PYSITELIB}/synapse/_scripts/generate_signing_key.pyc +${PYSITELIB}/synapse/_scripts/generate_signing_key.pyo +${PYSITELIB}/synapse/_scripts/hash_password.py +${PYSITELIB}/synapse/_scripts/hash_password.pyc +${PYSITELIB}/synapse/_scripts/hash_password.pyo +${PYSITELIB}/synapse/_scripts/move_remote_media_to_new_store.py +${PYSITELIB}/synapse/_scripts/move_remote_media_to_new_store.pyc +${PYSITELIB}/synapse/_scripts/move_remote_media_to_new_store.pyo ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.py ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyc ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyo ${PYSITELIB}/synapse/_scripts/review_recent_signups.py ${PYSITELIB}/synapse/_scripts/review_recent_signups.pyc ${PYSITELIB}/synapse/_scripts/review_recent_signups.pyo +${PYSITELIB}/synapse/_scripts/synapse_port_db.py +${PYSITELIB}/synapse/_scripts/synapse_port_db.pyc +${PYSITELIB}/synapse/_scripts/synapse_port_db.pyo +${PYSITELIB}/synapse/_scripts/synctl.py +${PYSITELIB}/synapse/_scripts/synctl.pyc +${PYSITELIB}/synapse/_scripts/synctl.pyo +${PYSITELIB}/synapse/_scripts/update_synapse_database.py +${PYSITELIB}/synapse/_scripts/update_synapse_database.pyc +${PYSITELIB}/synapse/_scripts/update_synapse_database.pyo ${PYSITELIB}/synapse/api/__init__.py ${PYSITELIB}/synapse/api/__init__.pyc ${PYSITELIB}/synapse/api/__init__.pyo @@ -144,6 +169,9 @@ ${PYSITELIB}/synapse/config/appservice.pyo ${PYSITELIB}/synapse/config/auth.py ${PYSITELIB}/synapse/config/auth.pyc ${PYSITELIB}/synapse/config/auth.pyo +${PYSITELIB}/synapse/config/background_updates.py +${PYSITELIB}/synapse/config/background_updates.pyc +${PYSITELIB}/synapse/config/background_updates.pyo ${PYSITELIB}/synapse/config/cache.py ${PYSITELIB}/synapse/config/cache.pyc ${PYSITELIB}/synapse/config/cache.pyo @@ -447,6 +475,9 @@ ${PYSITELIB}/synapse/handlers/receipts.pyo ${PYSITELIB}/synapse/handlers/register.py ${PYSITELIB}/synapse/handlers/register.pyc ${PYSITELIB}/synapse/handlers/register.pyo +${PYSITELIB}/synapse/handlers/relations.py +${PYSITELIB}/synapse/handlers/relations.pyc +${PYSITELIB}/synapse/handlers/relations.pyo ${PYSITELIB}/synapse/handlers/room.py ${PYSITELIB}/synapse/handlers/room.pyc ${PYSITELIB}/synapse/handlers/room.pyo @@ -920,6 +951,9 @@ ${PYSITELIB}/synapse/rest/client/login.pyo ${PYSITELIB}/synapse/rest/client/logout.py ${PYSITELIB}/synapse/rest/client/logout.pyc ${PYSITELIB}/synapse/rest/client/logout.pyo +${PYSITELIB}/synapse/rest/client/mutual_rooms.py +${PYSITELIB}/synapse/rest/client/mutual_rooms.pyc +${PYSITELIB}/synapse/rest/client/mutual_rooms.pyo ${PYSITELIB}/synapse/rest/client/notifications.py ${PYSITELIB}/synapse/rest/client/notifications.pyc ${PYSITELIB}/synapse/rest/client/notifications.pyo @@ -971,9 +1005,6 @@ ${PYSITELIB}/synapse/rest/client/room_upgrade_rest_servlet.pyo ${PYSITELIB}/synapse/rest/client/sendtodevice.py ${PYSITELIB}/synapse/rest/client/sendtodevice.pyc ${PYSITELIB}/synapse/rest/client/sendtodevice.pyo -${PYSITELIB}/synapse/rest/client/shared_rooms.py -${PYSITELIB}/synapse/rest/client/shared_rooms.pyc -${PYSITELIB}/synapse/rest/client/shared_rooms.pyo ${PYSITELIB}/synapse/rest/client/sync.py ${PYSITELIB}/synapse/rest/client/sync.pyc ${PYSITELIB}/synapse/rest/client/sync.pyo diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo index 6af6a6521a30..8587b2b720d2 100644 --- a/chat/matrix-synapse/distinfo +++ b/chat/matrix-synapse/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.33 2022/03/18 12:23:50 gdt Exp $ +$NetBSD: distinfo,v 1.34 2022/04/17 11:08:33 js Exp $ -BLAKE2s (matrix-synapse-1.54.0.tar.gz) = 3c389cff3eccf8c9b665b5c89fc5a9ff08e81d6bf73fc903f311dc4cd67cefd0 -SHA512 (matrix-synapse-1.54.0.tar.gz) = 2adfc410f3a27010c319e00d323253bc355cd14588fc97199b6d6f579d3c98bd3465f29c3b504bad4cc18bddf73e628bf0cc4c8ea2169781a1a6e0347cdb007b -Size (matrix-synapse-1.54.0.tar.gz) = 7724389 bytes +BLAKE2s (matrix-synapse-1.56.0.tar.gz) = 869a3d920b2bf8ebdd715747544ac3136d7b1e205183a0c0804f514e101b8bb9 +SHA512 (matrix-synapse-1.56.0.tar.gz) = da8233008adc92bbb5975a110e2825c8add5a38db3c21a378f9f1a7b4bf826fc13b6230e69c2b9d400e33d276d5fd781e176623bdf4d44a1e768211e2013e5f1 +Size (matrix-synapse-1.56.0.tar.gz) = 7750479 bytes SHA1 (patch-synapse_handlers_room.py) = f9a62add7171898ec0ea76360f0a4c9969609537 -SHA1 (patch-synapse_python_dependencies.py) = b9284becddaf216ce0a471e87baebd93703d6058 +SHA1 (patch-synapse_python_dependencies.py) = eb159e1a92527cd231f7eb9685877d8f4a419848 diff --git a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py index ec63aaa0d44b..a6a116ba26bb 100644 --- a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py +++ b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py @@ -1,15 +1,15 @@ -$NetBSD: patch-synapse_python_dependencies.py,v 1.7 2022/03/18 12:23:50 gdt Exp $ +$NetBSD: patch-synapse_python_dependencies.py,v 1.8 2022/04/17 11:08:33 js Exp $ Patch out cryptography check: It doesn't need a version this high and it was added by upstream as an ugly hack to force a patched OpenSSL, in case it is linked statically. ---- synapse/python_dependencies.py.orig 2022-03-08 14:01:19.000000000 +0000 +--- synapse/python_dependencies.py.orig 2022-04-05 11:55:15.000000000 +0000 +++ synapse/python_dependencies.py -@@ -77,9 +77,6 @@ REQUIREMENTS = [ - "Jinja2>=2.9", +@@ -81,9 +81,6 @@ REQUIREMENTS = [ "bleach>=1.4.3", - "typing-extensions>=3.7.4", + # We use `ParamSpec`, which was added in `typing-extensions` 3.10.0.0. + "typing-extensions>=3.10.0", - # We enforce that we have a `cryptography` version that bundles an `openssl` - # with the latest security patches. - "cryptography>=3.4.7",