You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Change Log
2
2
3
+
## 0.7.2 - 2026-06-30
4
+
5
+
### Added
6
+
*`recurse!up` operator for single-table recursion — walks the FK toward ancestors instead of descendants (e.g. `parent_id=recurse!up.all` returns a node's ancestor chain). Rejected with `via()`, where the same reversal is done by swapping the edge columns.
7
+
8
+
### Fixed
9
+
* Ordering a `via()` recursive query by `__depth` without selecting it no longer 500s with "ORDER BY expressions must appear in select list"; `__depth` is now surfaced in the projection and routed through the min-depth dedup wrapper.
Expected: `{"code":"","details":null,"hint":"","message":"'recurse!up' is single-table only; reverse a 'via' walk by swapping its columns","position":0,"subsystem":"network"}`,
432
+
Status: 400,
433
+
},
434
+
}
435
+
test.Execute(t, testConfig(), tests)
436
+
}
437
+
438
+
// TestViaOrderByDepthUnselected checks that ordering a via() walk by __depth WITHOUT
439
+
// selecting it works (surfacing __depth in the projection) instead of 500ing with
440
+
// "ORDER BY expressions must appear in select list" from the min-depth SELECT DISTINCT.
441
+
funcTestViaOrderByDepthUnselected(t*testing.T) {
442
+
tests:= []test.Test{
443
+
{
444
+
Description: "via order=__depth without selecting __depth — surfaces __depth, no 500",
0 commit comments