@mcp-abap-adt/connection 9.4.0 → 9.4.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 +12 -1
- package/bin/sap-abap-auth.js +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [9.4.1] - 2026-09-27
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **`sap-abap-auth --version` printed `0.1.0`** — a number written into the CLI, not the package's. It reads `package.json` now.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **`version` as a command, and `-v`**, for `sap-abap-auth`: `help` / `--help` / `-h` and `version` / `--version` / `-v` — the same set in every CLI of the family, each answering before anything starts or connects.
|
|
19
|
+
|
|
10
20
|
## [9.4.0] - 2026-09-27
|
|
11
21
|
|
|
12
22
|
### Changed
|
|
@@ -1902,7 +1912,8 @@ const connection = createAbapConnection(config, logger);
|
|
|
1902
1912
|
- JWT token refresh now properly handles connection errors (401/403 during initial connect)
|
|
1903
1913
|
- Permission errors (403 with "ExceptionResourceNoAccess") no longer trigger JWT refresh loops
|
|
1904
1914
|
- Proper separation: base class handles HTTP/session, concrete classes handle auth-specific errors
|
|
1905
|
-
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.4.
|
|
1915
|
+
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.4.1...HEAD
|
|
1916
|
+
[9.4.1]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.4.0...v9.4.1
|
|
1906
1917
|
[9.4.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.4...v9.4.0
|
|
1907
1918
|
[9.3.4]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.3...v9.3.4
|
|
1908
1919
|
[9.3.3]: https://github.com/fr0ster/mcp-abap-connection/compare/v9.3.2...v9.3.3
|
package/bin/sap-abap-auth.js
CHANGED
|
@@ -595,7 +595,7 @@ async function main() {
|
|
|
595
595
|
.description(
|
|
596
596
|
"CLI utility for authentication in SAP BTP ABAP Environment (Steampunk) via browser. Creates .env file with connection configuration."
|
|
597
597
|
)
|
|
598
|
-
.version("
|
|
598
|
+
.version(require("../package.json").version, "-v, --version", "Show version number")
|
|
599
599
|
.helpOption("-h, --help", "Show help for all commands and options");
|
|
600
600
|
|
|
601
601
|
program
|
|
@@ -736,6 +736,14 @@ async function main() {
|
|
|
736
736
|
}
|
|
737
737
|
});
|
|
738
738
|
|
|
739
|
+
// `version` as a command, like every CLI in the family (`help` is commander's).
|
|
740
|
+
program
|
|
741
|
+
.command("version")
|
|
742
|
+
.description("Show version number")
|
|
743
|
+
.action(() => {
|
|
744
|
+
console.log(require("../package.json").version);
|
|
745
|
+
});
|
|
746
|
+
|
|
739
747
|
// Parse and handle command-line arguments
|
|
740
748
|
program.parse(process.argv);
|
|
741
749
|
|