Commit graph

4028 commits

Author SHA1 Message Date
Alan Heywood
4214522302
^ref argument order fixes (#1171) 2024-05-15 19:56:06 -04:00
Zach Daniel
937d026827 chore: release version v3.0.2 2024-05-15 16:50:39 -05:00
Zach Daniel
7ec98ef8ab fix: properly persist simple_notifiers 2024-05-15 16:46:16 -04:00
Zach Daniel
5b18e71738 fix: accept ids in code interfaces again 2024-05-15 15:45:58 -04:00
Zach Daniel
835187df49 fix: ensure that the changed? context is set in after action hooks on batches 2024-05-15 14:08:19 -04:00
Zach Daniel
ad0274b0a3 improvement: add pattern matching for clarity on ref/1 and ref/2
chore: remove debug logger configuration from test
2024-05-15 11:25:54 -04:00
Zach Daniel
8481873ed5 fix: allow for inferred domains when authorizing join queries
closes #1167
2024-05-15 09:48:24 -04:00
m0rt3nlund
d3ff7b1656
Update sensitive-data.md, tyring to clearify that public? applies to … (#1168)
* fix typo

* Update sensitive-data.md, tyring to clearify that public? applies to read

---------

Co-authored-by: Barnabas Jovanovics <barnabas.jovanovics@gmail.com>
2024-05-15 09:31:52 -04:00
Zach Daniel
35bbd3f1b0 docs: use strict_loads false in upgrade guide 2024-05-14 21:29:48 -04:00
Zach Daniel
2681684922 improvement: add can_return_nil?/1 callback to Ash expressions 2024-05-14 17:58:13 -04:00
Zach Daniel
3263ec2ee9 fix: don't show a type error on nil for lists
closes #1166
2024-05-14 17:09:34 -04:00
Davide Briani
449da541e2
Fix: keep data's metadata in atomic update (#1165) 2024-05-14 13:17:51 -04:00
Zach Daniel
576c729bba improvement: raise argument error on unknown options in Ash.Type.NewType
closes #1142
2024-05-14 12:34:25 -04:00
Zach Daniel
23d78ec43f improvement: use the source configuration for attributes in embedded resources
closes #1143
2024-05-14 12:32:25 -04:00
Zach Daniel
a3682d3ef6 chore: update changelog 2024-05-14 11:42:50 -04:00
Zach Daniel
124a3c734e improvement: better types for checks, for spark autocomplete
chore: update spark
2024-05-14 11:38:33 -04:00
Zach Daniel
5392a3ae78 improvement: added a did_you_mean field and error message for NoSuchInput 2024-05-14 10:36:46 -04:00
Zach Daniel
6ee4fb484d chore: fix spark dep 2024-05-14 10:16:43 -04:00
Zach Daniel
3f77e09b3c chore: release version v3.0.1 2024-05-14 10:15:48 -04:00
Zach Daniel
fa172b3be2 fix: don't eager evaluate exists erroneously 2024-05-14 10:11:27 -04:00
Barnabas Jovanovics
ca61d56fcf
docs: fix typo (#1164) 2024-05-14 09:50:06 -04:00
Barnabas Jovanovics
0dfad7c228
fix: handle nil case (#1163) 2024-05-14 06:16:07 -04:00
dependabot[bot]
610c0195c5
chore(deps): bump stream_data from 0.6.0 to 1.0.0 (#1162) 2024-05-13 20:11:00 -04:00
Zach Daniel
8f7a679289 chore: put spark dep back 2024-05-13 16:04:50 -04:00
Zach Daniel
7b1b26943c fix: don't attempt to traverse not loaded and forbidden values when rewriting policies 2024-05-13 15:56:47 -04:00
Nicholas Moen
c3957749bf
docs: change wording to discourage use of simple_sat unless needed (#1161) 2024-05-13 12:52:57 -04:00
Barnabas Jovanovics
de0bd815e8
fix: add __source__ to union inner_constraints (#1160) 2024-05-13 18:45:31 +02:00
Barnabas Jovanovics
3e27ca9df5
fix: copy context for the other destroy calls too (#1159) 2024-05-13 09:43:43 -04:00
Barnabas Jovanovics
f755af2228
fix: inifite recursion if query is empty (#1158) 2024-05-13 09:20:27 -04:00
Simon Nyström
f69e946a7d
docs: Fix incorrect documentation for Ash.create (#1157) 2024-05-13 09:11:13 -04:00
Rebecca Le
6afd9f57f2
docs: Clarify resource code in Actions guide (#1156) 2024-05-13 07:30:59 -04:00
12de8d19a5 fix(cascade_destroy): Always return and explicitly dispatch notifications.
**note** `notify?` option is now `return_notifications?`.
2024-05-13 09:28:20 +12:00
e7c8edc8f3 fix: Seems like we shouldn't just throw away notifications without being upset about it. 2024-05-13 09:28:20 +12:00
55e625e63a chore: code gardening. 2024-05-13 09:28:20 +12:00
89db4ac154 fix: incorrect result matching in bulk destroy.
Transactions return an ok/error tuple, so we need to handle it and simulate an bulk result error on error.
2024-05-13 09:28:20 +12:00
70c1a688f8 feat: Add cascade_destroy to builtin changes. 2024-05-13 09:28:20 +12:00
Zach Daniel
11f0f9aa03 fix: ensure that changeset filters are honored in ETS destroy/update_query
fix: in simulated bulk actions, a stale record should be ignored
fix: don't rollback transactions on stale records
2024-05-12 16:16:39 -04:00
Riccardo Binetti
1f8c27225f
chore: add failing tests for filter on stream bulk update/destroy (#1151) 2024-05-12 15:32:13 -04:00
Zach Daniel
b48c989b15 fix: don't check required belongs to fields until after setting them in bulk creation
docs: fix doc links for code interface guide

fixes #1154
2024-05-12 14:12:24 -04:00
Riccardo Binetti
69ba0f7ce3
fix: check require_reference? when generating update code interface (#1152) 2024-05-11 20:11:44 -04:00
Zach Daniel
c303c8c7f4 docs: wording 2024-05-11 18:50:55 -04:00
Zach Daniel
cef67e7b74 docs: remove copy-pasta wording 2024-05-11 18:47:52 -04:00
dependabot[bot]
1e53cddddb
chore(deps): bump spark from 2.1.20 to 2.1.21 (#1148)
Bumps [spark](https://github.com/ash-project/spark) from 2.1.20 to 2.1.21.
- [Changelog](https://github.com/ash-project/spark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/spark/compare/v2.1.20...v2.1.21)

---
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-05-11 02:05:27 -04:00
dependabot[bot]
f7844a8b6b
chore(deps-dev): bump ex_doc from 0.32.1 to 0.32.2 (#1149)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.32.1 to 0.32.2.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.32.1...v0.32.2)

---
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-05-11 02:05:14 -04:00
dependabot[bot]
1678e35d84
chore(deps-dev): bump git_ops from 2.6.0 to 2.6.1 (#1150)
Bumps [git_ops](https://github.com/zachdaniel/git_ops) from 2.6.0 to 2.6.1.
- [Changelog](https://github.com/zachdaniel/git_ops/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zachdaniel/git_ops/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: git_ops
  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-05-11 02:04:59 -04:00
dependabot[bot]
f82a467e7e
chore(deps-dev): bump credo from 1.7.5 to 1.7.6 (#1144) 2024-05-11 01:58:46 -04:00
Zach Daniel
a3bc76e29a chore: update upgrade guide links 2024-05-11 01:29:06 -04:00
Zach Daniel
5187c83466 chore: update deps in cookbooks 2024-05-10 15:28:31 -04:00
Zach Daniel
32446b0b2e chore: fixes around policy exceptions
docs: add policy how-to guide
2024-05-10 15:26:23 -04:00
Zach Daniel
334dc2dc04 chore: don't apply policy verifier to domains 2024-05-10 12:36:46 -04:00