Quellcode durchsuchen

Merge branch 'release-v1.57' into develop

tags/v1.58.0rc1
Erik Johnston vor 2 Jahren
Ursprung
Commit
a468768104
93 geänderte Dateien mit 5920 neuen und 5443 gelöschten Zeilen
  1. +108
    -5349
      CHANGES.md
  2. +0
    -1
      changelog.d/11881.feature
  3. +0
    -1
      changelog.d/12040.feature
  4. +0
    -1
      changelog.d/12115.bugfix
  5. +0
    -1
      changelog.d/12165.misc
  6. +0
    -1
      changelog.d/12191.misc
  7. +0
    -1
      changelog.d/12193.misc
  8. +0
    -1
      changelog.d/12209.misc
  9. +0
    -1
      changelog.d/12235.bugfix
  10. +0
    -1
      changelog.d/12251.feature
  11. +0
    -1
      changelog.d/12252.feature
  12. +0
    -1
      changelog.d/12267.misc
  13. +0
    -1
      changelog.d/12271.doc
  14. +0
    -1
      changelog.d/12280.misc
  15. +0
    -1
      changelog.d/12293.removal
  16. +0
    -1
      changelog.d/12295.misc
  17. +0
    -1
      changelog.d/12302.feature
  18. +0
    -1
      changelog.d/12310.feature
  19. +0
    -1
      changelog.d/12315.doc
  20. +0
    -1
      changelog.d/12316.misc
  21. +0
    -1
      changelog.d/12317.misc
  22. +0
    -1
      changelog.d/12321.misc
  23. +0
    -1
      changelog.d/12326.misc
  24. +0
    -1
      changelog.d/12327.feature
  25. +0
    -1
      changelog.d/12329.bugfix
  26. +0
    -1
      changelog.d/12330.misc
  27. +0
    -1
      changelog.d/12331.doc
  28. +0
    -1
      changelog.d/12332.misc
  29. +0
    -1
      changelog.d/12333.bugfix
  30. +0
    -1
      changelog.d/12334.misc
  31. +0
    -1
      changelog.d/12335.misc
  32. +0
    -1
      changelog.d/12336.misc
  33. +0
    -1
      changelog.d/12338.bugfix
  34. +0
    -1
      changelog.d/12339.doc
  35. +0
    -1
      changelog.d/12341.feature
  36. +0
    -1
      changelog.d/12345.doc
  37. +0
    -1
      changelog.d/12346.misc
  38. +0
    -1
      changelog.d/12347.misc
  39. +0
    -1
      changelog.d/12348.misc
  40. +0
    -1
      changelog.d/12349.misc
  41. +0
    -1
      changelog.d/12350.bugfix
  42. +0
    -1
      changelog.d/12351.misc
  43. +0
    -1
      changelog.d/12353.misc
  44. +0
    -1
      changelog.d/12354.misc
  45. +0
    -1
      changelog.d/12355.misc
  46. +0
    -1
      changelog.d/12357.misc
  47. +0
    -1
      changelog.d/12358.misc
  48. +0
    -1
      changelog.d/12364.bugfix
  49. +0
    -1
      changelog.d/12366.misc
  50. +0
    -1
      changelog.d/12367.feature
  51. +0
    -1
      changelog.d/12369.doc
  52. +0
    -1
      changelog.d/12370.feature
  53. +0
    -1
      changelog.d/12371.misc
  54. +0
    -1
      changelog.d/12372.feature
  55. +0
    -1
      changelog.d/12376.misc
  56. +0
    -1
      changelog.d/12379.misc
  57. +0
    -1
      changelog.d/12380.misc
  58. +0
    -1
      changelog.d/12381.misc
  59. +0
    -1
      changelog.d/12384.misc
  60. +0
    -1
      changelog.d/12385.docker
  61. +0
    -1
      changelog.d/12389.misc
  62. +0
    -1
      changelog.d/12390.bugfix
  63. +0
    -1
      changelog.d/12391.feature
  64. +0
    -1
      changelog.d/12392.doc
  65. +0
    -1
      changelog.d/12398.misc
  66. +0
    -1
      changelog.d/12400.misc
  67. +0
    -1
      changelog.d/12402.misc
  68. +0
    -1
      changelog.d/12403.feature
  69. +0
    -1
      changelog.d/12404.misc
  70. +0
    -1
      changelog.d/12405.misc
  71. +0
    -1
      changelog.d/12407.misc
  72. +0
    -1
      changelog.d/12408.misc
  73. +0
    -1
      changelog.d/12409.misc
  74. +0
    -1
      changelog.d/12410.bugfix
  75. +0
    -1
      changelog.d/12412.misc
  76. +0
    -1
      changelog.d/12415.misc
  77. +0
    -1
      changelog.d/12418.misc
  78. +0
    -1
      changelog.d/12420.misc
  79. +0
    -1
      changelog.d/12421.misc
  80. +0
    -1
      changelog.d/12422.misc
  81. +0
    -1
      changelog.d/12423.misc
  82. +0
    -1
      changelog.d/12435.misc
  83. +0
    -2
      changelog.d/12436.feature
  84. +0
    -1
      changelog.d/12439.misc
  85. +0
    -1
      changelog.d/12444.misc
  86. +6
    -0
      debian/changelog
  87. +1039
    -0
      docs/changelogs/CHANGES-2019.md
  88. +2145
    -0
      docs/changelogs/CHANGES-2020.md
  89. +2573
    -0
      docs/changelogs/CHANGES-2021.md
  90. +0
    -0
      docs/changelogs/CHANGES-pre-1.0.md
  91. +1
    -0
      docs/changelogs/README.md
  92. +47
    -8
      docs/upgrade.md
  93. +1
    -1
      synapse/__init__.py

+ 108
- 5349
CHANGES.md
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 0
- 1
changelog.d/11881.feature Datei anzeigen

@@ -1 +0,0 @@
Send device list changes to application services as specified by [MSC3202](https://github.com/matrix-org/matrix-spec-proposals/pull/3202), using unstable prefixes. The `msc3202_transaction_extensions` experimental homeserver config option must be enabled and `org.matrix.msc3202: true` must be present in the application service registration file for device list changes to be sent. The "left" field is currently always empty.

+ 0
- 1
changelog.d/12040.feature Datei anzeigen

@@ -1 +0,0 @@
Optimise fetching large quantities of missing room state over federation.

+ 0
- 1
changelog.d/12115.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a long-standing bug that updating the server notices user profile (display name/avatar URL) in the configuration would not be applied to pre-existing rooms. Contributed by Jorge Florian.

+ 0
- 1
changelog.d/12165.misc Datei anzeigen

@@ -1 +0,0 @@
Remove lingering unstable references to MSC2403 (knocking).

+ 0
- 1
changelog.d/12191.misc Datei anzeigen

@@ -1 +0,0 @@
Avoid trying to calculate the state at outlier events.

+ 0
- 1
changelog.d/12193.misc Datei anzeigen

@@ -1 +0,0 @@
Omit sending "offline" presence updates to application services after they are initially configured.

+ 0
- 1
changelog.d/12209.misc Datei anzeigen

@@ -1 +0,0 @@
Switch to using a sequence to generate AS transaction IDs. Contributed by Nick Beeper. If running synapse with a dedicated appservice worker, this MUST be stopped before upgrading the main process and database.

+ 0
- 1
changelog.d/12235.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a long-standing bug where events from ignored users were still considered for bundled aggregations.

+ 0
- 1
changelog.d/12251.feature Datei anzeigen

@@ -1 +0,0 @@
Offload the `update_client_ip` background job from the main process to the background worker, when using Redis-based replication.

+ 0
- 1
changelog.d/12252.feature Datei anzeigen

@@ -1 +0,0 @@
Move `update_client_ip` background job from the main process to the background worker.

+ 0
- 1
changelog.d/12267.misc Datei anzeigen

@@ -1 +0,0 @@
Add missing type hints for storage.

+ 0
- 1
changelog.d/12271.doc Datei anzeigen

@@ -1 +0,0 @@
Clarify documentation for running SyTest against Synapse, including use of Postgres and worker mode.

+ 0
- 1
changelog.d/12280.misc Datei anzeigen

@@ -1 +0,0 @@
Add missing type definitions for scripts in docker folder. Contributed by Jorge Florian.

+ 0
- 1
changelog.d/12293.removal Datei anzeigen

@@ -1 +0,0 @@
Remove the unused and unstable `/aggregations` endpoint which was removed from [MSC2675](https://github.com/matrix-org/matrix-doc/pull/2675).

+ 0
- 1
changelog.d/12295.misc Datei anzeigen

@@ -1 +0,0 @@
Move [MSC2654](https://github.com/matrix-org/matrix-doc/pull/2654) support behind an experimental configuration flag.

+ 0
- 1
changelog.d/12302.feature Datei anzeigen

@@ -1 +0,0 @@
Add a module callback to react to new 3PID (email address, phone number) associations.

+ 0
- 1
changelog.d/12310.feature Datei anzeigen

@@ -1 +0,0 @@
Add a configuration option to remove a specific set of rooms from sync responses.

+ 0
- 1
changelog.d/12315.doc Datei anzeigen

@@ -1 +0,0 @@
Document the behaviour of `LoggingTransaction.call_after` and `LoggingTransaction.call_on_exception` methods when transactions are retried.

+ 0
- 1
changelog.d/12316.misc Datei anzeigen

@@ -1 +0,0 @@
Avoid trying to calculate the state at outlier events.

+ 0
- 1
changelog.d/12317.misc Datei anzeigen

@@ -1 +0,0 @@
Update docstrings to explain how to decipher live and historic pagination tokens.

+ 0
- 1
changelog.d/12321.misc Datei anzeigen

@@ -1 +0,0 @@
Add ground work for speeding up device list updates for users in large numbers of rooms.

+ 0
- 1
changelog.d/12326.misc Datei anzeigen

@@ -1 +0,0 @@
Fix typechecker problems exposed by signedjson 1.1.2.

+ 0
- 1
changelog.d/12327.feature Datei anzeigen

@@ -1 +0,0 @@
Add a module callback to react to account data changes.

+ 0
- 1
changelog.d/12329.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix non-member state events not resolving for historical events when used in [MSC2716](https://github.com/matrix-org/matrix-spec-proposals/pull/2716) `/batch_send` `state_events_at_start`.

+ 0
- 1
changelog.d/12330.misc Datei anzeigen

@@ -1 +0,0 @@
Avoid trying to calculate the state at outlier events.

+ 0
- 1
changelog.d/12331.doc Datei anzeigen

@@ -1 +0,0 @@
Update dead links in `check-newsfragment.sh` to point to the correct documentation URL.

+ 0
- 1
changelog.d/12332.misc Datei anzeigen

@@ -1 +0,0 @@
Avoid trying to calculate the state at outlier events.

+ 0
- 1
changelog.d/12333.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a long-standing bug affecting URL previews that would generate a 500 response instead of a 403 if the previewed URL includes a port that isn't allowed by the relevant blacklist.

+ 0
- 1
changelog.d/12334.misc Datei anzeigen

@@ -1 +0,0 @@
Remove the `tox` packaging job: it will be redundant once #11537 lands.

+ 0
- 1
changelog.d/12335.misc Datei anzeigen

@@ -1 +0,0 @@
Ignore `.envrc` for `direnv` users.

+ 0
- 1
changelog.d/12336.misc Datei anzeigen

@@ -1 +0,0 @@
Remove the (broadly unused, dev-only) dockerfile for pg tests.

+ 0
- 1
changelog.d/12338.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a long-standing bug where events from ignored users were still considered for bundled aggregations.

+ 0
- 1
changelog.d/12339.doc Datei anzeigen

@@ -1 +0,0 @@
Upgrade the version of `mdbook` in CI to 0.4.17.

+ 0
- 1
changelog.d/12341.feature Datei anzeigen

@@ -1 +0,0 @@
Allow setting user admin status using the module API. Contributed by Famedly.

+ 0
- 1
changelog.d/12345.doc Datei anzeigen

@@ -1 +0,0 @@
Updates to the Room DAG concepts development document to clarify that we mark events as outliers because we don't have any state for them.

+ 0
- 1
changelog.d/12346.misc Datei anzeigen

@@ -1 +0,0 @@
Remove redundant `get_success` calls in test code.

+ 0
- 1
changelog.d/12347.misc Datei anzeigen

@@ -1 +0,0 @@
Add type annotations for `tests/unittest.py`.

+ 0
- 1
changelog.d/12348.misc Datei anzeigen

@@ -1 +0,0 @@
Move single-use methods out of `TestCase`.

+ 0
- 1
changelog.d/12349.misc Datei anzeigen

@@ -1 +0,0 @@
Remove broken and unused development scripts.

+ 0
- 1
changelog.d/12350.bugfix Datei anzeigen

@@ -1 +0,0 @@
Default to `private` room visibility rather than `public` when a client does not specify one, according to spec.

+ 0
- 1
changelog.d/12351.misc Datei anzeigen

@@ -1 +0,0 @@
Remove broken and unused development scripts.

+ 0
- 1
changelog.d/12353.misc Datei anzeigen

@@ -1 +0,0 @@
Convert `Linearizer` tests from `inlineCallbacks` to async.

+ 0
- 1
changelog.d/12354.misc Datei anzeigen

@@ -1 +0,0 @@
Update docstrings for `ReadWriteLock` tests.

+ 0
- 1
changelog.d/12355.misc Datei anzeigen

@@ -1 +0,0 @@
Remove broken and unused development scripts.

+ 0
- 1
changelog.d/12357.misc Datei anzeigen

@@ -1 +0,0 @@
Refactor `Linearizer`, convert methods to async and use an async context manager.

+ 0
- 1
changelog.d/12358.misc Datei anzeigen

@@ -1 +0,0 @@
Fix a long-standing bug where `Linearizer`s could get stuck if a cancellation were to happen at the wrong time.

+ 0
- 1
changelog.d/12364.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a spec compliance issue where requests to the `/publicRooms` federation API would specify `limit` as a string.

+ 0
- 1
changelog.d/12366.misc Datei anzeigen

@@ -1 +0,0 @@
Make `StreamToken.from_string` and `RoomStreamToken.parse` propagate cancellations instead of replacing them with `SynapseError`s.

+ 0
- 1
changelog.d/12367.feature Datei anzeigen

@@ -1 +0,0 @@
Reduce overhead of restarting synchrotrons.

+ 0
- 1
changelog.d/12369.doc Datei anzeigen

@@ -1 +0,0 @@
Update the link to Redis pub/sub documentation in the workers documentation..

+ 0
- 1
changelog.d/12370.feature Datei anzeigen

@@ -1 +0,0 @@
Update `/messages` to use historic pagination tokens if no `from` query parameter is given.

+ 0
- 1
changelog.d/12371.misc Datei anzeigen

@@ -1 +0,0 @@
Add type hints to tests files.

+ 0
- 1
changelog.d/12372.feature Datei anzeigen

@@ -1 +0,0 @@
Reduce overhead of restarting synchrotrons.

+ 0
- 1
changelog.d/12376.misc Datei anzeigen

@@ -1 +0,0 @@
Allow specifying the Postgres database's port when running unit tests with Postgres.

+ 0
- 1
changelog.d/12379.misc Datei anzeigen

@@ -1 +0,0 @@
Remove temporary pin of signedjson<=1.1.1 that was added in Synapse 1.56.0.

+ 0
- 1
changelog.d/12380.misc Datei anzeigen

@@ -1 +0,0 @@
Add opentracing spans to calls to external cache.

+ 0
- 1
changelog.d/12381.misc Datei anzeigen

@@ -1 +0,0 @@
Lay groundwork for using `poetry` to manage Synapse's dependencies.

+ 0
- 1
changelog.d/12384.misc Datei anzeigen

@@ -1 +0,0 @@
Make missing `importlib_metadata` dependency explicit.

+ 0
- 1
changelog.d/12385.docker Datei anzeigen

@@ -1 +0,0 @@
Bundle locked versions of dependencies into the Docker image.

+ 0
- 1
changelog.d/12389.misc Datei anzeigen

@@ -1 +0,0 @@
Update type annotations for compatiblity with prometheus_client 0.14.

+ 0
- 1
changelog.d/12390.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a bug introduced in Synapse 1.49.0 which caused the `synapse_event_persisted_position` metric to have invalid values.

+ 0
- 1
changelog.d/12391.feature Datei anzeigen

@@ -1 +0,0 @@
Add a module API for reading and writing global account data.

+ 0
- 1
changelog.d/12392.doc Datei anzeigen

@@ -1 +0,0 @@
Remove documentation for converting a legacy structured logging configuration to the new format.

+ 0
- 1
changelog.d/12398.misc Datei anzeigen

@@ -1 +0,0 @@
Remove support for the unstable identifiers specified in [MSC3288](https://github.com/matrix-org/matrix-doc/pull/3288).

+ 0
- 1
changelog.d/12400.misc Datei anzeigen

@@ -1 +0,0 @@
Make missing `importlib_metadata` dependency explicit.

+ 0
- 1
changelog.d/12402.misc Datei anzeigen

@@ -1 +0,0 @@
Add missing type hints to configuration classes.

+ 0
- 1
changelog.d/12403.feature Datei anzeigen

@@ -1 +0,0 @@
Support the stable `v1` endpoint for `/relations`, per [MSC2675](https://github.com/matrix-org/matrix-doc/pull/2675).

+ 0
- 1
changelog.d/12404.misc Datei anzeigen

@@ -1 +0,0 @@
Add files used to build the Docker image used for complement testing into the Synapse repository.

+ 0
- 1
changelog.d/12405.misc Datei anzeigen

@@ -1 +0,0 @@
Fix up healthcheck generation for workers docker image.

+ 0
- 1
changelog.d/12407.misc Datei anzeigen

@@ -1 +0,0 @@
Run the olddeps CI job using Poetry.

+ 0
- 1
changelog.d/12408.misc Datei anzeigen

@@ -1 +0,0 @@
Do not include groups in the sync response when disabled.

+ 0
- 1
changelog.d/12409.misc Datei anzeigen

@@ -1 +0,0 @@
Avoid trying to calculate the state at outlier events.

+ 0
- 1
changelog.d/12410.bugfix Datei anzeigen

@@ -1 +0,0 @@
Fix a spec compliance issue where requests to the `/publicRooms` federation API would specify `limit` as a string.

+ 0
- 1
changelog.d/12412.misc Datei anzeigen

@@ -1 +0,0 @@
Run the CI portdb script in the locked poetry environment.

+ 0
- 1
changelog.d/12415.misc Datei anzeigen

@@ -1 +0,0 @@
Improve type hints related to HTTP query parameters.

+ 0
- 1
changelog.d/12418.misc Datei anzeigen

@@ -1 +0,0 @@
Run the CI export-data script in the locked poetry environment.

+ 0
- 1
changelog.d/12420.misc Datei anzeigen

@@ -1 +0,0 @@
Stop maintaining a list of lint targets.

+ 0
- 1
changelog.d/12421.misc Datei anzeigen

@@ -1 +0,0 @@
Make `synapse._scripts` pass type checks.

+ 0
- 1
changelog.d/12422.misc Datei anzeigen

@@ -1 +0,0 @@
Make `synapse._scripts` pass type checks.

+ 0
- 1
changelog.d/12423.misc Datei anzeigen

@@ -1 +0,0 @@
Add some type hints to datastore.

+ 0
- 1
changelog.d/12435.misc Datei anzeigen

@@ -1 +0,0 @@
Enable certificate checking during complement tests.

+ 0
- 2
changelog.d/12436.feature Datei anzeigen

@@ -1,2 +0,0 @@
Include bundled aggregations in search results
([MSC3666](https://github.com/matrix-org/matrix-spec-proposals/pull/3666)).

+ 0
- 1
changelog.d/12439.misc Datei anzeigen

@@ -1 +0,0 @@
Bundle locked versions of dependencies into the Docker image.

+ 0
- 1
changelog.d/12444.misc Datei anzeigen

@@ -1 +0,0 @@
Explicitly specify the `tls` extra for Twisted dependency.

+ 6
- 0
debian/changelog Datei anzeigen

@@ -1,3 +1,9 @@
matrix-synapse-py3 (1.57.0~rc1) stable; urgency=medium

* New synapse release 1.57.0~rc1.

-- Synapse Packaging team <packages@matrix.org> Tue, 12 Apr 2022 13:36:25 +0100

matrix-synapse-py3 (1.56.0) stable; urgency=medium

* New synapse release 1.56.0.


+ 1039
- 0
docs/changelogs/CHANGES-2019.md
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 2145
- 0
docs/changelogs/CHANGES-2020.md
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 2573
- 0
docs/changelogs/CHANGES-2021.md
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


CHANGES-pre-1.0.md → docs/changelogs/CHANGES-pre-1.0.md Datei anzeigen


+ 1
- 0
docs/changelogs/README.md Datei anzeigen

@@ -0,0 +1 @@
This directory contains changelogs for previous years.

+ 47
- 8
docs/upgrade.md Datei anzeigen

@@ -105,6 +105,45 @@ without any risk of reusing transaction IDs.
Deployments which do not use separate worker processes can be upgraded as normal. Similarly,
deployments where no applciation services are in use can be upgraded as normal.

<details>
<summary><b>Recovering from an incorrect upgrade</b></summary>

If the database schema is upgraded *without* stopping the worker responsible
for AS traffic, then the following error may be given when attempting to start
a Synapse worker or master process:

```
**********************************************************************************
Error during initialisation:

Postgres sequence 'application_services_txn_id_seq' is inconsistent with associated
table 'application_services_txns'. This can happen if Synapse has been downgraded and
then upgraded again, or due to a bad migration.

To fix this error, shut down Synapse (including any and all workers)
and run the following SQL:

SELECT setval('application_services_txn_id_seq', (
SELECT GREATEST(MAX(txn_id), 0) FROM application_services_txns
));

See docs/postgres.md for more information.

There may be more information in the logs.
**********************************************************************************
```

This error may also be seen if Synapse is *downgraded* to an earlier version,
and then upgraded again to v1.57.0 or later.

In either case:

1. Ensure that the worker responsible for AS traffic is stopped.
2. Run the SQL command given in the error message via `psql`.

Synapse should then start correctly.
</details>

# Upgrading to v1.56.0

## Open registration without verification is now disabled by default
@@ -139,15 +178,15 @@ The `synctl` script
[has been made](https://github.com/matrix-org/synapse/pull/12140) an
[entry point](https://packaging.python.org/en/latest/specifications/entry-points/)
and no longer exists at the root of Synapse's source tree. If you wish to use
`synctl` to manage your homeserver, you should invoke `synctl` directly, e.g.
`synctl start` instead of `./synctl start` or `/path/to/synctl start`.
`synctl` to manage your homeserver, you should invoke `synctl` directly, e.g.
`synctl start` instead of `./synctl start` or `/path/to/synctl start`.

You will need to ensure `synctl` is on your `PATH`.
- This is automatically the case when using
[Debian packages](https://packages.matrix.org/debian/) or
[docker images](https://hub.docker.com/r/matrixdotorg/synapse)
provided by Matrix.org.
- When installing from a wheel, sdist, or PyPI, a `synctl` executable is added
- When installing from a wheel, sdist, or PyPI, a `synctl` executable is added
to your Python installation's `bin`. This should be on your `PATH`
automatically, though you might need to activate a virtual environment
depending on how you installed Synapse.
@@ -183,8 +222,8 @@ the `/_matrix/client/` path.

## Stablisation of MSC3231

The unstable validity-check endpoint for the
[Registration Tokens](https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv1registermloginregistration_tokenvalidity)
The unstable validity-check endpoint for the
[Registration Tokens](https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv1registermloginregistration_tokenvalidity)
feature has been stabilised and moved from:

`/_matrix/client/unstable/org.matrix.msc3231/register/org.matrix.msc3231.login.registration_token/validity`
@@ -198,9 +237,9 @@ Please update any relevant reverse proxy or firewall configurations appropriatel
## Time-based cache expiry is now enabled by default

Formerly, entries in the cache were not evicted regardless of whether they were accessed after storing.
This behavior has now changed. By default entries in the cache are now evicted after 30m of not being accessed.
To change the default behavior, go to the `caches` section of the config and change the `expire_caches` and
`cache_entry_ttl` flags as necessary. Please note that these flags replace the `expiry_time` flag in the config.
This behavior has now changed. By default entries in the cache are now evicted after 30m of not being accessed.
To change the default behavior, go to the `caches` section of the config and change the `expire_caches` and
`cache_entry_ttl` flags as necessary. Please note that these flags replace the `expiry_time` flag in the config.
The `expiry_time` flag will still continue to work, but it has been deprecated and will be removed in the future.

## Deprecation of `capability` `org.matrix.msc3283.*`


+ 1
- 1
synapse/__init__.py Datei anzeigen

@@ -68,7 +68,7 @@ try:
except ImportError:
pass

__version__ = "1.56.0"
__version__ = "1.57.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


Laden…
Abbrechen
Speichern