@mcp-abap-adt/connection 9.3.3 → 9.3.4
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 +13 -1
- package/README.md +1 -1
- package/docs/STATEFUL_SESSION_GUIDE.md +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [9.3.4] - 2026-09-27
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Release the RFC context reset under an available package version.** npm
|
|
15
|
+
already contained version `9.3.3`, so this release carries the RFC stateless
|
|
16
|
+
context reset as `9.3.4`. With `sap-rfc-lite` 0.2.0, stateless calls reuse a
|
|
17
|
+
conversation and reset its server context after each call; older clients
|
|
18
|
+
continue to open a conversation per call. See the `9.3.3` entry below for
|
|
19
|
+
measured behavior and performance.
|
|
20
|
+
|
|
10
21
|
## [9.3.3] - 2026-09-27
|
|
11
22
|
|
|
12
23
|
### Changed
|
|
@@ -1872,7 +1883,8 @@ const connection = createAbapConnection(config, logger);
|
|
|
1872
1883
|
- JWT token refresh now properly handles connection errors (401/403 during initial connect)
|
|
1873
1884
|
- Permission errors (403 with "ExceptionResourceNoAccess") no longer trigger JWT refresh loops
|
|
1874
1885
|
- Proper separation: base class handles HTTP/session, concrete classes handle auth-specific errors
|
|
1875
|
-
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.
|
|
1886
|
+
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.4...HEAD
|
|
1887
|
+
[9.3.4]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.3...v9.3.4
|
|
1876
1888
|
[9.3.3]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.2...v9.3.3
|
|
1877
1889
|
[9.3.2]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.1...v9.3.2
|
|
1878
1890
|
[9.3.1]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.0...v9.3.1
|
package/README.md
CHANGED
|
@@ -298,7 +298,7 @@ conversation; stateless requests use a separate ABAP context. With
|
|
|
298
298
|
conversation; older clients open one conversation per call. This prevents stale
|
|
299
299
|
package state from causing PAK/058 on later writes or SADT_RESOURCE/007 on a
|
|
300
300
|
read after create. Concurrent calls use a separate conversation. See
|
|
301
|
-
[RFC conversation isolation](./docs/STATEFUL_SESSION_GUIDE.md#rfc-conversation-isolation-933).
|
|
301
|
+
[RFC conversation isolation](./docs/STATEFUL_SESSION_GUIDE.md#rfc-conversation-isolation-932-and-933).
|
|
302
302
|
|
|
303
303
|
Needs the SAP NW RFC SDK on the machine and `npm install @mcp-abap-adt/sap-rfc-lite`.
|
|
304
304
|
|
|
@@ -49,7 +49,7 @@ The filter also applies to cookies supplied in request headers and retries.
|
|
|
49
49
|
| --- | --- |
|
|
50
50
|
| HTTP (on-prem / cloud) | Sends `x-sap-adt-sessiontype: stateful` and the context cookie, when held |
|
|
51
51
|
| Legacy on-prem HTTP | Keeps the context cookie but omits the session-type header |
|
|
52
|
-
| RFC | Uses the persistent conversation for stateful requests; since 9.3.
|
|
52
|
+
| RFC | Uses the persistent conversation for stateful requests; since 9.3.4 resets a kept stateless conversation between calls when supported |
|
|
53
53
|
|
|
54
54
|
A caller-supplied stateful header is also recognized, including by the legacy
|
|
55
55
|
HTTP transport before it removes that header. Custom `IAdtTransport`
|
|
@@ -57,10 +57,10 @@ implementations must read `request.stateful`; the connection no longer adds
|
|
|
57
57
|
`x-sap-adt-sessiontype` itself. The cookie fix was verified on E19 and E98;
|
|
58
58
|
BASIS 7.40 and ABAP Cloud were not integration-tested for this change.
|
|
59
59
|
|
|
60
|
-
## RFC conversation isolation (9.3.2
|
|
60
|
+
## RFC conversation isolation (9.3.2–9.3.4)
|
|
61
61
|
|
|
62
62
|
Stateful requests, including LOCK and UNLOCK, share the conversation opened
|
|
63
|
-
by `connect()`. Since 9.3.
|
|
63
|
+
by `connect()`. Since 9.3.4, `sap-rfc-lite` 0.2.0 and newer let stateless calls
|
|
64
64
|
reuse a second conversation: the transport resets its ABAP server context after
|
|
65
65
|
each call, keeping the RFC logon open. With older clients (0.1.x), or when a
|
|
66
66
|
resettable conversation is busy, each stateless call gets a separate temporary
|