Commit graph

744 commits

Author SHA1 Message Date
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
6882d15098 chore: fixes around inspect logic and cookbook 2024-05-04 07:03:03 -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
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
f67749ccf1 docs: update tenancy docs 2024-05-03 17:16:49 -04:00
Abhishek Tripathi
bacc147837
docs: ash actions are run in transaction (#1093) 2024-05-03 10:40:58 -04:00
Zach Daniel
86193b77be docs: remove unnecessary sentence in getting started guide 2024-05-02 21:19:49 -04:00
Rebecca Le
c1fd3f36ad
docs: Add some examples to the Identities guide, with a link to the DSL docs (#1097) 2024-05-02 11:25:50 -04:00
Zach Daniel
5ad47c10cf fix: enforce that transaction hooks are not added from other hooks
closes #1096
2024-05-02 09:23:41 -04:00
Rebecca Le
0e30ed0e65
docs: Update code interface syntax in Domains guide (#1095)
The action name is part of the `opts` keyword list
2024-05-02 07:59:19 -04:00
Moxley Stratton
65ad0c6039
docs: Add doc text to the default option (#1077)
* Add doc text to  option

* Second version of the change

* Adjust docs for `:default`, and generate .md files

* Fix type
2024-05-01 16:03:09 -04:00
Zach Daniel
d44755a07a chore: update package description 2024-05-01 15:23:42 -04:00
Zach Daniel
1a70bb3133 chore: add records to the glossary 2024-05-01 14:21:32 -04:00
Zach Daniel
13d23de3c7 docs: update doc structure and mix.exs 2024-05-01 13:34:50 -04:00
Zach Daniel
3fc41fc715 docs: add another badge, link to hex 2024-05-01 13:13:15 -04:00
Zach Daniel
952ec8b833 docs: WIP on docs refactor 2024-05-01 12:54:15 -04:00
Sergey Moiseev
417d39e7de
Add documentation on disabling pagination (#1076) 2024-04-29 20:40:19 -04:00
Zach Daniel
28c75df7b8 improvement: support new data layer capability calculate/3
fix: solve for custom expressions and one-off calculations
2024-04-29 16:58:37 -04:00
Zach Daniel
69b5bd3d3c chore: update cheat sheets 2024-04-29 07:54:50 -04:00
Jean-Luc Geering
c8c4bb6b1d
docs: typo in documentation (#1068)
* typo in documentation

* idem
2024-04-29 06:57:26 -04:00
Zach Daniel
c6c602cb8e chore: add AshCloak to docs 2024-04-28 00:19:03 -04:00
Zach Daniel
3f977ff98d improvement: simplifications and clarifications around bulk callback behavior 2024-04-27 10:14:31 -04:00
Jinkyou Son
06bde218f3
docs: Fix typo of docs (#1065) 2024-04-27 08:09:43 -04:00
Zach Daniel
75b63917c7 improvement: don't add autogenerated_id to embeds by default
one list *very mild* breaking change
2024-04-27 00:53:22 -04:00
Zach Daniel
69295daf78 improvement: allow skipping primary keys on embedded resources 2024-04-27 00:41:12 -04:00
Zach Daniel
f146258159 improvement: remove after_atomic and instead support after_batch
supporting `after_batch` allows things like `archive_related` in `ash_archival`
to dispatch batches of cascading archives
2024-04-24 11:56:36 -04:00
Riccardo Binetti
bae32332b1
docs: add more details on the behavior of accept :* (#1056) 2024-04-24 11:43:04 -04:00
Jechol Lee
18af9d7704
docs: Fix typos in docs (#1045) 2024-04-23 10:35:10 -04:00
zimt28
2a940cdecc
Update upgrading-to-3.0.md (#1047) 2024-04-23 10:33:09 -04:00
Frank Dugan III
35961a793d
feat: leverage resource domain for eager/pre checking (#1040)
closes #1022
2024-04-22 17:15:27 -04:00
Rebecca Le
628ec452e9
docs: Fix filter semantics examples in Experssions guide (#1038) 2024-04-21 06:54:13 -04:00
Zach Daniel
7ebf33728f docs: remove outdated information 2024-04-16 12:11:25 +01:00
Riccardo Binetti
6d209e8836
feat: configurable multitenancy on read actions (#1030)
Allow making specific read actions able to optionally or totally bypass
multitenancy
2024-04-16 12:09:13 +01:00
Ben Swift
3c06d04124
docs: fix typo in code snippet for change actions doc (#1032) 2024-04-16 11:58:53 +01:00
Aidan Gauland
b4c382a24d
Docs: Typo fixes (#1025)
* Fix incorrect plurality

* Fix "validation" in place of "change"
2024-04-15 05:16:02 -04:00
Zach Daniel
fc02f4cc1d docs: fix typo in getting started guide 2024-04-14 17:19:28 -04:00
Zach Daniel
7e277673fd docs: add picosat change to upgrade guide 2024-04-14 11:11:43 -04:00
Zach Daniel
bc69f904e2 improvement: support require_reference?: false on code interfaces
improvement: support `:filter` option on bulk create/destroy
2024-04-13 17:21:43 -04:00
Zach Daniel
6658c399d5 docs: fix link to postgres upgrade guide 2024-04-13 11:29:48 -04:00
Ben Swift
2c164f0130
docs: fix typo :ubject -> :subject in get-started.md (#1019) 2024-04-12 19:50:54 -04:00
Rebecca Le
31ed2c0e4d
docs: Reorder Glossary sections alphabetically and fix link to domain wiki page (#1009) 2024-04-11 10:02:20 -04:00
Zach Daniel
bae263ca12 improvement: support omitting generic action return types 2024-04-10 13:46:44 -04:00
Zach Daniel
1854880def improvement: add config :ash, require_atomic_by_default?, false, for upgrading 2024-04-09 13:45:19 -04:00
Zach Daniel
25c1063e45 fix: add context argument to before_action and after_action for read actions
closes #999
2024-04-09 13:21:06 -04:00
Zach Daniel
abe2d5813f chore: don't say the same thing twice and don't say the same thing twice 2024-04-08 17:48:06 -04:00
Zach Daniel
29e38cc100 chore: fix docs anchor link 2024-04-08 17:45:47 -04:00
Zach Daniel
ade35d0849 chore: docs fixes 2024-04-08 17:44:33 -04:00
Zach Daniel
096535a436 docs: rework resources w/o data layers how to guide 2024-04-08 17:43:22 -04:00
Zach Daniel
a8f41393c9 docs: more revisions, moving around of docs 2024-04-08 17:26:29 -04:00
321f43bd05 feat(Ash.Reactor): Add new change step type which can be used to modify changesets. 2024-04-09 09:03:04 +12:00
2973c0db94 improvement(Ash.Reactor): Allow create to be provided an initial value.
The initial value can be either a resource or a changeset.
2024-04-09 09:03:04 +12:00
c67295de6e
improvement: Allow Reactor modules to be run directly from generic actions. (#993)
- Extends the generic action runner to detect when the `run` module is a Reactor and automatically executes it in the correct way.
- Adds a verifier that detects said actions and ensures that action arguments are present for all expected inputs.
2024-04-08 16:48:58 -04:00
Zach Daniel
9e5675847e docs: more guidance on project structure 2024-04-08 15:54:08 -04:00
Zach Daniel
4cbf2d3e14 docs: more restructuring, reviewing of guides 2024-04-08 13:39:45 -04:00
Zach Daniel
e91da15564 docs: moved around some documentation
docs: added changes guide
docs: moved around validations guide, removed extra one
2024-04-08 12:05:36 -04:00
Zach Daniel
d67f43e977 docs: soften the language around integer primary keys 2024-04-08 09:15:53 -04:00
Zach Daniel
6d3b00f77f fix: action is an atom in erroor case for bulk update 2024-04-08 08:33:14 -04:00
915fc03565
docs: a few small improvements for actions and policy guides. (#991) 2024-04-07 17:40:36 -04:00
Zach Daniel
d153b40dea docs: consolidate guides into relationships.md
improvement: add `Ash.Query.apply_to/3`
2024-04-07 15:31:26 -04:00
Zach Daniel
773e9cea91 docs: move identities guide 2024-04-07 14:50:18 -04:00
Zach Daniel
d2612a9ed8 docs: doc fixes, move code interface docs 2024-04-07 12:33:59 -04:00
Zach Daniel
52e608336d chore: fix admonition block bug in docs 2024-04-07 12:26:34 -04:00
Zach Daniel
2093d285ed docs: move around some docs 2024-04-07 11:11:05 -04:00
Zach Daniel
49958975a1 chore: remove dedicated constraints guide, put it in Ash.Type 2024-04-07 10:52:18 -04:00
Zach Daniel
64ae3d1dfa docs: update home page 2024-04-07 10:16:46 -04:00
Zach Daniel
87e5a84168 docs: move some more docs around 2024-04-07 10:13:33 -04:00
Zach Daniel
2226b00ca5 docs: more condensation/relocation of docs 2024-04-07 10:11:19 -04:00
Zach Daniel
e6abba0de8 docs: clean up old docs 2024-04-07 09:38:11 -04:00
Zach Daniel
957ac1880e docs: better docs on atomics & upserts 2024-04-07 09:36:09 -04:00
Zach Daniel
c6153b223d docs: typo in upgrading guide 2024-04-07 09:10:53 -04:00
Zach Daniel
5162911cd0 docs: fix generic action callout 2024-04-07 08:29:23 -04:00
Zach Daniel
e0232cc825 docs: fix syntax error in generic action example 2024-04-07 08:26:58 -04:00
Zach Daniel
17e5fa78a4 docs: remove unnecessary comma 2024-04-07 08:25:46 -04:00
Zach Daniel
14d0b883bc docs: fix typo 2024-04-07 08:06:45 -04:00
Zach Daniel
d2ea5bb108 docs: rewrite action docs
improvement: synthesize attributes from atomics for better notifications
2024-04-07 08:02:10 -04:00
Zach Daniel
070b98e03c docs: make livebook link prettier 2024-04-06 17:43:25 -04:00
Zach Daniel
f9eff8810f docs: refactor security guides 2024-04-06 17:40:05 -04:00
Zach Daniel
35c6d6e144 docs: move around some docs, and update the development-utilities guide 2024-04-06 15:44:39 -04:00
Zach Daniel
d55864713a chore: small doc updates, remove incorrect/old docs 2024-04-06 15:20:22 -04:00
Zach Daniel
be1ba9b78e docs: more structural reshuffling (sub-groups in topics) 2024-04-05 18:18:35 -04:00
Rebecca Le
1ff853b696
docs: Add upgrade note about changing ash_apis -> ash_domains in app config (#983) 2024-04-05 12:25:18 -04:00
Zach Daniel
b0ff379d00 docs: work on organizing docs
fix: detect more cases for domain extraction from resources
2024-04-05 12:24:12 -04:00
Zach Daniel
f38bc85a39 docs: add FilterCheck changes to upgrade guide
closes #981
2024-04-05 06:32:59 -04:00
Zach Daniel
80b48335ec docs: fix typo 2024-04-04 22:06:59 -04:00
Zach Daniel
0a469257f0 docs: continue work on docs 2024-04-04 21:31:18 -04:00
Zach Daniel
82802890b2 docs: update wording of model your domain, derive the rest 2024-04-04 20:35:13 -04:00
Zach Daniel
950ff3d060 fix: set tenant in bulk creates after setting up changeset 2024-04-04 20:34:37 -04:00
Zach Daniel
b7ca907224 docs: alter wording of what-is-ash.md 2024-04-04 20:00:00 -04:00
Zach Daniel
61b1b2a359 docs: update what-is-ash.md 2024-04-04 19:45:52 -04:00
Zach Daniel
3cfa980762 docs: start on docs overhaul 2024-04-04 16:24:55 -04:00
Zach Daniel
58814a0cf9 docs: update upgrade guide again 2024-04-04 15:31:06 -04:00
Zach Daniel
7d0c1ba298 chore: update upgrading guide to incldue context changes 2024-04-04 15:29:22 -04:00
7721dc1c61
fix: multi-line DSL doc options in Ash.Reactor. (#974)
Closes #973.
2024-04-03 22:56:42 -04:00
Dmitrii 'Mamut' Dimandt
f86c7f971b
docs: move API -> Domain change to the top of upgrade doc (#971) 2024-04-03 15:36:35 -04:00
Riccardo Binetti
dd607da6e2
docs: add a section to the 3.0 Upgrade guide (#967)
Mention the fact that resources do not implement `Ash.Type` anymore
2024-04-02 14:08:14 -04:00
Dmitry Maganov
43d2246530
improvement: support allow_nil_input dsl option in update/destroy (#964) 2024-04-01 17:26:21 -04:00
Zach Daniel
b1c7c01701 improvement: allow accepting private attributes
docs: update upgrade guide
2024-04-01 16:43:56 -04:00
Zach Daniel
14bb3db881 docs: add link to ash_graphql's upgrade guide 2024-04-01 16:07:23 -04:00
Zach Daniel
a830b9981f chore: mention removal of select/3 callback in upgrade guide 2024-04-01 10:53:34 -04:00
Zach Daniel
f885a0753f improvement: allow adding non-public attributes to explicit accept lists
docs: update upgrade guide
2024-03-30 11:42:52 -04:00
Zach Daniel
358f439369 docs: update upgrade guide w/ links to other breaking changes 2024-03-29 17:06:29 -04:00
Zach Daniel
582b16476d chore: update upgrade guide 2024-03-29 14:35:36 -04:00
Zach Daniel
c90241fde2 docs: update upgrade guide 2024-03-29 12:50:58 -04:00
Franklin Rakotomalala
1a24177327
docs: Adjust guide to suppress errors and warnings for v3.0 (#960) 2024-03-29 11:12:19 -04:00
Zach Daniel
07e9c68d70 chore: improve documentation 2024-03-27 16:48:30 -04:00
Zach Daniel
5967ed3a48 improvement!: 3.0 (#955)
* improvement!: use `%Ash.NotSelected{}` for unselected values

* improvement!: default `require_atomic?` to `true`

* improvement!: raise errors on unknown generic action arguments

* improvement!: default bulk strategy to `:atomic`

* improvement!: warnings on `require_atomic?` `true` actions
improvement!: revise `Ash.NotSelected` to `Ash.NotLoaded`
improvement!: errors on unknown action inputs across the board

* doc: clarify wording in notifiers.md

closes #889

* improvement!: default `api.authorization.authorize` to `:by_default`

* improvement!: require the api when constructing changesets

this commit also fixes some work from prior commits around
the default value for the `authorize` option

* improvement!: code_interface.define_for -> code_interface.api

`code_interface.define_for` is now `code_interface.api`. Additionally, it is set automatically if the `api` option is specified on `use Ash.Resource`.

* improvement!: remove registries

* improvement!: pubsub notifier default to `previous_values?: false`
improvement!: requires_original_data? callback defaults to false

* improvement!: rename Ash.Calculation -> Ash.Resource.Calculation
improvement!: improve `Ash.Query.Calculation.new` signature
improvement!: anonymous function calculations now take lists and return lists
improvement!: make callback contexts into structs
improvement!: pass context to builtin lifecycle hook changes
improvement!: calculation arguments are now in the `arguments` key of the context

* chore: fix build

* improvement!: remove `aggregates` and `calculations` from `Filter.parse` and `Filter.parse_input`

* improvement: update spark to 2.0

* improvement!: make picosat_elixir optional with `simple_sat`

* improvement!: rename api to domain

* docs: add more info to upgrading guide

* docs: tweak docs formatting

* improvement!: remove `Ash.Changeset.new!`

* docs: update docs for `Ash.Changeset.new/1`

* improvement!: deprecate `private?: false` in favor of `public?: true`

* doc: add upgrade guide for private -> public

* improvement: update reactor to 3.0

* improvement!: default `default_accept` is now `[]`

* improvement!: `Ash.CiString.new/1` returns `nil` on `nil` input

* improvement!(Ash.Reactor): Improve integration with Ash 3.0 changes.

* improvement!: clean up and reorganize `Ash` functions

this is in preparation of deprecating the functions that are defined
on the api

improvement!: remove context-based functionality

* chore: update docs references from `Ash.Domain` to `Ash`

* chore: fix bad merge

* chore: fix context access in atomic changes

* improvement!: Deprecate calling functions on (domain) api in favor of `Ash`

* improvement!: add `attribute_public?` and update `attribute_writable?` behavior

* improvement!: update atomic behaviors, default to invalid

* chore: update downcase docs

* improvement!: changeset.filters -> changeset.filter

* improvement!: remove deprecated functions

* improvement!: remove and simplify `Ash.Filter.TemplateHelpers`

* improvement: import Ash.Expr in modules where it is used
improvement: require Ash.QUery in modules where it makes sense

* fix!: keyword lists are no longer special cased in ash expressions

* improvement: add structs for more context implementations

* chore: small tweaks, finish `:all` -> `:*` conversion

* chore: update DSL docs for multitenancy.global?

* improvement: ensure selects are applied on destroys
chore: remove TODOs

* chore: some docs changes

* improvement!: introduce strict mode to calculations

* chore: update tests

* improvement: support custom expressions

* docs: document custom expressions

* chore: fix and test custom expressions and function fragments
docs: update relevant docs w/ the changes

* improvement!: reverse order of before action & before transaction hooks

* improvement!: default read actions are now paginatable

* improvement!: require explicit accept lists in default actions

* chore: update docs

* improvement!: remove Ash.Flow and Ash.Engine

* chore: unlock unused deps

* chore: don't use unused variable

* chore: include ash flow change in upgrade guide

* improvement!: standardize various exception keys and names

* improvement!: use `Splode` for errors

* improvement: update upgrade guide to include Splode

* feat: code interface on the domain

* improvement: only require primary key if resource has actions or fields
improvement: only build schema if resource has actions or fields
improvement: verify primary key in its own verifier

* improvement: add `resource/1` builtin check

* improvement!: move simple_notifiers to an option instead of a DSL builder
improvement!: update spark for better autocomplete, configure autocomplete for key functions
docs: replace `an domain` with `a domain`

* improvement: better code interface documentation

* fix: set tenant on query so that root calles to Api.aggreagte work as expected (#929)

* chore: fixes from previous improvements

* chore: update splode

* chore: update splode

* improvement!: swap position of sort order and arguments in calculation sorting

* improvement!: add `include_nil?` aggregate option, and default it to `false`

* improvement: support notifiers within actions

* improvement: support specifying multiple filters

* improvement: add `sortable?` flags to all fields
improvement: support multiple filters on relationships

* improvement: support sensitive? on calculations and arguments

* improvement: validate resources in inputs to code interface

* chore: don't require explicit accept lists when using `default_accept :*`

* chore: update spark

* chore: update public attribute handling per 3.0

* improvement: update reactor and tests

* chore: better error message

* chore: fix rebase issue

* chore: handle merge issues
improvement: don't require domain on relationships if destination has domain

* improvement!: errors on unknown inputs for calculations

* improvement: always choose to cast atomic

* improvement: support casting some embeds atomically

* improvement: various 3.0 updates, documented in upgrade.md

* chore: Add failing tests for loads with with explicit domains. (#948)

Co-authored-by: James Harton <james@harton.nz>

* improvement: ensure non-static dynamic domains works

* improvement: add Ash.ToTenant protocol

* chore: add docs for no ToTenant option

* fix: properly construct new query in `build/3`

* chore: update simple_sat dependency

* chore: don't reselect when missing primary keys

* chore: remove IO.inspect

* chore: update spark

* chore: update spark

* improvement: use `Keyword.put_new` in `Ash.Context.to_opts` (#953)

* improvement: support bulk and atomic operations in code interfaces

---------

Co-authored-by: James Harton <james@harton.nz>
Co-authored-by: WIGGLES <55168935+WIGGLES-dev@users.noreply.github.com>
Co-authored-by: Dmitry Maganov <vonagam@gmail.com>
2024-03-27 16:31:59 -04:00
Zach Daniel
82b5fd4914 chore: release version v2.21.2 2024-03-26 02:10:20 -04:00
Zach Daniel
a31caaf08b chore: release version v2.21.1 2024-03-24 23:25:51 -04:00
Zach Daniel
de90f23f9f chore: release version v2.21.0 2024-03-24 19:47:08 -04:00
Zach Daniel
e6efe135b7 chore: release version v2.20.3 2024-03-20 15:58:16 -04:00
Zach Daniel
f15427e03d chore: release version v2.20.2 2024-03-19 00:05:31 -04:00
Zach Daniel
aafeab5e94 fix: use proper logic for atomic present validations
improvement: cast atomic reference types, makes life easier for data layers
2024-03-19 00:04:57 -04:00
Zach Daniel
b7cb89c481 chore: ensure constrainted attributes appear in casted_*
chore: update dsl docs
2024-03-11 12:18:17 -04:00
Zach Daniel
e63b8f3b39 chore: release version v2.20.1 2024-03-11 11:35:05 -04:00
e5f01bbd59
improvement(Ash.Reactor): Backport improvements from 3.0 branch. 2024-03-08 10:51:40 +13:00
Zach Daniel
bbaabc8bc5 chore: release version v2.20.0 2024-03-05 00:02:01 -05:00
9b88628b07
improvement: Make undo actions for update and destroy actions more explicit. (#920)
* chore(Ash.Reactor): Follow on from `get` -> `read_one` rename.

* improvement(Ash.Reactor): Make undo actions for `update` and `destroy` more explicit.
2024-03-05 11:30:35 +13:00
Zach Daniel
7f0e2d8037 improvement: rename get to read_one in Ash.Reactor 2024-03-02 16:51:00 -05:00
86d74ed789
feat(Ash.Reactor): Add a Reactor extension that makes working with resources easy. (#683)
* feat: Add `Ash.Reactor` with create support.

* improvement: Add `Ash.Reactor` update support.

* improvement: Add `Ash.Reactor` destroy support.

* improvement(Ash.Reactor): Support for transactional handling of notifications.

* improvement(Ash.Reactor): Add `read` and `get` steps.

* docs: Add the beginnings of a Reactor topic.

* improvement(Ash.Reactor): add support for generic actions.

* improvement: Add `undo` capability to `create` step.

* improvement: transaction and undo working.

* docs: Start documenting undo behaviour.

* chore: Update to Reactor 0.6.

* improvement: Automatically thread Ash tracers through Reactor.

* improvement(Ash.Reactor): Add undo to generic actions.

* docs: Improve reactor documentation.

* fix: Mimic copying `Ash.Notifier` seems to break the compiler for some reason.
2024-03-02 10:26:25 +13:00
Zach Daniel
e328653867 chore: release version v2.19.14 2024-03-01 15:45:08 -05:00
Zach Daniel
91742c20c2 chore: release version v2.19.13 2024-03-01 13:07:05 -05:00
Zach Daniel
93948f8bcb chore: release version v2.19.12 2024-02-29 15:03:49 -05:00
Zach Daniel
692a236d68 chore: release version v2.19.11 2024-02-29 13:29:16 -05:00
Zach Daniel
9bdf597b1d chore: release version v2.19.10 2024-02-28 21:33:14 -05:00
Zach Daniel
f9af1307a1 chore: release version v2.19.9 2024-02-26 13:07:55 -05:00
Zach Daniel
26871fa552 chore: release version v2.19.8 2024-02-25 08:27:12 -05:00
Zach Daniel
75e873fc0a chore: release version v2.19.7 2024-02-24 09:31:16 -05:00
Zach Daniel
02bf419124 chore: release version v2.19.6 2024-02-23 19:21:12 -05:00
Zach Daniel
4d3cdd8dec chore: release version v2.19.5 2024-02-22 10:58:45 -05:00
Zach Daniel
723aab0f6f chore: release version v2.19.4 2024-02-22 08:02:21 -05:00
Zach Daniel
ce7db8c987 chore: release version v2.19.3 2024-02-16 21:25:46 -05:00
Zach Daniel
944f69b16e fix: properly annotate run_flow's recursive DSL tag
docs: update spark & docs
2024-02-16 21:25:18 -05:00
Zach Daniel
95b7aa8e3b chore: release version v2.19.2 2024-02-16 20:18:27 -05:00
Zach Daniel
e50326cb56 chore: release version v2.19.1 2024-02-16 17:57:11 -05:00
Zach Daniel
5253c3c3f2 docs: update manual action cheatsheets 2024-02-16 16:52:59 -05:00
Zach Daniel
7d099c97fd chore: release version v2.19.0 2024-02-16 16:06:53 -05:00
Rebecca Le
407eee5785
docs: Correct example used for manual actions (#886)
In my testing, arguments to a manual action are part of the `arguments` in the input to the `run` function - which is the action struct itself.
2024-02-14 09:35:34 -05:00
Zach Daniel
3d30fd848f fix: ensure we retain the sort order of embedded resources
fixes #883
2024-02-13 13:55:07 -05:00
6288a60db3
docs: Update Ash.Notifier.PubSub DSL docs. 2024-02-12 10:04:06 +13:00
Dmitry Kulakov
5846b70315 feat: allow using custom delimiters for pubsub topics 2024-02-11 16:45:05 -04:00
Alexander Richard Römpke
f7024f2b6c
docs: Update constraints.md (#869)
The username is not an argument, i replaced it with the argument title.
2024-02-06 09:45:32 -05:00
Steve Frank
7bb3addb38
docs: Add 'use Ash.Resource.Validation' to documentation (#865) 2024-02-02 12:27:15 -05:00
Zach Daniel
9e02b0d0c7 improvement: introduce require_atomic?, which defaults to false in 2.0, true in 3.0
fix: properly prevent the atomic handling of manual update actions
improvement: better support around the mixing of atomic and non atomic changes/validations
2024-01-30 12:32:41 -05:00
Zach Daniel
d7721d9b1e chore: docs & formatter 2024-01-29 18:03:56 -05:00
Zach Daniel
8e82d9588f chore: better handling of atomic validations 2024-01-29 17:55:56 -05:00
Dmitry Maganov
c8b1eaa8f0
fix: soft? in destroy action options is a boolean, not an atom (#851) 2024-01-24 14:52:31 -05:00
Dmitry Maganov
91c34c3939
fix: join_relationship in many to many can make through optional (#846) 2024-01-23 13:15:51 -05:00
Zach Daniel
c48cb08026
improvement: rewrite read actions to not use Ash.Engine (#836) 2024-01-19 00:05:42 -05:00