Zach Daniel
83d5bdd55e
fix: properly create new vectors from strings
2023-11-26 18:53:23 -05:00
Zach Daniel
71e6c8bd7b
chore: release version v2.17.4
2023-11-24 07:23:54 -05:00
Zach Daniel
be935723d2
fix: properly resolve nested calculation dependencies
2023-11-24 07:23:38 -05:00
Zach Daniel
fcdd35d336
chore: revert change to used_calculations
2023-11-21 09:32:55 -05:00
Zach Daniel
432d65a003
fix: don't apply sort on manage relationship lookup
...
fix: don't apply filter on manage relationship lookup if it has a parent expr
2023-11-21 09:13:23 -05:00
Jeremy Grant
1ce05562aa
fix: change_attribute failing on a union attribute ( #778 )
2023-11-20 19:10:35 -05:00
Barnabas Jovanovics
a3a176287d
fix: convert upsert fields before passing to data layer ( #777 )
2023-11-20 10:21:16 -05:00
Zach Daniel
82059d0dc6
chore: add postgres-version variable
2023-11-17 06:38:36 -05:00
Zach Daniel
1cb544ddfa
docs: small tweak to lifecycle example
2023-11-17 03:23:52 -05:00
Zach Daniel
d738e56fac
chore: format
2023-11-16 15:20:28 -05:00
Zach Daniel
09d4d380c2
chore: add lifecycle cheat-sheet
2023-11-16 15:15:28 -05:00
Zach Daniel
bf547ab8d8
chore: release version v2.17.3
2023-11-16 10:52:14 -05:00
Zach Daniel
1b847fc83c
fix: use sort
and filter
to synonymous_relationship
checks
2023-11-16 10:48:32 -05:00
Zach Daniel
b998ea37d7
chore: release version v2.17.2
2023-11-16 08:24:55 -05:00
Zach Daniel
b9f804db10
fix: properly set actor context on calc expressions in ets data layer
2023-11-16 08:18:39 -05:00
Zach Daniel
2d536e0b95
fix: properly pass authorize? option when loading aggregates
2023-11-15 20:25:59 -05:00
Zach Daniel
db44eaea74
fix: properly associate lateral join records with no_attributes? true
2023-11-15 18:38:13 -05:00
Zach Daniel
a983ddcef6
fix: set aggregate context as well as calculation context in filters
2023-11-15 17:46:13 -05:00
Zach Daniel
4a2563d5ae
fix: set actor when computing aggregates that reference calculations
2023-11-15 17:26:57 -05:00
Daniel Newman
8103831cf6
Bug: Actor not being passed
2023-11-15 17:05:31 -05:00
Bryan Bryce
37058a5b78
doc: Fix module reference in Relationship Guide ( #774 )
2023-11-14 17:19:19 -05:00
Zach Daniel
c5f59934d4
fix: dialyzer issues on sort
2023-11-14 10:52:32 -05:00
Zach Daniel
68367ac41f
chore: release version v2.17.1
2023-11-14 10:34:29 -05:00
Zach Daniel
bb9b9aea37
fix: properly return constraints in aggregate get_type
2023-11-13 17:11:43 -05:00
Zach Daniel
1a2dc2a14c
chore: format
2023-11-13 17:04:53 -05:00
Simon Bergström
b0d5c08f5d
fix: properly include relationship name message when relationship cannot be found ( #770 )
2023-11-13 17:04:35 -05:00
Zach Daniel
9141ed6bb6
chore: release version v2.17.0
2023-11-13 16:48:06 -05:00
Zach Daniel
575b1000d1
fix: properly thread constraints through aggregates
2023-11-13 16:47:24 -05:00
Barnabas Jovanovics
abb0854ae9
fix: remove destroyed or unrelated data from the relationship ( #767 )
2023-11-13 13:58:09 -05:00
Eduardo B. A
1775ab5a14
feat: Expand upsert_fields option ( #761 )
...
With this change, upsert_fields accepts the following options:
* `nil`: upsert fields not set;
* `:replace_all`: all fields from resource will be updated;
* `{:replace_all_except, [fields]}`: all fields from resource except fields inside `fields` will be updated;
* `{:replace, [fields]}`: only fields inside `fields` will be updated.
2023-11-13 13:23:16 -05:00
Zach Daniel
1470696a73
fix: properly strip extra record requested to detect more?
pages.
2023-11-13 13:18:35 -05:00
James Harton
173f4ae5ad
docs: Spelling fix (wether
-> whether
). ( #764 )
...
Wether: noun
1. A castrated male sheep or goat.
Whether: conjuction
1. Used to indirect questions to introduce one alternative.
2. Used to introduce alternative possibilities.
3. Either.
2023-11-09 15:52:13 +13:00
James Harton
050af513fd
docs: Add note about returning resources from generic actions. ( #763 )
2023-11-06 10:49:13 +13:00
Zach Daniel
780eae8d69
improvement: honor authorize?: false
option in generic actions
2023-10-27 15:28:51 -04:00
Zach Daniel
291dea3de9
docs: update docs for pub sub
2023-10-27 13:22:33 -04:00
Zach Daniel
5ea570591b
fix: don't attempt to key a struct
2023-10-27 11:07:11 -04:00
Zach Daniel
e8f22aa7b5
chore: release version v2.16.1
2023-10-27 00:43:53 -04:00
Zach Daniel
0a0148214a
fix: ensure item constraints are passed to array casting
2023-10-27 00:37:28 -04:00
Zach Daniel
f7b2af8bcc
fix: handle non-list values in Ash.Actions.Sort.process/4
2023-10-26 23:52:25 -04:00
Zach Daniel
348488e377
chore: fix typo copypasta
2023-10-26 22:07:33 -04:00
Zach Daniel
7b50a401d8
fix: optimize and make Ash.Type
more consistent
2023-10-26 22:04:57 -04:00
Riccardo Binetti
f12a73ad88
docs: fix Ash.Resource.Preparation moduledoc ( #759 )
...
It mentioned changeset and change instead of query and preparation
2023-10-26 19:27:30 -04:00
Zach Daniel
34a4e416b0
fix: fix typespec for include_source/2
2023-10-26 10:11:54 -04:00
Zach Daniel
0988f31811
chore: fix typespec for error class module
2023-10-26 10:05:20 -04:00
Zach Daniel
8a31284015
chore: process sort before checking for parent exprs
2023-10-26 10:02:17 -04:00
Zach Daniel
4797e148ac
improvement: detect more parent expressions
2023-10-26 09:58:08 -04:00
Zach Daniel
7296874952
chore: release version v2.16.0
2023-10-25 17:48:09 -04:00
Robert Graff
a48d43e79d
fix more handle change use cases ( #757 )
2023-10-25 17:47:50 -04:00
Zach Daniel
e680867be9
fix: don't reorder global validations/changes
...
fix: use latest spark, and new persisters callback
fix: properly validate belongs_to relationships
2023-10-25 17:45:55 -04:00
Zach Daniel
539f5a1727
fix: remove invalid usages of unsafe_change_attribute/3
...
ci: test against `ash_paper_trail`
2023-10-25 13:06:04 -04:00