Commit graph

3888 commits

Author SHA1 Message Date
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
Zach Daniel
3bfbee37c8 chore: release version v3.0.0 2024-05-10 12:27:32 -04:00
Zach Daniel
7bcf64f879 improvement: warn on authorizer being added to extensions list, not authorizers
improvement: make type generator handle allow_nil? properly
docs: add testing resources how to guide

closes #968
2024-05-10 12:08:42 -04:00
Riccardo Binetti
d5ae3f37b6
fix: ignore required pagination for relationships (#1147)
Maintain backwards compatibility
2024-05-10 11:48:10 -04:00
Zach Daniel
dbf848e264 fix: property tests should allow private attributes that are accepted 2024-05-10 10:39:26 -04:00
Zach Daniel
f8b186e40f docs: add wrap-external-apis.livemd 2024-05-09 22:54:19 -04:00
Zach Daniel
e81ce83d0e docs: encrypting attributes how-to guide 2024-05-09 21:29:58 -04:00
Zach Daniel
b000259418 docs: add preparations doc 2024-05-09 20:52:44 -04:00
Zach Daniel
bc3463e135 docs: document Ash.can 2024-05-09 20:43:49 -04:00
Zach Daniel
5f1bfe60b2 docs: add info in guide for accept in actions 2024-05-09 20:40:26 -04:00
Zach Daniel
b3a34d0d65 fix: ensure source_context is a map
fixes #1141
2024-05-09 08:49:39 -04:00
Zach Daniel
7bb914444e fix: get underlying type before calling rewrite on it 2024-05-08 21:03:44 -04:00
Zach Daniel
778b77b0fc docs: revamp changelog 2024-05-08 21:03:44 -04:00
dependabot[bot]
c71940ed47
chore(deps): bump reactor from 0.8.1 to 0.8.2 (#1138)
Bumps [reactor](https://github.com/ash-project/reactor) from 0.8.1 to 0.8.2.
- [Changelog](https://github.com/ash-project/reactor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/reactor/compare/v0.8.1...v0.8.2)

---
updated-dependencies:
- dependency-name: reactor
  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-08 20:37:48 -04:00
Zach Daniel
b6c8b1c2ec fix: allow calculations to access what would forbidden fields of related items
context for this change:

this requires a potentially risky modification to how field policies are
applied for nested queries and embedded types, which is that we now
apply field policies for nested queries in a post-processing pass.

Bugs in this code could lead to forbidden fields being displayed
when they shouldn't be. Luckily we have tests for this kind of thing :)
2024-05-08 16:22:48 -04:00
Barnabas Jovanovics
aecd421a29
fix: access to change context in get_and_lock(_for_update) changes (#1135) 2024-05-08 09:22:12 -04:00
Riccardo Binetti
0e899dbbb3
improvement: add tenant to data earlier in read (#1137) 2024-05-08 09:21:01 -04:00
Zach Daniel
078cc4f28b improvement: reintroduce deslection of known forbidden fields
this was an optimization that was temporarily removed, but can now
safely be added because we track depended on fields
2024-05-07 22:42:23 -04:00
Zach Daniel
797a0bf50b fix: properly upgrade static expression calculations to literal calculations 2024-05-07 22:33:05 -04:00
Zach Daniel
04b4769e87 improvement: always reselect positionally on embedded resources 2024-05-07 22:05:50 -04:00
Zach Daniel
48c6438212 improvement: change default timeout to :infinity, for efficiency 2024-05-07 17:01:11 -04:00
Zach Daniel
0e004ead7a fix: support empty lists as bulk arguments to code interface options
fixes #1126
2024-05-07 16:46:41 -04:00
Zach Daniel
ce559bc018 fix: temporarily disable field policy deselection optimization
also added a test for related field calc dependencies,
commented out until I fix it later
2024-05-07 16:08:56 -04:00
Barnabas Jovanovics
d2bfaff377
test: add test for calc deps that are forbidden (#1128) 2024-05-07 15:39:04 -04:00
Zach Daniel
f5ab6a6bd8 fix: ensure that reuse_values? is honored all the way down the chain 2024-05-07 15:38:03 -04:00
Riccardo Binetti
7f701cfb57
chore: add failing test for calculation reuse across loads (#1127) 2024-05-07 12:28:22 -04:00
Barnabas Jovanovics
9d16ca07dc
feat: check global changes and validations for atomicity during compile time (#1129) 2024-05-07 12:09:12 -04:00
Zach Daniel
09cff72d03 chore: ensure changeset is set on atomic upgraded errors
docs: update livebook
2024-05-06 21:57:11 -04:00
Zach Daniel
1d519e37e0 chore: better inspecting for error classes 2024-05-06 20:58:39 -04:00
Zach Daniel
64ecdad657 fix: properly deduplicate calculations 2024-05-06 20:32:41 -04:00
Riccardo Binetti
c3c330224d
chore: add failing test for calculation loaded twice in Ash.load/3 (#1122) 2024-05-06 19:25:17 -04:00
Zach Daniel
e68792838c chore: release version v3.0.0-rc.46 2024-05-06 13:06:12 -04:00
Zach Daniel
b810e2e55b fix: better performance and ability to add a stream to runtime sort logic 2024-05-06 13:05:34 -04:00
Zach Daniel
400fc4aea3 chore: set postgres to 13 2024-05-06 11:02:48 -04:00
Zach Daniel
36308a9e4f chore: reword some docs 2024-05-06 10:52:17 -04:00
Zach Daniel
4780bddde4 chore: formatting docs 2024-05-06 10:48:32 -04:00
Zach Daniel
338e6a4d68 docs: update wording 2024-05-06 10:42:11 -04:00
Zach Daniel
405093eb1a chore: add some clarification 2024-05-06 10:24:50 -04:00
Zach Daniel
84f8d6d942 chore: fix docs title 2024-05-06 10:23:41 -04:00
Zach Daniel
b6669dab94 docs: remove cook book terminology 2024-05-06 10:19:42 -04:00
Barnabas Jovanovics
815ceff61d
Do not define info inside extension because of compile dependency (#1120) 2024-05-06 09:26:09 -04:00