Commit graph

4070 commits

Author SHA1 Message Date
Zach Daniel
371c2d1515 fix: properly parse changeset template for filters 2024-04-16 20:41:19 +01:00
Zach Daniel
3044339396 fix: properly parse changeset filter 2024-04-16 20:35:30 +01:00
Zach Daniel
4b50550149 chore: fix typo 2024-04-16 20:31:57 +01:00
Zach Daniel
3ab096258d chore: release version v3.0.0-rc.23 2024-04-16 20:28:50 +01:00
Zach Daniel
3b8a15fd34 fix: ensure changeset filters are applied on bulk destroy/update 2024-04-16 20:27:42 +01:00
Zach Daniel
fb90709f71 chore: release version v3.0.0-rc.22 2024-04-16 18:19:51 +01:00
Zach Daniel
a147062523 improvement: add Ash.read_first 2024-04-16 18:19:20 +01:00
Zach Daniel
77ee3686eb improvement: helpful output in mix tasks helper 2024-04-16 17:37:15 +01: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
Riccardo Binetti
7c189ede32
fix: fix typo in load test (#1031) 2024-04-16 12:06:48 +01:00
Ben Swift
3c06d04124
docs: fix typo in code snippet for change actions doc (#1032) 2024-04-16 11:58:53 +01:00
Dmitry Maganov
8bcbfc5b17
fix: support all calculate opts in code interface methods (#1026) 2024-04-15 22:34:33 +01:00
Riccardo Binetti
11de5dd64f
improvement: use explicit read actions when reading relationships (#1029)
While filter, sorts etc are already copied from the read action into the query,
using the right action is relevant, for example, when it's checked against in
policies, or in preparations that check the action name from the query
2024-04-15 22:33:56 +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
Riccardo Binetti
3338b343ac
improvement: use cached to_tenant when setting tenant attribute (#1021) 2024-04-14 11:53:09 -04:00
Zach Daniel
7e277673fd docs: add picosat change to upgrade guide 2024-04-14 11:11:43 -04:00
Zach Daniel
71d842bd0c chore: release version v3.0.0-rc.21 2024-04-13 20:50:48 -04:00
Zach Daniel
3519a85cee fix: ensure to_tenant is copied to aggregate query 2024-04-13 20:47:01 -04:00
Zach Daniel
fca5bff35d chore: release version v3.0.0-rc.20 2024-04-13 17:23:11 -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
Riccardo Binetti
9c74e52bd8
improvement: make match/1 overridable in Ash.Type.Enum (#1020)
Allow handling additional inputs to map them to one of the enum values
2024-04-13 14:07:23 -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
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