Ben Swift
2c164f0130
docs: fix typo :ubject -> :subject in get-started.md ( #1019 )
2024-04-12 19:50:54 -04:00
dependabot[bot]
10cc7354e3
chore(deps-dev): bump ex_doc from 0.32.0 to 0.32.1 ( #1018 )
...
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc ) from 0.32.0 to 0.32.1.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases )
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/v0.32.1/CHANGELOG.md )
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.32.0...v0.32.1 )
---
updated-dependencies:
- dependency-name: ex_doc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 19:08:39 -04:00
Zach Daniel
0e2b392413
fix: compilation time improvements (hopefully)
2024-04-12 14:14:14 -04:00
Lukas Ender
10e3722446
fix: code_interface
actions accept @context
( #1016 )
2024-04-12 10:26:46 -04:00
Zach Daniel
8ea51ec506
fix: ensure tenant is set to opts
in action helpers
2024-04-11 23:33:22 -04:00
Zach Daniel
47dde10329
improvement: adding domain to embedded resource is an error
2024-04-11 22:28:47 -04:00
dependabot[bot]
13f0497d44
chore(deps): bump spark from 2.1.16 to 2.1.17 ( #1013 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 2.1.16 to 2.1.17.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v2.1.16...v2.1.17 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 18:27:34 -04:00
Zach Daniel
0416ce1d0d
fix: ensure more consistent use of Ash.Tenant.to_tenant/2
2024-04-11 11:41:29 -04:00
Zach Daniel
dc1205a48f
fix: ensure that strict loads are applied at all nesting levels
2024-04-11 10:16:24 -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
2474fbed44
improvement: raise more sensible error on unsupported pagination
2024-04-11 09:38:49 -04:00
Riccardo Binetti
f2236c9092
chore: failing test for strict loads on nested relationship loads ( #1011 )
2024-04-11 09:29:12 -04:00
Zach Daniel
b60ab26221
chore: release version v3.0.0-rc.19
2024-04-11 08:05:03 -04:00
Zach Daniel
752320c139
fix: properly load depended on fields for relationships even if public?: false
2024-04-11 08:04:20 -04:00
Jechol Lee
0b79515f69
fix: fix date_add query function ( #1010 )
2024-04-11 07:42:11 -04:00
Zach Daniel
a27f1be64e
chore: don't try to migrate tenants in sqlite
2024-04-10 22:42:32 -04:00
Zach Daniel
e1a0b48172
fix: pass name through to underlying tasks
2024-04-10 19:02:42 -04:00
Riccardo Binetti
cd4299d6e5
chore: add failing test for calculations on private relationships ( #1008 )
2024-04-10 18:26:42 -04:00
dependabot[bot]
6ba0f50ba5
chore(deps): bump spark from 2.1.13 to 2.1.16 ( #1005 )
...
Bumps [spark](https://github.com/ash-project/spark ) from 2.1.13 to 2.1.16.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/spark/compare/v2.1.13...v2.1.16 )
---
updated-dependencies:
- dependency-name: spark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:31:39 -04:00
dependabot[bot]
a2802874bc
chore(deps-dev): bump mix_audit from 2.1.2 to 2.1.3 ( #1006 )
...
Bumps [mix_audit](https://github.com/mirego/mix_audit ) from 2.1.2 to 2.1.3.
- [Changelog](https://github.com/mirego/mix_audit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mirego/mix_audit/compare/v2.1.2...v2.1.3 )
---
updated-dependencies:
- dependency-name: mix_audit
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:31:30 -04:00
dependabot[bot]
6aa55000e0
chore(deps): bump simple_sat from 0.1.1 to 0.1.3 ( #1007 )
...
Bumps [simple_sat](https://github.com/ash-project/simple_sat ) from 0.1.1 to 0.1.3.
- [Changelog](https://github.com/ash-project/simple_sat/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ash-project/simple_sat/compare/v0.1.1...v0.1.3 )
---
updated-dependencies:
- dependency-name: simple_sat
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 17:31:21 -04:00
d49ffe6e7b
chore: enable dependabot for mix dependencies.
2024-04-11 09:19:05 +12:00
Zach Daniel
829f6d6e49
improvement: support builder options in read
code interfaces
2024-04-10 15:57:30 -04:00
Zach Daniel
268b335946
chore: fix return type matching for generic actions
2024-04-10 13:58:22 -04:00
Zach Daniel
bae263ca12
improvement: support omitting generic action return types
2024-04-10 13:46:44 -04:00
Zach Daniel
a5074d9d2f
chore: update ex_doc
2024-04-10 10:01:57 -04:00
Riccardo Binetti
9f2b4ab8ba
improvement: call ToTenant protocol when setting tenant in actions ( #1004 )
2024-04-10 09:35:39 -04:00
Rebecca Le
3fce34cda6
fix: Validate all conditions in a numericality
validation instead of only the last ( #997 )
...
The previous `reduce` loop did not break on the first failure and
return the error, it returned the last iteration of the loop
Some more work may need to be done on the atomic side of the validation,
I'm not familiar with how they work!
2024-04-10 09:25:42 -04:00
Zach Daniel
f504ab6a67
chore: fix domain behaviour impl
2024-04-10 07:55:37 -04:00
Zach Daniel
eb5f732f04
chore: release version v3.0.0-rc.18
2024-04-10 07:44:10 -04:00
Riccardo Binetti
8eb98bc663
fix: swap the parameters in Ash.ToTenant.to_tenant/2 ( #1003 )
...
This is technically a breaking change, but without this the protocol would never
work as intended since the funtion gets dispatched based on the type of the
first parameter and the resource parameter will always be an atom (precisely, an
alias) so the implementation for Atom will always be called
2024-04-10 06:58:53 -04:00
Zach Daniel
2f28bd9ee7
chore: better use Ash.Resource
options
...
chore: atom -> module
2024-04-09 22:55:26 -04:00
Zach Daniel
46ed97dd10
improvement: add ash.rollback
mix task
...
chore: fix some naming/mix task steps
2024-04-09 20:24:08 -04:00
Zach Daniel
4f26773fe0
improvement: add ash.rollback
task
2024-04-09 14:54:44 -04:00
139058d4c0
fix(Ash.Reactor): crash when calling an ash reactor for the first time.
...
Thanks to @carlgleisner for the [detailed reproduction](https://github.com/carlgleisner/reactor_notification_worker_issue ).
The problem was caused by an attempt to not have nested reactors indepdently publish their notifications separate to the parents but contained a logic flaw which caused the agent to not start, but only the first time you try and use a given reactor.
The fix involves _always_ starting a notification agent for each reactor, but nesting them. When a reactor completes it either publishes it's notifications to the parent reactor or to ash if there are no parent reactors.
2024-04-10 06:19:38 +12: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
5c70935f2f
improvement: support skip_unknown_inputs
in Ash.bulk_create
...
closes : #998
2024-04-09 13:24:03 -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
Andreas Donig
95ecc5155c
fix: add base case for Ash.Resource.Info.public_relationship/2 ( #1000 )
...
test: Add a simple test for Ash.Resource.Info.public_relationship/2
---------
Co-authored-by: Andreas Donig <git@innwiese.de>
2024-04-09 13:17:03 -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
0087e05028
chore: release version v3.0.0-rc.17
2024-04-08 17:43: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