Commit graph

779 commits

Author SHA1 Message Date
Zach Daniel
662bbf96b9 fix: fix pub_sub on update
improvement: add not_found_message + violation_message for relationships
chore: fix lint
2021-03-10 00:08:26 -05:00
Zach Daniel
68f358d342 improvement: support get_by_<identity> in interface
fix: fix `publish_all` pub_sub notifier
improvement: support sublists in pub_sub topics
improvement: support `:_tenant` in pub_sub topics
2021-03-09 16:16:02 -05:00
Zach Daniel
6158377dba chore: release version v1.36.1 2021-03-09 01:21:00 -05:00
Zach Daniel
f4fcfb54a2 improvement: accept tenant in for_read
fix: properly filter aggregates
2021-03-09 01:19:45 -05:00
Zach Daniel
83b39df4d5 chore: release version v1.36.0 2021-03-08 17:24:36 -05:00
Zach Daniel
5cfa4d5bf0 improvement: update interface to accept query/changesets 2021-03-08 17:19:13 -05:00
Zach Daniel
50f893e8db docs: update notifier docs 2021-03-08 17:19:04 -05:00
Zach Daniel
72b5a57a25 feat: functional interface on the Api module
feat: resource aliases
improvement: require completely unique action names
2021-03-08 00:59:32 -05:00
Zach Daniel
bab282e49e chore: release version v1.35.1 2021-03-07 15:21:28 -05:00
Zach Daniel
6e1baad6b2 fix: don't reverse sub-entities in DSL 2021-03-07 15:19:53 -05:00
Zach Daniel
cb8f557da4 chore: release version v1.35.0 2021-03-07 14:10:18 -05:00
Zach Daniel
e90fdad34a feat: support Ash.Query.select/3 and Ash.Changeset.select/3 2021-03-07 14:09:51 -05:00
Zach Daniel
877203f27a chore: release version v1.34.9 2021-03-05 10:39:29 -05:00
Zach Daniel
c2cb843be9 improvement: ignore destination field on some relationship inputs 2021-03-05 10:39:06 -05:00
Zach Daniel
1690150ec8 chore: release version v1.34.8 2021-03-04 22:49:32 -05:00
Zach Daniel
80a65db150 improvement: various validation lifecycle options
fix: various validation lifecycle fixes
fix: don't fetch sideloads for empty data
2021-03-04 22:48:15 -05:00
Zach Daniel
d5ff298b62 chore: release version v1.34.7 2021-02-26 15:13:57 -05:00
Zach Daniel
be576206bd chore: remove IO.inspect 2021-02-26 15:13:48 -05:00
Zach Daniel
2f8074ff88 fix: fix nested boolean expression optimization 2021-02-26 15:11:14 -05:00
Zach Daniel
9c685feeda chore: release version v1.34.6 2021-02-24 13:49:45 -05:00
Zach Daniel
02f7d0101b fix: manage_relationship fixes, input + option defaults 2021-02-24 13:49:27 -05:00
Zach Daniel
af3b090cb1 chore: release version v1.34.5 2021-02-24 11:14:40 -05:00
Zach Daniel
ae233feacf chore: change Ecto.UUID.generate() to Ash.UUID.generate() 2021-02-24 11:14:35 -05:00
Zach Daniel
c7d3cd5006 chore: release version v1.34.4 2021-02-24 11:13:35 -05:00
Zach Daniel
e60e5bf281 fix: treat empty string as nil in manage_relationship
fix: be more conservative (and more correct) when optimizing predicates
2021-02-24 11:13:35 -05:00
zimt28
e10b273ce4
Ecto.UUID -> Ash.UUID (#188) 2021-02-23 12:27:49 -05:00
Zach Daniel
ea4c0e78b5 chore: release version v1.34.3 2021-02-22 23:51:17 -05:00
Zach Daniel
16d60386aa fix: fix builtin mange_relationship change 2021-02-22 23:50:23 -05:00
Zach Daniel
33d23d7193 chore: release version v1.34.2 2021-02-22 23:16:40 -05:00
Zach Daniel
53296fab8b fix: support belongs_to relationships properly 2021-02-22 23:16:25 -05:00
Zach Daniel
d82d699045 chore: release version v1.34.1 2021-02-22 21:35:04 -05:00
Zach Daniel
f068055f63 fix: authorize if actor key is present 2021-02-22 21:34:45 -05:00
Zach Daniel
89c1432deb docs: organize docs 2021-02-22 20:57:27 -05:00
Zach Daniel
e4dac5e230 chore: release version v1.34.0 2021-02-22 20:54:49 -05:00
Zach Daniel
d42c778a0d improvement: many compile time fixes via code splitting
feat: refactored manage_relationship options/behavior
2021-02-22 20:44:03 -05:00
zimt28
db533450ed
improvement: Guess destination_field for has many relationships (#187) 2021-02-15 13:32:44 -05:00
mhussa
a22f0c0122
docs: Update getting_started.md (#186)
fix next section link
2021-02-09 23:02:55 -05:00
Zach Daniel
4f9badac6c
Update backers.md 2021-02-09 21:44:05 -05:00
Darren Black
983a711837
improvement: Implement string length validation (#183)
Co-authored-by: Darren Black <darren@ifixsystems.com.au>
2021-02-08 18:16:32 -05:00
Zach Daniel
3739b4c33a chore: update doc formatting 2021-02-05 19:07:47 -05:00
Zach Daniel
c9cf8b5e74 chore: release version v1.33.0 2021-02-05 18:57:36 -05:00
Zach Daniel
03b6714e6f improvement: set_context change/preparation
fix: support `manage_relationship` for `belongs_to`
2021-02-05 18:56:56 -05:00
Zach Daniel
142b3bf7f9 feat: add default_context
feat: add `manage_relationship/4`

feat: add relationship specific context (for postgres polymorphism)

feat: add `reject` (opposite of `accept`)

improvement: set `accept` by default
2021-02-04 17:15:15 -05:00
Zach Daniel
008270749b chore: release version v1.32.2 2021-01-28 14:49:18 -05:00
Zach Daniel
dd26beb79b chore: add more authorization tests
chore: improve authorization test helper

improvement: support `{:filter, _}` authorization results for changesets
2021-01-28 14:49:08 -05:00
Zach Daniel
6d982a6bd2 chore: release version v1.32.1 2021-01-26 23:49:29 -05:00
Zach Daniel
0ac0be6a1f fix: only run authorization once per request
fix: don't error on replacing empty relationship with empty

improvement: support `tenant` option to `get/2`

improvement: support `message` option on identities
2021-01-26 23:48:00 -05:00
Zach Daniel
8706047d4a chore: release version v1.32.0 2021-01-25 02:15:22 -05:00
Zach Daniel
1004ceb71d feat: add after_action for queries
fix: default to calculating filters on `data_layer_query`
2021-01-25 02:14:22 -05:00
Zach Daniel
1705f72463 chore: release version v1.31.1 2021-01-24 13:48:25 -05:00