@theokit/gateway-matrix 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a2fb95e: Widen the platform SDK peer ranges, each major verified against the real platform.
|
|
8
|
+
|
|
9
|
+
`gateway-matrix` accepts `matrix-js-sdk ^32.0.0 || ^42.0.0`, and `gateway-line` accepts
|
|
10
|
+
`@line/bot-sdk ^9.0.0 || ^11.0.0`.
|
|
11
|
+
|
|
12
|
+
For Matrix this is a security fix for consumers rather than a convenience. The old `^32.0.0`
|
|
13
|
+
floor could not reach any version carrying the five advisories' fixes — including a HIGH, where
|
|
14
|
+
key history sharing could share keys to malicious devices, fixed in `>=34.8.0`. A consumer could
|
|
15
|
+
not patch it alone: raising their own dependency put them outside the range this package
|
|
16
|
+
declared.
|
|
17
|
+
|
|
18
|
+
Both majors of both ranges were exercised against the real platform, not only typechecked. The
|
|
19
|
+
Matrix live contracts pass 7/7 against a Synapse homeserver at 32.4.0 and at 42.2.0, with
|
|
20
|
+
per-test timings within 5ms of each other; the LINE live contracts pass 6/6 against the real
|
|
21
|
+
LINE API at 9.9.0 and at 11.2.0.
|
|
22
|
+
|
|
23
|
+
Each package now declares the SDK as an explicit devDependency. Until now neither did, so what
|
|
24
|
+
their suite ran against was whatever pnpm's peer auto-install happened to pick — the test target
|
|
25
|
+
was an accident rather than a decision.
|
|
26
|
+
|
|
3
27
|
## 0.2.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theokit/gateway-matrix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Matrix protocol platform adapter for @theokit/gateway. ADRs D413-D421.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@theokit/gateway": ">=0.9.0 <1.0.0",
|
|
39
|
-
"matrix-js-sdk": "^32.0.0"
|
|
39
|
+
"matrix-js-sdk": "^32.0.0 || ^42.0.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependenciesMeta": {
|
|
42
42
|
"matrix-js-sdk": {
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@stryker-mutator/core": "10",
|
|
48
48
|
"@stryker-mutator/vitest-runner": "10",
|
|
49
49
|
"@theokit/sdk": "^4.62.0",
|
|
50
|
+
"matrix-js-sdk": "^42.2.0",
|
|
50
51
|
"tsup": "^8.5.0",
|
|
51
52
|
"typescript": "5.9.3",
|
|
52
53
|
"vitest": "^4.1.11",
|