Commit graph

735 commits

Author SHA1 Message Date
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
Zach Daniel
20ceee7a92 chore: release version v2.18.2 2024-01-18 09:20:55 -05:00
Zach Daniel
fbe63d673a chore: release version v2.18.1 2024-01-12 14:19:15 -05:00
Zach Daniel
072486bebd docs: revamp hexdocs
fix: use current read action for counting
2024-01-12 14:07:35 -05:00
Zach Daniel
6c5cd551ff docs: organize the sidebar properly 2024-01-12 09:23:03 -05:00
Zach Daniel
ac74a48a5b chore: update DSL docs 2024-01-12 08:41:22 -05:00
Zach Daniel
0ca7393417 chore: undo typo 2024-01-12 08:40:34 -05:00
Zach Daniel
ff65ef4951 chore: release version v2.18.0 2024-01-12 08:37:01 -05:00
Rebecca Le
0a4a7c057d
feat: Allow :self as an option when requesting a relative page from a given page (#833) 2024-01-12 00:16:41 -05:00
Zach Daniel
d432a454c5 chore: release version v2.17.24 2024-01-11 22:25:38 -05:00
Zach Daniel
6b74072ada chore: formatter, cheat sheets, credo 2024-01-11 15:05:25 -05:00
Zach Daniel
35573a6f4e improvement: support join_filters in aggregates 2024-01-11 14:57:22 -05:00
Rebecca Le
13f8a0c0cb
docs: Rewrite some of the pagination guide to be a bit clearer (#829)
* docs: Rewrite some of the pagination guide to be a bit clearer

---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-01-11 10:04:20 -05:00
M.Yasoob Ullah Khalid ☺
8e4e0fa5f2
docs: fixed a path in get-started.md (#824)
fixed a path in get-started.md
2024-01-10 08:02:46 -05:00
Zach Daniel
b691f8fed0 chore: release version v2.17.23 2024-01-10 07:13:14 -05:00
Zach Daniel
5b82ce293f fix: authorize aggregate references in calculations 2024-01-10 07:11:02 -05:00
Robert Graff
fc9132e75b
docs: metadata docs improvement (#823) 2024-01-09 19:27:16 -05:00
Zach Daniel
3eeffc6539 chore: release version v2.17.22 2024-01-09 08:13:57 -05:00
Zach Daniel
352055bf1c chore: release version v2.17.21 2024-01-05 12:31:06 -05:00
Rohan Relan
426e471cbe
docs: Update security.md to fix bug in showing when to pass the actor (#817) 2024-01-05 10:07:43 -05:00
Zach Daniel
5b222f9a68 chore: release version v2.17.20 2024-01-04 00:57:55 -05:00
Zach Daniel
fe2156a9ac imorovement: support bulk action callbacks in the data layer 2023-12-31 00:49:22 -05:00
Zach Daniel
56387d40e0 chore: release version v2.17.19 2023-12-29 21:43:42 -05:00
Zach Daniel
dcc280cb2d chore: release version v2.17.18 2023-12-29 17:23:32 -05:00
Chakib Ouhajjou
c7738255f0
docs: Sorting for hex documentation added (#810) 2023-12-27 10:22:59 -05:00
Zach Daniel
55d83e6b4c chore: release version v2.17.17 2023-12-22 21:10:25 -05:00
Zach Daniel
bb5aa435a3 chore: release version v2.17.16 2023-12-22 19:06:57 -05:00
Zach Daniel
d390d65146 improvement: simplify used aggregate detection
improvement: add `lazy/1` to expressions
docs: add expression docs
2023-12-22 19:06:13 -05:00
Zach Daniel
097f8b0023 chore: release version v2.17.15 2023-12-21 13:30:34 -05:00
Zach Daniel
1cb5e2860d docs: update getting started guide with latest recommendations 2023-12-20 09:36:00 -05:00
Zach Daniel
1b896765a8 chore: release version v2.17.14 2023-12-19 21:57:53 -05:00
Zach Daniel
2233a33523 improvement: support tenancy on manual actions
docs: update cheat shets
fix: honor tenant option on aggregates

closes #805
2023-12-16 10:33:10 -05:00
Zach Daniel
af9cd901f5 chore: release version v2.17.13 2023-12-14 16:54:01 -05:00
Zach Daniel
cfed7c3738 chore: release version v2.17.12 2023-12-14 08:30:49 -05:00
Zach Daniel
3029e508f7 chore: release version v2.17.11 2023-12-12 20:39:50 -05:00
Zach Daniel
955ba4987b chore: credo/tasks 2023-12-12 08:51:18 -05:00
Igor Barakaiev
15a607eea2
docs: Add a cross-API many-to-many example to the documentation (#800)
* Add a cross-API many-to-many example
---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2023-12-10 13:01:58 -05:00
Zach Daniel
d43260d15c chore: release version v2.17.10 2023-12-10 13:00:06 -05:00
Zach Daniel
37283752ea docs: update docs link 2023-12-07 20:27:10 -05:00
Zach Daniel
f963c8b971 chore: release version v2.17.9 2023-12-06 21:48:24 -05:00
Zach Daniel
c7e6133317 improvement: support embed_nil_values? for trimming down stored embeds 2023-12-06 10:29:39 -05:00
Zach Daniel
1ee4aaf7a6 chore: release version v2.17.8 2023-12-05 19:15:38 -05:00
Rebecca Le
951e054615
docs: Add formatting guide (#794) 2023-12-05 01:32:29 -05:00
Darren Black
a6f96960ee
docs: Manual actions doco (#788)
* Manual action documentation tweaks

* More
2023-12-01 09:40:52 -05:00
mrdotb
e9afdcf39f
docs: update example Flow Step transaction (#787) 2023-11-30 10:16:18 -05:00
Zach Daniel
b11999b815 chore: release version v2.17.7 2023-11-29 09:34:41 -05:00
Zach Daniel
e45bc6948e chore: release version v2.17.6 2023-11-27 16:20:47 -05:00
Zach Daniel
ed2de7eb9b chore: release version v2.17.5 2023-11-27 12:56:04 -05:00
Zach Daniel
71e6c8bd7b chore: release version v2.17.4 2023-11-24 07:23:54 -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
b998ea37d7 chore: release version v2.17.2 2023-11-16 08:24:55 -05:00
Bryan Bryce
37058a5b78
doc: Fix module reference in Relationship Guide (#774) 2023-11-14 17:19:19 -05:00
Zach Daniel
68367ac41f chore: release version v2.17.1 2023-11-14 10:34:29 -05:00
Zach Daniel
9141ed6bb6 chore: release version v2.17.0 2023-11-13 16:48:06 -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
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
291dea3de9 docs: update docs for pub sub 2023-10-27 13:22:33 -04:00
Zach Daniel
e8f22aa7b5 chore: release version v2.16.1 2023-10-27 00:43:53 -04:00
Zach Daniel
7296874952 chore: release version v2.16.0 2023-10-25 17:48:09 -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
Barnabas Jovanovics
b843de6d78
docs: explicitly mention read action (#754) 2023-10-25 11:20:08 -04:00
user20230119
a4f9115e63
docs: fix typos for attribute, writable and update_default (#753) 2023-10-25 10:08:14 -04:00
Zach Daniel
a7bb5e6005 chore: release version v2.15.20 2023-10-24 10:40:10 -04:00
Frédérick Capovilla
bb666ee94e
docs: link to the ash_postgres references documentation in the Relationships guide (#748)
---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2023-10-21 22:39:15 -04:00
Zach Daniel
c014fc2f0a chore: release version v2.15.19 2023-10-17 14:08:19 -04:00
Zach Daniel
f892192969 chore: release version v2.15.18 2023-10-17 12:24:43 -04:00
Pierre Le Gall
e14e1b2e29
improvement: set default many to many options (#737)
Many to many relationship `source_attribute_on_join_resource`
and `destination_attribute_on_join_resource` are now guessed
by there module name if not explicitly set in the relationship.
2023-10-17 10:03:21 -04:00
Zach Daniel
20ea16d33e chore: release version v2.15.17 2023-10-11 19:45:10 -04:00
Zach Daniel
ea51d4d096 chore: release version v2.15.16 2023-10-11 17:58:55 -04:00
Zach Daniel
adf50945ed chore: release version v2.15.15 2023-10-11 15:09:23 -04:00
Zach Daniel
74fbd8a6fe chore: release version v2.15.14 2023-10-11 12:05:59 -04:00
Zach Daniel
969ebf7f3f docs: update spark to fix docs 2023-10-11 09:30:22 -04:00
Zach Daniel
462410dbb3 chore: release version v2.15.13 2023-10-11 09:02:41 -04:00
Marcus Wood
95966db148
docs: Fix typo in expressions topic (#732) 2023-10-11 08:24:31 -04:00
Zach Daniel
48e6f9fdbf chore: release version v2.15.12 2023-10-10 15:28:07 -04:00
Zach Daniel
f008ebfe8b chore: release version v2.15.11 2023-10-10 11:11:21 -04:00
Zach Daniel
0ded7366f9 chore: release version v2.15.10 2023-10-09 18:51:48 -04:00
Zach Daniel
154fa1d6d6 chore: release version v2.15.9 2023-10-06 13:43:30 -04:00
Zach Daniel
74d522756c docs: fix docs by removing comments that formatted improperly 2023-10-04 14:13:25 -04:00
Zach Daniel
097a1cacc0 chore: release version v2.15.8 2023-10-03 16:31:24 -04:00
Veljko Simakovic
37b0c4d9d0
docs: Improve pagination guide (#719)
Added a section at the bottom which details where the options are and clears up the need to setup actions and how to query for pagination.
2023-10-02 18:56:48 -04:00
Zach Daniel
d0503b2877 docs: update error handling guide 2023-10-02 14:23:12 -04:00
Zach Daniel
b16ae9c405 chore: release version v2.15.7 2023-09-29 11:54:59 -04:00
Zach Daniel
d2eeadba4b docs: various improvements to docs, and new guide on structuring your project 2023-09-29 11:54:43 -04:00
Zach Daniel
e1ac4150a9 docs: add additional docs for validations 2023-09-29 10:11:14 -04:00
Zach Daniel
e730158bcd chore: release version v2.15.6 2023-09-28 20:22:43 -04:00
Zach Daniel
a5921b6dde chore: release version v2.15.5 2023-09-28 19:49:30 -04:00
Zach Daniel
f424317e85 chore: release version v2.15.4 2023-09-28 17:17:09 -04:00
Zach Daniel
559b2f81af chore: release version v2.15.3 2023-09-28 16:24:30 -04:00
Zach Daniel
4c46f5fa46 chore: release version v2.15.2 2023-09-28 14:12:08 -04:00
Zach Daniel
355891a7b0 chore: release version v2.15.1 2023-09-27 14:42:41 -04:00
Zach Daniel
172e22e9df chore: hide docs from ash-hq 2023-09-27 02:27:59 -04:00
Zach Daniel
6ccc87b88f docs: update using hexdocs guide 2023-09-27 01:48:20 -04:00
Zach Daniel
e8f8335355 chore: release version v2.15.0 2023-09-26 23:44:33 -04:00
Zach Daniel
5c8f96231e docs: finalize initial cheat_sheet/docs pattern 2023-09-26 23:13:40 -04:00
Zach Daniel
d147e66722 chore: release version v2.14.21 2023-09-25 09:41:03 -04:00
Zach Daniel
2d9f9ee362 improvement: deprecate old school manual actions
note: these have been deprecated for a very long time, removing them will not
be considered a breaking change (and there will be clear compile errors)
2023-09-25 09:40:29 -04:00
Zach Daniel
64f134089b improvement: better UX around nimble options errors
improvement: remove old, now-deprecated config

While we *could* call that a breaking change, there is a warning explaining to users what
they would need to do if they have the deprecated value configured, and it has been in a
deprecation state for many months/releases now.
2023-09-25 09:27:03 -04:00
De Wet Blomerus
a4c7e3ec91
It is a list ⛓️ (#703) 2023-09-22 23:13:17 -04:00
Zach Daniel
57f2070090 chore: release version v2.14.20 2023-09-22 07:46:31 -04:00
Dmitry Maganov
1aa0c9c84c
fix: revert :wrap_list usage for topic in PubSub, needs recursion (#702) 2023-09-22 06:52:53 -04:00
Zach Daniel
2813b3c9b2 chore: release version v2.14.19 2023-09-21 18:52:19 -04:00
Dmitry Maganov
ecd7075fbc
fix: more usages of :wrap_list type (#700) 2023-09-21 08:34:46 -04:00
Zach Daniel
9d0359a2ed docs: add primers to docs 2023-09-20 18:01:33 -04:00
Zach Daniel
2af6b79234 chore: release version v2.14.18 2023-09-20 16:32:32 -04:00
Zach Daniel
0a1f56d58b chore: update cheat_sheets 2023-09-20 16:29:47 -04:00