Skip to content

Commit 8ff9d4b

Browse files
committed
chore: release version v0.3.6
1 parent ceaddcc commit 8ff9d4b

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
1111

1212
<!-- changelog -->
1313

14+
## [v0.3.6](https://github.com/ash-project/ash_sql/compare/v0.3.5...v0.3.6) (2025-10-15)
15+
16+
17+
18+
19+
### Improvements:
20+
21+
* support combination_acc/1 function to get current combination accumulator by [@zachdaniel](https://github.com/zachdaniel)
22+
1423
## [v0.3.5](https://github.com/ash-project/ash_sql/compare/v0.3.4...v0.3.5) (2025-10-15)
1524

1625

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Shared functionality for ecto-based sql data layers.
1919
```elixir
2020
def deps do
2121
[
22-
{:ash_sql, "~> 0.3.5"}
22+
{:ash_sql, "~> 0.3.6"}
2323
]
2424
end
2525
```

lib/query.ex

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,15 @@ defmodule AshSql.Query do
5151
if context[:data_layer][:lateral_join_source] do
5252
500
5353
else
54-
if context[:data_layer][:previous_combination] do
55-
context[:data_layer][:previous_combination]
56-
else
57-
0
54+
case context[:data_layer][:previous_combination] do
55+
%{__ash_bindings__: %{current: current}} ->
56+
current
57+
58+
current when is_integer(current) ->
59+
current
60+
61+
_ ->
62+
0
5863
end
5964
end
6065

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule AshSql.MixProject do
1010
Shared utilities for ecto-based sql data layers.
1111
"""
1212

13-
@version "0.3.5"
13+
@version "0.3.6"
1414

1515
def project do
1616
[

0 commit comments

Comments
 (0)