Zach Daniel
1f2e8f7a09
fix: properly set builtin types
2023-03-13 18:29:53 -04:00
Zach Daniel
15ed6567fd
chore: release version v2.6.21
2023-03-13 17:45:45 -04:00
Zach Daniel
a559a0cd3f
improvement: add Ash.Type.NewType
2023-03-13 17:44:27 -04:00
Zach Daniel
15657f3e51
improvement: add :unknown
for all potential facts
2023-03-10 20:24:36 -05:00
Zach Daniel
b899a6ecf3
improvement: optimize policy check running with laziness
...
Implemented lazy evaluation of individual checks, so that checks that
are demonstrably irrelevant when building policies are not checked at all.
This will often mean no need to visit the sat solver at all, or only with
a very minimal set of filter checks.
2023-03-10 13:29:29 -05:00
Rebecca Le
d6178a026c
docs: rewrite Policies guide to be clearer ( #524 )
...
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2023-03-10 12:50:25 -05:00
Zach Daniel
3233129682
improvement: don't select when running policy queries
2023-03-10 00:17:44 -05:00
Zach Daniel
7acce3254c
chore: release version v2.6.20
2023-03-09 20:59:10 -05:00
Zach Daniel
5723b0447f
fix: remove pre_flight expression checking
2023-03-09 20:57:53 -05:00
James Harton
ee99bf367f
improvement: Add builtin changes for lifecycle hooks. ( #523 )
2023-03-09 19:59:39 -05:00
Nick Bosch
360d72d506
docs: improve relationships topic guide ( #521 )
2023-03-09 19:06:10 -05:00
Axel Baudot
6a95ae388a
docs: add drop-in configuration code snippet for the Spark formatter plugin. ( #522 )
2023-03-09 15:31:51 -05:00
Zach Daniel
7bd45db0e5
chore: release version v2.6.19
2023-03-09 08:07:08 -05:00
Zach Daniel
979b4e648d
fix: properly return false
on forbidden errors
2023-03-09 07:55:27 -05:00
Zach Daniel
2fcacc4be6
chore: support data
option for can?
with updates/destroys
2023-03-08 16:41:25 -05:00
Zach Daniel
1fd3c860ac
chore: release version v2.6.18
2023-03-08 16:35:19 -05:00
Zach Daniel
c643e9a88f
improvement: add Api.can?
and Api.can
2023-03-08 16:34:44 -05:00
Zach Daniel
20d0d5f722
chore: release version v2.6.17
2023-03-06 08:59:46 -05:00
Zach Daniel
785af56002
fix: add actor
back to transaction metadata
2023-03-06 08:59:20 -05:00
Juha
2db5de0be7
Fix typo in Ash.Flow moduledoc ( #520 )
2023-03-06 08:05:35 -05:00
Zach Daniel
9fa3e21515
chore: update .formatter.exs
2023-03-03 13:18:42 -05:00
Zach Daniel
fcda41eb14
docs: update actions guide
2023-03-03 13:12:17 -05:00
Zach Daniel
0715da0aad
improvement: add delay_global_validations?
action option
2023-03-03 13:07:14 -05:00
Zach Daniel
a45267441a
chore: more fluent datetime type casting
2023-03-03 11:59:15 -05:00
Zach Daniel
ccdbafa730
chore: improve inspect protocol
2023-03-03 11:39:50 -05:00
Zach Daniel
4aeb8bc3e3
chore: release version v2.6.16
2023-03-03 11:09:10 -05:00
Zach Daniel
44d744daba
improvement: add new date expressions
...
chore: fix dialyzer
2023-03-03 11:08:38 -05:00
Boon
e2844c861e
docs: Update get-started.md ( #519 )
2023-03-01 08:50:03 -05:00
Zach Daniel
5addfb37fb
fix: calc loading in keyset pagination
2023-02-28 10:11:48 -05:00
Barnabas Jovanovics
f312d53eab
test: pass in arguments to validation ( #518 )
2023-02-28 10:03:35 -05:00
Zach Daniel
eec9de56ce
chore: release version v2.6.15
2023-02-27 12:18:38 -05:00
Zach Daniel
5c71e3b6bc
fix: properly handle allow_nil fields in keyset pagination
2023-02-27 12:18:18 -05:00
Zach Daniel
c5f7fab8d4
chore: release version v2.6.14
2023-02-24 14:32:16 -05:00
Zach Daniel
7dddbade5c
fix: don't reselect fields automatically
...
it leads to strange/unpredictable behavior
improvement: introduce `reselect_all?` option for loading
2023-02-24 14:31:37 -05:00
Zach Daniel
c8ca9cd3ce
fix: ensure data layer is compiled
2023-02-24 11:37:01 -05:00
Zach Daniel
85ae9339e6
chore: release version v2.6.13
2023-02-24 11:33:13 -05:00
Zach Daniel
119905e5ad
chore: fix call inspects
2023-02-24 11:27:06 -05:00
Zach Daniel
83bd8215b0
fix: only use resource_to_query/2
2023-02-24 11:22:40 -05:00
Zach Daniel
3da20835e6
chore: release version v2.6.12
2023-02-24 10:54:36 -05:00
Zach Daniel
41ea63aed3
improvement: support record's as calculate arguments
2023-02-24 10:54:25 -05:00
Rebecca Le
9105d4f297
docs: Update pubsub docs to be readable on AshHQ ( #517 )
2023-02-24 06:58:09 -05:00
Zach Daniel
f060a2bdc4
improvement: include actor in all calculation context
2023-02-23 09:45:27 -05:00
Zach Daniel
86d2297018
fix: support nil
values in dump_to_native
2023-02-22 22:36:02 -05:00
Zach Daniel
2a6fe49348
fix: properly support calc expansion in policies
...
fix: support `nil` cast for resource type
2023-02-22 22:28:15 -05:00
Isaak Tsalicoglou
2a67a32874
docs: Update "Get Started" guide with an example ( #509 )
2023-02-22 20:39:52 -05:00
Zach Daniel
2a3d8cc711
chore: release version v2.6.11
2023-02-22 20:12:26 -05:00
Zach Daniel
005c1bc6c1
fix: allow argument references in policies
2023-02-22 20:12:08 -05:00
Zach Daniel
007e0fb081
improvement: don't eager load sort data
2023-02-21 19:05:40 -05:00
Zach Daniel
779420743e
chore: release version v2.6.10
2023-02-21 09:58:00 -05:00
Zach Daniel
856bfc67a6
fix: properly handle list args for functions
...
chore: fix credo
2023-02-21 09:57:36 -05:00