@mcp-abap-adt/header-validator 0.1.7 → 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.
- package/CHANGELOG.md +72 -2
- package/COPYING +674 -0
- package/LICENSE +160 -17
- package/README.md +28 -3
- package/dist/headerValidator.d.ts +1 -1
- package/dist/headerValidator.js +101 -86
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/types.d.ts +2 -2
- package/dist/types.js +2 -2
- package/package.json +13 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,78 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [0.3.0] - 2026-09-24
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **The contracts come from the packages that declare them, not from the deleted
|
|
13
|
+
facade.** `@mcp-abap-adt/interfaces@^0.1.16` is replaced by
|
|
14
|
+
`@mcp-abap-adt/interfaces-network@^2.0.0`,
|
|
15
|
+
`@mcp-abap-adt/interfaces-auth-sap@^1.0.0` and
|
|
16
|
+
`@mcp-abap-adt/interfaces-auth@^1.2.0`. Three files repointed.
|
|
17
|
+
|
|
18
|
+
| from | names |
|
|
19
|
+
|---|---|
|
|
20
|
+
| `interfaces-network` | 17 — every header name this package validates, with the groups over them |
|
|
21
|
+
| `interfaces-auth-sap` | `AuthType`, `AuthMethodPriority`, `IValidatedAuthConfig`, `IHeaderValidationResult`, `IAuthorizationConfig` |
|
|
22
|
+
| `interfaces-auth` | `AUTH_TYPE_JWT`, `AUTH_TYPE_BASIC` |
|
|
23
|
+
|
|
24
|
+
**This is the repository the contract split was measured on.** It imports 24
|
|
25
|
+
names and **not one is an ADT contract** — it validates headers and reads
|
|
26
|
+
authentication configuration — yet it was pinned to `@mcp-abap-adt/interfaces`
|
|
27
|
+
major **0**, seventeen versions behind that package's own 0.1.x line and 51
|
|
28
|
+
majors behind where the facade ended. One step forward used to cost it every
|
|
29
|
+
other package's history; now a header name changes at `interfaces-network`'s
|
|
30
|
+
pace, which has had three releases ever.
|
|
31
|
+
|
|
32
|
+
Nothing is renamed and no shape changed, so the change reaches a consumer as an
|
|
33
|
+
import path and nothing else.
|
|
34
|
+
|
|
35
|
+
- **Note on 0.2.0.** It was tagged and released on GitHub on 2026-09-03 — the
|
|
36
|
+
LGPL relicensing — and never published: npm serves **0.1.8**, under MIT. So a
|
|
37
|
+
consumer moving to this release crosses both changes at once, and the licence
|
|
38
|
+
reaches npm for the first time here. The 0.2.0 entry below stands as written;
|
|
39
|
+
only its publication never happened.
|
|
40
|
+
|
|
41
|
+
## [0.2.0] - 2026-09-03
|
|
42
|
+
|
|
43
|
+
### Licence
|
|
44
|
+
|
|
45
|
+
- **This package is now `LGPL-3.0-only`.** It was MIT up to and including 0.1.9, and
|
|
46
|
+
those versions stay MIT — a licence change is not retroactive, and anyone
|
|
47
|
+
already using 0.1.9 under MIT keeps that grant for 0.1.9.
|
|
48
|
+
|
|
49
|
+
The library licence of the GNU family, chosen for what it does *not* ask:
|
|
50
|
+
linking it into your own program — importing it, as every consumer of an npm
|
|
51
|
+
package does — does not put your program under the LGPL. What it asks is that
|
|
52
|
+
changes to this library stay free and that your users can substitute their own
|
|
53
|
+
build of it.
|
|
54
|
+
|
|
55
|
+
Both texts ship in the package: `LICENSE` is the LGPL, `COPYING` is the GPL it
|
|
56
|
+
is written on top of. The LGPL is a set of additional permissions over the GPL,
|
|
57
|
+
so it cannot be read without both.
|
|
58
|
+
|
|
59
|
+
Copyright © 2025–2026 Oleksii Kyslytsia.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## [0.1.9] - 2025-12-22
|
|
63
|
+
|
|
64
|
+
### Changed
|
|
65
|
+
- **Biome Migration**: Migrated from ESLint/Prettier to Biome for linting and formatting
|
|
66
|
+
- Added `@biomejs/biome` as dev dependency
|
|
67
|
+
- Added `lint`, `lint:check`, and `format` scripts to package.json
|
|
68
|
+
- Integrated Biome check into build process (`npx biome check src --diagnostic-level=error`)
|
|
69
|
+
- Updated Node.js imports to use `node:` protocol for better explicitness
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
- Fixed non-null assertion by adding proper null check for `mcpUrl`
|
|
73
|
+
- Removed unused imports
|
|
74
|
+
- Organized imports according to Biome rules
|
|
75
|
+
|
|
76
|
+
## [0.1.8] - 2025-12-13
|
|
77
|
+
|
|
78
|
+
### Changed
|
|
79
|
+
- Dependency bump: `@mcp-abap-adt/interfaces` to `^0.1.16` for consistency with latest interfaces release
|
|
9
80
|
|
|
10
81
|
## [0.1.7] - 2025-01-XX
|
|
11
82
|
|
|
@@ -127,4 +198,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
127
198
|
- **Node.js version**: >= 18.0.0
|
|
128
199
|
- **Module system**: CommonJS
|
|
129
200
|
- **Build output**: TypeScript compiled to JavaScript with type definitions
|
|
130
|
-
|