Zach Daniel
227344631f
chore: release version v2.5.13
2023-01-30 13:35:19 -05:00
Zach Daniel
28b7def5c9
improvement: no async loads except when loading on initial data
2023-01-30 00:06:34 -05:00
Zach Daniel
fae96036dd
chore: release version v2.5.12
2023-01-29 18:24:23 -05:00
Zach Daniel
72843dbf89
chore: release version v2.5.11
2023-01-28 09:14:22 -05:00
Zach Daniel
338cb3a84e
chore: release version v2.5.10
2023-01-27 15:42:42 -05:00
Zach Daniel
7ea8c38095
docs: add config to getting started guide, fix dsl links
2023-01-25 10:16:32 -05:00
Rebecca Le
d731933a9d
docs: Fix minor typos in guide headings ( #488 )
2023-01-23 22:40:28 -05:00
Zach Daniel
b538dbe391
chore: release version v2.5.9
2023-01-22 10:41:00 -05:00
Zach Daniel
86ad21b76f
chore: release version v2.5.8
2023-01-20 11:39:35 -05:00
Zach Daniel
45ad1c6afa
docs: document pub_sub debug option
...
fix: properly prepend the prefix to the topic
2023-01-20 11:31:31 -05:00
Zach Daniel
e5059ab13d
chore: release version v2.5.7
2023-01-20 02:24:51 -05:00
Zach Daniel
e68ea11beb
chore: release version v2.5.6
2023-01-18 22:00:42 -05:00
Zach Daniel
b1afa05026
chore: release version v2.5.5
2023-01-18 19:02:39 -05:00
James Harton
c142afde5a
docs: fix syntax highlighting in the "Why Ash?" guide. ( #485 )
2023-01-18 17:16:42 -05:00
Zach Daniel
02ad5b4c33
chore: update docced versions
2023-01-18 00:41:50 -05:00
Zach Daniel
6a6ca6cd31
chore: set mix_deps manually
2023-01-18 00:37:41 -05:00
Zach Daniel
897308ba3a
improvement: update docs to new links formats for ash_hq ( #483 )
2023-01-18 00:34:20 -05:00
Zach Daniel
d471a94ccc
fix: properly set the context option on changesets
...
docs: add section on `Ash.CodeInterface.define_interface/2`
improvement: add `action_is/1` builtin validation
2023-01-12 09:18:49 -05:00
Esdras Eduardo
2e25ad9c14
docs: Remove double space and with ( #477 )
2023-01-11 22:08:32 -05:00
Zach Daniel
70bc983b17
improvement: add Api.calculate/3
and define_calculation
code interface builder
2023-01-08 23:39:12 -05:00
Zach Daniel
e804566cbf
improvement: rename this
to parent
for clarity
2023-01-05 12:25:55 -05:00
Zach Daniel
c962bc7aa7
feat: add this/1
for use inside exists/2
(and other places eventually)
...
fix: various fixes to expression syntax
2023-01-04 12:17:40 -05:00
Zach Daniel
c32d3cc49a
improvement: warn on potentially incompatible relationship attributes
...
improvement: add `default_belongs_to_type` configuration
2023-01-03 10:52:19 -05:00
Maxim Martynov
7841075f35
improvement: Add Ash.Error.Invalid.TenantRequired error ( #471 )
2022-12-29 23:05:41 -05:00
Zach Daniel
1ccec692cb
chore: docs & info on new deprecation
2022-12-22 01:39:33 -05:00
Justin Lane
05e4f2f2de
docs: Fix broken link on Getting Started Tutorial ( #468 )
...
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
Fixes https://github.com/ash-project/ash_hq/issues/62
2022-12-22 00:16:14 -05:00
Mariusz Morawski
70b6a52b08
docs: Fix wrong policy explanation module in docs. ( #465 )
2022-12-20 03:19:01 -05:00
Justin Lane
f882889751
docs: Update Code Interface Doc ( #461 )
2022-12-15 21:47:32 -05:00
Zach Daniel
96409416cf
improvement: more dependable notifications, support custom notifications better
2022-12-09 22:55:51 -05:00
Barnabas Jovanovics
534774e1d2
docs: Update extending-resources.md ( #459 )
2022-12-02 12:07:23 -05:00
Zach Daniel
85bd66ba4a
docs: more updates to policies guide
2022-11-23 03:40:14 -05:00
Zach Daniel
2f3fcbad13
improvement: optimize various solver boolean optimizations
...
improvement: more comprehensively remove unnecessary clauses
fix: resolve issue with `authorize_unless` and filter checks
improvement: prevent changing attributes and arguments after action validation
We allow for these changes inside of `before_action` calls, but otherwise
require that `force_change_attribute` is used, for example. This prevents
accidentally validating a changeset and then changing an attribute.
2022-11-23 03:39:00 -05:00
Zach Daniel
3e5b0a8096
fix: fix typespec for Api.Info.trace_name/3
...
docs: add context to monitoring guide
2022-11-22 13:24:16 -05:00
Zach Daniel
d91c3b6d15
improvement: update hexdocs processor to link guides on hexdocs
2022-11-21 18:27:35 -05:00
Zach Daniel
d16b7057a3
improvement: better check module validation
...
docs: add more context to security and policy guides
2022-11-21 00:29:45 -05:00
Zach Daniel
2ef7bc6273
docs: improve policy writing guide
...
improvement: add default description for filter checks
2022-11-17 01:33:38 -05:00
Rebecca Le
91bb426e7e
fix: Add missing [:ash, :query]
telemetry ( #451 )
2022-11-16 11:41:52 -05:00
Zach Daniel
2cf18e6a3a
docs: proper link to ash postgres multitenancy guide
2022-11-13 11:49:04 -05:00
Rowland Carlson
f3e9bf865c
docs: Comment out editorial comments ( #445 )
2022-11-09 16:31:20 -05:00
Zach Daniel
70305849e4
chore: update extension link in AshPostgres
2022-11-05 18:19:25 -04:00
Zach Daniel
a0e5b2cb7d
docs: small docs tweaks
...
improvement: update to latest spark
2022-11-03 00:47:24 -07:00
Josh Price
d1821a8ef7
docs: review guides and docs ( #430 )
2022-11-03 00:03:43 -07:00
Zach Daniel
d23be5e49b
improvement: add more builders
...
docs: fix typo in docs
2022-10-31 21:23:07 -04:00
Zach Daniel
6994295a8f
fix: properly upsert all explicitly changed fields
...
fix: traverse maps for `template_references_actor?/1`
docs: various doc fixes
2022-10-31 11:33:51 -04:00
Zach Daniel
8cbd766172
feat: support anonymous functions in DSL
...
improvement: add more ergonomic manual action definitions.
The old method will likely be deprecated some time in the future (there is no rush really, they both work).
2022-10-30 21:00:57 -04:00
Zach Daniel
e52d7187d8
improvement: more additions to the resource builder, update spark
...
test: add a test for loading many to many relationships on code interface actions
2022-10-28 10:18:01 -05:00
Zach Daniel
39ea911d33
docs: various guide/documentation updates
2022-10-25 23:17:49 -05:00
Zach Daniel
6e43784535
docs: update docs, add some context, remove dead link
2022-10-25 09:11:54 -06:00
Zach Daniel
67814a2160
docs: add more context to manual relationship guide
...
docs: add a "Defining Idiomatic Actions" guide
chore: fix flaky tests
2022-10-23 23:08:17 -06:00
Zach Daniel
03482cf908
docs: add an initial "Why Ash?" guide
2022-10-23 22:16:50 -06:00
Mykolas Mankevicius
6a9ea80eae
docs: Update get started guide to be more beginner friendly ( #429 )
...
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2022-10-23 22:07:51 -06:00
Zach Daniel
8092cd899a
docs: remove more experimental warnings
2022-10-20 02:00:56 -04:00
Zach Daniel
57466b3498
docs: remove outdated statement about calculations being limited
2022-10-19 22:17:44 -04:00
Zach Daniel
37074207d8
docs: update actions guide
2022-10-18 17:32:50 -05:00
Zach Daniel
4915e5d583
improvement: add now()
to expression syntax
2022-10-18 14:19:28 -05:00
Zach Daniel
6751afc683
improvement: support depending on requests that will be added
...
docs: improve flow docs
closes : #418
improvement: support dynamic action steps in `Ash.Flow`
2022-10-16 14:07:57 -05:00
Zach Daniel
652342c41d
docs: remove the word simply
from the docs
2022-10-15 10:16:38 -05:00
Nelson Bassett
c59e548244
docs: Correct create!/1 return typo in Getting Started Guide ( #406 )
2022-10-07 11:20:33 -04:00
Zach Daniel
16e9de7870
docs: add Ash.Flow
changes to upgrading guide
2022-10-04 16:23:16 -04:00
George Rodrigues
1f685a1413
docs: fix typos ( #402 )
2022-10-04 16:01:42 -04:00
Zach Daniel
4b3fa8c6ee
docs: add how to contribute guide
2022-10-04 01:37:48 -04:00
Zach Daniel
4b79365d39
docs: add phoenix topic
...
docs: add to contributing guide
2022-10-03 16:35:02 -04:00
Zach Daniel
6b291566b4
chore: fix discord invite link in philosophy channel
2022-10-02 20:47:01 -04:00
Zach Daniel
a4b3d36ca9
chore: fix get-started guide
2022-09-30 00:29:13 -04:00
Darren Black
2eda90c0ee
docs: Missing calculation type in doco ( #391 )
2022-09-29 01:29:25 -04:00
trymkb
8f314538fa
Docs: fixed file creation step in get-started ( #390 )
2022-09-28 02:38:38 -04:00
Zach Daniel
24bdf9058e
improvement: catch more cases in preflight authorization checks
2022-09-27 14:58:48 -04:00
Zach Daniel
a48ee94f89
docs: update actions guide
2022-09-27 14:08:29 -04:00
Zach Daniel
fe596db0b8
improvement: reselect any necessary fields when loading calcs
...
docs: tons of new documentation
improvement: set context when creating related filters allowing checks like `filtering_on`
2022-09-25 23:58:05 -04:00
Zach Daniel
402164fa40
Update extending-resources.md
2022-09-21 19:07:20 -04:00
Zach Daniel
7ef2f4884c
improvement: remove __timestamps__ in favor of simpler macro
...
docs: add extending resources guide
2022-09-21 18:49:59 -04:00
Zach Daniel
739bf52309
fix: warn instead of raise on :replace
usage
...
fix: handle var_args expression with literal args
2022-09-21 13:00:12 -04:00
Zach Daniel
5994c1b51f
chore: fix dialyzer, add embedded resources guide back
2022-09-21 12:20:00 -04:00
Zach Daniel
87f20369bc
improvement: deprecate :replace
in favor of :relate_and_unrelate
2022-09-19 15:44:06 -04:00
Zach Daniel
049be39f54
docs: add required
-> allow_nil?
change to upgrading
2022-09-15 16:54:04 -04:00
Darren Black
a572099e24
improvement: Implement length function ( #379 )
2022-09-14 13:28:42 -04:00
Zach Daniel
e36f8c3e59
improvement: add filterable?
option to relationships
...
improvement: add data layer capability for aggregate relationships & filter relationships
improvement: add guide on manual relationships
2022-09-13 13:53:05 -04:00
brettkolodny
9b52c94ce9
docs: change Api to Helpdesk.Support and add file comments ( #378 )
2022-09-13 12:35:29 -04:00
Darren Black
424d87a73a
docs: Little typo in documentation ( #377 )
2022-09-12 09:48:26 -04:00
Zach Daniel
5c81d2b4a7
fix: properly do pagination
...
docs: fix some docs, add some guides
2022-09-11 22:19:37 -04:00
Zach Daniel
3644d05cd6
Revert "improvement: make two queries for full keyset pagination support"
...
This reverts commit 64b3312cb9
.
2022-09-11 18:35:02 -04:00
Zach Daniel
64b3312cb9
improvement: make two queries for full keyset pagination support
...
docs: add store context in process guide
2022-09-11 16:07:21 -04:00
Zach Daniel
44af77bee8
fix: add match/3
to upgrading guide
2022-09-07 16:31:49 -04:00
Zach Daniel
ac60cda9ac
docs: add docs for all builtins
2022-09-07 15:03:09 -04:00
Zach Daniel
0368c1a8da
fix: error fetching relationships in filter expressions
...
docs: more docs on upgrade/policies guide
2022-09-07 12:53:29 -04:00
Zach Daniel
12c46a8da9
fix: filter check typespecs
...
docs: add docs on `expr/1` policies and using `exists/2`
2022-09-06 22:38:56 -04:00
Zach Daniel
c9d65384e5
docs: update docs & changelog
2022-09-06 22:28:50 -04:00
Zach Daniel
619adcee93
improvement: add exists/2
expression
2022-09-06 18:02:01 -04:00
Zach Daniel
9ac4eafb87
fix: the semantics of forbid_unless
were not wrong
...
docs: remove some formatting
2022-09-04 00:53:52 -06:00
Zach Daniel
31d1d925ef
fix: forbid_unless
expression compilation
...
docs: add some more expression template docs
fix: fix runtime filter join simulation for multiple rows
2022-09-03 21:34:55 -06:00
Zach Daniel
c380cc1a14
docs: sanitize things for docs
2022-08-30 16:45:55 -06:00
Zach Daniel
2415c5c052
docs: add philosophy guide
2022-08-30 16:25:42 -06:00
Zach Daniel
1ff91f303d
improvement: update ash docs
2022-08-30 12:27:03 -06:00
Zach Daniel
696f7ca82a
fix: small fix to get_path
...
improvement: support `read_action` in embeddable types, and optimize loading
docs: more documentation
2022-08-30 11:18:10 -06:00
Zach Daniel
834d99c57e
fix: runtime filter checking is unknown for non-selected values
...
docs: tons of work on docs/guides
2022-08-30 02:22:15 -06:00
Zach Daniel
89c7f15b85
fix: always select always_select?
fields
...
improvement: add `private?/0` callback to functions
docs: reword some docs
2022-08-29 08:54:11 -06:00
Zach Daniel
7930e3efa1
fix: don't fail to build Phoenix.Socket.Broadcast
2022-08-29 08:05:12 -06:00
Zach Daniel
d0c28ec215
docs: add example create action
2022-08-28 22:50:06 -06:00
Zach Daniel
6c40747320
improvement: options for prepending/appending hooks
...
docs: guides improvements
2022-08-28 19:27:44 -06:00
Zach Daniel
4ef843622d
docs: work on guides
2022-08-28 19:27:44 -06:00
Zach Daniel
1bb3468851
improvement: add tracing and telemetry
2022-08-28 19:27:44 -06:00
Zach Daniel
695c2bb09a
docs: use proper filter in docs
2022-08-28 19:27:44 -06:00
Zach Daniel
2e6ec5b8b4
docs: total docs reorg
2022-08-28 19:27:44 -06:00
Zach Daniel
e37f62284b
chore: update doc links
2022-08-28 19:27:44 -06:00
Zach Daniel
400b148dfb
docs: more work on guides
2022-08-28 19:27:44 -06:00
Zach Daniel
6825968ddf
docs: add aggregates doc
2022-08-28 19:27:44 -06:00
Zach Daniel
349e207428
docs: work on guides
2022-08-28 19:27:44 -06:00
Zach Daniel
c7640abfef
improvement: better scope simple data layer context
...
docs: better language around simple data layer in getting started guide
2022-08-28 19:27:44 -06:00
Zach Daniel
0d518b0057
docs: small docs changes
2022-08-28 19:27:44 -06:00
Zach Daniel
0b3424d79c
improvement: more guides
2022-08-28 19:27:44 -06:00
Zach Daniel
d7a9ff7996
improvement: move docs out of priv, update spark
2022-08-28 19:27:44 -06:00
Zach Daniel
46a6bb407d
chore: docs in priv/
2022-07-10 16:06:22 -04:00
Zach Daniel
0b158ca487
docs: work on DSL documentation
2022-07-10 15:05:09 -04:00
Zach Daniel
8fed3ef702
chore: add dev utilities guide
2022-07-05 14:19:06 -04:00
Zach Daniel
0d9f075c0d
fix: ensure type is always set on attributes
...
docs: add more policy docs
2022-06-28 15:16:29 -04:00
Zach Daniel
00b0758737
doc: fix docs
2022-06-07 15:02:27 -04:00
Zach Daniel
ff890e4654
docs: more work on doc replacements/info
2022-06-07 14:57:30 -04:00
Zach Daniel
7ba4668992
chore: create overview file
2022-06-05 14:59:34 -04:00
Zach Daniel
74a1a6c97c
docs: work on docs + link structure
2022-06-05 13:05:10 -04:00
Zach Daniel
ae65d09373
docs: work on docs structure
2022-06-05 12:13:29 -04:00
Zach Daniel
cc82a1a0cb
chore: WIP on documentation push
2022-05-30 15:57:56 -04:00
Zach Daniel
b3e0632792
improvement: move ash_policy_authorizer into core as Ash.Policy.Authorizer
2022-05-17 15:56:40 -04:00
Zach Daniel
c889cb3cd4
docs: we don't raise errors on ignored timeouts
2022-04-17 23:56:35 -04:00
Zach Daniel
4e19223173
improvement: tons of engine/timeout improvements
2022-04-17 23:56:01 -04:00
Zach Daniel
e23f2a705d
fix: pass tenant option to requests properly
...
docs: work on docs
2022-04-06 23:13:21 -04:00
Zach Daniel
228a679e42
docs: work on getting-started
2022-04-06 14:50:17 -04:00
Zach Daniel
b0a84a7621
docs: getting-started
2022-04-06 14:45:56 -04:00
Zach Daniel
675a83a1ed
docs: getting-started updates
2022-04-06 14:45:22 -04:00
Zach Daniel
32951d5b71
docs: work on getting started guide
2022-04-06 14:44:33 -04:00
Zach Daniel
be9e564d57
chore: fix identity docs/tests
2022-04-06 12:22:34 -04:00
Zach Daniel
4fc53baf5f
improvement: add eager validate identities
...
improvement: percolate `nil` values in operators in ash expresion language (like SQL)
chore: more docs work
2022-04-06 12:00:32 -04:00
Zach Daniel
7c13322aa4
improvement: add return_destroyed?
option
2022-04-05 12:42:50 -04:00
Zach Daniel
84ed398980
chore: docs/ci work
2022-04-05 03:59:34 -04:00
Zach Daniel
6c523b9752
continue working on docs
2022-04-04 14:55:05 -04:00
Zach Daniel
022708c6b5
improvement: add api
option to relationships
...
improvement: make default actions and primary actions far more explicit
this begins the official 2.0.0 work
2022-04-04 01:48:37 -04:00
Zach Daniel
232404196b
chore: add second guide shell
2022-03-28 22:57:23 -04:00
Zach Daniel
8a5f7b3f84
chore: remove guides
2022-03-27 12:14:28 -04:00
Zach Daniel
d358f4dc49
chore: get started on guides
2022-03-27 00:49:41 -04:00
kernel-io
f6214042b8
documentation: fix compile_times.md ( #284 )
2021-12-11 12:32:17 -05:00
Zach Daniel
88168de320
improvement: add Ash.DataLayer.Simple.set_data/2
...
docs: add data-layer-less resource guide
2021-12-07 21:39:07 -05:00
Zach Daniel
f124e9bf7c
fix: cast nil input on strings
...
docs: add line on multitenancy
2021-11-11 14:27:57 -05:00
Zach Daniel
82562929c0
docs: fix docs on registry
2021-11-10 01:24:52 -05:00
Zach Daniel
9df690bfa4
docs: add docs around improving compile times
2021-11-03 17:29:24 -04:00
Zach Daniel
922c87ea85
improvement: add resource registry validation
...
fix: move related field validations to resource
fix: remove join_attributes, which didn't do anything anyway
2021-10-11 15:14:33 -04:00
Zach Daniel
ff756b72a7
improvement: deprecation!
...
A deprecation warning will be shown at compile time to illustrate
a change from listing all of your resources in an api to listing
them in a registry and connecting that registry to the api
2021-10-07 02:41:02 -04:00
Zach Daniel
b2ae6dc3ea
fix: flush engine state always
2021-07-23 09:45:47 -04:00
Zach Daniel
579c83e20c
fix: disallow aggregate/calculation sorting w/ keyset pagination
...
This can be fixed by configuring pagination to fetch the resource by keyset
(so keyset is only ever primary key), but will perform worse because
we have to fetch the record. If someone would like to implement this,
let me know.
2021-07-22 12:47:43 -04:00
Zach Daniel
8a2f431d52
docs: add guide to index
2021-07-01 22:55:07 -04:00
Zach Daniel
3aa6b6f49f
docs: document expressions
2021-07-01 22:07:31 -04:00
Zach Daniel
231eeafd30
feat: expression calculations for sorting/filtering
...
improvement: small improvements/fixes across the board
2021-06-04 01:37:11 -04:00