@mcp-abap-adt/connection 18.0.1 → 19.0.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 +14 -0
- package/README.md +6 -1
- package/docs/MIGRATION-19.0.md +38 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [19.0.0] - 2026-10-22
|
|
11
|
+
|
|
12
|
+
### Changed (breaking)
|
|
13
|
+
|
|
14
|
+
- **`@mcp-abap-adt/sap-rfc-lite` `^0.3.2`** (optional dependency, was `^0.2.2`). 0.3 installs with
|
|
15
|
+
no install script — `npm install` and `npm ci` compile nothing — and loads its prebuilt binding
|
|
16
|
+
for linux-x64 (glibc), win32-x64 and darwin-arm64. **On any other platform** (linux-arm64,
|
|
17
|
+
darwin-x64, Alpine, …) installing no longer compiles the binding: the install succeeds and the
|
|
18
|
+
RFC wire fails when it loads sap-rfc-lite, until a binding built from sap-rfc-lite's repository
|
|
19
|
+
is installed. At run time the RFC library is SAP GUI's 64-bit `sapnwrfc.dll` on Windows where
|
|
20
|
+
installed, otherwise the SAP NW RFC SDK. The connection's API and the RFC wire's behaviour are
|
|
21
|
+
unchanged. See [Migration to 19.0.0](./docs/MIGRATION-19.0.md); README, "RFC", says so.
|
|
22
|
+
|
|
10
23
|
## [18.0.1] - 2026-10-20
|
|
11
24
|
|
|
12
25
|
### Fixed
|
|
@@ -2690,6 +2703,7 @@ const connection = createAbapConnection(config, logger);
|
|
|
2690
2703
|
- Permission errors (403 with "ExceptionResourceNoAccess") no longer trigger JWT refresh loops
|
|
2691
2704
|
- Proper separation: base class handles HTTP/session, concrete classes handle auth-specific errors
|
|
2692
2705
|
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v18.0.1...HEAD
|
|
2706
|
+
[19.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v18.0.1...v19.0.0
|
|
2693
2707
|
[18.0.1]: https://github.com/fr0ster/mcp-abap-connection/compare/v18.0.0...v18.0.1
|
|
2694
2708
|
[18.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v17.1.0...v18.0.0
|
|
2695
2709
|
[17.1.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v17.0.0...v17.1.0
|
package/README.md
CHANGED
|
@@ -161,6 +161,7 @@ the packages above. See [Migration to 9.0.0](./docs/MIGRATION-9.0.md).
|
|
|
161
161
|
|
|
162
162
|
- 📦 **[Installation Guide](./docs/INSTALLATION.md)** - Setup and installation instructions
|
|
163
163
|
- 📚 **[Usage Guide](./docs/USAGE.md)** - Detailed usage examples and API documentation
|
|
164
|
+
- 🚚 **[Migration to 19.0.0](./docs/MIGRATION-19.0.md)** - `@mcp-abap-adt/sap-rfc-lite` ^0.3.2: no compile on install; prebuilt RFC bindings for linux-x64, win32-x64, darwin-arm64; elsewhere build sap-rfc-lite's binding from its repository; the API is unchanged
|
|
164
165
|
- 🚚 **[Migration to 18.0.0](./docs/MIGRATION-18.0.md)** - `rfcParamsFrom` returns `RfcAddress` (application server or message server): narrow before reading `.ashost` / `.sysnr`; RFC through a message server and a logon group (`mshost`, `msserv` | `sysid`, `group`, `saprouter`)
|
|
165
166
|
- 🚚 **[Migration to 17.0.0](./docs/MIGRATION-17.0.md)** - no deadline of the package's own: `getTimeout`, `getTimeoutConfig` and `SAP_TIMEOUT_*` are gone, and a request inside a critical section carries none at all; an instance can be built on an existing session (`session`, `sessionCookies()`)
|
|
166
167
|
- 🚚 **[Migration to 16.0.0](./docs/MIGRATION-16.0.md)** - the per-request `signal` (15.1.0) and `ADT_REQUEST_ABORTED` are removed; `disconnect()` resolves once the logoff is written, not answered — a process about to exit awaits it; `flushGoodbye()` when the answer matters
|
|
@@ -453,7 +454,11 @@ package state from causing PAK/058 on later writes or SADT_RESOURCE/007 on a
|
|
|
453
454
|
read after create. Concurrent calls use a separate conversation. See
|
|
454
455
|
[RFC conversation isolation](./docs/STATEFUL_SESSION_GUIDE.md#rfc-conversation-isolation-932-and-933).
|
|
455
456
|
|
|
456
|
-
Needs
|
|
457
|
+
Needs `npm install @mcp-abap-adt/sap-rfc-lite` (0.3.2 or newer: it installs with no install
|
|
458
|
+
script and carries prebuilt bindings for linux-x64 glibc, win32-x64 and darwin-arm64; elsewhere,
|
|
459
|
+
build one from its repository) and the SAP NetWeaver RFC library at run time: on Windows, the
|
|
460
|
+
64-bit `sapnwrfc.dll` SAP GUI installs into `System32` is enough; otherwise the SAP NW RFC SDK, its
|
|
461
|
+
`lib` directory on the library search path (see sap-rfc-lite's README, "Runtime library loading").
|
|
457
462
|
|
|
458
463
|
```typescript
|
|
459
464
|
import {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Migration to 19.0
|
|
2
|
+
|
|
3
|
+
19.0.0 moves the optional RFC dependency `@mcp-abap-adt/sap-rfc-lite` from `^0.2.2` to `^0.3.2`.
|
|
4
|
+
The connection's API and the RFC wire's behaviour are unchanged; what changes is how the RFC
|
|
5
|
+
binding gets onto a machine.
|
|
6
|
+
|
|
7
|
+
## What changed
|
|
8
|
+
|
|
9
|
+
- **sap-rfc-lite compiles nothing on install.** 0.2.x compiled its native binding during
|
|
10
|
+
`npm install` (with the SAP NW RFC SDK and a C++ toolchain). 0.3.x has no install script —
|
|
11
|
+
`npm install` and `npm ci` run nothing — and loads a prebuilt binding at run time.
|
|
12
|
+
- **Prebuilt bindings exist for linux-x64 (glibc), win32-x64 and darwin-arm64.** On these, an
|
|
13
|
+
install needs no SDK headers and no compiler.
|
|
14
|
+
- **Anywhere else there is no binding after install** — linux-arm64, darwin-x64, Linux with musl
|
|
15
|
+
(Alpine), and any other platform. The install succeeds (the dependency is optional), and the RFC
|
|
16
|
+
wire fails when `rfcConversationFrom` loads sap-rfc-lite.
|
|
17
|
+
- **The RFC library at run time:** on Windows, the 64-bit `sapnwrfc.dll` SAP GUI installs into
|
|
18
|
+
`System32` is enough; otherwise the SAP NW RFC SDK, its `lib` directory on the library search
|
|
19
|
+
path.
|
|
20
|
+
- sap-rfc-lite 0.3 needs Node.js 20 or newer; this package already needs 22.
|
|
21
|
+
|
|
22
|
+
## What to do
|
|
23
|
+
|
|
24
|
+
- **On linux-x64 (glibc), win32-x64 or darwin-arm64:** nothing. If you built with
|
|
25
|
+
`SAPNWRFC_HOME` only for the install, it is no longer needed then; keep the SDK libraries
|
|
26
|
+
loadable at run time (or SAP GUI's on Windows).
|
|
27
|
+
- **On any other platform**, build sap-rfc-lite's binding from its repository and install the
|
|
28
|
+
package you built (sap-rfc-lite's README, "Installation"):
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
git clone https://github.com/fr0ster/sap-rfc-lite.git && cd sap-rfc-lite
|
|
32
|
+
git checkout v0.3.2
|
|
33
|
+
npm ci
|
|
34
|
+
npm run prebuild:native # needs SAPNWRFC_HOME and a C++ toolchain
|
|
35
|
+
npm pack # install the .tgz in your project
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
- **HTTP only:** nothing; sap-rfc-lite is loaded only by the RFC wire.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/connection",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "ABAP connection layer for MCP ABAP ADT server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"axios": "^1.16.0"
|
|
60
60
|
},
|
|
61
61
|
"optionalDependencies": {
|
|
62
|
-
"@mcp-abap-adt/sap-rfc-lite": "^0.
|
|
62
|
+
"@mcp-abap-adt/sap-rfc-lite": "^0.3.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@biomejs/biome": "^2.3.14",
|