@mcp-abap-adt/connection 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/README.md +18 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -320,9 +320,15 @@ interface AbapConnection {
320
320
  enableStatefulSession(sessionId: string, storage: ISessionStorage): Promise<void>;
321
321
  disableStatefulSession(): void;
322
322
  getSessionMode(): "stateless" | "stateful";
323
+ getSessionId(): string | undefined; // Get current session ID
324
+ setSessionType(type: "stateless" | "stateful"): void; // Switch session type
323
325
  }
324
326
  ```
325
327
 
328
+ **New in 0.1.6+:**
329
+ - `getSessionId()`: Returns the current session ID if stateful session is enabled, otherwise `undefined`
330
+ - `setSessionType(type)`: Programmatically switch between stateful and stateless modes without recreating connection
331
+
326
332
  #### `ILogger`
327
333
 
328
334
  Logger interface for custom logging implementations.
@@ -370,10 +376,21 @@ function createAbapConnection(
370
376
  - Node.js >= 18.0.0
371
377
  - Access to SAP ABAP system (on-premise or BTP)
372
378
 
379
+ ## Changelog
380
+
381
+ See [CHANGELOG.md](./CHANGELOG.md) for detailed version history and breaking changes.
382
+
383
+ **Latest version: 0.1.9**
384
+ - Comprehensive documentation updates
385
+ - Enhanced README with new API methods documentation
386
+ - Complete version history in CHANGELOG
387
+ - Fixed documentation structure and links
388
+
373
389
  ## Documentation
374
390
 
375
- - [Custom Session Storage](./CUSTOM_SESSION_STORAGE.md) - How to implement custom session persistence (database, Redis, etc.)
391
+ - [Custom Session Storage](./docs/CUSTOM_SESSION_STORAGE.md) - How to implement custom session persistence (database, Redis, etc.)
376
392
  - [Examples](./examples/README.md) - Working code examples
393
+ - [Changelog](./CHANGELOG.md) - Version history and release notes
377
394
 
378
395
  ## License
379
396
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/connection",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "ABAP connection layer for MCP ABAP ADT server",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",