Skip to content

Commit 1b4d5ed

Browse files
committed
Merge tag 'v19.2.0' into sc
* Remove unstable support for `m.room_key.withheld` ([\matrix-org#2512](matrix-org#2512)). Fixes matrix-org#2233. * Sliding sync: add missing filters from latest MSC ([\matrix-org#2555](matrix-org#2555)). * Use stable prefixes for MSC3827 ([\matrix-org#2537](matrix-org#2537)). * Add support for MSC3575: Sliding Sync ([\matrix-org#2242](matrix-org#2242)). * Correct the units in TURN servers expiry documentation ([\matrix-org#2520](matrix-org#2520)). * Re-insert room IDs when decrypting bundled redaction events returned by `/sync` ([\matrix-org#2531](matrix-org#2531)). Contributed by @duxovni.
2 parents d0951b8 + aac0023 commit 1b4d5ed

25 files changed

+5594
-2417
lines changed

.github/workflows/static_analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: "Typescript Syntax Check"
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- uses: actions/setup-node@v3
1717
with:
@@ -27,7 +27,7 @@ jobs:
2727
name: "ESLint"
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3131

3232
- uses: actions/setup-node@v3
3333
with:
@@ -43,7 +43,7 @@ jobs:
4343
name: "JSDoc Checker"
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v3
4747

4848
- uses: actions/setup-node@v3
4949
with:

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
Changes in [19.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.2.0) (2022-08-02)
2+
==================================================================================================
3+
4+
## 🦖 Deprecations
5+
* Remove unstable support for `m.room_key.withheld` ([\#2512](https://github.com/matrix-org/matrix-js-sdk/pull/2512)). Fixes #2233.
6+
7+
## ✨ Features
8+
* Sliding sync: add missing filters from latest MSC ([\#2555](https://github.com/matrix-org/matrix-js-sdk/pull/2555)).
9+
* Use stable prefixes for MSC3827 ([\#2537](https://github.com/matrix-org/matrix-js-sdk/pull/2537)).
10+
* Add support for MSC3575: Sliding Sync ([\#2242](https://github.com/matrix-org/matrix-js-sdk/pull/2242)).
11+
12+
## 🐛 Bug Fixes
13+
* Correct the units in TURN servers expiry documentation ([\#2520](https://github.com/matrix-org/matrix-js-sdk/pull/2520)).
14+
* Re-insert room IDs when decrypting bundled redaction events returned by `/sync` ([\#2531](https://github.com/matrix-org/matrix-js-sdk/pull/2531)). Contributed by @duxovni.
15+
116
Changes in [19.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.1.0) (2022-07-26)
217
==================================================================================================
318

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-js-sdk",
3-
"version": "19.1.0",
3+
"version": "19.2.0",
44
"description": "Matrix Client-Server SDK for Javascript",
55
"engines": {
66
"node": ">=12.9.0"
@@ -56,11 +56,11 @@
5656
"@babel/runtime": "^7.12.5",
5757
"another-json": "^0.2.0",
5858
"browser-request": "^0.3.3",
59-
"bs58": "^4.0.1",
59+
"bs58": "^5.0.0",
6060
"content-type": "^1.0.4",
6161
"loglevel": "^1.7.1",
6262
"matrix-events-sdk": "^0.0.1-beta.7",
63-
"p-retry": "^4.5.0",
63+
"p-retry": "4",
6464
"qs": "^6.9.6",
6565
"request": "^2.88.2",
6666
"unhomoglyph": "^1.0.6"
@@ -78,11 +78,11 @@
7878
"@babel/preset-env": "^7.12.11",
7979
"@babel/preset-typescript": "^7.12.7",
8080
"@babel/register": "^7.12.10",
81-
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.8.tgz",
81+
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.12.tgz",
8282
"@types/bs58": "^4.0.1",
8383
"@types/content-type": "^1.1.5",
8484
"@types/jest": "^28.0.0",
85-
"@types/node": "12",
85+
"@types/node": "16",
8686
"@types/request": "^2.48.5",
8787
"@typescript-eslint/eslint-plugin": "^5.6.0",
8888
"@typescript-eslint/parser": "^5.6.0",
@@ -92,17 +92,17 @@
9292
"better-docs": "^2.4.0-beta.9",
9393
"browserify": "^17.0.0",
9494
"docdash": "^1.2.0",
95-
"eslint": "8.18.0",
95+
"eslint": "8.19.0",
9696
"eslint-config-google": "^0.14.0",
9797
"eslint-plugin-import": "^2.25.4",
9898
"eslint-plugin-matrix-org": "^0.5.0",
99-
"exorcist": "^1.0.1",
100-
"fake-indexeddb": "^3.1.2",
99+
"exorcist": "^2.0.0",
100+
"fake-indexeddb": "^4.0.0",
101101
"jest": "^28.0.0",
102102
"jest-localstorage-mock": "^2.4.6",
103103
"jest-sonar-reporter": "^2.0.0",
104104
"jsdoc": "^3.6.6",
105-
"matrix-mock-request": "^2.0.1",
105+
"matrix-mock-request": "^2.1.0",
106106
"rimraf": "^3.0.2",
107107
"terser": "^5.5.1",
108108
"tsify": "^5.0.2",

release.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ if [ $prerelease -eq 1 ]; then
123123
echo Making a PRE-RELEASE
124124
fi
125125

126-
# we might already be on the release branch, in which case, yay
127-
# If we're on any branch starting with 'release', we don't create
128-
# a separate release branch (this allows us to use the same
126+
# We might already be on the release branch, in which case, yay
127+
# If we're on any branch starting with 'release', or the staging branch
128+
# we don't create a separate release branch (this allows us to use the same
129129
# release branch for releases and release candidates).
130130
curbranch=$(git symbolic-ref --short HEAD)
131-
if [[ "$curbranch" != release* ]]; then
131+
if [[ "$curbranch" != release* && "$curbranch" != "staging" ]]; then
132132
echo "Creating release branch"
133133
git checkout -b "$rel_branch"
134134
else

spec/TestClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ import { IKeysUploadResponse, IUploadKeysRequest } from '../src/client';
3939
export class TestClient {
4040
public readonly httpBackend: MockHttpBackend;
4141
public readonly client: MatrixClient;
42-
private deviceKeys: IDeviceKeys;
43-
private oneTimeKeys: Record<string, IOneTimeKey>;
42+
public deviceKeys: IDeviceKeys;
43+
public oneTimeKeys: Record<string, IOneTimeKey>;
4444

4545
constructor(
4646
public readonly userId?: string,

0 commit comments

Comments
 (0)