@mcp-abap-adt/connection 14.0.0 → 14.0.1
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 +2 -2
- package/docs/INDEX.md +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/MIGRATION-12.0.md +1 -1
- package/docs/USAGE.md +1 -1
- package/examples/README.md +1 -1
- package/package.json +5 -4
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
|
+
## [14.0.1] - 2026-10-09
|
|
11
|
+
|
|
12
|
+
Documentation and development only; the code is the same as 14.0.0.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Docs (README, INSTALLATION, USAGE, INDEX, the examples, the 12.0 migration):
|
|
16
|
+
connection 13.x and 14.x both work with auth-providers 6.0.0.
|
|
17
|
+
- Development: the auth error contract's shape check runs as a Jest test from
|
|
18
|
+
`@mcp-abap-adt/auth-errors` 2.2.0 (`test:shape` in `prepublishOnly`); the
|
|
19
|
+
copied script is gone and `lint:check` is Biome alone.
|
|
20
|
+
|
|
10
21
|
## [14.0.0] - 2026-10-08
|
|
11
22
|
|
|
12
23
|
### Breaking
|
|
@@ -2337,7 +2348,8 @@ const connection = createAbapConnection(config, logger);
|
|
|
2337
2348
|
- JWT token refresh now properly handles connection errors (401/403 during initial connect)
|
|
2338
2349
|
- Permission errors (403 with "ExceptionResourceNoAccess") no longer trigger JWT refresh loops
|
|
2339
2350
|
- Proper separation: base class handles HTTP/session, concrete classes handle auth-specific errors
|
|
2340
|
-
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v14.0.
|
|
2351
|
+
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v14.0.1...HEAD
|
|
2352
|
+
[14.0.1]: https://github.com/fr0ster/mcp-abap-connection/compare/v14.0.0...v14.0.1
|
|
2341
2353
|
[14.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v13.0.0...v14.0.0
|
|
2342
2354
|
[13.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v12.0.0...v13.0.0
|
|
2343
2355
|
[12.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v11.0.1...v12.0.0
|
package/README.md
CHANGED
|
@@ -209,8 +209,8 @@ since 10.0.0. Install them from where they live:
|
|
|
209
209
|
npm install @mcp-abap-adt/auth-providers@^6
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
connection 13.x
|
|
213
|
-
built on interfaces-auth 7 and auth-errors 2, and
|
|
212
|
+
connection 13.x and 14.x work with **auth-providers 6.0.0** (`^6.0.0`), the release
|
|
213
|
+
built on interfaces-auth 7 and auth-errors 2, and are tested with it: the 5.x
|
|
214
214
|
providers answer unbranded refusals and do not fit. See
|
|
215
215
|
[Migration to 13.0.0](./docs/MIGRATION-13.0.md) and
|
|
216
216
|
[Migration to 12.0.0](./docs/MIGRATION-12.0.md).
|
package/docs/INDEX.md
CHANGED
|
@@ -83,7 +83,7 @@ mcp-abap-connection/
|
|
|
83
83
|
- **Connection Interface**: [USAGE.md - API Reference](./USAGE.md#api-reference)
|
|
84
84
|
- **Configuration Types**: [USAGE.md - Configuration Types](./USAGE.md#configuration-types)
|
|
85
85
|
- **Connectors**: `AdtOnPremConnector`, `AdtCloudConnector`
|
|
86
|
-
- **Credentials**: an `IAuthProvider` (`@mcp-abap-adt/interfaces-auth`); the ready-made providers live in `@mcp-abap-adt/auth-providers` (6.0.0 with connection 13.x)
|
|
86
|
+
- **Credentials**: an `IAuthProvider` (`@mcp-abap-adt/interfaces-auth`); the ready-made providers live in `@mcp-abap-adt/auth-providers` (6.0.0 with connection 13.x and 14.x)
|
|
87
87
|
- **Errors**: `AuthRefusedError` (its `refusal` an `IAuthProviderError` minted by `@mcp-abap-adt/auth-errors`), `WireLogonError`
|
|
88
88
|
- **Transports**: `HttpTransport`, `RfcTransport` (+ `rfcConversationFrom()`)
|
|
89
89
|
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -189,7 +189,7 @@ puts two copies of the same contract in your tree.
|
|
|
189
189
|
The credential providers (`BasicAuthProvider`, `TokenAuthProvider`,
|
|
190
190
|
`SamlAuthProvider`, `CertificateAuthProvider`) are no longer part of this
|
|
191
191
|
package as of 10.0.0; install `@mcp-abap-adt/auth-providers` for them —
|
|
192
|
-
connection 13.x
|
|
192
|
+
connection 13.x and 14.x work with auth-providers **6.0.0** (`^6.0.0`), built on
|
|
193
193
|
interfaces-auth 7 and auth-errors 2; the 5.x providers do not fit.
|
|
194
194
|
See [Migration to 10.0.0](./MIGRATION-10.0.md),
|
|
195
195
|
[Migration to 12.0.0](./MIGRATION-12.0.md) and
|
package/docs/MIGRATION-12.0.md
CHANGED
|
@@ -143,7 +143,7 @@ moment so that a throw becomes a refusal and the answer is classified. A
|
|
|
143
143
|
provider that still answers `{ ok: false, refusal: { reason } }` compiles no
|
|
144
144
|
more in TypeScript. In JavaScript, the connection answers `provider-threw` for
|
|
145
145
|
it, as described above. `@mcp-abap-adt/auth-providers` 6.0.0 (with connection
|
|
146
|
-
13.x) ships `AuthProviderBase`, which owns the four moments for you.
|
|
146
|
+
13.x and 14.x) ships `AuthProviderBase`, which owns the four moments for you.
|
|
147
147
|
|
|
148
148
|
## Deep imports
|
|
149
149
|
|
package/docs/USAGE.md
CHANGED
|
@@ -928,7 +928,7 @@ export class CloudSdkAbapConnection {
|
|
|
928
928
|
### The credential, and how a refusal is classified
|
|
929
929
|
|
|
930
930
|
For SAP BTP cloud systems, hand `AdtCloudConnector` a token provider from
|
|
931
|
-
`@mcp-abap-adt/auth-providers` 6.0.0 (connection 13.x
|
|
931
|
+
`@mcp-abap-adt/auth-providers` 6.0.0 (connection 13.x and 14.x work with `^6.0.0`): `TokenAuthProvider.fixed(token)` is a token with
|
|
932
932
|
nothing behind it, `TokenAuthProvider.from(refresher)` takes an `ITokenRefresher`
|
|
933
933
|
and renews a token the system refused. Obtaining tokens in the first place is
|
|
934
934
|
`@mcp-abap-adt/auth-broker`'s job, not this package's.
|
package/examples/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This directory contains example code demonstrating how to use the `@mcp-abap-adt
|
|
|
8
8
|
# Install dependencies
|
|
9
9
|
cd packages/connection
|
|
10
10
|
npm install
|
|
11
|
-
npm install @mcp-abap-adt/auth-providers@^6 # the credential providers the examples use (6.0.0 with connection 13.x)
|
|
11
|
+
npm install @mcp-abap-adt/auth-providers@^6 # the credential providers the examples use (6.0.0 with connection 13.x and 14.x)
|
|
12
12
|
|
|
13
13
|
# Build the package
|
|
14
14
|
npm run build
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/connection",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.1",
|
|
4
4
|
"description": "ABAP connection layer for MCP ABAP ADT server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
"chrono": "node scripts/version-stats.mjs",
|
|
36
36
|
"clean": "node scripts/clean.mjs",
|
|
37
37
|
"lint": "npx biome check --write src scripts",
|
|
38
|
-
"lint:check": "npx biome check src scripts --error-on-warnings
|
|
38
|
+
"lint:check": "npx biome check src scripts --error-on-warnings",
|
|
39
|
+
"test:shape": "jest src/__tests__/shapeCheck.test.ts",
|
|
39
40
|
"format": "npx biome format --write src scripts",
|
|
40
41
|
"build": "npm run --silent clean && npx biome check src scripts --diagnostic-level=error && npx tsc -p tsconfig.json && npm run --silent typecheck:scripts",
|
|
41
42
|
"build:fast": "npx tsc -p tsconfig.json",
|
|
42
43
|
"test": "npm run --silent check:docs && jest",
|
|
43
|
-
"prepublishOnly": "npm run build && npm run lint:check && npm run check:docs && npm run --silent check:pack",
|
|
44
|
+
"prepublishOnly": "npm run build && npm run lint:check && npm run test:shape && npm run check:docs && npm run --silent check:pack",
|
|
44
45
|
"check:docs": "node scripts/check-docs.mjs",
|
|
45
46
|
"typecheck:scripts": "npx tsc -p tsconfig.scripts.json",
|
|
46
47
|
"check:pack": "node scripts/check-pack.mjs"
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"node": "^22 || ^24 || ^26"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
|
-
"@mcp-abap-adt/auth-errors": "^2.
|
|
53
|
+
"@mcp-abap-adt/auth-errors": "^2.2.0",
|
|
53
54
|
"@mcp-abap-adt/interfaces-adt-connection": "^1.0.0",
|
|
54
55
|
"@mcp-abap-adt/interfaces-auth": "^7.5.0",
|
|
55
56
|
"@mcp-abap-adt/interfaces-auth-sap": "^3.3.0",
|