Merge branch 'master' into develop
This commit is contained in:
commit
12bee2dcc2
20
CHANGES.md
20
CHANGES.md
|
@ -1,9 +1,20 @@
|
||||||
# Synapse 1.91.2 (2023-09-06)
|
# Synapse 1.92.1 (2023-09-12)
|
||||||
|
|
||||||
|
Stop building Ubuntu Kinetic since it is EOL and repos seem to be dead.
|
||||||
|
|
||||||
|
|
||||||
|
# Synapse 1.92.0 (2023-09-12)
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
- Revert [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) introspection cache, admin impersonation and account lock. ([\#16258](https://github.com/matrix-org/synapse/issues/16258))
|
- Revert [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) introspection cache, admin impersonation and account lock. ([\#16258](https://github.com/matrix-org/synapse/issues/16258))
|
||||||
|
|
||||||
|
### Internal Changes
|
||||||
|
|
||||||
|
- Fix incorrect docstring for `Ratelimiter`. ([\#16255](https://github.com/matrix-org/synapse/issues/16255))
|
||||||
|
- Update the release script to work on macOS. ([\#16266](https://github.com/matrix-org/synapse/issues/16266))
|
||||||
|
|
||||||
|
|
||||||
# Synapse 1.92.0rc1 (2023-09-05)
|
# Synapse 1.92.0rc1 (2023-09-05)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
@ -59,6 +70,13 @@
|
||||||
* Bump types-psycopg2 from 2.9.21.10 to 2.9.21.11. ([\#16200](https://github.com/matrix-org/synapse/issues/16200))
|
* Bump types-psycopg2 from 2.9.21.10 to 2.9.21.11. ([\#16200](https://github.com/matrix-org/synapse/issues/16200))
|
||||||
* Bump types-pyyaml from 6.0.12.10 to 6.0.12.11. ([\#16199](https://github.com/matrix-org/synapse/issues/16199))
|
* Bump types-pyyaml from 6.0.12.10 to 6.0.12.11. ([\#16199](https://github.com/matrix-org/synapse/issues/16199))
|
||||||
|
|
||||||
|
# Synapse 1.91.2 (2023-09-06)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
- Revert [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) introspection cache, admin impersonation and account lock. ([\#16258](https://github.com/matrix-org/synapse/issues/16258))
|
||||||
|
|
||||||
|
|
||||||
# Synapse 1.91.1 (2023-09-04)
|
# Synapse 1.91.1 (2023-09-04)
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Fix incorrect docstring for `Ratelimiter`.
|
|
|
@ -1 +0,0 @@
|
||||||
Revert [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) introspection cache, admin impersonation and account lock.
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
matrix-synapse-py3 (1.92.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* New Synapse release 1.92.1.
|
||||||
|
|
||||||
|
-- Synapse Packaging team <packages@matrix.org> Tue, 12 Sep 2023 13:19:42 +0200
|
||||||
|
|
||||||
|
matrix-synapse-py3 (1.92.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* New Synapse release 1.92.0.
|
||||||
|
|
||||||
|
-- Synapse Packaging team <packages@matrix.org> Tue, 12 Sep 2023 11:59:23 +0200
|
||||||
|
|
||||||
matrix-synapse-py3 (1.91.2) stable; urgency=medium
|
matrix-synapse-py3 (1.91.2) stable; urgency=medium
|
||||||
|
|
||||||
* New synapse release 1.91.2.
|
* New synapse release 1.91.2.
|
||||||
|
|
|
@ -95,7 +95,7 @@ manifest-path = "rust/Cargo.toml"
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "matrix-synapse"
|
name = "matrix-synapse"
|
||||||
version = "1.92.0rc1"
|
version = "1.92.1"
|
||||||
description = "Homeserver for the Matrix decentralised comms protocol"
|
description = "Homeserver for the Matrix decentralised comms protocol"
|
||||||
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
|
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|
|
@ -32,7 +32,6 @@ DISTS = (
|
||||||
"debian:sid", # (EOL not specified yet) (our EOL forced by Python 3.11 is 2027-10-24)
|
"debian:sid", # (EOL not specified yet) (our EOL forced by Python 3.11 is 2027-10-24)
|
||||||
"ubuntu:focal", # 20.04 LTS (EOL 2025-04) (our EOL forced by Python 3.8 is 2024-10-14)
|
"ubuntu:focal", # 20.04 LTS (EOL 2025-04) (our EOL forced by Python 3.8 is 2024-10-14)
|
||||||
"ubuntu:jammy", # 22.04 LTS (EOL 2027-04) (our EOL forced by Python 3.10 is 2026-10-04)
|
"ubuntu:jammy", # 22.04 LTS (EOL 2027-04) (our EOL forced by Python 3.10 is 2026-10-04)
|
||||||
"ubuntu:kinetic", # 22.10 (EOL 2023-07-20) (our EOL forced by Python 3.10 is 2026-10-04)
|
|
||||||
"ubuntu:lunar", # 23.04 (EOL 2024-01) (our EOL forced by Python 3.11 is 2027-10-24)
|
"ubuntu:lunar", # 23.04 (EOL 2024-01) (our EOL forced by Python 3.11 is 2027-10-24)
|
||||||
"debian:trixie", # (EOL not specified yet)
|
"debian:trixie", # (EOL not specified yet)
|
||||||
)
|
)
|
||||||
|
|
|
@ -244,11 +244,17 @@ def _prepare() -> None:
|
||||||
else:
|
else:
|
||||||
debian_version = new_version
|
debian_version = new_version
|
||||||
|
|
||||||
run_until_successful(
|
if sys.platform == "darwin":
|
||||||
f'dch -M -v {debian_version} "New Synapse release {new_version}."',
|
run_until_successful(
|
||||||
shell=True,
|
f"docker run --rm -v .:/synapse ubuntu:latest /synapse/scripts-dev/docker_update_debian_changelog.sh {new_version}",
|
||||||
)
|
shell=True,
|
||||||
run_until_successful('dch -M -r -D stable ""', shell=True)
|
)
|
||||||
|
else:
|
||||||
|
run_until_successful(
|
||||||
|
f'dch -M -v {debian_version} "New Synapse release {new_version}."',
|
||||||
|
shell=True,
|
||||||
|
)
|
||||||
|
run_until_successful('dch -M -r -D stable ""', shell=True)
|
||||||
|
|
||||||
# Show the user the changes and ask if they want to edit the change log.
|
# Show the user the changes and ask if they want to edit the change log.
|
||||||
synapse_repo.git.add("-u")
|
synapse_repo.git.add("-u")
|
||||||
|
@ -566,19 +572,27 @@ def _notify(message: str) -> None:
|
||||||
# for this.
|
# for this.
|
||||||
click.echo(f"\a{message}")
|
click.echo(f"\a{message}")
|
||||||
|
|
||||||
|
app_name = "Synapse Release Script"
|
||||||
|
|
||||||
# Try and run notify-send, but don't raise an Exception if this fails
|
# Try and run notify-send, but don't raise an Exception if this fails
|
||||||
# (This is best-effort)
|
# (This is best-effort)
|
||||||
# TODO Support other platforms?
|
if sys.platform == "darwin":
|
||||||
subprocess.run(
|
# See https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_cmds.html#//apple_ref/doc/uid/TP40000983-CH216-SW224
|
||||||
[
|
subprocess.run(
|
||||||
"notify-send",
|
f"""osascript -e 'display notification "{message}" with title "{app_name}"'""",
|
||||||
"--app-name",
|
shell=True,
|
||||||
"Synapse Release Script",
|
)
|
||||||
"--expire-time",
|
else:
|
||||||
"3600000",
|
subprocess.run(
|
||||||
message,
|
[
|
||||||
]
|
"notify-send",
|
||||||
)
|
"--app-name",
|
||||||
|
app_name,
|
||||||
|
"--expire-time",
|
||||||
|
"3600000",
|
||||||
|
message,
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
|
|
Loading…
Reference in New Issue