Zach Daniel
078cc4f28b
improvement: reintroduce deslection of known forbidden fields
...
this was an optimization that was temporarily removed, but can now
safely be added because we track depended on fields
2024-05-07 22:42:23 -04:00
Zach Daniel
797a0bf50b
fix: properly upgrade static expression calculations to literal calculations
2024-05-07 22:33:05 -04:00
Zach Daniel
04b4769e87
improvement: always reselect positionally on embedded resources
2024-05-07 22:05:50 -04:00
Zach Daniel
48c6438212
improvement: change default timeout to :infinity
, for efficiency
2024-05-07 17:01:11 -04:00
Zach Daniel
0e004ead7a
fix: support empty lists as bulk arguments to code interface options
...
fixes #1126
2024-05-07 16:46:41 -04:00
Zach Daniel
ce559bc018
fix: temporarily disable field policy deselection optimization
...
also added a test for related field calc dependencies,
commented out until I fix it later
2024-05-07 16:08:56 -04:00
Barnabas Jovanovics
d2bfaff377
test: add test for calc deps that are forbidden ( #1128 )
2024-05-07 15:39:04 -04:00
Zach Daniel
f5ab6a6bd8
fix: ensure that reuse_values?
is honored all the way down the chain
2024-05-07 15:38:03 -04:00
Riccardo Binetti
7f701cfb57
chore: add failing test for calculation reuse across loads ( #1127 )
2024-05-07 12:28:22 -04:00
Barnabas Jovanovics
9d16ca07dc
feat: check global changes and validations for atomicity during compile time ( #1129 )
2024-05-07 12:09:12 -04:00
Zach Daniel
09cff72d03
chore: ensure changeset is set on atomic upgraded errors
...
docs: update livebook
2024-05-06 21:57:11 -04:00
Zach Daniel
1d519e37e0
chore: better inspecting for error classes
2024-05-06 20:58:39 -04:00
Zach Daniel
64ecdad657
fix: properly deduplicate calculations
2024-05-06 20:32:41 -04:00
Riccardo Binetti
c3c330224d
chore: add failing test for calculation loaded twice in Ash.load/3 ( #1122 )
2024-05-06 19:25:17 -04:00
Zach Daniel
e68792838c
chore: release version v3.0.0-rc.46
2024-05-06 13:06:12 -04:00
Zach Daniel
b810e2e55b
fix: better performance and ability to add a stream to runtime sort logic
2024-05-06 13:05:34 -04:00
Zach Daniel
400fc4aea3
chore: set postgres to 13
2024-05-06 11:02:48 -04:00
Zach Daniel
36308a9e4f
chore: reword some docs
2024-05-06 10:52:17 -04:00
Zach Daniel
4780bddde4
chore: formatting docs
2024-05-06 10:48:32 -04:00
Zach Daniel
338e6a4d68
docs: update wording
2024-05-06 10:42:11 -04:00
Zach Daniel
405093eb1a
chore: add some clarification
2024-05-06 10:24:50 -04:00
Zach Daniel
84f8d6d942
chore: fix docs title
2024-05-06 10:23:41 -04:00
Zach Daniel
b6669dab94
docs: remove cook book terminology
2024-05-06 10:19:42 -04:00
Barnabas Jovanovics
815ceff61d
Do not define info inside extension because of compile dependency ( #1120 )
2024-05-06 09:26:09 -04:00
Moxley Stratton
aa09589fbd
docs: Add documentation for Ash.Filter, linking to Expressions guide ( #1114 )
...
* Add documentation for Ash.Filter, linking to Ash.Filter.Functions.*
* Update PR: Rename section to "Expressions"
2024-05-06 07:47:35 -04:00
Zach Daniel
b70c175cbd
chore: nested numbers
2024-05-05 19:09:41 -04:00
Zach Daniel
2fbdeca72a
chore: typo
2024-05-05 19:08:08 -04:00
Zach Daniel
dee0399264
chore: work on docs
2024-05-05 19:07:19 -04:00
Zach Daniel
78f4ca1ced
chore: work on cookbooks
2024-05-05 19:00:18 -04:00
Pierre Cavin
3cf9fcd8e5
feat: add new remove_nil_items? array type constraint ( #1116 )
2024-05-05 12:05:04 -04:00
Pierre Cavin
c05544663e
fix: run array type nil check after item constraints ( #1115 )
2024-05-05 11:49:23 -04:00
Zach Daniel
544dc6cfd0
chore: just use backticks, even though it doesn't link properly in the livebook
2024-05-05 10:57:26 -04:00
Zach Daniel
3c97bfe2dc
docs: fix typo
2024-05-05 09:56:51 -04:00
Zach Daniel
a802e04a93
docs: rework ash state machine cook book, clean up both cookbooks
2024-05-05 09:30:42 -04:00
Zach Daniel
dc4a3a355d
docs: rework state machine cookbook
2024-05-05 09:08:29 -04:00
Zach Daniel
df789b962f
docs: add AshStateMachine cookbook
2024-05-04 09:57:34 -04:00
Zach Daniel
4384768db8
chore: cleanup livebook
2024-05-04 07:07:47 -04:00
Zach Daniel
64d44df674
chore: use warning in livebook
2024-05-04 07:07:15 -04:00
Zach Daniel
6c9a16862f
chore: release version v3.0.0-rc.45
2024-05-04 07:04:01 -04:00
Zach Daniel
6882d15098
chore: fixes around inspect logic and cookbook
2024-05-04 07:03:03 -04:00
Riccardo Binetti
5dfea1df9b
feat: add relationship pagination ( #1050 )
2024-05-04 05:56:46 -04:00
Zach Daniel
25279aa857
chore: fix output in livebook
2024-05-04 01:17:07 -04:00
Zach Daniel
c0cf401b3b
chore: small docs tweaks
2024-05-04 01:12:48 -04:00
Zach Daniel
4cc83e7690
chore: release version v3.0.0-rc.44
2024-05-04 01:10:57 -04:00
Zach Daniel
e03e4379a9
fix: small logic fixes for optimistic locking error case
...
chore: a bunch of QoL fixes around inspecting expressions
2024-05-04 01:10:04 -04:00
Zach Daniel
190ba47c33
chore: release version v3.0.0-rc.43
2024-05-03 20:39:32 -04:00
Zach Daniel
3b85451289
fix: more fixes for atomic changeset context setting
2024-05-03 20:39:10 -04:00
Jechol Lee
70f5264f17
Fix: missing tenant for many_to_many read ( #1107 )
...
* Fix missing tenant for many_to_many read
* Set tenant earlier
2024-05-03 18:51:52 -04:00
Zach Daniel
f67749ccf1
docs: update tenancy docs
2024-05-03 17:16:49 -04:00
Riccardo Binetti
7507cdd731
fix: make lateral join filtering in ETS data layer work ( #1111 )
...
One of the two branches was using the non-bang version of a function, which
returned `{:ok, filter}`. That value was then directly put in the Query struct,
resulting in an invalid filter that was never applied.
2024-05-03 16:56:18 -04:00