@theokit/gateway-line 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. 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-line",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "LINE Messaging API platform adapter for @theokit/gateway. ADRs D405-D412.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -35,7 +35,7 @@
35
35
  "CHANGELOG.md"
36
36
  ],
37
37
  "peerDependencies": {
38
- "@line/bot-sdk": "^9.0.0",
38
+ "@line/bot-sdk": "^9.0.0 || ^11.0.0",
39
39
  "@theokit/gateway": ">=0.9.0 <1.0.0",
40
40
  "express": "^4.18.0 || ^5.0.0"
41
41
  },
@@ -48,6 +48,7 @@
48
48
  }
49
49
  },
50
50
  "devDependencies": {
51
+ "@line/bot-sdk": "^11.2.0",
51
52
  "@stryker-mutator/core": "10",
52
53
  "@stryker-mutator/vitest-runner": "10",
53
54
  "@theokit/sdk": "^4.62.0",