norn-cli 1.3.20 → 1.3.21

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.
@@ -3,7 +3,7 @@
3
3
  "urls": {
4
4
  "https://petstore.swagger.io/v2/swagger.json": {
5
5
  "baseUrl": "https://petstore.swagger.io/v2",
6
- "fetchedAt": "2026-02-15T17:34:40.588Z",
6
+ "fetchedAt": "2026-02-17T21:19:04.966Z",
7
7
  "schemas": [
8
8
  {
9
9
  "operationId": "AddPet",
package/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  All notable changes to the "Norn" extension will be documented in this file.
4
4
 
5
+ ## [1.3.21] - 2026-02-17
6
+
7
+ ### Fixed
8
+ - **API Coverage Scope (Swagger CodeLens/Panel)**:
9
+ - Coverage for a `.nornapi` file now only includes `.norn` tests in that file's directory and descendants.
10
+ - Parent/sibling directories are no longer counted when opening coverage from a specific `.nornapi` file.
11
+ - `run SequenceName` resolution for coverage is now scoped by directory tree to avoid cross-folder name collisions.
12
+ - **Endpoint Path Mapping for Coverage**:
13
+ - Fixed coverage endpoint mapping when `.nornapi` endpoints use variable-prefixed URLs such as `{{baseUrl}}/path`.
14
+ - This prevents false 0% coverage in isolated folder setups.
15
+ - **Coverage UI Accuracy**:
16
+ - Swagger coverage CodeLens now shows a stable `Show Coverage` action instead of stale global percentages.
17
+ - Coverage status bar now behaves as a context-aware action button and no longer shows drifting percentage values.
18
+ - Status bar click target now follows the active `.nornapi` editor context.
19
+ - **Diagnostics – Invalid JSON Body Shape**:
20
+ - Added `.norn` diagnostic for JSON-like request body properties missing surrounding `{ }` in `POST`/`PUT`/`PATCH` requests.
21
+ - Example now flagged: property lines like `"username": "value"` directly under a request without an object wrapper.
22
+ - Diagnostic correctly skips form-style bodies when `Content-Type` is `application/x-www-form-urlencoded` or `multipart/form-data` (inline header or header group).
23
+
5
24
  ## [1.3.20] - 2026-02-15
6
25
 
7
26
  ### Fixed
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "norn-cli",
3
3
  "displayName": "Norn - REST Client",
4
4
  "description": "A powerful REST client for making HTTP requests with sequences, variables, scripts, and cookie support",
5
- "version": "1.3.20",
5
+ "version": "1.3.21",
6
6
  "publisher": "Norn-PeterKrustanov",
7
7
  "author": {
8
8
  "name": "Peter Krastanov"