Commit graph

2580 commits

Author SHA1 Message Date
Zach Daniel
1705f72463 chore: release version v1.31.1 2021-01-24 13:48:25 -05:00
Zach Daniel
8e74ff62a6 fix: remove invalid boolean expression optimization
improvement: make form errors work better with phoenix

this involves temporarily making embed error messages *worse*
but we can improve them as we get more usage
2021-01-24 13:47:10 -05:00
Zach Daniel
834850dec0 chore: release version v1.31.0 2021-01-23 22:32:34 -05:00
Zach Daniel
61e6b7c80c fix: various ci_string improvements
feat: add `contains/2` query function
2021-01-23 22:28:56 -05:00
zimt28
63483822d6
Update transformer.ex (#179) 2021-01-22 20:26:23 -05:00
Zach Daniel
a890914e36 chore: release version v1.30.2 2021-01-22 18:20:21 -05:00
Zach Daniel
cd7139a809 fix: add explicit jason dependency 2021-01-22 18:20:08 -05:00
Zach Daniel
8c18d1f87a chore: release version v1.30.1 2021-01-22 16:43:28 -05:00
Zach Daniel
c62ef24334 fix: update elixir versions in CI 2021-01-22 16:43:17 -05:00
Zach Daniel
d6ce1f82e2 chore: release version v1.30.0 2021-01-22 16:42:40 -05:00
Zach Daniel
bb91fd4bc7 fix: add action filters in for_read/3
fix: don't let local runner processes mix up messages

fix: runtime filter filters properly
2021-01-22 16:41:32 -05:00
Zach Daniel
c79167834f chore: release version v1.29.0-rc1 2021-01-21 15:42:50 -05:00
Zach Daniel
afcdc632bd chore: require elixir 1.11 2021-01-21 15:36:49 -05:00
Zach Daniel
ca176f6e1a chore: release version v1.29.0-rc0 2021-01-21 15:31:03 -05:00
Zach Daniel
7ea9b082f1 improvement: support all string constraints for ci_string 2021-01-21 15:25:07 -05:00
Zach Daniel
f6f5d194bf feat: freeform expressions
feat: validatiosn in actions

feat: query arguments

feat: add `Ash.Query.for_read/3`

feat: return changeset with API errors

feat: add case insensitive string `CiString`/`:ci_string`

feat: support `context/1` and `arg/1` in filter templates

feat: support targeting notifications with the `for` option

feat: add `ago/2` query function

feat: add basic arithmetic operators (+, *, -, /)

feat: `sensitive?` option for attributes

feat: `sensitive?` option for arguments

feat: `private` arguments, which can’t be set using `for_<action>`

feat: add `prevent_change` which will erase changes just before the changeset is committed

feat: add `match?` validation that supports a custom error message

feat: add `interval` type to support `ago/2` function

feat: add `url_encoded_binary` type

feat: add `function` type

improvement: `changing?` is now a validation

improvement: add `Transformer.get_persisted/3`

improvement: add `api` field to `Notification`

improvement: standardize errors, add `to_error_class`

improvement: use `Comp` everywhere

Improvement: use action on changeset if set by `for_<action_type>`

improvement: `action_failed?` field on change sets

improvement: remove ability for data layers to add operators (for now at least)

Improvement: Changeset.apply_attributes/2 now returns an error tuple

Improvement: add a bunch of new/informative errors

improvement: runtime filter now uses left join logic (a naive implementation of it)

improvement: support more filter templates in resources

Improvement: basic/naive type system for operators/functions

Fix: properly expand module aliases for options w/o compile time dependency

chore(engine): track changeset changes for the request with `manage_changeset?: true`
2021-01-21 15:22:50 -05:00
zimt28
6ddae6850f
improvement: Add trim/allow_empty to string type (#171) 2021-01-15 20:41:21 -05:00
zimt28
2a7acffabb
Always validate constraints (#173) 2021-01-14 10:52:18 -05:00
Zach Daniel
13ca0b2976 chore: generalize DSL tooling 2021-01-14 01:17:26 -05:00
Zach Daniel
36749669ca chore: release version v1.28.1 2021-01-12 15:41:47 -05:00
zimt28
31cb4f4be3
improvement: Improve attribute defaults (#164) 2021-01-12 15:40:55 -05:00
Zach Daniel
f2650d6d48 chore: use uuid_primary_key in sort_test 2021-01-12 15:40:21 -05:00
Zach Daniel
ed76336bbf docs: add embedded resources guide and titles 2021-01-12 15:25:59 -05:00
Zach Daniel
f4af0568d8 chore: release version v1.28.0 2021-01-12 15:06:55 -05:00
Zach Daniel
6a26a583de
feat: Add Embedded Resources (#170) 2021-01-12 15:05:56 -05:00
zimt28
db6bdfcf15
improvement: Add built in decimal type (#162) 2021-01-09 11:58:52 -05:00
Zach Daniel
9fbce8e198 chore: fix git diff in mix.lock 2021-01-09 11:57:39 -05:00
Zach Daniel
b6b16fe789 chore: update decimal dependency 2021-01-09 11:48:03 -05:00
zimt28
4404da93ce
fix: Correct error message (#163) 2021-01-09 11:36:01 -05:00
Zach Daniel
9abdcc62c1 chore: update git_ops 2021-01-08 15:27:39 -05:00
Zach Daniel
a114cde317 chore: release version v1.27.1 2021-01-08 14:29:27 -05:00
Zach Daniel
dbf9f82802 improvement: add Ash.Sort.parse_input/2
fix: fix small sort bugs
2021-01-08 14:22:31 -05:00
Zach Daniel
9a9745be24 chore: update git_ops 2021-01-08 12:48:58 -05:00
Zach Daniel
fcbf6e2522 chore: add upgrade guide to 1.27.0+ 2021-01-08 12:22:53 -05:00
Zach Daniel
da78630b4b chore: release version v1.27.0 2021-01-08 12:16:13 -05:00
zimt28
72ba6c4742
improvement: Add built in usec datetime type (#160) (#161)
improvement!: Use usec timestamps by default
2021-01-08 12:12:37 -05:00
Zach Daniel
6f8fb80194 chore: release version v1.26.13 2021-01-08 02:58:23 -05:00
Zach Daniel
7ce72a7454 fix: only cast public relationships/attributes 2021-01-08 02:58:02 -05:00
Zach Daniel
17046a02a1 chore: update tests 2021-01-07 22:35:10 -05:00
Zach Daniel
dfdaf0d63b chore: release version v1.26.12 2021-01-07 22:31:12 -05:00
Zach Daniel
8ef272b1ca fix: allow_nil?: false for integer_primary_key 2021-01-07 22:30:41 -05:00
Zach Daniel
540878de23 chore: release version v1.26.11 2021-01-07 21:37:01 -05:00
Zach Daniel
424d020a7d improvement: add for_<action> helpers 2021-01-07 21:35:40 -05:00
Zach Daniel
479194e1bd chore: release version v1.26.10 2021-01-06 22:48:04 -05:00
Zach Daniel
9e5250a920 chore: test binary type 2021-01-06 22:46:53 -05:00
Darren Black
fb5cc74329
improvement: Add built in binary type (#156)
Co-authored-by: Darren Black <darren@ifixsystems.com.au>
2021-01-06 22:46:20 -05:00
Zach Daniel
d41a173241 chore: release version v1.26.9 2021-01-06 15:16:08 -05:00
Zach Daniel
109ed9b19c fix: the __resource__ change broke some extensions 2021-01-06 15:15:43 -05:00
Zach Daniel
fa360508ef chore: release version v1.26.8 2021-01-06 14:49:44 -05:00
Zach Daniel
6eebe33c29 fix: add back extensions/1 helper to resources 2021-01-06 14:49:30 -05:00