Robert Graff
fc9132e75b
docs: metadata docs improvement ( #823 )
2024-01-09 19:27:16 -05:00
Zach Daniel
3eeffc6539
chore: release version v2.17.22
2024-01-09 08:13:57 -05:00
Alan Heywood
dbb4a38ea3
fix: only put keywords to be interpolated in message in error vars ( #821 )
...
* fix: only put keywords to be interpolated in message in error vars
---------
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-01-08 18:08:17 -05:00
Zach Daniel
d617f42daf
improvement: append new entities in Ash.Resource.Builder
2024-01-08 16:19:36 -05:00
Zach Daniel
c1fd67f22c
fix: ignore empty relationship paths when authorizing relationships
2024-01-08 15:47:48 -05:00
Zach Daniel
4652a8237e
fix: properly build query from opts in aggregates
2024-01-08 15:40:27 -05:00
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