Zach Daniel
|
8a6f51efb5
|
improvement: specify @behaviour in AshPostgres.Type
|
2023-08-21 11:14:33 -04:00 |
|
Zach Daniel
|
c8aa2a8dd8
|
improvement: add value_to_postgres_default/3 and AshPostgres.Type
|
2023-08-18 11:22:01 -04:00 |
|
Zach Daniel
|
d36457336b
|
fix: handle case where multiple grouped aggregates depend on further aggregates
|
2023-08-16 23:02:56 -04:00 |
|
Alan Heywood
|
bac2e01b54
|
test: add failing test to demonstrate potential bug (#164)
1) test complex calculation (AshPostgres.Test.ComplexCalculationsTest)
test/complex_calculations_test.exs:5
** (RuntimeError) Error while building reference: latest_documentation_status
code: |> AshPostgres.Test.ComplexCalculations.Api.load!([
stacktrace:
(ash_postgres 1.3.41) lib/expr.ex:846: AshPostgres.Expr.do_dynamic_expr/5
(ash_postgres 1.3.41) lib/expr.ex:109: AshPostgres.Expr.do_dynamic_expr/5
(ash_postgres 1.3.41) lib/expr.ex:356: AshPostgres.Expr.do_dynamic_expr/5
(ash_postgres 1.3.41) lib/expr.ex:968: anonymous fn/6 in AshPostgres.Expr.do_dynamic_expr/5
(ecto 3.10.3) lib/ecto/query/builder/dynamic.ex:76: Ecto.Query.Builder.Dynamic.expand/3
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(stdlib 5.0.2) lists.erl:1707: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(stdlib 5.0.2) lists.erl:1707: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(stdlib 5.0.2) lists.erl:1706: :lists.mapfoldl_1/3
(elixir 1.15.4) lib/macro.ex:653: Macro.do_traverse/4
(ecto 3.10.3) lib/ecto/query/builder/dynamic.ex:59: Ecto.Query.Builder.Dynamic.partially_expand/6
(ecto 3.10.3) lib/ecto/query/builder/select.ex:235: Ecto.Query.Builder.Select.expand_nested/3
(ecto 3.10.3) lib/ecto/query/builder/select.ex:274: Ecto.Query.Builder.Select.expand_nested_pair/3
(elixir 1.15.4) lib/enum.ex:1825: anonymous fn/3 in Enum.map_reduce/3
(stdlib 5.0.2) maps.erl:416: :maps.fold_1/4
(elixir 1.15.4) lib/enum.ex:2522: Enum.map_reduce/3
(ecto 3.10.3) lib/ecto/query/builder/select.ex:257: Ecto.Query.Builder.Select.expand_nested/3
(ecto 3.10.3) lib/ecto/query/builder/select.ex:205: Ecto.Query.Builder.Select.select!/5
(elixir 1.15.4) lib/enum.ex:2510: Enum."-reduce/3-lists^foldl/2-0-"/3
(ash_postgres 1.3.41) lib/aggregate.ex:121: anonymous fn/6 in AshPostgres.Aggregate.add_aggregates/6
(elixir 1.15.4) lib/enum.ex:4830: Enumerable.List.reduce/3
(elixir 1.15.4) lib/enum.ex:2564: Enum.reduce_while/3
(ash_postgres 1.3.41) lib/aggregate.ex:53: AshPostgres.Aggregate.add_aggregates/6
(ash 2.13.3) lib/ash/query/aggregate.ex:570: anonymous fn/6 in Ash.Query.Aggregate.value_request/9
(ash 2.13.3) lib/ash/engine/engine.ex:537: anonymous fn/2 in Ash.Engine.run_iteration/1
(ash 2.13.3) lib/ash/engine/engine.ex:558: anonymous fn/4 in Ash.Engine.async/2
(elixir 1.15.4) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.15.4) lib/task/supervised.ex:36: Task.Supervised.reply/4
(ash 2.13.3) lib/ash/engine/engine.ex:552: Ash.Engine.async/2
(elixir 1.15.4) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.15.4) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(ash 2.13.3) lib/ash/engine/engine.ex:702: Ash.Engine.start_pending_tasks/1
(ash 2.13.3) lib/ash/engine/engine.ex:323: Ash.Engine.run_to_completion/1
(ash 2.13.3) lib/ash/engine/engine.ex:252: Ash.Engine.do_run/2
(ash 2.13.3) lib/ash/engine/engine.ex:148: Ash.Engine.run/2
(ash 2.13.3) lib/ash/actions/read.ex:173: Ash.Actions.Read.do_run/3
(ash 2.13.3) lib/ash/actions/read.ex:96: Ash.Actions.Read.run/3
(ash 2.13.3) lib/ash/api/api.ex:1733: Ash.Api.load/4
(ash 2.13.3) lib/ash/api/api.ex:1707: Ash.Api.load!/4
test/complex_calculations_test.exs:55: (test)
|
2023-08-16 20:49:18 -04:00 |
|
Zach Daniel
|
c570d5f60e
|
improvement: handle non-cast-in-type queries
|
2023-08-14 12:42:01 -07:00 |
|
Zach Daniel
|
de2817dfa1
|
chore: release version v1.3.41
|
2023-08-08 12:18:41 -07:00 |
|
Alessio Montagnani
|
4a02d8c6ad
|
improvement: custom-extension implementation (#162)
* improvement: custom-extension implementation
* improvement: allow adding custom-extension by module's reference and fixes formatting
* ci: fixes formatter
|
2023-08-08 10:20:26 -07:00 |
|
Zach Daniel
|
7ce33cac2c
|
fix: handle interaction between distinct, join filters and sort
|
2023-08-04 22:52:56 -04:00 |
|
Zach Daniel
|
d568ac18a8
|
improvement: support new from_many? option
improvement: subquery after distinct to handle distinct
|
2023-08-04 18:53:23 -04:00 |
|
Mike Zornek
|
3d9a0cfb4f
|
docs: Add explicit command to tutorial to create the local database. (#160)
|
2023-08-01 15:56:36 -04:00 |
|
Zach Daniel
|
24df321322
|
chore: release version v1.3.40
|
2023-07-31 23:51:23 -04:00 |
|
Zach Daniel
|
3d8c4c7687
|
fix: properly detect optimizable first aggregates
|
2023-07-31 23:50:50 -04:00 |
|
Zach Daniel
|
1a11ea62db
|
chore: release version v1.3.39
|
2023-07-31 23:43:29 -04:00 |
|
Zach Daniel
|
c838960b82
|
improvement: update ash
|
2023-07-31 23:37:53 -04:00 |
|
Zach Daniel
|
83e78ad786
|
fix: properly alter deferrability on attribute alter
|
2023-07-27 13:57:42 -04:00 |
|
Zach Daniel
|
4724e9b878
|
improvement: handle empty maps in migration defaults automatically
|
2023-07-27 11:22:41 -04:00 |
|
Zach Daniel
|
e37b04c170
|
improvement: handle empty lists in migraiton defaults automatically
|
2023-07-27 11:22:06 -04:00 |
|
Zach Daniel
|
4146e6c25a
|
improvement: apply sort in subqueries properly
|
2023-07-26 19:20:19 -04:00 |
|
Zach Daniel
|
b4ec957651
|
improvement: handle no_attributes? better in more places
|
2023-07-26 18:50:58 -04:00 |
|
Zach Daniel
|
d2e309c126
|
improvement: support the new parent/1 expr in relationships
|
2023-07-26 17:32:09 -04:00 |
|
Zach Daniel
|
9396a9dd2d
|
improvement: explicitly lock the source row
|
2023-07-25 23:08:56 -04:00 |
|
Zach Daniel
|
db223b8e4d
|
chore: release version v1.3.38
|
2023-07-20 22:04:01 -04:00 |
|
Zach Daniel
|
89333fbc56
|
fix: un-break aggregates referencing calculations
|
2023-07-20 22:00:37 -04:00 |
|
Zach Daniel
|
97a9ca5872
|
improvement: properly handle context for referenced calculations
|
2023-07-20 21:57:44 -04:00 |
|
Zach Daniel
|
042b83cf3b
|
chore: release version v1.3.37
|
2023-07-19 12:53:21 -04:00 |
|
Zach Daniel
|
c7866c6c16
|
improvement: support new distinct_sort option
|
2023-07-19 12:50:05 -04:00 |
|
Zach Daniel
|
1d21b0076a
|
chore: release version v1.3.36
|
2023-07-19 10:20:45 -04:00 |
|
Zach Daniel
|
442191799e
|
fix: type casting improvements, handle manual relationships in exists
|
2023-07-19 10:20:37 -04:00 |
|
Michael St Clair
|
33c1fd4cd9
|
fix: protected names in conflict_target (#158)
|
2023-07-18 19:21:45 -04:00 |
|
Zach Daniel
|
c05c0bec05
|
chore: update ssl_verify_fun
|
2023-07-18 14:51:12 -04:00 |
|
Zach Daniel
|
e5c99a9d1b
|
chore: release version v1.3.35
|
2023-07-18 14:48:45 -04:00 |
|
Zach Daniel
|
c920b09277
|
improvement: support new distinct features from ash core
|
2023-07-18 14:48:35 -04:00 |
|
Zach Daniel
|
e5fd47164d
|
chore: fix tool versions
|
2023-07-17 22:37:54 -04:00 |
|
Zach Daniel
|
1ffb193ca3
|
chore: release version v1.3.34
|
2023-07-17 22:36:00 -04:00 |
|
Zach Daniel
|
ed62006b3f
|
improvement: support unary -/1 operator
|
2023-07-17 22:35:46 -04:00 |
|
Zach Daniel
|
69ddd21716
|
chore: release version v1.3.33
|
2023-07-14 16:25:11 -04:00 |
|
Zach Daniel
|
b4879beb86
|
improvement: support deferrable option in migration generator
|
2023-07-14 16:24:57 -04:00 |
|
Zach Daniel
|
062e67392a
|
fix: convert Ash.Resource.Aggregate to Ash.Query.Aggregate when adding
|
2023-07-13 23:27:08 -04:00 |
|
Zach Daniel
|
d2e071773e
|
improvement: support exists aggregates
|
2023-07-13 00:13:50 -04:00 |
|
Zach Daniel
|
6b702fd361
|
chore: release version v1.3.32
|
2023-07-12 17:06:50 -04:00 |
|
Zach Daniel
|
11ad5f4d1b
|
improvement: support at/2 expression
|
2023-07-12 17:05:33 -04:00 |
|
Zach Daniel
|
38a54c501f
|
chore: release version v1.3.31
|
2023-07-12 15:33:08 -04:00 |
|
Zach Daniel
|
1827e8f656
|
improvement: better ash_functions message
|
2023-07-12 15:32:18 -04:00 |
|
Zach Daniel
|
c1a630ee16
|
improvement: support string_split
|
2023-07-12 15:16:28 -04:00 |
|
Zach Daniel
|
1d96805d51
|
chore: cleanup nested DSL in test
|
2023-07-12 10:56:15 -04:00 |
|
Zach Daniel
|
a09dae4d26
|
fix: raise better error on invalid filter values
closes #154
We still want to build something better directly into `Ash.Filter`
that determines field types and casts them up front
|
2023-06-28 11:29:54 -04:00 |
|
Zach Daniel
|
ce9ca1ced2
|
chore: fix test bad identity
|
2023-06-27 19:14:30 -04:00 |
|
Eduardo B. A
|
4171ef851d
|
fix: Fixes multiple schema identities migrations (#156)
Co-authored-by: Eduardo <sezdocs@dev-distrobox.fedora.local>
|
2023-06-25 17:26:31 -04:00 |
|
Alan Heywood
|
7ab8ede626
|
fix: fix Logger deprecations for elixir 1.15 (#155)
Use Logger.warning instead of Logger.warn, which is deprecated
|
2023-06-22 17:37:57 -04:00 |
|
Abhishek Tripathi
|
9e31f90586
|
chore: fixed incorrect docs (#153)
Co-authored-by: abhishek <abhishek.tripathi@tinymesh.in>
|
2023-06-16 09:12:50 -04:00 |
|