Browse Source

1.16.0rc1

Andrew Morgan 3 years ago
parent
commit
dc80a0762d

+ 70 - 0
CHANGES.md

@@ -1,3 +1,73 @@
+Synapse 1.16.0rc1 (2020-07-01)
+==============================
+
+Features
+--------
+
+- Add an option to enable encryption by default for new rooms. ([\#7639](https://github.com/matrix-org/synapse/issues/7639))
+- Add support for running multiple media repository workers. See [docs/workers.md](docs/workers.md) for instructions. ([\#7706](https://github.com/matrix-org/synapse/issues/7706))
+- Media can now be marked as safe from quarantined. ([\#7718](https://github.com/matrix-org/synapse/issues/7718))
+- Add unread messages count to sync responses. ([\#7761](https://github.com/matrix-org/synapse/issues/7761))
+- Expand the configuration options for auto-join rooms. ([\#7763](https://github.com/matrix-org/synapse/issues/7763))
+
+
+Bugfixes
+--------
+
+- Remove `user_id` from the response to `GET /_matrix/client/r0/presence/{userId}/status` to match the specification. ([\#7606](https://github.com/matrix-org/synapse/issues/7606))
+- In working mode, ensure that replicated data has not already been received. ([\#7648](https://github.com/matrix-org/synapse/issues/7648))
+- Fix intermittent exception during startup, introduced in Synapse 1.14.0. ([\#7663](https://github.com/matrix-org/synapse/issues/7663))
+- Include a user-agent for federation and well-known requests. ([\#7677](https://github.com/matrix-org/synapse/issues/7677))
+- Accept the proper field (`phone`) for the `m.id.phone` identifier type. The legacy field of `number` is still accepted as a fallback. Bug introduced in v0.20.0-rc1. ([\#7687](https://github.com/matrix-org/synapse/issues/7687))
+- Fix "Starting db txn 'get_completed_ui_auth_stages' from sentinel context" warning. The bug was introduced in 1.13.0rc1. ([\#7688](https://github.com/matrix-org/synapse/issues/7688))
+- Compare the URI and method during user interactive authentication (instead of the URI twice). Bug introduced in 1.13.0rc1. ([\#7689](https://github.com/matrix-org/synapse/issues/7689))
+- Fix a long standing bug where the response to the `GET room_keys/version` endpoint had the incorrect type for the `etag` field. ([\#7691](https://github.com/matrix-org/synapse/issues/7691))
+- Fix logged error during device resync in opentracing. Broke in v1.14.0. ([\#7698](https://github.com/matrix-org/synapse/issues/7698))
+- Do not break push rule evaluation when receiving an event with a non-string body. This is a long-standing bug. ([\#7701](https://github.com/matrix-org/synapse/issues/7701))
+- Fixs a long standing bug which resulted in an exception: "TypeError: argument of type 'ObservableDeferred' is not iterable". ([\#7708](https://github.com/matrix-org/synapse/issues/7708))
+- The `synapse_port_db` script no longer fails when the `ui_auth_sessions` table is non-empty. This bug has existed since v1.13.0rc1. ([\#7711](https://github.com/matrix-org/synapse/issues/7711))
+- Synapse will now fetch media from the proper specified URL (using the r0 prefix instead of the unspecified v1). ([\#7714](https://github.com/matrix-org/synapse/issues/7714))
+- Fix the tables ignored by `synapse_port_db` to be in sync the current database schema. ([\#7717](https://github.com/matrix-org/synapse/issues/7717))
+- Fix missing `Content-Length` on HTTP responses from the metrics handler. ([\#7730](https://github.com/matrix-org/synapse/issues/7730))
+- Fix large state resolutions from stalling Synapse for seconds at a time. ([\#7735](https://github.com/matrix-org/synapse/issues/7735), [\#7746](https://github.com/matrix-org/synapse/issues/7746))
+
+
+Improved Documentation
+----------------------
+
+- Spelling correction in sample_config.yaml. ([\#7652](https://github.com/matrix-org/synapse/issues/7652))
+- Added instructions for how to use Keycloak via OpenID Connect to authenticate with Synapse. ([\#7659](https://github.com/matrix-org/synapse/issues/7659))
+- Corrected misspelling of PostgreSQL. ([\#7724](https://github.com/matrix-org/synapse/issues/7724))
+
+
+Deprecations and Removals
+-------------------------
+
+- Deprecate `m.login.jwt` login method in favour of `org.matrix.login.jwt`, as `m.login.jwt` is not part of the Matrix spec. ([\#7675](https://github.com/matrix-org/synapse/issues/7675))
+
+
+Internal Changes
+----------------
+
+- Refactor getting replication updates from database. ([\#7636](https://github.com/matrix-org/synapse/issues/7636))
+- Clean-up the login fallback code. ([\#7657](https://github.com/matrix-org/synapse/issues/7657))
+- Increase the default SAML session expirary time to 15 minutes. ([\#7664](https://github.com/matrix-org/synapse/issues/7664))
+- Convert the device message and pagination handlers to async/await. ([\#7678](https://github.com/matrix-org/synapse/issues/7678))
+- Convert typing handler to async/await. ([\#7679](https://github.com/matrix-org/synapse/issues/7679))
+- Require `parameterized` package version to be at least 0.7.0. ([\#7680](https://github.com/matrix-org/synapse/issues/7680))
+- Refactor handling of `listeners` configuration settings. ([\#7681](https://github.com/matrix-org/synapse/issues/7681))
+- Replace uses of `six.iterkeys`/`iteritems`/`itervalues` with `keys()`/`items()`/`values()`. ([\#7692](https://github.com/matrix-org/synapse/issues/7692))
+- Add support for using `rust-python-jaeger-reporter` library to reduce jaeger tracing overhead. ([\#7697](https://github.com/matrix-org/synapse/issues/7697))
+- Make Tox actions work on Debian 10. ([\#7703](https://github.com/matrix-org/synapse/issues/7703))
+- Replace all remaining uses of `six` with native Python 3 equivalents. Contributed by @ilmari. ([\#7704](https://github.com/matrix-org/synapse/issues/7704))
+- Fix broken link in sample config. ([\#7712](https://github.com/matrix-org/synapse/issues/7712))
+- Speed up state res v2 across large state differences. ([\#7725](https://github.com/matrix-org/synapse/issues/7725))
+- Convert directory handler to async/await. ([\#7727](https://github.com/matrix-org/synapse/issues/7727))
+- Move `flake8` to the end of `scripts-dev/lint.sh` as it takes the longest and could cause the script to exit early. ([\#7738](https://github.com/matrix-org/synapse/issues/7738))
+- Explain the "test" conditional requirement for dependencies is not all of the modules necessary to run the unit tests. ([\#7751](https://github.com/matrix-org/synapse/issues/7751))
+- Add some metrics for inbound and outbound federation latencies: `synapse_federation_server_pdu_process_time` and `synapse_event_processing_lag_by_event`. ([\#7755](https://github.com/matrix-org/synapse/issues/7755))
+
+
 Synapse 1.15.1 (2020-06-16)
 ===========================
 

+ 0 - 1
changelog.d/7606.bugfix

@@ -1 +0,0 @@
-Remove `user_id` from the response to `GET /_matrix/client/r0/presence/{userId}/status` to match the specification.

+ 0 - 1
changelog.d/7636.misc

@@ -1 +0,0 @@
-Refactor getting replication updates from database.

+ 0 - 1
changelog.d/7639.feature

@@ -1 +0,0 @@
-Add an option to enable encryption by default for new rooms.

+ 0 - 1
changelog.d/7648.bugfix

@@ -1 +0,0 @@
-In working mode, ensure that replicated data has not already been received.

+ 0 - 1
changelog.d/7652.doc

@@ -1 +0,0 @@
-Spelling correction in sample_config.yaml.

+ 0 - 1
changelog.d/7657.misc

@@ -1 +0,0 @@
-Clean-up the login fallback code.

+ 0 - 1
changelog.d/7659.doc

@@ -1 +0,0 @@
-Added instructions for how to use Keycloak via OpenID Connect to authenticate with Synapse.

+ 0 - 1
changelog.d/7663.bugfix

@@ -1 +0,0 @@
-Fix intermittent exception during startup, introduced in Synapse 1.14.0.

+ 0 - 1
changelog.d/7664.misc

@@ -1 +0,0 @@
-Increase the default SAML session expirary time to 15 minutes.

+ 0 - 1
changelog.d/7675.removal

@@ -1 +0,0 @@
-Deprecate `m.login.jwt` login method in favour of `org.matrix.login.jwt`, as `m.login.jwt` is not part of the Matrix spec.

+ 0 - 1
changelog.d/7677.bugfix

@@ -1 +0,0 @@
-Include a user-agent for federation and well-known requests.

+ 0 - 1
changelog.d/7678.misc

@@ -1 +0,0 @@
-Convert the device message and pagination handlers to async/await.

+ 0 - 1
changelog.d/7679.misc

@@ -1 +0,0 @@
-Convert typing handler to async/await.

+ 0 - 1
changelog.d/7680.misc

@@ -1 +0,0 @@
-Require `parameterized` package version to be at least 0.7.0.

+ 0 - 1
changelog.d/7681.misc

@@ -1 +0,0 @@
-Refactor handling of `listeners` configuration settings.

+ 0 - 1
changelog.d/7687.bugfix

@@ -1 +0,0 @@
-Accept the proper field (`phone`) for the `m.id.phone` identifier type. The legacy field of `number` is still accepted as a fallback. Bug introduced in v0.20.0-rc1.

+ 0 - 1
changelog.d/7688.bugfix

@@ -1 +0,0 @@
-Fix "Starting db txn 'get_completed_ui_auth_stages' from sentinel context" warning. The bug was introduced in 1.13.0rc1.

+ 0 - 1
changelog.d/7689.bugfix

@@ -1 +0,0 @@
-Compare the URI and method during user interactive authentication (instead of the URI twice). Bug introduced in 1.13.0rc1.

+ 0 - 1
changelog.d/7691.bugfix

@@ -1 +0,0 @@
-Fix a long standing bug where the response to the `GET room_keys/version` endpoint had the incorrect type for the `etag` field.

+ 0 - 1
changelog.d/7692.misc

@@ -1 +0,0 @@
-Replace uses of `six.iterkeys`/`iteritems`/`itervalues` with `keys()`/`items()`/`values()`.

+ 0 - 1
changelog.d/7697.misc

@@ -1 +0,0 @@
-Add support for using `rust-python-jaeger-reporter` library to reduce jaeger tracing overhead.

+ 0 - 1
changelog.d/7698.bugfix

@@ -1 +0,0 @@
-Fix logged error during device resync in opentracing. Broke in v1.14.0.

+ 0 - 1
changelog.d/7701.bugfix

@@ -1 +0,0 @@
-Do not break push rule evaluation when receiving an event with a non-string body. This is a long-standing bug.

+ 0 - 1
changelog.d/7703.misc

@@ -1 +0,0 @@
-Make Tox actions work on Debian 10.

+ 0 - 1
changelog.d/7704.misc

@@ -1 +0,0 @@
-Replace all remaining uses of `six` with native Python 3 equivalents. Contributed by @ilmari.

+ 0 - 1
changelog.d/7706.feature

@@ -1 +0,0 @@
-Add support for running multiple media repository workers. See [docs/workers.md](docs/workers.md) for instructions.

+ 0 - 1
changelog.d/7708.bugfix

@@ -1 +0,0 @@
-Fixs a long standing bug which resulted in an exception: "TypeError: argument of type 'ObservableDeferred' is not iterable".

+ 0 - 1
changelog.d/7711.bugfix

@@ -1 +0,0 @@
-The `synapse_port_db` script no longer fails when the `ui_auth_sessions` table is non-empty. This bug has existed since v1.13.0rc1.

+ 0 - 1
changelog.d/7712.misc

@@ -1 +0,0 @@
-Fix broken link in sample config.

+ 0 - 1
changelog.d/7714.bugfix

@@ -1 +0,0 @@
-Synapse will now fetch media from the proper specified URL (using the r0 prefix instead of the unspecified v1).

+ 0 - 1
changelog.d/7717.bugfix

@@ -1 +0,0 @@
-Fix the tables ignored by `synapse_port_db` to be in sync the current database schema.

+ 0 - 1
changelog.d/7718.feature

@@ -1 +0,0 @@
-Media can now be marked as safe from quarantined.

+ 0 - 1
changelog.d/7724.doc

@@ -1 +0,0 @@
-Corrected misspelling of PostgreSQL.

+ 0 - 1
changelog.d/7725.misc

@@ -1 +0,0 @@
-Speed up state res v2 across large state differences.

+ 0 - 1
changelog.d/7727.misc

@@ -1 +0,0 @@
-Convert directory handler to async/await.

+ 0 - 1
changelog.d/7730.bugfix

@@ -1 +0,0 @@
-Fix missing `Content-Length` on HTTP responses from the metrics handler.

+ 0 - 1
changelog.d/7735.bugfix

@@ -1 +0,0 @@
-Fix large state resolutions from stalling Synapse for seconds at a time.

+ 0 - 1
changelog.d/7738.misc

@@ -1 +0,0 @@
-Move `flake8` to the end of `scripts-dev/lint.sh` as it takes the longest and could cause the script to exit early.

+ 0 - 1
changelog.d/7746.bugfix

@@ -1 +0,0 @@
-Fix large state resolutions from stalling Synapse for seconds at a time.

+ 0 - 1
changelog.d/7751.misc

@@ -1 +0,0 @@
-Explain the "test" conditional requirement for dependencies is not all of the modules necessary to run the unit tests.

+ 0 - 1
changelog.d/7755.misc

@@ -1 +0,0 @@
-Add some metrics for inbound and outbound federation latencies: `synapse_federation_server_pdu_process_time` and `synapse_event_processing_lag_by_event`.

+ 0 - 1
changelog.d/7761.feature

@@ -1 +0,0 @@
-Add unread messages count to sync responses.

+ 0 - 1
changelog.d/7763.feature

@@ -1 +0,0 @@
-Expand the configuration options for auto-join rooms.

+ 1 - 1
synapse/__init__.py

@@ -36,7 +36,7 @@ try:
 except ImportError:
     pass
 
-__version__ = "1.15.1"
+__version__ = "1.16.0rc1"
 
 if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
     # We import here so that we don't have to install a bunch of deps when