Synapse 1.59.0rc2 (2022-05-16)
============================== Synapse 1.59 makes several changes that server administrators should be aware of: - Device name lookup over federation is now disabled by default. ([\#12616](https://github.com/matrix-org/synapse/issues/12616)) - The `synapse.app.appservice` and `synapse.app.user_dir` worker application types are now deprecated. ([\#12452](https://github.com/matrix-org/synapse/issues/12452), [\#12654](https://github.com/matrix-org/synapse/issues/12654)) See [the upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#upgrading-to-v1590) for more details. Additionally, this release removes the non-standard `m.login.jwt` login type from Synapse. It can be replaced with `org.matrix.login.jwt` for identical behaviour. This is only used if `jwt_config.enabled` is set to `true` in the configuration. ([\#12597](https://github.com/matrix-org/synapse/issues/12597)) Bugfixes -------- - Fix a bug introduced in Synapse 1.58.0 where `/sync` would fail if the most recent event in a room was rejected. ([\#12729](https://github.com/matrix-org/synapse/issues/12729)) -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE1508oLYUKainYFJakD7OEIo53t0FAmKCTJQACgkQkD7OEIo5 3t1JFw/+NCKc2jBSXQHfcN6cSqfmBFd3sCLDkTiVtQy8k55OW4ioE+qvL7NlMWQW 4Qon/DpCGV5KV3mJ3CdqaUqaA6B69L68JSUAkDgIlMfPNOsAPHvojp+Pf1uSPApc PXjhHhiV/BHRLjNmfoavbWB1XfvVfDXCg/9hCH7+EFktmsCAyyzJSb/oaFLKtP/l dUCivzAe2JcQcCSx/cO0zU4NqIoeSymK/ffjvHdEr+FHGR6vyT//7t/71Rm2tbZ6 6j2utZ4VlT9gXylcQKP37Q2HKMP3pgocDwXWTLk2ZJU47oYc9S+iXGwP75fX900L bkmxzx2opKw6LCyvU3sMcw+GHpqfcOG1A6uJEGP6JzVj27xDEOto4EYWkhnSz5Cn LMHHSh1ZPNtq/aqm6SxlSdgs6uWpyxTAxeniBItSL80HgtOGCeFbddepKu/hcU1G V97AdP5+K4aXC36yVGibsFooBgcXRb+xdzrmQoeYHj4Ky3sybBVkBJ7uS4tp5TB5 h+YbYSpWLDZy/ldbOL3NAqbjhg+l87QnKHAUhpdU1T48a672mE6hWSRq41N0HyP+ ldEtgzfyjGFMOQ3lvzZ9HUweivgyBQZKxhXKHTB7IQQDtNAKR14YWx3syA76tJki RhOdcNwAmVB8L0BEGBVYWKLnw7qoU838hcFMZFBRAkNAY8xZjXk= =iA2S -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE1508oLYUKainYFJakD7OEIo53t0FAmKCV9EACgkQkD7OEIo5 3t0sIQ//RR816yuZT2Ln4hFyHLxafO7wyzmSCLFMaMixJNPYrq3dwGTz92mjHUY/ tV0XY3Yjg9YqzHps/eQy9hvhnZao0RZDxoXRPnXlDqMYiHsIe61UmYH0F1E6Nz1U xln5T/Sl+iIlfR3NskOxRaMk/PIbQYKHb0tQIDhkQo5KkuZZsrf0t/IL+9RO6Tmy DFYOpSs7L5U+NufeO2/xR4jCltLb1zunypjNIOBb0G3LJvyTtRSoFscaYdSFEFEJ v9lPfJwhUnKJ/NWiH0CgViboN5Z2Igk1jlPdb8o2p7ketD58w4gGMn67Eq0hotau esy8FA/sx5/V+pf8mYDeZNTdgBk03W2A5XxYB4JUsCQChtMaELqMZCL6Vk8hi1oi S8WnfFoc9EWAbOh/J4bBv00zzA54vGf8ra1qeirndKDyd5pkZnsMaJxohU9LhEJb OSTED1NNZuhuO+phwVx0CtnsSkf2Sz2xc8E5sm891s/dU0cRZmXgCt7rMFreEsD3 IdzUd1oDQ47JhV8EMntRw1Y8/CDPrml5wZ9On18btxfTPTjUJNtLSaIkZ462/AgZ naBk1OlzaPV8QwerDqrxy0c891CVqrr3iJ62luFb40kTyy85Facdfw8OyrCtMmvL TEgXM5xaFxfydjX2Sfz3Y8QAAokEzLhVlj3sR93acSEDdzN+Gms= =JmDV -----END PGP SIGNATURE----- Merge tag 'v1.59.0rc2' into develop Synapse 1.59.0rc2 (2022-05-16) ============================== Synapse 1.59 makes several changes that server administrators should be aware of: - Device name lookup over federation is now disabled by default. ([\#12616](https://github.com/matrix-org/synapse/issues/12616)) - The `synapse.app.appservice` and `synapse.app.user_dir` worker application types are now deprecated. ([\#12452](https://github.com/matrix-org/synapse/issues/12452), [\#12654](https://github.com/matrix-org/synapse/issues/12654)) See [the upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#upgrading-to-v1590) for more details. Additionally, this release removes the non-standard `m.login.jwt` login type from Synapse. It can be replaced with `org.matrix.login.jwt` for identical behaviour. This is only used if `jwt_config.enabled` is set to `true` in the configuration. ([\#12597](https://github.com/matrix-org/synapse/issues/12597)) Bugfixes -------- - Fix a bug introduced in Synapse 1.58.0 where `/sync` would fail if the most recent event in a room was rejected. ([\#12729](https://github.com/matrix-org/synapse/issues/12729))pull/12749/head
						commit
						b4eb163434
					
				
							
								
								
									
										13
									
								
								CHANGES.md
								
								
								
								
							
							
						
						
									
										13
									
								
								CHANGES.md
								
								
								
								
							|  | @ -1,7 +1,7 @@ | |||
| Synapse 1.59.0rc1 (2022-05-10) | ||||
| Synapse 1.59.0rc2 (2022-05-16) | ||||
| ============================== | ||||
| 
 | ||||
| This release makes several changes that server administrators should be aware of: | ||||
| Synapse 1.59 makes several changes that server administrators should be aware of: | ||||
| 
 | ||||
| - Device name lookup over federation is now disabled by default. ([\#12616](https://github.com/matrix-org/synapse/issues/12616)) | ||||
| - The `synapse.app.appservice` and `synapse.app.user_dir` worker application types are now deprecated. ([\#12452](https://github.com/matrix-org/synapse/issues/12452), [\#12654](https://github.com/matrix-org/synapse/issues/12654)) | ||||
|  | @ -10,6 +10,15 @@ See [the upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/ | |||
| 
 | ||||
| Additionally, this release removes the non-standard `m.login.jwt` login type from Synapse. It can be replaced with `org.matrix.login.jwt` for identical behaviour. This is only used if `jwt_config.enabled` is set to `true` in the configuration. ([\#12597](https://github.com/matrix-org/synapse/issues/12597)) | ||||
| 
 | ||||
| Bugfixes | ||||
| -------- | ||||
| 
 | ||||
| - Fix a bug introduced in Synapse 1.58.0 where `/sync` would fail if the most recent event in a room was rejected. ([\#12729](https://github.com/matrix-org/synapse/issues/12729)) | ||||
| 
 | ||||
| 
 | ||||
| Synapse 1.59.0rc1 (2022-05-10) | ||||
| ============================== | ||||
| 
 | ||||
| Features | ||||
| -------- | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,9 @@ | |||
| matrix-synapse-py3 (1.59.0~rc2) stable; urgency=medium | ||||
| 
 | ||||
|   * New Synapse release 1.59.0rc2. | ||||
| 
 | ||||
|  -- Synapse Packaging team <packages@matrix.org>  Mon, 16 May 2022 12:52:15 +0100 | ||||
| 
 | ||||
| matrix-synapse-py3 (1.59.0~rc1) stable; urgency=medium | ||||
| 
 | ||||
|   * Adjust how the `exported-requirements.txt` file is generated as part of | ||||
|  |  | |||
|  | @ -54,7 +54,7 @@ skip_gitignore = true | |||
| 
 | ||||
| [tool.poetry] | ||||
| name = "matrix-synapse" | ||||
| version = "1.59.0rc1" | ||||
| version = "1.59.0rc2" | ||||
| description = "Homeserver for the Matrix decentralised comms protocol" | ||||
| authors = ["Matrix.org Team and Contributors <packages@matrix.org>"] | ||||
| license = "Apache-2.0" | ||||
|  |  | |||
|  | @ -743,14 +743,17 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore): | |||
|         """ | ||||
| 
 | ||||
|         def _f(txn: LoggingTransaction) -> Optional[Tuple[int, int, str]]: | ||||
|             sql = ( | ||||
|                 "SELECT stream_ordering, topological_ordering, event_id" | ||||
|                 " FROM events" | ||||
|                 " WHERE room_id = ? AND stream_ordering <= ?" | ||||
|                 " AND NOT outlier" | ||||
|                 " ORDER BY stream_ordering DESC" | ||||
|                 " LIMIT 1" | ||||
|             ) | ||||
|             sql = """ | ||||
|                 SELECT stream_ordering, topological_ordering, event_id | ||||
|                 FROM events | ||||
|                 LEFT JOIN rejections USING (event_id) | ||||
|                 WHERE room_id = ? | ||||
|                     AND stream_ordering <= ? | ||||
|                     AND NOT outlier | ||||
|                     AND rejections.reason IS NULL | ||||
|                 ORDER BY stream_ordering DESC | ||||
|                 LIMIT 1 | ||||
|             """ | ||||
|             txn.execute(sql, (room_id, stream_ordering)) | ||||
|             return cast(Optional[Tuple[int, int, str]], txn.fetchone()) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Robertson
						David Robertson