Zach Daniel
879b52b900
fix: compile before ash tasks
2023-09-04 13:38:27 -04:00
Zach Daniel
3976b459c1
chore: release version v2.14.8
2023-09-04 13:09:26 -04:00
Zach Daniel
b9e6327d7f
improvement: add ash.reset
and ash.tear_down
2023-09-04 13:07:14 -04:00
Zach Daniel
27d478e32d
chore: release version v2.14.7
2023-09-04 11:49:00 -04:00
Zach Daniel
c67c77a617
fix: fix no such action error on create changesets
...
fix: remove policy documentation due to compile time links
2023-09-04 11:48:38 -04:00
Zach Daniel
5cd7194e5e
chore: don't explain policy in module docs to test an issue
2023-09-04 11:34:50 -04:00
Zach Daniel
5b5995d783
improvement: show policy mermaid chart in moduledocs
2023-09-04 09:53:55 -04:00
Zach Daniel
967c467f84
chore: only generate for resources w/ policy authorizer
2023-09-04 09:23:22 -04:00
Zach Daniel
655fa42416
chore: clean up flow chart generated Or
edges
2023-09-04 09:19:51 -04:00
Zach Daniel
a131dfeb03
fix: show policy conditions, and fix final destination of last policy condition
2023-09-04 09:03:47 -04:00
Zach Daniel
69623a1efe
chore: cleanups for new mix task
2023-09-04 01:23:57 -04:00
Zach Daniel
8e2396b0b1
improvement: add mix ash.generate_policy_chart
2023-09-04 01:07:12 -04:00
Wout De Puysseleir
f2986118c3
Typo ( #686 )
2023-09-01 20:12:57 -04:00
Zach Daniel
030f240273
fix: include path in unique path for anonymous aggregates
2023-09-01 18:39:38 -04:00
Zach Daniel
105b4652ea
chore: release version v2.14.6
2023-09-01 17:23:11 -04:00
Zach Daniel
e423ec5381
fix: give anonymous aggregates constant names
2023-09-01 17:23:04 -04:00
Wout De Puysseleir
a68a4e21ea
Add Livebook button ( #685 )
...
I haven't tested it out if this works properly
2023-09-01 15:40:32 -04:00
Barnabas Jovanovics
b661022736
fix: sort operator names in keyset ( #684 )
2023-09-01 06:53:01 -04:00
Zach Daniel
86822d9a50
chore: release version v2.14.5
2023-08-31 11:41:59 -04:00
Zach Daniel
c5ea541b2d
chore: rework atomics to atomic_update
change and function
...
improvement: add `Ash.context_to_opts/1-2`
2023-08-29 14:39:38 -04:00
Zach Daniel
6381171eb6
improvement: add topic docs for atomics
2023-08-28 16:19:07 -04:00
Zach Daniel
18cb24e7f7
improvement: implement atomics, expression-based changes ( #682 )
...
there is still a lot of potential work that needs to be on this front.
1. supporting atomics on create actions.
2. supporting atomics in upserts (this one may actually be much easier than the first one, for postgres specifically, due to ecto implementation details)
3. discovering places atomics can be more nicely integrated into existing changes, validations, policies
2023-08-28 16:05:26 -04:00
Zach Daniel
452ec7df9d
chore: format
2023-08-25 13:57:13 -04:00
Zach Daniel
f05bcec2eb
improvement: hide __order__
and __lateral_join_source__
on records
2023-08-25 13:21:26 -04:00
Zach Daniel
537d25c68d
fix: action.update_default -> field.update_default typo
2023-08-25 12:10:36 -04:00
Zach Daniel
7d5fd04e5c
fix: ensure that errors/records return the proper value in bulk creates
...
closes #681
2023-08-25 08:59:24 -04:00
Zach Daniel
97ab3272db
fix: properly optimized nested get_path
calls
2023-08-23 12:51:35 -04:00
Zach Daniel
221280f1f5
fix: simplify and fix duplicate detection in embedded resources
2023-08-22 19:02:38 -04:00
Zach Daniel
b3f9a359d7
fix: better handling of runtime maps & lists
...
fix: properly handle `as` option for calculations in calculation dependencies
2023-08-22 18:26:20 -04:00
Zach Daniel
968e86b3a9
chore: release version v2.14.4
2023-08-22 15:29:21 -04:00
Zach Daniel
83b29f7bbd
fix: handle inline aggregates in calculation resolver
2023-08-22 15:28:50 -04:00
Zach Daniel
456588bd07
docs: add in-line aggregates to expression calculation docs
2023-08-22 14:49:16 -04:00
Zach Daniel
c3b21aa8ea
chore: release version v2.14.3
2023-08-22 14:44:48 -04:00
Zach Daniel
95c5f5f1ac
improvement: support in-line aggregates
2023-08-22 14:43:42 -04:00
Zach Daniel
7da453409c
chore: credo
2023-08-22 14:31:32 -04:00
Zach Daniel
56a96f04ed
fix: init validations at runtime not compile time
2023-08-22 14:29:22 -04:00
James Harton
269889c34b
fix(Ash.Filter): Don't overly constrain related references. ( #678 )
...
We now only apply related policies to filter statements based on references
that are explicitly annotated as inputs. This is the same logic that backs
protecting access in filters for field policies.
2023-08-21 19:39:07 -04:00
Zach Daniel
a37c8b17a8
fix: handle nil constraints in cast_input
2023-08-21 19:26:05 -04:00
Zach Daniel
bd0f89c9dd
chore: fix typo
2023-08-21 13:57:10 -04:00
Zach Daniel
34084c52ca
fix: properly handle in-line maps in exprs
2023-08-21 13:56:34 -04:00
Zach Daniel
356fa3a780
fix: don't cast notloaded/forbidden values at runtime
2023-08-21 11:35:00 -04:00
Zach Daniel
4adbd47191
fix: add required errors for missing read arguments
2023-08-21 10:14:10 -04:00
Eduardo B. A
3b67313129
improvement: Set api field for ActionInput when running action ( #676 )
...
Co-authored-by: Eduardo <sezdocs@dev-distrobox.fedora.local>
2023-08-20 10:06:32 -04:00
Alessio Montagnani
6785e30b68
improvement: make resource's DSL attributes section patchable ( #675 )
2023-08-19 14:05:19 -04:00
Tchowa Franck A
7e47bfb60f
improvement: validate all actions and accept/reject fields at once. ( #674 )
2023-08-18 20:47:35 -04:00
Zach Daniel
6136ca693b
fix: don't evaluate unknown types in basic operators
2023-08-18 11:37:20 -04:00
Zach Daniel
e976956254
chore: release version v2.14.2
2023-08-17 18:07:09 -04:00
Tchowa Franck A
f302dca003
Feature: Ensure aggregate field is attribute or calculation. ( #671 )
2023-08-17 18:02:05 -04:00
Zach Daniel
50164049df
fix: Enum types only have storage_type/0
still
2023-08-17 17:57:50 -04:00
Zach Daniel
b51dbe49c9
improvement: storage_type/0 -> storage_type/1
2023-08-17 17:52:00 -04:00