Commit graph

3355 commits

Author SHA1 Message Date
Zach Daniel
a12131cf70 improvement: simplify aggregate loading, remove Ash.Engine from it
improvement: add atomic implementation for builtin `increment` change
improvement: simplify related path authorization, use same tool as aggregates now use
2024-01-08 15:31:09 -05:00
Robert Graff
b35f30fb6f
docs: Fix typo in page_requires_pagination.ex (#819) 2024-01-05 19:15:52 -05:00
Zach Daniel
80d117ed1e chore: remove IO.inspect 2024-01-05 12:41:58 -05:00
Zach Daniel
352055bf1c chore: release version v2.17.21 2024-01-05 12:31:06 -05:00
Zach Daniel
16818f1f14 fix: don't consider ash field signals as present 2024-01-05 12:30:59 -05:00
Rohan Relan
426e471cbe
docs: Update security.md to fix bug in showing when to pass the actor (#817) 2024-01-05 10:07:43 -05:00
Zach Daniel
c4fd06aea0 improvement: refactor filter requests to not use Ash.Engine 2024-01-04 12:46:38 -05:00
Zach Daniel
af9c78c2f6 chore: fix typo 2024-01-04 01:01:44 -05:00
Zach Daniel
5b222f9a68 chore: release version v2.17.20 2024-01-04 00:57:55 -05:00
Zach Daniel
fadecf3ee9 improvement: atomic validation implementations for most validations
improvement: support type operator overloading
2024-01-04 00:52:46 -05:00
Zach Daniel
6061a2a16a improvement: add some atomic implementations 2024-01-03 16:48:15 -05:00
Zach Daniel
746fc5df53 fix: add required check for stream pagination 2024-01-01 01:22:12 -05:00
Zach Daniel
22e51fd69f chore: fix docs generation 2023-12-31 01:07:39 -05:00
Zach Daniel
fe2156a9ac imorovement: support bulk action callbacks in the data layer 2023-12-31 00:49:22 -05:00
Zach Daniel
56387d40e0 chore: release version v2.17.19 2023-12-29 21:43:42 -05:00
Zach Daniel
44761e7e3f improvement: support :no_rollback and return_query/2 callback 2023-12-29 21:43:15 -05:00
Zach Daniel
b600b23803 improvement: add a return_query/2 callback for data layers 2023-12-29 17:33:23 -05:00
Zach Daniel
dcc280cb2d chore: release version v2.17.18 2023-12-29 17:23:32 -05:00
Zach Daniel
4dfa140ec9 improvement: support {:error, :no_rollback, error} from data layer callbacks 2023-12-29 17:23:13 -05:00
Zach Daniel
c3e192c6d8 improvement: always update the join relationship 2023-12-28 15:04:00 -05:00
Zach Daniel
40aa17eab8 fix: ensure __source__ is set on nested embedded attributes 2023-12-28 14:47:40 -05:00
Robert Graff
69ff044214
test: pass the source context with data to embedded resource validations (#811) 2023-12-28 13:25:49 -05:00
Dmitry Maganov
a6d381a171
test: fix typo in a test name (#815) 2023-12-28 12:07:55 -05:00
Zach Daniel
259b48e5ea improvement: use new api option in Ash.Query.for_read/4 2023-12-27 18:15:20 -05:00
Zach Daniel
4ee80297d7 improvement: support using the new api option in actions 2023-12-27 18:14:29 -05:00
Zach Daniel
e90842f141 improvement: accept api option in Ash.Changeset.for_* functions 2023-12-27 17:53:23 -05:00
Zach Daniel
31879077b7 chore: comment out test for 3.0 fix 2023-12-27 17:48:13 -05:00
Zach Daniel
3e296a4bba Revert "chore: comment out test for now
This reverts commit cc21661559.
2023-12-27 17:47:50 -05:00
Zach Daniel
17afb821a7 fix: don't include unknown authorize? value in changesets 2023-12-27 17:37:51 -05:00
Zach Daniel
14d4e26d9c chore: remove IO.inspect 2023-12-27 17:36:09 -05:00
Zach Daniel
034642ffda improvement: update Ash interface for working with new style resources 2023-12-27 17:35:30 -05:00
Zach Daniel
cc21661559 chore: comment out test for now 2023-12-27 17:28:52 -05:00
Zach Daniel
af3d2b321d chore: use unused variable 2023-12-27 16:38:41 -05:00
Zach Daniel
d4f123975d chore: add gource script 2023-12-27 16:37:24 -05:00
Rohan Relan
750dc17286
test: Adds a test to ensure authorization occurs when the actor is set and authorization? is by_default (#813)
Co-authored-by: Rohan Relan <roresemail@gmail.com>
2023-12-27 10:27:22 -05:00
Chakib Ouhajjou
c7738255f0
docs: Sorting for hex documentation added (#810) 2023-12-27 10:22:59 -05:00
Zach Daniel
26160e446b chore: require name for ash.codegen 2023-12-27 10:12:19 -05:00
Zach Daniel
19d18c5fcc improvement: better formatting of nested expressions
improvement: helpful errors when misusing `.` in expressions
2023-12-22 22:22:59 -05:00
Zach Daniel
55d83e6b4c chore: release version v2.17.17 2023-12-22 21:10:25 -05:00
Zach Daniel
0f8bb664ab fix: properly move maps & lists to expression paths
fix: set tenant when running authorization queries

closes: #812
2023-12-22 21:09:00 -05:00
Zach Daniel
bb5aa435a3 chore: release version v2.17.16 2023-12-22 19:06:57 -05:00
Zach Daniel
d390d65146 improvement: simplify used aggregate detection
improvement: add `lazy/1` to expressions
docs: add expression docs
2023-12-22 19:06:13 -05:00
Zach Daniel
3a1923fdeb improvement: support providing an input key in predicate maps 2023-12-21 17:17:43 -05:00
Zach Daniel
097f8b0023 chore: release version v2.17.15 2023-12-21 13:30:34 -05:00
Zach Daniel
eb05e9be63 improvement: support streaming without keyset pagination
use the new `allow_stream_with` and `stream_with` options to control
what strategy may be used to stream query results.
2023-12-21 08:35:49 -05:00
Zach Daniel
0932cf32a7 improvement: add callbacks for bulk actions on manual actions 2023-12-20 21:23:13 -05:00
Zach Daniel
ed887413d7 improvement: base case iterative bulk destroy implemented 2023-12-20 21:08:40 -05:00
Zach Daniel
8c17434803 improvement: add iterative, streaming implementation for bulk updates 2023-12-20 17:33:43 -05:00
Zach Daniel
1cb5e2860d docs: update getting started guide with latest recommendations 2023-12-20 09:36:00 -05:00
Zach Daniel
f487bbb316 chore: add missing CI dep 2023-12-20 09:27:47 -05:00