Commit graph

  • 85c92ce9cc chore: use nils_distinct? Zach Daniel 2024-08-05 11:01:16 -0400
  • 3667760717 chore: format Zach Daniel 2024-08-05 10:35:41 -0400
  • 4508b439a5
    improvement: Add defaults and typespec to resulting Resource struct (#1364) m0rt3nlund 2024-08-05 16:35:17 +0200
  • bed5a57e58
    Update lib/ash/resource/schema.ex Zach Daniel 2024-08-05 10:34:46 -0400
  • 4780376a8e fix: respect previously validated-for-action query for aggregates Zach Daniel 2024-08-05 10:09:38 -0400
  • a5016f212f Check that attribute defaults are present in the resulting struct morten.lund@maskon.no 2024-08-05 10:30:59 +0200
  • d3e6e885dc
    Merge branch 'ash-project:main' into main m0rt3nlund 2024-08-05 08:51:45 +0200
  • 17feea7a14 chore: update docs on atomics Zach Daniel 2024-08-04 08:56:36 -0400
  • 67981a2e30 test: cannot set_attribute on attribute with writable? false Minsub Kim 2024-08-03 15:12:54 +0900
  • e3e492ef65 fix: use timestamps() instead of timestamps Zach Daniel 2024-08-02 12:49:26 -0400
  • 54738baad2 fix: prefer source_attribute is required, instead of relationship name Zach Daniel 2024-08-02 09:40:49 -0400
  • df9dacf130 Add typespec to schema morten.lund@maskon.no 2024-08-02 14:06:50 +0200
  • 1044725293 Add defaults to schema struct morten.lund@maskon.no 2024-08-02 14:06:34 +0200
  • 4e223cb4e0
    chore(deps): bump the production-dependencies group with 2 updates (#1361) dependabot[bot] 2024-08-01 20:41:43 -0400
  • 70d98519a3
    chore(deps): bump the production-dependencies group with 2 updates dependabot[bot] 2024-08-01 22:18:23 +0000
  • 3c8a48c07d chore: release version v3.3.3 v3.3.3 Zach Daniel 2024-08-01 15:37:40 -0400
  • 28f73546cc fix: roll back bulk update/destroy on before action error Zach Daniel 2024-08-01 12:09:01 -0400
  • f8fc4cd521 fix: delete ash_notifications from pdict after reading Zach Daniel 2024-08-01 10:42:19 -0400
  • de7bd3576a docs: add typespec for build/2 Zach Daniel 2024-07-31 21:53:03 -0400
  • 0ecf92a705 docs: update changelog Zach Daniel 2024-07-31 21:07:25 -0400
  • 89200d554a chore: release version v3.3.2 v3.3.2 Zach Daniel 2024-07-31 21:04:54 -0400
  • ea7abca878 remove IO.inspect Zach Daniel 2024-07-31 18:27:59 -0400
  • 266958d326 improvement: add --timestamps argument to ash.gen.resource fix: properly parse multiple occurrences of :keep arguments Zach Daniel 2024-07-31 17:47:29 -0400
  • db54a655c8 fix: properly key nested calculations and add additional tests Zach Daniel 2024-07-31 13:18:07 -0400
  • 2843f8d181 fix: pass relationship path down when merging query loads Zach Daniel 2024-07-31 10:10:10 -0400
  • 8f865c11cf fix: don't set --name nil when calling codegen tasks Zach Daniel 2024-07-31 09:43:11 -0400
  • 77d12dc689
    docs: Add section regarding strict-loading for manual relationships. (#1359) Torkild Gundersen Kjevik 2024-07-31 15:03:10 +0200
  • db73b837ec Remove comment. Torkild G. Kjevik 2024-07-31 11:26:35 +0200
  • 1e82530c37 Add section about strict-loading for manual relationships. Torkild G. Kjevik 2024-07-31 11:25:37 +0200
  • 8a368c0fcd fix: fix behavior of synthesized joins across data layers test: fix our testing set up so its actually testing join synthesizer Zach Daniel 2024-07-30 22:10:58 -0400
  • 26f4a1595b chore: use .has_validate? on conditions, not has_batch_change? Zach Daniel 2024-07-30 06:51:58 -0400
  • f5210692bf chore: update changelog Zach Daniel 2024-07-30 06:48:39 -0400
  • c74ac7f955 chore: release version v3.3.1 v3.3.1 Zach Daniel 2024-07-30 06:47:18 -0400
  • 55456b3884 fix: properly parse domain module in mix ash.gen.domain Zach Daniel 2024-07-30 06:45:24 -0400
  • cb7b712460 improvement: implement change/3 automatically if batch callbacks are defined fix: properly handle mixed atomic & non-atomic validations/changes Zach Daniel 2024-07-29 19:54:12 -0400
  • 1ce0480a85
    test: tests for atomic only validation (#1331) Barnabas Jovanovics 2024-07-29 21:29:39 +0200
  • 1c641faf2e fix: properly find data layer predicates when name is provided as a string Zach Daniel 2024-07-29 15:25:17 -0400
  • ac18d1804b
    fix: set accessing from and join read action for many_to_many relationships correctly (#1355) Barnabas Jovanovics 2024-07-29 13:54:23 +0200
  • 8c15470b6a use the read action specified on the join relationship fix/set-accessing-from-for-many-to-many Barnabas Jovanovics 2024-07-29 13:49:05 +0200
  • b2288e7e3c fix: set accessing from for many_to_many relationships correctly Barnabas Jovanovics 2024-07-29 13:27:45 +0200
  • 5838a856c8
    docs: Fix SECURITY.md badge URL (#1353) Jonatan Männchen 2024-07-28 14:39:15 +0200
  • c2a49f5ec1
    Fix SECURITY.md badge URL Jonatan Männchen 2024-07-28 14:00:24 +0200
  • b3ac13e760 chore: release version v3.3.0 v3.3.0 Zach Daniel 2024-07-27 17:05:46 -0400
  • 303da2a97f improvement: better positional argument handling with igniter Zach Daniel 2024-07-26 13:43:51 -0400
  • dc4a63c86c fix: ensure that statuses are set correctly on bulk actions fix: properly transfer process context(tracers) for bulk actions Zach Daniel 2024-07-26 11:38:41 -0400
  • 3de985ccc5
    feat: Add Ash.Type.File (#1337) Jonatan Männchen 2024-07-26 13:57:23 +0200
  • ea5eb5f552
    chore(deps): bump igniter in the production-dependencies group (#1348) dependabot[bot] 2024-07-25 21:24:54 -0400
  • 6cf8e8d43e
    chore(deps): bump igniter in the production-dependencies group dependabot[bot] 2024-07-25 22:34:41 +0000
  • 2745e20150
    Add Ash.Type.File Jonatan Männchen 2024-07-24 12:17:09 +0200
  • bda0c0e0da
    chore: credo fix (#1347) Jonatan Männchen 2024-07-26 00:08:32 +0200
  • d2773c4e35
    credo fix Jonatan Männchen 2024-07-25 22:58:58 +0200
  • de2b3d0d4e improvement: use :utc_datetime_usec for now() return type fix: fix typespecs for Ash.can? Zach Daniel 2024-07-25 16:26:11 -0400
  • 8d60e0518e fix: properly display identity/primary key mismatch error on lists of embeds Zach Daniel 2024-07-25 10:44:16 -0400
  • df7adce976
    fix: apply constraints to NewType even when casting an array (#1341) Riccardo Binetti 2024-07-25 16:17:18 +0200
  • 0bdb3acfe2 fix: properly handle non-domain modules or modules w/ no resources Zach Daniel 2024-07-25 09:32:16 -0400
  • 99966d0e57 fix: fix enum typespec generation for strings/mixed types Zach Daniel 2024-07-25 09:29:45 -0400
  • b46e172627 fix: properly generate types for string & mixed enums Zach Daniel 2024-07-25 07:34:53 -0400
  • 8a1c47c131
    test: add test for string enum (#1344) Barnabas Jovanovics 2024-07-25 13:24:50 +0200
  • d199f701ac
    fix: pass reuse_values? true when loading in Ash.Query.apply_to/2 (#1346) Riccardo Binetti 2024-07-25 13:21:08 +0200
  • 55df011a00 fix: apply constraints to NewType even when casting an array Riccardo Binetti 2024-07-25 01:19:03 +0200
  • 256ba88b60 fix: pass reuse_values? true when loading in Ash.Query.apply_to/2 Riccardo Binetti 2024-07-25 11:16:45 +0200
  • edfdc25c3d add test for string enum test/string-enum Barnabas Jovanovics 2024-07-25 10:00:12 +0200
  • 79dd76e466
    fix: add :ok to Ash.Resource.Actions.Implementation.run/3 callback (#1340) Riccardo Binetti 2024-07-24 22:46:49 +0200
  • 8e6badf711 fix: add :ok to Ash.Resource.Actions.Implementation.run/3 callback Riccardo Binetti 2024-07-24 22:43:49 +0200
  • 381870ac3e improvement: don't install sat solver in initial installation improvement: ask user to install sat solver when extending with policies improvement: validate that a solver exists at compile time when using policies Zach Daniel 2024-07-24 16:08:39 -0400
  • 62bda80b38 fix: honor skip_unknown_inputs in code interfaces Zach Daniel 2024-07-24 12:45:58 -0400
  • 228eda86ff fix: don't gather notifications except for in the top level transaction starter chore: format Zach Daniel 2024-07-24 12:02:55 -0400
  • ed30dcf1dd fix: support skip_unknown_inputs on generic actions Zach Daniel 2024-07-24 10:30:49 -0400
  • 8d3b0b7246
    improvement: Expose type t() on Ash.Type.Enum implementations (#1338) Jonatan Männchen 2024-07-24 13:06:11 +0200
  • 2ca8a8e0b1
    Expose type t() on Ash.Type.Enum implementations Jonatan Männchen 2024-07-24 12:45:14 +0200
  • c96a95bcbf fix: ensure changed? context is set on atomic changesets Zach Daniel 2024-07-24 06:21:31 -0400
  • 912fcf99de
    docs: Format default options for special attributes as code, in Ash.Resource DSL (#1336) Rebecca Le 2024-07-24 18:15:31 +0800
  • 693286b437
    docs: Format default options for special attributes as code, in Ash.Resource DSL Rebecca Le 2024-07-24 17:58:26 +0800
  • 516ff8ef8e improvement: automatically fall back to a default domain when working with embeds Zach Daniel 2024-07-23 19:14:16 -0400
  • 0301009073 docs: add code interface to generic actions guide Zach Daniel 2024-07-23 17:42:32 -0400
  • 9e155e55c2
    docs: document how to call a Generic Action (#1334) Jonatan Männchen 2024-07-23 23:40:53 +0200
  • 98528c9c5a
    fix: Update string/ci_string generators to ensure min_length (#1335) Jefferson Queiroz Venerando 2024-07-23 17:38:55 -0400
  • 44c8d10750
    revert to printable and ensure min_length Jefferson Queiroz Venerando 2024-07-23 17:24:49 -0400
  • 7d009d04f5
    Document how to call a Generic Action Jonatan Männchen 2024-07-23 22:59:11 +0200
  • 9c40062788
    use :alphanumeric instead of :printable to avoid length issues Jefferson Queiroz Venerando 2024-07-23 16:53:35 -0400
  • 2d6a3cc35d chore: set action before determining opts on changeset Zach Daniel 2024-07-23 13:15:09 -0400
  • 7630a23f89 chore: set global option properly Zach Daniel 2024-07-23 12:55:52 -0400
  • 32c8da1f8d improvement: add :* as a valid value in skip_unknown_inputs improvement: add skip_unknown_inputs to individual actions improvement: add skip_unknown_inputs constraint to embedded resources Zach Daniel 2024-07-23 12:24:41 -0400
  • ae4b459a65 add error test case for create test/atomic_only_validation Barnabas Jovanovics 2024-07-23 16:23:44 +0200
  • 4763181ff9 improvement: handle 3 tuple in Ash.can? Zach Daniel 2024-07-23 09:59:24 -0400
  • 98dec63998 fix: handle {record, action, input} types in Ash.can? Zach Daniel 2024-07-23 09:32:48 -0400
  • bfb67a4800 improvement: add Ash.Error.error_descriptions Zach Daniel 2024-07-23 09:03:27 -0400
  • 8400c3b2e2 add atomic only validation to action tests Barnabas Jovanovics 2024-07-23 14:48:58 +0200
  • 828bd9c560 fix: ensure we never call change if batch_change is defined (on bulk actions) Zach Daniel 2024-07-22 14:45:39 -0400
  • be542cf880 fix: only call batch_change if it is defined, never change in bulk create Zach Daniel 2024-07-22 14:32:27 -0400
  • 134cb4f193 chore: release version v3.2.6 v3.2.6 Zach Daniel 2024-07-22 14:05:28 -0400
  • dcb69882df fix: fallback to authorize_with when authorizing bulk destroy actions Zach Daniel 2024-07-22 14:04:32 -0400
  • c2ac47e21e
    improvement: Replace incorrect function_exported?-checks in bulk-actions, add has-defs for change modules (#1330) Torkild Gundersen Kjevik 2024-07-22 18:32:24 +0200
  • b75db1fd61
    Merge branch 'ash-project:main' into main Torkild Gundersen Kjevik 2024-07-22 18:16:40 +0200
  • 34ea4993db Use __before_compile__ defs when checking for bulk callbacks in change-modules. Torkild G. Kjevik 2024-07-22 18:14:47 +0200
  • 56c9345642 Add has_batch_change?, has_before_batch? & has_after_batch defs in __before_compile__. Torkild G. Kjevik 2024-07-22 18:14:12 +0200
  • 070184361f chore: release version v3.2.5 v3.2.5 Zach Daniel 2024-07-22 11:39:04 -0400
  • c65f0c851c fix: apply atomic validations on non-bulk destroy actions chore: don't put atomic changes into attributes to simplify Zach Daniel 2024-07-22 11:35:11 -0400
  • 5be7a56976 chore: move_attributes_to_atomics before handle_allow_nil_atomics Zach Daniel 2024-07-22 10:14:56 -0400
  • e6d52f2d07
    fix: add default to private_fields_policy in Ash.Policy.Info (#1329) Barnabas Jovanovics 2024-07-22 16:07:03 +0200