Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fdccc8df9 | ||
|
|
9e387f7915 | ||
|
|
a3584e777e | ||
|
|
d1867c7ba6 | ||
|
|
4b6d902230 | ||
|
|
2774e37e72 | ||
|
|
f3f7bec506 | ||
|
|
9735318be9 | ||
|
|
b06afd8e63 | ||
|
|
6403278d37 | ||
|
|
3e2d60a34c | ||
|
|
b02f6409cb | ||
|
|
29e23bd85e | ||
|
|
eed12bfe0b | ||
|
|
1a30c1864d | ||
|
|
cf8933b222 | ||
|
|
9d1d46c30f | ||
|
|
8ca2a5c12a | ||
|
|
2ea3d1b3c8 | ||
|
|
4a48d7978b |
81
CHANGELOG.md
81
CHANGELOG.md
@@ -868,7 +868,7 @@
|
||||
[1.63.0]
|
||||
* Update Synapse to 1.80.0
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.80.0)
|
||||
* Fix a bug in which the POST /_matrix/client/v3/rooms/{roomId}/report/{eventId} endpoint would return the wrong error if the user did not have permission to view the event. This aligns Synapse's implementation with MSC2249. (#15298, #15300)
|
||||
* Fix a bug in which the POST `/_matrix/client/v3/rooms/{roomId}/report/{eventId}` endpoint would return the wrong error if the user did not have permission to view the event. This aligns Synapse's implementation with MSC2249. (#15298, #15300)
|
||||
* Fix a bug introduced in Synapse 1.75.0rc1 where the SQLite port_db script
|
||||
* would fail to open the SQLite database. (#15301)
|
||||
* Stabilise support for MSC3966: event_property_contains push condition. (#15187)
|
||||
@@ -895,7 +895,7 @@
|
||||
* Fix a bug introduced in Synapse v1.55.0 which could delay remote homeservers being able to decrypt encrypted messages sent by local users. (#15297)
|
||||
* Add a check to SQLite port_db script
|
||||
* to ensure that the sqlite database passed to the script exists before trying to port from it. (#15306)
|
||||
* Fix a bug introduced in Synapse 1.76.0 where responses from worker deployments could include an internal _INT_STREAM_POS key. (#15309)
|
||||
* Fix a bug introduced in Synapse 1.76.0 where responses from worker deployments could include an internal `_INT_STREAM_POS` key. (#15309)
|
||||
* Fix a long-standing bug that Synpase only used the legacy appservice routes. (#15317)
|
||||
* Fix a long-standing bug preventing users from rejoining rooms after being banned and unbanned over federation. Contributed by Nico. (#15323)
|
||||
* Fix bug in worker mode where on a rolling restart of workers the "typing" worker would consume 100% CPU until it got restarted. (#15332)
|
||||
@@ -945,3 +945,80 @@
|
||||
* Fix a long-standing bug where an invalid membership event could cause an internal server error. ([\#15564](https://github.com/matrix-org/synapse/issues/15564))
|
||||
* Require at least poetry-core v1.1.0. ([\#15566](https://github.com/matrix-org/synapse/issues/15566), [\#15571](https://github.com/matrix-org/synapse/issues/15571))
|
||||
|
||||
[1.67.1]
|
||||
* Update Synapse to 1.84.1
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.84.1)
|
||||
* Fix a bug introduced in Synapse v1.84.0 where workers do not start up when no `instance_map` was provided
|
||||
|
||||
[1.68.0]
|
||||
* Update Synapse to 1.85.0
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.85.0)
|
||||
* GHSA-26c5-ppr8-f33p / CVE-2023-32682 — Low Severity
|
||||
* GHSA-98px-6486-j7qc / CVE-2023-32683 — Low Severity
|
||||
* Fix a performance issue introduced in Synapse v1.83.0 which meant that purging rooms was very slow and database-intensive. (#15693)
|
||||
* Improve performance of backfill requests by performing backfill of previously failed requests in the background. (#15585)
|
||||
* Add a new admin API to create a new device for a user. (#15611)
|
||||
|
||||
[1.68.1]
|
||||
* Update Synapse to 1.85.1
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.85.1)
|
||||
* Fix bug in schema delta that broke upgrades for some deployments. Introduced in v1.85.0. (#15738, #15739)
|
||||
|
||||
[1.68.2]
|
||||
* Update Synapse to 1.85.2
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.85.2)
|
||||
* Fix regression where using TLS for HTTP replication between workers did not work. Introduced in v1.85.0. (#15746)
|
||||
|
||||
[1.69.0]
|
||||
* Update Synapse to 1.86.0
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.86.0)
|
||||
* Fix an error when having workers of different versions running. (#15774)
|
||||
* Stable support for MSC3882 to allow an existing device/session to generate a login token for use on a new device/session. (#15388)
|
||||
* Support resolving a room's canonical alias via the module API. (#15450)
|
||||
* Enable support for MSC3952: intentional mentions. (#15520)
|
||||
* Experimental MSC3861 support: delegate auth to an OIDC provider. (#15582)
|
||||
* Add Synapse version deploy annotations to Grafana dashboard which enables easy correlation between behavior changes witnessed in a graph to a certain Synapse version and nail down regressions. (#15674)
|
||||
* Add a catch-all * to the supported relation types when redacting an event and its related events. This is an update to MSC3912 implementation. (#15705)
|
||||
* Speed up /messages by backfilling in the background when there are no backward extremities where we are directly paginating. (#15710)
|
||||
* Expose a metric reporting the database background update status. (#15740)
|
||||
* Correctly clear caches when we delete a room. (#15609)
|
||||
* Check permissions for enabling encryption earlier during room creation to avoid creating broken rooms. (#15695)
|
||||
|
||||
[1.70.0]
|
||||
* Update Synapse to 1.87.0
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.87.0)
|
||||
* Improve /messages response time by avoiding backfill when we already have messages to return. (#15737)
|
||||
* Add spam checker module API for logins. (#15838)
|
||||
* Fix a long-standing bug where media files were served in an unsafe manner. Contributed by @joshqou. (#15680)
|
||||
* Avoid invalidating a cache that was just prefilled. (#15758)
|
||||
* Fix requesting multiple keys at once over federation, related to MSC3983. (#15770)
|
||||
* Fix joining rooms through aliases where the alias server isn't a real homeserver. Contributed by @tulir @ Beeper. (#15776)
|
||||
|
||||
[1.70.1]
|
||||
* Add workaround for broken thumbnailing
|
||||
* Update s3 storage provider
|
||||
|
||||
[1.71.0]
|
||||
* Update Synapse to 1.88.0
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.88.0)
|
||||
* Add not_user_type param to the list accounts admin API. (#15844)
|
||||
* Pin pydantic to ^=1.7.4 to avoid backwards-incompatible API changes from the 2.0.0 release.
|
||||
* Contributed by @PaarthShah. (#15862)
|
||||
* Correctly resize thumbnails with pillow version >=10. (#15876)
|
||||
|
||||
[1.72.0]
|
||||
* Update Synapse to 1.89.0
|
||||
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.89.0)
|
||||
* Add Unix Socket support for HTTP Replication Listeners. Document and provide usage instructions for utilizing Unix sockets in Synapse. Contributed by Jason Little. (#15708, #15924)
|
||||
* Allow + in Matrix IDs, per MSC4009. (#15911)
|
||||
* Support room version 11 from MSC3820. (#15912)
|
||||
* Allow configuring the set of workers to proxy outbound federation traffic through via outbound_federation_restricted_to. (#15913, #15969)
|
||||
* Implement MSC3814, dehydrated devices v2/shrivelled sessions and move MSC2697 behind a config flag. Contributed by Nico from Famedly, H-Shay and poljar. (#15929)
|
||||
* Fix a long-standing bug where remote invites weren't correctly pushed. (#15820)
|
||||
* Fix background schema updates failing over a large upgrade gap. (#15887)
|
||||
* Fix a bug introduced in 1.86.0 where Synapse starting with an empty experimental_features configuration setting. (#15925)
|
||||
* Fixed deploy annotations in the provided Grafana dashboard config, so that it shows for any homeserver and not just matrix.org. Contributed by @wrjlewis. (#15957)
|
||||
* Ensure a long state res does not starve CPU by occasionally yielding to the reactor. (#15960)
|
||||
* Properly handle redactions of creation events. (#15973)
|
||||
* Fix a bug where resyncing stale device lists could block responding to federation transactions, and thus delay receiving new data from the remote server. (#15975)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG.md",
|
||||
"tagline": "Secure & decentralized communication",
|
||||
"version": "1.67.0",
|
||||
"upstreamVersion": "1.84.0",
|
||||
"version": "1.72.0",
|
||||
"upstreamVersion": "1.89.0",
|
||||
"healthCheckPath": "/",
|
||||
"httpPort": 8008,
|
||||
"memoryLimit": 536870912,
|
||||
|
||||
@@ -9,16 +9,19 @@ RUN virtualenv -p python3 /app/code/env
|
||||
ENV VIRTUAL_ENV=/app/code/env
|
||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
|
||||
ARG VERSION=v1.84.0
|
||||
ARG VERSION=1.89.0
|
||||
|
||||
# https://github.com/matrix-org/synapse-s3-storage-provider
|
||||
ARG STORAGE_PROVIDER_VERSION=fa27fa1a92bcbeb42b10399641348bee0ddf2c72
|
||||
ARG STORAGE_PROVIDER_VERSION=1beb6af95e1f5caedb8e6e7e1cc176cdb2106d37
|
||||
|
||||
# Synapse (https://github.com/matrix-org/synapse/blob/master/INSTALL.md)
|
||||
# lxml - required for previews
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install --upgrade setuptools && \
|
||||
pip install matrix-synapse==${VERSION} psycopg2-binary python-ldap matrix-synapse-ldap3 lxml publicsuffix2 git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${STORAGE_PROVIDER_VERSION} matrix-synapse[oidc]
|
||||
pip install matrix-synapse==v${VERSION} psycopg2-binary python-ldap matrix-synapse-ldap3 lxml publicsuffix2 git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${STORAGE_PROVIDER_VERSION} matrix-synapse[oidc]
|
||||
|
||||
# workaround (https://github.com/matrix-org/synapse/issues/15873) . remove after 1.87.0
|
||||
RUN sed -e "s/Image.ANTIALIAS/Image.LANCZOS/" -i /app/code/env/lib/python3.10/site-packages/synapse/media/thumbnailer.py
|
||||
|
||||
RUN ln -sf /app/data/index.html /app/code/env/lib/python3.10/site-packages/synapse/static/index.html
|
||||
|
||||
|
||||
60
test/package-lock.json
generated
60
test/package-lock.json
generated
@@ -9,10 +9,10 @@
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^113.0.0",
|
||||
"chromedriver": "^115.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.2.0",
|
||||
"selenium-webdriver": "^4.9.1",
|
||||
"selenium-webdriver": "^4.11.1",
|
||||
"superagent": "^8.0.9"
|
||||
}
|
||||
},
|
||||
@@ -105,9 +105,9 @@
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"node_modules/axios": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.2.tgz",
|
||||
"integrity": "sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==",
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
|
||||
"integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
|
||||
"dependencies": {
|
||||
"follow-redirects": "^1.15.0",
|
||||
"form-data": "^4.0.0",
|
||||
@@ -236,14 +236,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/chromedriver": {
|
||||
"version": "113.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-113.0.0.tgz",
|
||||
"integrity": "sha512-UnQlt2kPicYXVNHPzy9HfcWvEbKJjjKAEaatdcnP/lCIRwuSoZFVLH0HVDAGdbraXp3dNVhfE2Qx7gw8TnHnPw==",
|
||||
"version": "115.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-115.0.0.tgz",
|
||||
"integrity": "sha512-mkPL+sXMLMUenoXCiKREw+cBl3ibfhiWxkiv9ByIPpqtrrInCt9zKdOolAsbmN/ndlH51WtT5ukUKbeRdrpikg==",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@testim/chrome-version": "^1.1.3",
|
||||
"axios": "^1.2.1",
|
||||
"compare-versions": "^5.0.1",
|
||||
"axios": "^1.4.0",
|
||||
"compare-versions": "^6.0.0",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
@@ -294,9 +294,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/compare-versions": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-5.0.1.tgz",
|
||||
"integrity": "sha512-v8Au3l0b+Nwkp4G142JcgJFh1/TUhdxut7wzD1Nq1dyp5oa3tXaqb03EXOAB6jS4gMlalkjAUPZBMiAfKUixHQ=="
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.0.0.tgz",
|
||||
"integrity": "sha512-s2MzYxfRsE9f/ow8hjn7ysa7pod1xhHdQMsgiJtKx6XSNf4x2N1KG4fjrkUmXcP/e9Y2ZX4zB6sHIso0Lm6evQ=="
|
||||
},
|
||||
"node_modules/component-emitter": {
|
||||
"version": "1.3.0",
|
||||
@@ -1166,9 +1166,9 @@
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"node_modules/selenium-webdriver": {
|
||||
"version": "4.9.1",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.9.1.tgz",
|
||||
"integrity": "sha512-6OBMaSXwn3/vzQJkfYpAjGaYAA+otsE7zu0omz74HQ9XBuAMUImdVS6hKXlB2G3Bt9WIuVfK0F4V8oye8JRc3Q==",
|
||||
"version": "4.11.1",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.11.1.tgz",
|
||||
"integrity": "sha512-bvrnr3UZlLScErOmn8gV6cqc+1PYDHn0575CxUR2U14fMWt7OKxSy0lAThhZq4sq4d1HqP8ebz11oiHSlAQ2WA==",
|
||||
"dependencies": {
|
||||
"jszip": "^3.10.1",
|
||||
"tmp": "^0.2.1",
|
||||
@@ -1538,9 +1538,9 @@
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"axios": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.2.tgz",
|
||||
"integrity": "sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==",
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
|
||||
"integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
|
||||
"requires": {
|
||||
"follow-redirects": "^1.15.0",
|
||||
"form-data": "^4.0.0",
|
||||
@@ -1633,13 +1633,13 @@
|
||||
}
|
||||
},
|
||||
"chromedriver": {
|
||||
"version": "113.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-113.0.0.tgz",
|
||||
"integrity": "sha512-UnQlt2kPicYXVNHPzy9HfcWvEbKJjjKAEaatdcnP/lCIRwuSoZFVLH0HVDAGdbraXp3dNVhfE2Qx7gw8TnHnPw==",
|
||||
"version": "115.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-115.0.0.tgz",
|
||||
"integrity": "sha512-mkPL+sXMLMUenoXCiKREw+cBl3ibfhiWxkiv9ByIPpqtrrInCt9zKdOolAsbmN/ndlH51WtT5ukUKbeRdrpikg==",
|
||||
"requires": {
|
||||
"@testim/chrome-version": "^1.1.3",
|
||||
"axios": "^1.2.1",
|
||||
"compare-versions": "^5.0.1",
|
||||
"axios": "^1.4.0",
|
||||
"compare-versions": "^6.0.0",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
@@ -1678,9 +1678,9 @@
|
||||
}
|
||||
},
|
||||
"compare-versions": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-5.0.1.tgz",
|
||||
"integrity": "sha512-v8Au3l0b+Nwkp4G142JcgJFh1/TUhdxut7wzD1Nq1dyp5oa3tXaqb03EXOAB6jS4gMlalkjAUPZBMiAfKUixHQ=="
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.0.0.tgz",
|
||||
"integrity": "sha512-s2MzYxfRsE9f/ow8hjn7ysa7pod1xhHdQMsgiJtKx6XSNf4x2N1KG4fjrkUmXcP/e9Y2ZX4zB6sHIso0Lm6evQ=="
|
||||
},
|
||||
"component-emitter": {
|
||||
"version": "1.3.0",
|
||||
@@ -2300,9 +2300,9 @@
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"selenium-webdriver": {
|
||||
"version": "4.9.1",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.9.1.tgz",
|
||||
"integrity": "sha512-6OBMaSXwn3/vzQJkfYpAjGaYAA+otsE7zu0omz74HQ9XBuAMUImdVS6hKXlB2G3Bt9WIuVfK0F4V8oye8JRc3Q==",
|
||||
"version": "4.11.1",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.11.1.tgz",
|
||||
"integrity": "sha512-bvrnr3UZlLScErOmn8gV6cqc+1PYDHn0575CxUR2U14fMWt7OKxSy0lAThhZq4sq4d1HqP8ebz11oiHSlAQ2WA==",
|
||||
"requires": {
|
||||
"jszip": "^3.10.1",
|
||||
"tmp": "^0.2.1",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^113.0.0",
|
||||
"chromedriver": "^115.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.2.0",
|
||||
"selenium-webdriver": "^4.9.1",
|
||||
"selenium-webdriver": "^4.11.1",
|
||||
"superagent": "^8.0.9"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user