Skip to content

Commit 9940c74

Browse files
committed
add changes for 0.7.1
1 parent a44eef3 commit 9940c74

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

CHANGES.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# 0.7.1
2+
3+
## 1. JSON Path Array Indexing (`context.go`)
4+
5+
**What:** Adds array index syntax to variable resolution.
6+
7+
```
8+
{{steps.api.tracks[0].name}} ← now works
9+
```
10+
11+
**How:** Regex parses `key[index]` segments, accesses map then array. `jsonPathLookup` now delegates to `jsonPathLookupRaw` (no more duplicated logic).
12+
13+
---
14+
15+
## 2. File Discovery (`tui.go`)
16+
17+
**What:** Changed from "git-tracked files" → "non-gitignored files".
18+
19+
**Impact:**
20+
- Untracked `.yapi` files now discovered (previously invisible until committed)
21+
- Properly recurses into submodules
22+
23+
**How:** Replaced git index scan with `filepath.Walk` + gitignore pattern matching.
24+
25+
---
26+
27+
## Breaking Changes
28+
29+
None expected. New files may appear in selection that weren't visible before.

0 commit comments

Comments
 (0)