@mcp-abap-adt/interfaces-adt 19.0.0 → 20.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 +17 -0
- package/README.md +10 -0
- package/dist/adt/IAdtClientOptions.d.ts +5 -1
- package/dist/adt/IAdtClientOptions.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [20.0.0] - 2026-10-18
|
|
11
|
+
|
|
12
|
+
### Removed (breaking)
|
|
13
|
+
|
|
14
|
+
- `IAdtClientOptions.enableAcceptCorrection`. The contract carries how headers
|
|
15
|
+
are passed — `headers: IAdtHeaders` with the call, on the members whose
|
|
16
|
+
request sets both — and correcting a format the server refused (a `406` or
|
|
17
|
+
`415`) is the consumer's own. `@mcp-abap-adt/adt-clients` 36.0.0 removes accept
|
|
18
|
+
negotiation.
|
|
19
|
+
|
|
20
|
+
### Migrating from 19.0
|
|
21
|
+
|
|
22
|
+
Drop `enableAcceptCorrection` from the client options. A consumer that wants a
|
|
23
|
+
refused format corrected does it itself: read the formats the server offers
|
|
24
|
+
from the `406` or `415` (adt-clients exports the parsers for both), and call
|
|
25
|
+
again with the `headers` that match.
|
|
26
|
+
|
|
10
27
|
## [19.0.0] - 2026-10-18
|
|
11
28
|
|
|
12
29
|
### Changed (breaking)
|
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ ADT contracts: object operations, runtime analysis, execution, feeds and service
|
|
|
11
11
|
- Since 14.0.0 `IDebuggerIdentity` is a union by `debuggingMode` (required), `attach` takes the identity, `condition` is for line breakpoints only, and `IAbapDebugger` gains `TSettings` and five members. The CHANGELOG has the migration note.
|
|
12
12
|
- Since 15.0.0 `skipCount` is gone from breakpoints (the server ignores it) and `clientId` pairs an answer row with its request. The CHANGELOG has the migration note.
|
|
13
13
|
- Since 15.1.0 the plain class and program run take `debuggee` (`IDebuggeeIds`): the terminal id and IDE id a terminal-mode listener catches the run by.
|
|
14
|
+
- Since 20.0.0 `IAdtClientOptions` has no `enableAcceptCorrection`: correcting a refused format is the consumer's own. See "Migrating to 20.0.0".
|
|
14
15
|
- Since 19.0.0 a member whose request sets both `Accept` and `Content-Type` takes the pair as `options.headers: IAdtHeaders`, **required**, and sends exactly that pair; a member whose request sets one of them or neither is unchanged. See "A request's own headers" and "Migrating to 19.0.0".
|
|
15
16
|
- Since 15.3.0 `IAdtTransportMoveObjects` moves entries from one task to another, each identified by its position in the source.
|
|
16
17
|
- Since 15.2.0 `IAdtTransportSortAndCompress` sorts and compresses a task's object list, the remedy SAP names when `removeObject` is refused for a duplicated entry.
|
|
@@ -113,6 +114,15 @@ The field is on each member's own options, not on `IAdtAnalyseOptions` or
|
|
|
113
114
|
`IAdtOperationOptions`. `src/__typechecks__/headersOnEveryMember.ts` holds this
|
|
114
115
|
for every member and every overload.
|
|
115
116
|
|
|
117
|
+
## Migrating to 20.0.0
|
|
118
|
+
|
|
119
|
+
`IAdtClientOptions.enableAcceptCorrection` is removed, so code that sets it
|
|
120
|
+
stops compiling; drop the field. The contract carries how headers are passed —
|
|
121
|
+
`headers: IAdtHeaders` with the call, where a member takes it — and correcting
|
|
122
|
+
a format the server refused is the consumer's own: read the formats the `406`
|
|
123
|
+
or `415` names (`@mcp-abap-adt/adt-clients` exports the parsers for both) and
|
|
124
|
+
call again with the matching `headers`. Nothing else changed.
|
|
125
|
+
|
|
116
126
|
## Migrating to 19.0.0
|
|
117
127
|
|
|
118
128
|
- Pass `headers: { accept, contentType }` in the options of every member
|
|
@@ -12,8 +12,12 @@ export interface IAdtSystemContext {
|
|
|
12
12
|
/** Master/original language for newly created objects (adtcore:masterLanguage). Sourced from SAP_LANGUAGE; defaults to EN when unset. */
|
|
13
13
|
masterLanguage?: string;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* `enableAcceptCorrection` was here until 20.0.0. A member whose request sets
|
|
17
|
+
* both headers takes them with the call (`headers: IAdtHeaders`); correcting a
|
|
18
|
+
* format the server refused is the consumer's own.
|
|
19
|
+
*/
|
|
15
20
|
export interface IAdtClientOptions {
|
|
16
|
-
enableAcceptCorrection?: boolean;
|
|
17
21
|
masterSystem?: string;
|
|
18
22
|
responsible?: string;
|
|
19
23
|
/** Master/original language for newly created objects. Falls back to EN when unset. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtClientOptions.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtClientOptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yIAAyI;IACzI,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,
|
|
1
|
+
{"version":3,"file":"IAdtClientOptions.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtClientOptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yIAAyI;IACzI,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,6GAA6G;IAC7G,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
package/package.json
CHANGED