ash/CHANGELOG.md

4242 lines
77 KiB
Markdown
Raw Normal View History

2020-06-01 17:19:07 +12:00
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
<!-- changelog -->
2022-08-04 00:29:14 +12:00
## [v1.52.0-rc.22](https://github.com/ash-project/ash/compare/v1.52.0-rc.21...v1.52.0-rc.22) (2022-08-03)
### Bug Fixes:
* actually use `warn_on_empty?` config
* check for actor on query/changeset for actor context
* pass actor opt down
* don't skip setting tenant when actor is present
* don't use `apply/3` on kernel macros
* small bug in DSL transformer manipulation.
* && and || don't short-circuit to `nil`
* `{:ok, _}` -> `{:known, _}` when evaluating operators
* fix bad evaluation case for operators
* ensure we only take unique related records when lazy loading
### Improvements:
* add warnings to DSL transformer returns
* warn on empty registries
* better sanitization around sensitive attributes in filters
* change `always_authorize?` to `authorize` for multiple options
* add error message for manual action missed
2022-07-20 11:32:58 +12:00
## [v1.52.0-rc.21](https://github.com/ash-project/ash/compare/v1.52.0-rc.20...v1.52.0-rc.21) (2022-07-19)
### Bug Fixes:
* use `Map.get/2` when getting paths if the value is a struct
### Improvements:
* add || and && operators
* sort parsing helpers
* add `Ash.Sort.parse_input!/2`
* add `transfer_context/1` and `get_context_for_transfer/0`
* add process-based actor, tenant and query/changeset context
* add `always_authorize?` and `require_actor?` to api config
* support paths in `actor/1`
2022-07-15 03:52:12 +12:00
## [v1.52.0-rc.20](https://github.com/ash-project/ash/compare/v1.52.0-rc.19...v1.52.0-rc.20) (2022-07-14)
### Features:
* add can?/4 policy utility (#349)
* add can?/4 policy utility
### Improvements:
* add default guide to doc_index
2022-07-14 07:06:35 +12:00
## [v1.52.0-rc.19](https://github.com/ash-project/ash/compare/v1.52.0-rc.18...v1.52.0-rc.19) (2022-07-13)
### Bug Fixes:
* make mnesia and ets work properly when sharing tables
* make updates properly merge with mnesia and ets
* `attribute_writable?` also makes it public
### Improvements:
* code_interface optional arguments
* improve behavior of `lazy?: true` option
2022-07-11 08:20:37 +12:00
## [v1.52.0-rc.18](https://github.com/ash-project/ash/compare/v1.52.0-rc.17...v1.52.0-rc.18) (2022-07-10)
### Bug Fixes:
* fix doc links and include in release
2022-07-07 06:33:50 +12:00
## [v1.52.0-rc.17](https://github.com/ash-project/ash/compare/v1.52.0-rc.16...v1.52.0-rc.17) (2022-07-06)
### Bug Fixes:
* add back in `writable?` option to relationships, and add `attribute_writable?` to `belongs_to`
* don't rescue arbitrary exception/exits
### Improvements:
* add back in DSL docs
* add `match_other_defaults?` to attribute
2022-07-06 00:17:07 +12:00
## [v1.52.0-rc.16](https://github.com/ash-project/ash/compare/v1.52.0-rc.15...v1.52.0-rc.16) (2022-07-05)
### Bug Fixes:
* fix return type for `dump/3` ecto type
* `load/3` returns `{:ok, value} | :error`
### Improvements:
* remove relationship writability, as it all happens through arguments now
* repurpose `writable?` on `belongs_to` to make the attribute writable
2022-06-29 07:17:38 +12:00
## [v1.52.0-rc.15](https://github.com/ash-project/ash/compare/v1.52.0-rc.14...v1.52.0-rc.15) (2022-06-28)
### Bug Fixes:
* ensure type is always set on attributes
2022-06-29 03:14:32 +12:00
## [v1.52.0-rc.14](https://github.com/ash-project/ash/compare/v1.52.0-rc.13...v1.52.0-rc.14) (2022-06-28)
### Bug Fixes:
* don't try to read files that don't exist
### Improvements:
* new timeout error message and test it
2022-06-28 04:51:22 +12:00
## [v1.52.0-rc.13](https://github.com/ash-project/ash/compare/v1.52.0-rc.12...v1.52.0-rc.13) (2022-06-27)
### Bug Fixes:
* bad return value for `destroy!` + `return_notifications?: true`
* use digraph to order transformers
* things breaking due to stricter expectations on type function inputs
* depend on all entries in registry
### Improvements:
* `Ash.Generator`
* add `Ash.Seed` module with seed helpers
* add basic type handling for non embedded resources
* better transformer ordering error
* don't pay massive costs of a function undefined error
* optimize related resource inclusion check
2022-06-15 06:39:36 +12:00
## [v1.52.0-rc.12](https://github.com/ash-project/ash/compare/v1.52.0-rc.11...v1.52.0-rc.12) (2022-06-14)
### Bug Fixes:
* don't disable lexical tracker for extensions
* properly set the `changed?` context
* always return all notifications if `return_notifications?: true`
* read file at compile time for doc index
* when casting atom -> string, stringify it first
### Improvements:
* add resource to notification warning
* add `config :ash, :pub_sub, debug?: true`
* add `from` to notification, and `notification_metadata` to api
2022-06-03 15:53:57 +12:00
## [v1.52.0-rc.11](https://github.com/ash-project/ash/compare/v1.52.0-rc.10...v1.52.0-rc.11) (2022-06-03)
### Bug Fixes:
* move preparation init to runtime
* don't automatically url encode keyset values
* fixed bug wher embedded resources would always provide defaults, not allowing you to declare your own (primary?) actions (#339)
* keyset pagination counts all rows
* fetch items closest to cursor by reversing keyset sort
* keyset + before results must be reversed
### Improvements:
* add `identity_priority` and `use_identities` option to manage_relationship
* support limit in simple data layer
* add `key` to `InvalidKeyset` error
2022-05-31 08:33:20 +12:00
## [v1.52.0-rc.10](https://github.com/ash-project/ash/compare/v1.52.0-rc.9...v1.52.0-rc.10) (2022-05-30)
### Improvements:
* better error message on invalid keyset
* added options to the built-in function `relate_actor/1` (#332)
* add `:_pkey` shortcut in pub_sub
* validate `pre_check_with` is set for ets/mnesia identities
* clearer and raised error message on changeset action mismatch
* accept atoms when casting strings
2022-05-24 08:23:22 +12:00
## [v1.52.0-rc.9](https://github.com/ash-project/ash/compare/v1.52.0-rc.8...v1.52.0-rc.9) (2022-05-23)
### Bug Fixes:
* rename `interval` to `duration_name`
* Fix concat (#326)
* Make get and get! consistent with what they raise when no record found (#325)
### Improvements:
* specify that upserts could be related at creation
2022-05-19 07:26:37 +12:00
## [v1.52.0-rc.8](https://github.com/ash-project/ash/compare/v1.52.0-rc.7...v1.52.0-rc.8) (2022-05-18)
### Bug Fixes:
* add resource/action to policy error context
2022-05-19 05:12:48 +12:00
## [v1.52.0-rc.7](https://github.com/ash-project/ash/compare/v1.52.0-rc.6...v1.52.0-rc.7) (2022-05-18)
### Bug Fixes:
* don't ignore lazy load option
2022-05-18 12:01:13 +12:00
## [v1.52.0-rc.6](https://github.com/ash-project/ash/compare/v1.52.0-rc.5...v1.52.0-rc.6) (2022-05-18)
### Bug Fixes:
* return `{:ok, nil}` on nil cast for strings
2022-05-18 09:05:55 +12:00
## [v1.52.0-rc.5](https://github.com/ash-project/ash/compare/v1.52.0-rc.4...v1.52.0-rc.5) (2022-05-17)
### Improvements:
* move ash_policy_authorizer into core as `Ash.Policy.Authorizer`
2022-05-18 04:28:36 +12:00
## [v1.52.0-rc.4](https://github.com/ash-project/ash/compare/v1.52.0-rc.3...v1.52.0-rc.4) (2022-05-17)
### Bug Fixes:
* run after_action in create properly
2022-05-18 04:20:39 +12:00
## [v1.52.0-rc.3](https://github.com/ash-project/ash/compare/v1.52.0-rc.2...v1.52.0-rc.3) (2022-05-17)
### Bug Fixes:
* require calculations specified on resource load
2022-05-14 09:54:57 +12:00
## [v1.52.0-rc.2](https://github.com/ash-project/ash/compare/v1.52.0-rc.1...v1.52.0-rc.2) (2022-05-13)
### Bug Fixes:
* ensure that the default accept is used
* distinct before limit and offset
* add distinct in data_layer_query
* merge calculations when merging loads
* add `no_depend_modules` for changes/validations
* match on `:unknown` not `{:ok, :unknown}`
* run calc in data layer if it returns `:unknown`
* don't ignore lexical tracker on modules in DSL
* don't treat single actions of a type as primary
* render contributor images correctly in hexdocs (#321)
* go back to old method of checking for resource
* properly load from `load` statement in calculations
* send notifications in all cases
* use unpaginated read when loading
* properly handle errors in mnesia transactions
* default custom steps to be async?: false
* get tests/dialyzer passing
### Improvements:
* work on module dependencies
* use new `no_depend_modules` everywhere
* add `no_fields?` relationships
* add manual read actions
* calculation values from requests
* small optimizations
* more flow features/fixes, debug step
* work on transaction flow steps
2022-04-19 15:50:26 +12:00
## [v1.52.0-rc.1](https://github.com/ash-project/ash/compare/v1.52.0-rc.0...v1.52.0-rc.1) (2022-04-19)
### Bug Fixes:
* Handle date type cast_input with nil value (#311)
* fix expression logic
* don't throw away timeout exit
* timeouts @ the engine, not the parent process
* timeout logic was timing out after the fact
* uniqueify `list_refs` even further
* flaky test issue
* Enforce unique action names (#308)
* pass tenant option to requests properly
* Fix typespecs in Ash.Api (#307)
* fix resource relationship validation
* fix paths for load in flow
* aggregate/calculation filter issues
* show error message in `NoSuchResource`
* import builtin preparations in global preparations block
### Improvements:
* `load` on `cast_stored` in embedded type
* add descriptions to mermaid charts/flow
* tons of engine/timeout improvements
* implement NaiveDateTime type (#312)
* Improve usability of finding by primary key (ID) (#294)
* Add time type matching existing date type (#310)
* flow -> mermaid chart
* flow tenants
* fix nested map statements in flow
* add dynamic allow list
* uniqify list_references
* set default timeout to 30_000
* remove coverage from CI
* fully deprecate the `resource` entity
* add eager validate identities
* percolate `nil` values in operators in ash expresion language (like SQL)
* add `return_destroyed?` option
* add `api` option to relationships
* make default actions and primary actions far more explicit
* better error messages on unknown
* better loading behavior for managed relationships
* add lazy? option for loading
* show value in atom error list
* add `modify_query` callback
* add overview
* add build_entity!
* properly parse `{:_ref, path, name}`
* add `deselect` to build
* validates attributes and relationships have unique names (#300)
* validate no embeds in api
2022-03-25 16:37:05 +13:00
## [v1.52.0-rc.0](https://github.com/ash-project/ash/compare/v1.51.2...v1.52.0-rc.0) (2022-03-25)
### Features:
* add `Ash.Flow`
* support recursive DSL entities.
* manual relationships
### Bug Fixes:
* add `load` option convenience for reads/code interface
* handle errors in all action types where `changeset` wasn't resolved
* always sanitize requests before we spawn them
* context name in loading manual relationships
* get aggregate query from proper engine path
* handle error case in create
* don't require attributes if an argument overrides them
* fix hanging issue when adding engine requests
* don't require `writable?: false` attributes
* pull aggregate values properly
* fix nested section configs having wrong path
* don't rescue errors in resource_formatter
* add `input/2` to resource modules
* move back to more efficient formatter
* make the formatter safer, again
* typo in changeset.ex (#291)
### Improvements:
* properly attach authorization_filters to loaded items
* add `ref` template helper
* add transaction steps to flow
* unimport to avoid name collisions in nested DSLs
* disable lexical tracker when expanding aliases
* temporarily move init to runtime for changes
2022-02-18 06:52:43 +13:00
## [v1.51.2](https://github.com/ash-project/ash/compare/v1.51.1...v1.51.2) (2022-02-17)
### Bug Fixes:
* don't blow away sections when formatting
* properly reorder sections in the formatter
2022-02-17 20:48:15 +13:00
## [v1.51.1](https://github.com/ash-project/ash/compare/v1.51.0...v1.51.1) (2022-02-17)
### Bug Fixes:
* solve reorder bugs in formatter
2022-02-15 05:39:04 +13:00
## [v1.51.0](https://github.com/ash-project/ash/compare/v1.50.21...v1.51.0) (2022-02-14)
### Features:
* add `source` option to attributes
2022-02-15 04:24:26 +13:00
## [v1.50.21](https://github.com/ash-project/ash/compare/v1.50.20...v1.50.21) (2022-02-14)
### Improvements:
* add `cast_in_query?/0` to `Ash.Type`
2022-02-12 09:52:48 +13:00
## [v1.50.20](https://github.com/ash-project/ash/compare/v1.50.19...v1.50.20) (2022-02-11)
### Improvements:
* small data layer improvements
2022-02-08 10:38:39 +13:00
## [v1.50.19](https://github.com/ash-project/ash/compare/v1.50.18...v1.50.19) (2022-02-07)
### Bug Fixes:
* include a missing module
* properly set filterability on attributes
2022-02-08 09:39:12 +13:00
## [v1.50.18](https://github.com/ash-project/ash/compare/v1.50.17...v1.50.18) (2022-02-07)
### Bug Fixes:
### Improvements:
* initial implementation of ash resource formatter
* ensure no reserved names can be used as constraints
2022-02-01 09:05:43 +13:00
## [v1.50.17](https://github.com/ash-project/ash/compare/v1.50.16...v1.50.17) (2022-01-31)
### Improvements:
* optimize `if` and `is_nil` functions
2022-01-25 08:36:24 +13:00
## [v1.50.16](https://github.com/ash-project/ash/compare/v1.50.15...v1.50.16) (2022-01-24)
### Bug Fixes:
* use `ash_struct_fields` to accumulate schema struct field defaults
2022-01-20 10:33:15 +13:00
## [v1.50.15](https://github.com/ash-project/ash/compare/v1.50.14...v1.50.15) (2022-01-19)
### Bug Fixes:
* don't call add_aggregates w/ a map
* allow new `filter` pattern in typespec
### Improvements:
* add `where` to `change`
* support data layers bulk adding aggregates
2021-12-22 06:26:26 +13:00
## [v1.50.14](https://github.com/ash-project/ash/compare/v1.50.13...v1.50.14) (2021-12-21)
### Bug Fixes:
* fix recursion in `do_reverse_relationship_path/3`
### Improvements:
* add more authorizer state management
* customizable exception for authorizers
2021-12-21 15:13:31 +13:00
## [v1.50.13](https://github.com/ash-project/ash/compare/v1.50.12...v1.50.13) (2021-12-21)
### Bug Fixes:
* properly construct reverse relationship paths
### Improvements:
* cover more potential cases in filter parsing
2021-12-19 18:12:44 +13:00
## [v1.50.12](https://github.com/ash-project/ash/compare/v1.50.11...v1.50.12) (2021-12-19)
### Bug Fixes:
* support new versions of ecto's struct fields
* fixes for elixir_sense plugin
2021-12-14 12:17:41 +13:00
## [v1.50.11](https://github.com/ash-project/ash/compare/v1.50.10...v1.50.11) (2021-12-13)
### Improvements:
* add elixir_sense extension, to be merged when ready (#275)
2021-12-08 15:40:54 +13:00
## [v1.50.10](https://github.com/ash-project/ash/compare/v1.50.9...v1.50.10) (2021-12-08)
### Improvements:
* add `Ash.DataLayer.Simple.set_data/2`
* complete mutually_exclusive_and_collectively_exhaustive logic
2021-12-07 11:01:22 +13:00
## [v1.50.9](https://github.com/ash-project/ash/compare/v1.50.8...v1.50.9) (2021-12-06)
### Bug Fixes:
* undo an unnecessary `contains` change
* WIP attempt to resolve ci_string typing errors
### Improvements:
* catch more equivalencey cases around is_nil in sat solver
2021-12-02 08:59:38 +13:00
## [v1.50.8](https://github.com/ash-project/ash/compare/v1.50.7...v1.50.8) (2021-12-01)
### Bug Fixes:
* case clause error in `Query.equivalent_to?`
2021-12-02 08:05:20 +13:00
## [v1.50.7](https://github.com/ash-project/ash/compare/v1.50.6...v1.50.7) (2021-12-01)
### Bug Fixes:
* missing rename on refactor
* typo in `unquote`
* mark `contains` as a predicate
### Improvements:
* expose small filter helpers
* make to_simple_filter fail better, add failure option
2021-11-27 08:59:57 +13:00
## [v1.50.6](https://github.com/ash-project/ash/compare/v1.50.5...v1.50.6) (2021-11-26)
### Improvements:
* add `Transformer.eval/3` (for special use cases only)
2021-11-25 13:14:27 +13:00
## [v1.50.5](https://github.com/ash-project/ash/compare/v1.50.4...v1.50.5) (2021-11-25)
### Improvements:
* track defaults being set
2021-11-17 16:47:05 +13:00
## [v1.50.4](https://github.com/ash-project/ash/compare/v1.50.3...v1.50.4) (2021-11-17)
### Improvements:
* add `Ash.Query.equivalent_to/2`
2021-11-17 13:18:28 +13:00
## [v1.50.3](https://github.com/ash-project/ash/compare/v1.50.2...v1.50.3) (2021-11-17)
### Improvements:
* add `subset_of?` and `superset_of?` query macros
2021-11-14 08:44:32 +13:00
## [v1.50.2](https://github.com/ash-project/ash/compare/v1.50.1...v1.50.2) (2021-11-13)
### Bug Fixes:
* run calculations inline by default
* use Date.add when using LessThanOrEqual with date value (#281)
* cast nil input on strings
### Improvements:
* support do/else blocks in if
* support `cond`
2021-11-09 21:27:05 +13:00
## [v1.50.1](https://github.com/ash-project/ash/compare/v1.50.0...v1.50.1) (2021-11-09)
### Bug Fixes:
* simplify and improve allow_nil checking
2021-11-09 18:39:31 +13:00
## [v1.50.0](https://github.com/ash-project/ash/compare/v1.49.0...v1.50.0) (2021-11-09)
### Breaking Changes:
* breaking!: explicitly setting a value to nil on create no longer falls back to the default value
2021-11-04 10:22:49 +13:00
## [v1.49.0](https://github.com/ash-project/ash/compare/v1.48.0-rc.30...v1.49.0) (2021-11-03)
### Bug Fixes:
* don't ask the data layer to sort if no sort is applied
* set tenant at start of query build (#278)
### Improvements:
* still filter in cases w/o a lateral join on load
2021-11-01 21:40:02 +13:00
## [v1.48.0-rc.30](https://github.com/ash-project/ash/compare/v1.48.0-rc.29...v1.48.0-rc.30) (2021-11-01)
### Bug Fixes:
* set storage_type to `:uuid` for Ash.Type.UUID
### Improvements:
* `only_when_valid?` on changes
2021-10-30 12:53:33 +13:00
## [v1.48.0-rc.29](https://github.com/ash-project/ash/compare/v1.48.0-rc.28...v1.48.0-rc.29) (2021-10-29)
### Bug Fixes:
2021-10-30 11:39:53 +13:00
## [v1.48.0-rc.28](https://github.com/ash-project/ash/compare/v1.48.0-rc.27...v1.48.0-rc.28) (2021-10-29)
### Bug Fixes:
* add changes from last release that I forgot
2021-10-30 10:23:31 +13:00
## [v1.48.0-rc.27](https://github.com/ash-project/ash/compare/v1.48.0-rc.26...v1.48.0-rc.27) (2021-10-29)
### Improvements:
* compile time optimizations via configuration
2021-10-29 10:38:34 +13:00
## [v1.48.0-rc.26](https://github.com/ash-project/ash/compare/v1.48.0-rc.25...v1.48.0-rc.26) (2021-10-28)
### Bug Fixes:
* correctly handle errors in validate_required_belongs_to (#276)
* set actor when loading to manage belongs_to
* cast to string before concatenating
### Improvements:
* set `action` into data layer context
2021-10-26 11:49:10 +13:00
## [v1.48.0-rc.25](https://github.com/ash-project/ash/compare/v1.48.0-rc.24...v1.48.0-rc.25) (2021-10-25)
### Bug Fixes:
* always lateral join for many to many relationships
### Improvements:
* add `default` option for aggregates
2021-10-26 10:54:39 +13:00
## [v1.48.0-rc.24](https://github.com/ash-project/ash/compare/v1.48.0-rc.23...v1.48.0-rc.24) (2021-10-25)
### Bug Fixes:
* unset `load` when running calculation queries
### Improvements:
* add `allow_async?` to calculations, default to false
* add elixir evaluation step to expression calculations
* global resource preparations
2021-10-25 07:33:47 +13:00
## [v1.48.0-rc.23](https://github.com/ash-project/ash/compare/v1.48.0-rc.22...v1.48.0-rc.23) (2021-10-24)
### Bug Fixes:
* breaking change! disambiguating functions in keyword filter syntax
2021-10-23 19:51:57 +13:00
## [v1.48.0-rc.22](https://github.com/ash-project/ash/compare/v1.48.0-rc.21...v1.48.0-rc.22) (2021-10-23)
### Bug Fixes:
* use correct typespec for `Ash.Sort.parse_input/2`
2021-10-22 15:13:36 +13:00
## [v1.48.0-rc.21](https://github.com/ash-project/ash/compare/v1.48.0-rc.20...v1.48.0-rc.21) (2021-10-22)
### Improvements:
* add get? metadata
2021-10-22 11:11:45 +13:00
## [v1.48.0-rc.20](https://github.com/ash-project/ash/compare/v1.48.0-rc.19...v1.48.0-rc.20) (2021-10-21)
### Improvements:
* custom error paths for managed relationships
2021-10-20 18:44:00 +13:00
## [v1.48.0-rc.19](https://github.com/ash-project/ash/compare/v1.48.0-rc.18...v1.48.0-rc.19) (2021-10-20)
### Bug Fixes:
* honor `get_by` and `get_by_identity` on bang (!) interfaces
2021-10-20 14:40:38 +13:00
## [v1.48.0-rc.18](https://github.com/ash-project/ash/compare/v1.48.0-rc.17...v1.48.0-rc.18) (2021-10-20)
### Improvements:
* add `get_by` and `get_by_identity` to code interface
* compile time validations for managed relationships
2021-10-19 22:25:50 +13:00
## [v1.48.0-rc.17](https://github.com/ash-project/ash/compare/v1.48.0-rc.16...v1.48.0-rc.17) (2021-10-19)
### Bug Fixes:
* don't require primary actions if disabled
2021-10-19 22:01:36 +13:00
## [v1.48.0-rc.16](https://github.com/ash-project/ash/compare/v1.48.0-rc.15...v1.48.0-rc.16) (2021-10-19)
### Improvements:
* add `primary_actions?` option
2021-10-16 10:13:17 +13:00
## [v1.48.0-rc.15](https://github.com/ash-project/ash/compare/v1.48.0-rc.14...v1.48.0-rc.15) (2021-10-15)
### Bug Fixes:
* don't validate allow_nil in attribute casting
2021-10-14 11:44:09 +13:00
## [v1.48.0-rc.14](https://github.com/ash-project/ash/compare/v1.48.0-rc.13...v1.48.0-rc.14) (2021-10-13)
### Bug Fixes:
* fix code interface on resources
### Improvements:
* breaking change! api level code interface *removed*, contact me on discord if you want a way to avoid changing to resource-based interface, but otherwise
* use proper equality checking in places where we were using simple elixir equality checking
2021-10-12 13:06:34 +13:00
## [v1.48.0-rc.13](https://github.com/ash-project/ash/compare/v1.48.0-rc.12...v1.48.0-rc.13) (2021-10-12)
### Bug Fixes:
* honor base query still when removing filters
2021-10-12 08:15:09 +13:00
## [v1.48.0-rc.12](https://github.com/ash-project/ash/compare/v1.48.0-rc.11...v1.48.0-rc.12) (2021-10-11)
### Bug Fixes:
* move related field validations to resource
* remove join_attributes, which didn't do anything anyway
### Improvements:
* add resource registry validation
2021-10-10 03:53:25 +13:00
## [v1.48.0-rc.11](https://github.com/ash-project/ash/compare/v1.48.0-rc.10...v1.48.0-rc.11) (2021-10-09)
### Bug Fixes:
* handle errors when validation calculation constraints
* remove certain modules from avoiding recompilation
### Improvements:
* support `module_prefix` for dsl extensions
2021-10-08 09:56:14 +13:00
## [v1.48.0-rc.10](https://github.com/ash-project/ash/compare/v1.48.0-rc.9...v1.48.0-rc.10) (2021-10-07)
### Bug Fixes:
* remove certain modules from avoiding recompilation
2021-10-07 19:42:08 +13:00
## [v1.48.0-rc.9](https://github.com/ash-project/ash/compare/v1.48.0-rc.8...v1.48.0-rc.9) (2021-10-07)
### Improvements:
* deprecation!
2021-10-07 10:46:10 +13:00
## [v1.48.0-rc.8](https://github.com/ash-project/ash/compare/v1.48.0-rc.7...v1.48.0-rc.8) (2021-10-06)
### Bug Fixes:
* make arrays default to nil_items?: false
### Improvements:
* breaking change! don't define code interface by default
## [v1.48.0-rc.7](https://github.com/ash-project/ash/compare/v1.48.0-rc.6...v1.48.0-rc.7) (2021-09-30)
### Bug Fixes:
* ensure changeset is up to date in `after_action` hooks
* fix a case where `unwrap_or_raise!` returned the wrong value on destroy
* fix typo on lateral join checker
* set default attribute type (in case it is explicitly set to nil) on belongs_to attributes
* if an error with no message is produced, don't attempt to concat nil with a string
### Improvements:
* simpler patterns around soft destroy actions
* add `set_option/4` to transformer helpers
* add `where` option to validate that accepts a list of validations
* prevent more unnecessary lateral joins
* only issue a lateral join when required (#269)
2021-09-21 08:31:25 +12:00
## [v1.48.0-rc.6](https://github.com/ash-project/ash/compare/v1.48.0-rc.5...v1.48.0-rc.6) (2021-09-20)
### Bug Fixes:
* support `on` for global changes
* return proper result when input is struct
* remove File.read! from docs
### Improvements:
* skip resource action if no changes have been made
* add `changing_attributes?/1` to determine if any attributes are chaning
* add global changes
2021-09-18 09:44:23 +12:00
## [v1.48.0-rc.5](https://github.com/ash-project/ash/compare/v1.48.0-rc.4...v1.48.0-rc.5) (2021-09-17)
### Improvements:
* upgrade docs/tooling for elixir_sense
* set docs statically
2021-09-17 17:23:17 +12:00
## [v1.48.0-rc.4](https://github.com/ash-project/ash/compare/v1.48.0-rc.3...v1.48.0-rc.4) (2021-09-17)
### Improvements:
* improvements for elixirsense integration
2021-09-16 19:42:19 +12:00
## [v1.48.0-rc.3](https://github.com/ash-project/ash/compare/v1.48.0-rc.2...v1.48.0-rc.3) (2021-09-16)
### Improvements:
* transformer/extension improvements
* add path to errors
2021-09-16 05:52:15 +12:00
## [v1.48.0-rc.2](https://github.com/ash-project/ash/compare/v1.48.0-rc.1...v1.48.0-rc.2) (2021-09-15)
### Bug Fixes:
* set tenant properly on create interface
* update type spec for Ash.Sort to include single atom instead of only list. (#263)
### Improvements:
* support non-endpoint pubsub adapters
2021-09-14 08:18:54 +12:00
## [v1.48.0-rc.1](https://github.com/ash-project/ash/compare/v1.48.0-rc.0...v1.48.0-rc.1) (2021-09-13)
### Bug Fixes:
* check action type properly in attribute validations
2021-09-14 03:46:43 +12:00
## [v1.48.0-rc.0](https://github.com/ash-project/ash/compare/v1.47.12...v1.48.0-rc.0) (2021-09-13)
### Breaking Changes:
* update ecto version
### Bug Fixes:
* pass constraints to sub-fields loaded in embeddable resources
* take creates into account w/ attribute_equals and attribute_does_not_equal
* set changeset in destroy authorization request
### Improvements:
* use paramaterized types under the hood
2021-09-12 18:03:54 +12:00
## [v1.47.12](https://github.com/ash-project/ash/compare/v1.47.11...v1.47.12) (2021-09-12)
### Bug Fixes:
* return not found in all cases on get
* don't allow get! to return nil
* don't do db filters on creation
* honor `allow_nil_input` in required validations
### Improvements:
* add `after_action` option to create/update
* add config :ash, disable_async?: true
* add `meta[:order]` option for managed relationships
2021-08-30 07:14:40 +12:00
## [v1.47.11](https://github.com/ash-project/ash/compare/v1.47.10...v1.47.11) (2021-08-29)
### Bug Fixes:
* hydrate metadata types
### Improvements:
* remove metadata from read actions
2021-08-30 04:36:43 +12:00
## [v1.47.10](https://github.com/ash-project/ash/compare/v1.47.9...v1.47.10) (2021-08-29)
### Bug Fixes:
* update to latest picosat_elixir for releases
* cast `nil` enum values propertly
* set api in destroy action hooks
### Improvements:
* support action level metadata
* add `on_match: :destroy` option
* if a map is given for a list, take it's keys
* set better error paths for invalid relationships
* include api in changeset inspect
2021-08-12 02:43:28 +12:00
## [v1.47.9](https://github.com/ash-project/ash/compare/v1.47.8...v1.47.9) (2021-08-11)
### Bug Fixes:
* set argument defaults early
* don't add indices to non-list inputs in managed relationships
2021-08-05 17:45:40 +12:00
## [v1.47.8](https://github.com/ash-project/ash/compare/v1.47.7...v1.47.8) (2021-08-05)
### Bug Fixes:
* stop managed relationships from sourcing wrong data
2021-08-05 11:17:50 +12:00
## [v1.47.7](https://github.com/ash-project/ash/compare/v1.47.6...v1.47.7) (2021-08-04)
### Bug Fixes:
* redact fields in the resource struct as well
* allow `before_action` to manage `belongs_to` relationships
* load belongs to relationships before managing them
* don't lookup nil input
* don't look for matches for nil
* don't accept list inputs for managed belongs_to
* don't use list inputs in belongs_to managed
* remove belongs to related after action
* fix more cases where belongs_to isn't replaced
2021-08-02 05:15:12 +12:00
## [v1.47.6](https://github.com/ash-project/ash/compare/v1.47.5...v1.47.6) (2021-08-01)
### Bug Fixes:
* honor `on_missing:` behavior for belongs_to relationships
* properly remove old belongs_to records
2021-07-28 15:04:33 +12:00
## [v1.47.5](https://github.com/ash-project/ash/compare/v1.47.4...v1.47.5) (2021-07-28)
### Bug Fixes:
* set source_query tenant in lateral join
### Improvements:
* add `belongs_to` attributes *after* the others
2021-07-26 09:58:40 +12:00
## [v1.47.4](https://github.com/ash-project/ash/compare/v1.47.3...v1.47.4) (2021-07-25)
### Improvements:
* pull relationship paths out of functions
2021-07-24 05:17:00 +12:00
## [v1.47.3](https://github.com/ash-project/ash/compare/v1.47.2...v1.47.3) (2021-07-23)
### Bug Fixes:
* no need to trap exits anymore
2021-07-24 04:12:51 +12:00
## [v1.47.2](https://github.com/ash-project/ash/compare/v1.47.1...v1.47.2) (2021-07-23)
### Bug Fixes:
* don't match on explicitly `:exit`
2021-07-24 04:10:54 +12:00
## [v1.47.1](https://github.com/ash-project/ash/compare/v1.47.0...v1.47.1) (2021-07-23)
### Bug Fixes:
* catch normal exit message from engine
* flush engine state always
2021-07-23 08:26:21 +12:00
## [v1.47.0](https://github.com/ash-project/ash/compare/v1.46.13...v1.47.0) (2021-07-22)
### Features:
* Ash.Resource.Info: add &public_field/2 helper (#254)
* Ash.Resource.Info: add &sortable?/3 helper
### Bug Fixes:
* load calculations from sorts properly
* rename conflicting test name
* fix complex attribute check
* disallow aggregate/calculation sorting w/ keyset pagination
2021-07-21 16:16:01 +12:00
## [v1.46.13](https://github.com/ash-project/ash/compare/v1.46.12...v1.46.13) (2021-07-21)
### Bug Fixes:
* ensure calculation compiled
* don't limit/offset aggregate queries
2021-07-20 12:58:39 +12:00
## [v1.46.12](https://github.com/ash-project/ash/compare/v1.46.11...v1.46.12) (2021-07-20)
### Bug Fixes:
* call `get_type` in cast_stored again
2021-07-20 05:52:59 +12:00
## [v1.46.11](https://github.com/ash-project/ash/compare/v1.46.10...v1.46.11) (2021-07-19)
### Improvements:
* speed up type loading
* add `__order__` field to be used by data layers
2021-07-19 11:26:11 +12:00
## [v1.46.10](https://github.com/ash-project/ash/compare/v1.46.9...v1.46.10) (2021-07-18)
### Bug Fixes:
* missing apply_attributes clause
### Improvements:
* add `force?` option to `apply_attributes/2`
2021-07-18 19:27:12 +12:00
## [v1.46.9](https://github.com/ash-project/ash/compare/v1.46.8...v1.46.9) (2021-07-18)
### Bug Fixes:
* demonitor engine pid after run
2021-07-18 18:46:20 +12:00
## [v1.46.8](https://github.com/ash-project/ash/compare/v1.46.7...v1.46.8) (2021-07-18)
### Bug Fixes:
* on_lookup read is always on destination
2021-07-17 12:09:49 +12:00
## [v1.46.7](https://github.com/ash-project/ash/compare/v1.46.6...v1.46.7) (2021-07-17)
### Bug Fixes:
* set item constraints properly
### Improvements:
* add on_lookup_read_action
2021-07-15 12:43:48 +12:00
## [v1.46.6](https://github.com/ash-project/ash/compare/v1.46.5...v1.46.6) (2021-07-15)
### Bug Fixes:
* fix simple data layer filtering
### Improvements:
* add in error paths for managed relationships
* set error paths on managed rels
2021-07-10 05:08:24 +12:00
## [v1.46.5](https://github.com/ash-project/ash/compare/v1.46.4...v1.46.5) (2021-07-09)
### Improvements:
* always replace error message vars
* minimize relationship source changeset context inspect size
2021-07-09 07:02:21 +12:00
## [v1.46.4](https://github.com/ash-project/ash/compare/v1.46.3...v1.46.4) (2021-07-08)
### Bug Fixes:
* cast empty string to nil in atom
* accept strings for atom types again
* don't turn strings to atoms in `:atom` type
* don't do unnecessary validation in type
2021-07-06 06:27:18 +12:00
## [v1.46.3](https://github.com/ash-project/ash/compare/v1.46.2...v1.46.3) (2021-07-05)
### Bug Fixes:
* build aggregate paths properly
2021-07-05 08:43:03 +12:00
## [v1.46.2](https://github.com/ash-project/ash/compare/v1.46.1...v1.46.2) (2021-07-04)
### Improvements:
* info only `required?` flag for `has_one`
2021-07-03 04:38:27 +12:00
## [v1.46.1](https://github.com/ash-project/ash/compare/v1.46.0...v1.46.1) (2021-07-02)
### Bug Fixes:
* properly determine reverse aggregate relationship
* ensure calculation modules are compiled
* attempt to fix calculation compile time issues
2021-07-02 14:55:54 +12:00
## [v1.46.0](https://github.com/ash-project/ash/compare/v1.45.0-rc20...v1.46.0) (2021-07-02)
2021-07-02 07:23:47 +12:00
## [v1.45.0-rc20](https://github.com/ash-project/ash/compare/v1.45.0-rc19...v1.45.0-rc20) (2021-07-01)
### Bug Fixes:
* allow sorting on aggs, w/o loading
* ensure query in `ensure_selected`
* handle sorting empty data properly
* manage ets tables properly
* link request handler to engine and runner, solve mem leak
* ensure ci_strings casted after constraints
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* if "" fails to cast, cast it as `nil` instead
* ReadActionRequiresActor error
* `ensure_selected` change
* don't perform `match` on `nil`
* add `{:arg, :name}` input for `set_attribute`
* revamp ci_string
* add `Ash.Type.type/1`
* more optimized types
2021-06-30 04:23:33 +12:00
## [v1.45.0-rc19](https://github.com/ash-project/ash/compare/v1.45.0-rc18...v1.45.0-rc19) (2021-06-29)
### Bug Fixes:
* ensure query in `ensure_selected`
* handle sorting empty data properly
* manage ets tables properly
* link request handler to engine and runner, solve mem leak
* ensure ci_strings casted after constraints
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* if "" fails to cast, cast it as `nil` instead
* ReadActionRequiresActor error
* `ensure_selected` change
* don't perform `match` on `nil`
* add `{:arg, :name}` input for `set_attribute`
* revamp ci_string
* add `Ash.Type.type/1`
* more optimized types
2021-06-29 05:27:49 +12:00
## [v1.45.0-rc18](https://github.com/ash-project/ash/compare/v1.45.0-rc17...v1.45.0-rc18) (2021-06-28)
### Bug Fixes:
* handle sorting empty data properly
* manage ets tables properly
* link request handler to engine and runner, solve mem leak
* ensure ci_strings casted after constraints
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* if "" fails to cast, cast it as `nil` instead
* ReadActionRequiresActor error
* `ensure_selected` change
* don't perform `match` on `nil`
* add `{:arg, :name}` input for `set_attribute`
* revamp ci_string
* add `Ash.Type.type/1`
* more optimized types
2021-06-29 04:05:35 +12:00
## [v1.45.0-rc17](https://github.com/ash-project/ash/compare/v1.45.0-rc16...v1.45.0-rc17) (2021-06-28)
### Bug Fixes:
* link request handler to engine and runner, solve mem leak
* ensure ci_strings casted after constraints
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* if "" fails to cast, cast it as `nil` instead
* ReadActionRequiresActor error
* `ensure_selected` change
* don't perform `match` on `nil`
* add `{:arg, :name}` input for `set_attribute`
* revamp ci_string
* add `Ash.Type.type/1`
* more optimized types
2021-06-26 05:51:45 +12:00
## [v1.45.0-rc16](https://github.com/ash-project/ash/compare/v1.45.0-rc15...v1.45.0-rc16) (2021-06-25)
### Bug Fixes:
* ensure ci_strings casted after constraints
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* add `{:arg, :name}` input for `set_attribute`
* revamp ci_string
* add `Ash.Type.type/1`
* more optimized types
2021-06-26 05:41:33 +12:00
## [v1.45.0-rc15](https://github.com/ash-project/ash/compare/v1.45.0-rc14...v1.45.0-rc15) (2021-06-25)
### Bug Fixes:
* ensure ci_strings casted after constraints
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* revamp ci_string
* add `Ash.Type.type/1`
* more optimized types
2021-06-25 10:25:52 +12:00
## [v1.45.0-rc14](https://github.com/ash-project/ash/compare/v1.45.0-rc13...v1.45.0-rc14) (2021-06-24)
### Bug Fixes:
* Revert "more optimized types"
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* add `Ash.Type.type/1`
* more optimized types
2021-06-25 10:22:15 +12:00
## [v1.45.0-rc11](https://github.com/ash-project/ash/compare/v1.45.0-rc10...v1.45.0-rc11) (2021-06-24)
### Bug Fixes:
* revert a suboptimal change to the type system
* don't call `type()` on `:string`
* optimize ash type loading
### Improvements:
* add `Ash.Type.type/1`
* more optimized types
2021-06-24 17:18:19 +12:00
## [v1.45.0-rc10](https://github.com/ash-project/ash/compare/v1.45.0-rc9...v1.45.0-rc10) (2021-06-24)
### Bug Fixes:
* optimize ash type loading
2021-06-24 09:20:22 +12:00
## [v1.45.0-rc9](https://github.com/ash-project/ash/compare/v1.45.0-rc8...v1.45.0-rc9) (2021-06-23)
### Bug Fixes:
* pass opts through to Jason.Encode.string/2
### Improvements:
* add `error_handler` for create/update/destroy actions
2021-06-24 04:50:37 +12:00
## [v1.45.0-rc8](https://github.com/ash-project/ash/compare/v1.45.0-rc7...v1.45.0-rc8) (2021-06-23)
### Bug Fixes:
* properly encode ci string to json
### Improvements:
* more engine logging
2021-06-23 05:58:21 +12:00
## [v1.45.0-rc7](https://github.com/ash-project/ash/compare/v1.45.0-rc6...v1.45.0-rc7) (2021-06-22)
### Bug Fixes:
* `:infinity` on engine genserver calls
2021-06-09 09:39:45 +12:00
## [v1.45.0-rc6](https://github.com/ash-project/ash/compare/v1.45.0-rc5...v1.45.0-rc6) (2021-06-08)
### Bug Fixes:
* hide __metadata__ field on inspect
* load relationships required for calculations (optimize later)
2021-06-09 06:44:09 +12:00
## [v1.45.0-rc5](https://github.com/ash-project/ash/compare/v1.45.0-rc4...v1.45.0-rc5) (2021-06-08)
### Bug Fixes:
* don't halt on request handler failure
* properly error when more than 2 requests of the same type are primary
* properly process sort when the sort is an atom
* properly calculate reverse relationship paths
2021-06-06 10:11:23 +12:00
## [v1.45.0-rc4](https://github.com/ash-project/ash/compare/v1.45.0-rc3...v1.45.0-rc4) (2021-06-05)
### Improvements:
* support calculation sorts
2021-06-05 18:44:58 +12:00
## [v1.45.0-rc3](https://github.com/ash-project/ash/compare/v1.45.0-rc2...v1.45.0-rc3) (2021-06-05)
### Bug Fixes:
* always wait on the engine if it hasn't completed
2021-06-05 10:35:17 +12:00
## [v1.45.0-rc2](https://github.com/ash-project/ash/compare/v1.45.0-rc1...v1.45.0-rc2) (2021-06-04)
### Bug Fixes:
* always wait for engine
### Improvements:
* spawn async requests where possible
2021-06-05 06:59:32 +12:00
## [v1.45.0-rc1](https://github.com/ash-project/ash/compare/v1.45.0-rc0...v1.45.0-rc1) (2021-06-04)
### Bug Fixes:
* constraints on calculations
* better calculation inspect
* allow supplying stacktraces when building errors
2021-06-04 17:41:40 +12:00
## [v1.45.0-rc0](https://github.com/ash-project/ash/compare/v1.44.13...v1.45.0-rc0) (2021-06-04)
### Features:
* expression based calculations for filterable/sortable calculations
* expression calculations for sorting/filtering
* add compare validator (#242)
### Bug Fixes:
* aggregate authorization issues
* ensure create functions generated by code_interface accept tenant in the opts list (#243)
### Improvements:
* tons of improvements across the board
* small improvements/fixes across the board
* Update remaining builtin validators (#244)
2021-05-28 19:12:37 +12:00
## [v1.44.13](https://github.com/ash-project/ash/compare/v1.44.12...v1.44.13) (2021-05-28)
### Bug Fixes:
* properly process managed belongs to relationships
* cast nil -> {:ok, nil} in all cases
* set tenant even on non-tenant resources where relevant (#241)
2021-05-23 15:53:15 +12:00
## [v1.44.12](https://github.com/ash-project/ash/compare/v1.44.11...v1.44.12) (2021-05-23)
### Improvements:
* define embedded schemas where appropriate
2021-05-21 08:43:17 +12:00
## [v1.44.11](https://github.com/ash-project/ash/compare/v1.44.10...v1.44.11) (2021-05-20)
### Improvements:
* calculation.select/2 + `select` calculation option
2021-05-21 04:19:55 +12:00
## [v1.44.10](https://github.com/ash-project/ash/compare/v1.44.9...v1.44.10) (2021-05-20)
### Bug Fixes:
* run after_action hooks in the proper order
### Improvements:
* add `validate_destination_field?`
* add builtin `select` change
2021-05-20 17:37:13 +12:00
## [v1.44.9](https://github.com/ash-project/ash/compare/v1.44.8...v1.44.9) (2021-05-20)
### Improvements:
* set moduledoc to description if one is not set
2021-05-19 17:32:20 +12:00
## [v1.44.8](https://github.com/ash-project/ash/compare/v1.44.7...v1.44.8) (2021-05-19)
### Bug Fixes:
* fix dialyzer errors for enum + code interface
2021-05-19 15:13:03 +12:00
## [v1.44.7](https://github.com/ash-project/ash/compare/v1.44.6...v1.44.7) (2021-05-19)
### Bug Fixes:
* fix code interface + `args` combo error
### Improvements:
* support specifying the `upsert_identity` option
2021-05-18 17:44:26 +12:00
## [v1.44.6](https://github.com/ash-project/ash/compare/v1.44.5...v1.44.6) (2021-05-18)
### Bug Fixes:
* `ignore?: true` still accumulates changes
* properly require_attributes before setting defaults
2021-05-18 16:29:15 +12:00
## [v1.44.5](https://github.com/ash-project/ash/compare/v1.44.4...v1.44.5) (2021-05-18)
### Bug Fixes:
* set default values before calling resource changes
### Improvements:
* `ignore?` option for `manage_relationship` change
2021-05-18 07:07:06 +12:00
## [v1.44.4](https://github.com/ash-project/ash/compare/v1.44.3...v1.44.4) (2021-05-17)
### Bug Fixes:
* reverse-reverse relationship detection
2021-05-17 14:41:51 +12:00
## [v1.44.3](https://github.com/ash-project/ash/compare/v1.44.2...v1.44.3) (2021-05-17)
### Bug Fixes:
* support non-predicates in satsolver
2021-05-16 03:56:40 +12:00
## [v1.44.2](https://github.com/ash-project/ash/compare/v1.44.1...v1.44.2) (2021-05-15)
### Bug Fixes:
* raise better error w/ invalid filter expression
### Improvements:
* expose `default_value/1` in aggregate
* transactions for reads, notifications from read callbacks
2021-05-14 17:56:50 +12:00
## [v1.44.1](https://github.com/ash-project/ash/compare/v1.44.0...v1.44.1) (2021-05-14)
### Bug Fixes:
* handle error return in code_interface getter
2021-05-14 17:08:48 +12:00
## [v1.44.0](https://github.com/ash-project/ash/compare/v1.43.12...v1.44.0) (2021-05-14)
### Features:
* `on_no_match: :match` supported for to_one rels
### Bug Fixes:
* rename `context` -> `relationship_context` to avoid conflict
### Improvements:
* various managed relationship improvements
2021-05-11 16:28:42 +12:00
## [v1.43.12](https://github.com/ash-project/ash/compare/v1.43.11...v1.43.12) (2021-05-11)
### Improvements:
* set `__source__` context for embeds
* utility `manage_relationship_source` context
2021-05-10 09:36:53 +12:00
## [v1.43.11](https://github.com/ash-project/ash/compare/v1.43.10...v1.43.11) (2021-05-09)
### Bug Fixes:
* internal rename (requires version bump for other packages)
2021-05-10 09:13:15 +12:00
## [v1.43.10](https://github.com/ash-project/ash/compare/v1.43.9...v1.43.10) (2021-05-09)
### Bug Fixes:
* run action changes on destroy
* pattern match manage_relationship notifications fix
### Improvements:
* add `manual?` option for create/update/destroy
* ensure data layer can perform aggregates
2021-05-09 14:48:13 +12:00
## [v1.43.9](https://github.com/ash-project/ash/compare/v1.43.8...v1.43.9) (2021-05-09)
### Bug Fixes:
* don't fail on nil root filters
### Improvements:
* support filtering on related aggregates
* autoload aggregates used in filters
2021-05-08 08:42:39 +12:00
## [v1.43.8](https://github.com/ash-project/ash/compare/v1.43.7...v1.43.8) (2021-05-07)
### Bug Fixes:
* don't raise unnecessary side load error
2021-05-08 03:58:35 +12:00
## [v1.43.7](https://github.com/ash-project/ash/compare/v1.43.6...v1.43.7) (2021-05-07)
### Improvements:
* fix data-based side loads
2021-05-07 17:52:36 +12:00
## [v1.43.6](https://github.com/ash-project/ash/compare/v1.43.5...v1.43.6) (2021-05-07)
### Bug Fixes:
* IsNil function to IsNil operator
* function clause match error in not expression
2021-05-07 17:07:23 +12:00
## [v1.43.5](https://github.com/ash-project/ash/compare/v1.43.4...v1.43.5) (2021-05-07)
### Bug Fixes:
* limit 1 on to one side load queries
2021-05-07 16:32:16 +12:00
## [v1.43.4](https://github.com/ash-project/ash/compare/v1.43.3...v1.43.4) (2021-05-07)
### Improvements:
* support sorted relationships
2021-05-07 09:38:53 +12:00
## [v1.43.3](https://github.com/ash-project/ash/compare/v1.43.2...v1.43.3) (2021-05-06)
### Bug Fixes:
* don't consider contextual relationships as reverse relationships
* support `not` in query expressions
2021-05-05 04:27:43 +12:00
## [v1.43.2](https://github.com/ash-project/ash/compare/v1.43.1...v1.43.2) (2021-05-04)
### Bug Fixes:
* include aggregates in count request for aggregate filters
2021-05-05 01:27:48 +12:00
## [v1.43.1](https://github.com/ash-project/ash/compare/v1.43.0...v1.43.1) (2021-05-04)
### Bug Fixes:
* use base_query for aritifical limit/offset when loading
2021-05-04 08:21:38 +12:00
## [v1.43.0](https://github.com/ash-project/ash/compare/v1.42.0...v1.43.0) (2021-05-03)
### Features:
* rework lateral joins for many to many performance boost
### Improvements:
* add `read_action` option
2021-04-30 09:10:44 +12:00
## [v1.42.0](https://github.com/ash-project/ash/compare/v1.41.12...v1.42.0) (2021-04-29)
### Features:
* inner lateral join for many to many relationships
### Improvements:
* inner later join for many to many relationships
* support relationship filters
2021-04-28 05:45:34 +12:00
## [v1.41.12](https://github.com/ash-project/ash/compare/v1.41.11...v1.41.12) (2021-04-27)
### Improvements:
* add `has` filter predicate
2021-04-27 08:02:13 +12:00
## [v1.41.11](https://github.com/ash-project/ash/compare/v1.41.10...v1.41.11) (2021-04-26)
### Improvements:
* add `:list` aggregate kind
2021-04-26 10:37:36 +12:00
## [v1.41.10](https://github.com/ash-project/ash/compare/v1.41.9...v1.41.10) (2021-04-25)
### Bug Fixes:
* don't include `NotLoaded` in `manage_relationship`
2021-04-24 03:41:59 +12:00
## [v1.41.9](https://github.com/ash-project/ash/compare/v1.41.8...v1.41.9) (2021-04-23)
### Bug Fixes:
* compile time fixes
### Improvements:
* add `require_attributes` to create/update/destroy
2021-04-22 05:32:29 +12:00
## [v1.41.8](https://github.com/ash-project/ash/compare/v1.41.7...v1.41.8) (2021-04-21)
### Bug Fixes:
* don't consider nils for pkey matching
### Improvements:
* add first class support for enum types
* Add detailed parameter checking for Api read functions (#229)
2021-04-19 08:20:20 +12:00
## [v1.41.7](https://github.com/ash-project/ash/compare/v1.41.6...v1.41.7) (2021-04-18)
### Bug Fixes:
* clearer errors when resource fails to compile
* don't preload multiplicatively
* Decimal casting issues on ash_postgres (#227)
### Improvements:
* add list access to `context`
* add Resource.input/1
2021-04-17 06:25:08 +12:00
## [v1.41.6](https://github.com/ash-project/ash/compare/v1.41.5...v1.41.6) (2021-04-16)
### Bug Fixes:
* use items for single constraints
2021-04-16 06:59:29 +12:00
## [v1.41.5](https://github.com/ash-project/ash/compare/v1.41.4...v1.41.5) (2021-04-15)
### Bug Fixes:
* don't overwrite select in side_load
2021-04-15 15:39:49 +12:00
## [v1.41.4](https://github.com/ash-project/ash/compare/v1.41.3...v1.41.4) (2021-04-15)
### Bug Fixes:
* load relationships for management properly
* `fetch_key` bug in embedded types
* handle_indexed_maps for embedded types
2021-04-15 06:19:35 +12:00
## [v1.41.3](https://github.com/ash-project/ash/compare/v1.41.2...v1.41.3) (2021-04-14)
### Bug Fixes:
* handle no key provided to `NotFound`
2021-04-14 09:44:58 +12:00
## [v1.41.2](https://github.com/ash-project/ash/compare/v1.41.1...v1.41.2) (2021-04-13)
### Bug Fixes:
* embedded cast_stored must cast all key/values
* ci_string constraints when `nil`
* manage_relationship change turns embedded resources to maps
* fixes for common types parsing from embedded, e.g utc_datetime_usec
### Improvements:
* special provisions for casting to embedded type (e.g uuid)
2021-04-14 08:28:19 +12:00
## [v1.41.1](https://github.com/ash-project/ash/compare/v1.41.0...v1.41.1) (2021-04-13)
### Bug Fixes:
* `get!` should raise on `nil` not `{:ok, nil}`
2021-04-14 08:22:25 +12:00
## [v1.41.0](https://github.com/ash-project/ash/compare/v1.40.0...v1.41.0) (2021-04-13)
### Features:
* change `get?: true` interface functions to raise on `nil`
### Bug Fixes:
* allow_nil -> allow_nil_input
* allow api.load/2 to load calculations
### Improvements:
* add `allow_nil_input` to create actions for api layers
* add `load/1` builtin change
2021-04-14 07:49:32 +12:00
## [v1.40.0](https://github.com/ash-project/ash/compare/v1.39.7...v1.40.0) (2021-04-13)
### Features:
* change `get?: true` interface functions to raise on `nil`
### Bug Fixes:
* allow api.load/2 to load calculations
### Improvements:
* add `allow_nil_input` to create actions for api layers
* add `load/1` builtin change
2021-04-13 08:53:28 +12:00
## [v1.39.7](https://github.com/ash-project/ash/compare/v1.39.6...v1.39.7) (2021-04-12)
### Bug Fixes:
* always select necessary load fields for nested loads
2021-04-11 08:59:14 +12:00
## [v1.39.6](https://github.com/ash-project/ash/compare/v1.39.5...v1.39.6) (2021-04-10)
### Bug Fixes:
* always select necessary fields for side loading
2021-04-09 16:48:38 +12:00
## [v1.39.5](https://github.com/ash-project/ash/compare/v1.39.4...v1.39.5) (2021-04-09)
### Bug Fixes:
* logic bug in selecting specific fields
2021-04-09 16:10:50 +12:00
## [v1.39.4](https://github.com/ash-project/ash/compare/v1.39.3...v1.39.4) (2021-04-09)
### Improvements:
* support the datalayer selecting fields in reads
2021-04-05 08:01:54 +12:00
## [v1.39.3](https://github.com/ash-project/ash/compare/v1.39.2...v1.39.3) (2021-04-04)
### Improvements:
* add sum aggregate (#221)
2021-04-04 19:13:02 +12:00
## [v1.39.2](https://github.com/ash-project/ash/compare/v1.39.1...v1.39.2) (2021-04-04)
### Improvements:
* allow specifying that calculation can't be nil (#220)
2021-04-04 06:41:13 +12:00
## [v1.39.1](https://github.com/ash-project/ash/compare/v1.39.0...v1.39.1) (2021-04-03)
### Bug Fixes:
* update struct_field logic for latest ecto
* apply proper interface operation when opts aren't passed
2021-04-02 04:54:41 +13:00
## [v1.39.0](https://github.com/ash-project/ash/compare/v1.38.0...v1.39.0) (2021-04-01)
### Features:
* support `Ash.Query.distinct/2`
* add `build/2` query preparation
### Bug Fixes:
* manage_relationships *before* after_action callbacks
### Improvements:
* `before_action?` on `validate`, validate inline
2021-04-01 10:10:48 +13:00
## [v1.38.0](https://github.com/ash-project/ash/compare/v1.37.2...v1.38.0) (2021-03-31)
### Features:
* support `Ash.Query.distinct/2`
* add `build/2` query preparation
### Bug Fixes:
* manage_relationships *before* after_action callbacks
2021-03-30 07:49:01 +13:00
## [v1.37.2](https://github.com/ash-project/ash/compare/v1.37.1...v1.37.2) (2021-03-29)
### Bug Fixes:
* don't overwrite managed `belongs_to` relationships
* handle `on_lookup` + `on_no_match` for `belongs_to`
* fix required relationships and add test
* fix required relationships
* various managed_relationship fixes
2021-03-29 06:44:11 +13:00
## [v1.37.1](https://github.com/ash-project/ash/compare/v1.37.0...v1.37.1) (2021-03-28)
### Bug Fixes:
* fix required relationships and add test
* fix required relationships
* various managed_relationship fixes
2021-03-26 06:02:43 +13:00
## [v1.37.0](https://github.com/ash-project/ash/compare/v1.36.22...v1.37.0) (2021-03-25)
### Features:
* add manage relationship types
### Improvements:
* don't accept relationships on actions anymore
* require arguments
2021-03-24 17:54:52 +13:00
## [v1.36.22](https://github.com/ash-project/ash/compare/v1.36.21...v1.36.22) (2021-03-24)
### Bug Fixes:
* add tenant metadata before after action hooks
2021-03-24 17:25:27 +13:00
## [v1.36.21](https://github.com/ash-project/ash/compare/v1.36.20...v1.36.21) (2021-03-24)
### Bug Fixes:
* support type aliases in more type casting functions
* support `tenant` option in read interface
## [v1.36.20](https://github.com/ash-project/ash/compare/v1.36.19...v1.36.20) (2021-03-24)
### Bug Fixes:
* support `tenant` option in read interface
2021-03-23 10:37:44 +13:00
## [v1.36.19](https://github.com/ash-project/ash/compare/v1.36.18...v1.36.19) (2021-03-22)
### Bug Fixes:
* always return changeset when runner failed
2021-03-22 19:35:13 +13:00
## [v1.36.18](https://github.com/ash-project/ash/compare/v1.36.17...v1.36.18) (2021-03-22)
### Improvements:
* docs + dialyzer + error improvements
2021-03-22 16:00:32 +13:00
## [v1.36.17](https://github.com/ash-project/ash/compare/v1.36.16...v1.36.17) (2021-03-22)
### Bug Fixes:
* don't require values when managing relationships
* Revert "fix: force_change_attributes before passing to action"
2021-03-22 15:11:45 +13:00
## [v1.36.16](https://github.com/ash-project/ash/compare/v1.36.15...v1.36.16) (2021-03-22)
### Bug Fixes:
* force_change_attributes before passing to action
2021-03-22 07:20:08 +13:00
## [v1.36.15](https://github.com/ash-project/ash/compare/v1.36.14...v1.36.15) (2021-03-21)
### Bug Fixes:
* exception on invalid query arguments
* allow casting strings as uuids (for embedded types)
### Improvements:
* retain actor context from changeset
2021-03-21 17:09:51 +13:00
## [v1.36.14](https://github.com/ash-project/ash/compare/v1.36.13...v1.36.14) (2021-03-21)
### Improvements:
* Add float type (#204)
2021-03-21 10:18:02 +13:00
## [v1.36.13](https://github.com/ash-project/ash/compare/v1.36.12...v1.36.13) (2021-03-20)
### Bug Fixes:
* avoid exception in `Changeset.new/2` for bad attribute
* use ecto's uuid type under the hood
### Improvements:
* raise informative errors on bad inputs to `for_*`
2021-03-20 11:25:19 +13:00
## [v1.36.12](https://github.com/ash-project/ash/compare/v1.36.11...v1.36.12) (2021-03-19)
### Improvements:
* make `Ash.Error` a public module
2021-03-20 10:07:37 +13:00
## [v1.36.11](https://github.com/ash-project/ash/compare/v1.36.10...v1.36.11) (2021-03-19)
### Improvements:
* docs/default value for params
2021-03-19 16:34:51 +13:00
## [v1.36.10](https://github.com/ash-project/ash/compare/v1.36.9...v1.36.10) (2021-03-19)
### Bug Fixes:
* set `source_field` when replacing `belongs_to` relationship
* don't consider `false` as absent value
* set argument name in `manage_relationship`
### Improvements:
* trim whitespace in uuid
2021-03-18 15:35:12 +13:00
## [v1.36.9](https://github.com/ash-project/ash/compare/v1.36.8...v1.36.9) (2021-03-18)
### Improvements:
* improve the behavior of defaults
2021-03-17 16:09:56 +13:00
## [v1.36.8](https://github.com/ash-project/ash/compare/v1.36.7...v1.36.8) (2021-03-17)
### Bug Fixes:
* validate required attributes *after* before_action hooks
2021-03-17 14:41:37 +13:00
## [v1.36.7](https://github.com/ash-project/ash/compare/v1.36.6...v1.36.7) (2021-03-17)
### Improvements:
* discard certain empty values for embed input
2021-03-16 08:55:45 +13:00
## [v1.36.6](https://github.com/ash-project/ash/compare/v1.36.5...v1.36.6) (2021-03-15)
### Bug Fixes:
* force_change attrs *after* `for_create/update`
* pattern match errors in `manage_relationships`
* clean up some error cases
* only default accept to `public` attributes
* allow_nil?: false + default interaction
2021-03-15 10:51:58 +13:00
## [v1.36.5](https://github.com/ash-project/ash/compare/v1.36.4...v1.36.5) (2021-03-14)
### Bug Fixes:
* remove the `as` option
### Improvements:
* Add timestamps() attribute (#198)
2021-03-14 03:25:47 +13:00
## [v1.36.4](https://github.com/ash-project/ash/compare/v1.36.3...v1.36.4) (2021-03-13)
### Bug Fixes:
* properly validate `allow_nil?: false` on update
* properly validate `allow_nil?: false` private attributes
2021-03-13 16:22:40 +13:00
## [v1.36.3](https://github.com/ash-project/ash/compare/v1.36.2...v1.36.3) (2021-03-13)
### Bug Fixes:
* set argument default on cast
2021-03-12 17:46:03 +13:00
## [v1.36.2](https://github.com/ash-project/ash/compare/v1.36.1...v1.36.2) (2021-03-12)
### Bug Fixes:
* fix pub_sub on update
* fix `publish_all` pub_sub notifier
### Improvements:
* derive has_one destination_field
* finalize code API logic
* add not_found_message + violation_message for relationships
* support `get_by_<identity>` in interface
* support sublists in pub_sub topics
* support `:_tenant` in pub_sub topics
2021-03-09 19:21:00 +13:00
## [v1.36.1](https://github.com/ash-project/ash/compare/v1.36.0...v1.36.1) (2021-03-09)
### Bug Fixes:
* properly filter aggregates
### Improvements:
* accept `tenant` in `for_read`
2021-03-09 11:24:36 +13:00
## [v1.36.0](https://github.com/ash-project/ash/compare/v1.35.1...v1.36.0) (2021-03-08)
### Features:
* functional interface on the Api module
* resource aliases
### Improvements:
* update interface to accept query/changesets
* require completely unique action names
2021-03-08 09:21:28 +13:00
## [v1.35.1](https://github.com/ash-project/ash/compare/v1.35.0...v1.35.1) (2021-03-07)
### Bug Fixes:
* don't reverse sub-entities in DSL
2021-03-08 08:10:18 +13:00
## [v1.35.0](https://github.com/ash-project/ash/compare/v1.34.9...v1.35.0) (2021-03-07)
### Features:
* support `Ash.Query.select/3` and `Ash.Changeset.select/3`
2021-03-06 04:39:29 +13:00
## [v1.34.9](https://github.com/ash-project/ash/compare/v1.34.8...v1.34.9) (2021-03-05)
### Improvements:
* ignore destination field on some relationship inputs
2021-03-05 16:49:32 +13:00
## [v1.34.8](https://github.com/ash-project/ash/compare/v1.34.7...v1.34.8) (2021-03-05)
### Bug Fixes:
* various validation lifecycle fixes
* don't fetch sideloads for empty data
### Improvements:
* various validation lifecycle options
2021-02-27 09:13:57 +13:00
## [v1.34.7](https://github.com/ash-project/ash/compare/v1.34.6...v1.34.7) (2021-02-26)
### Bug Fixes:
* fix nested boolean expression optimization
2021-02-25 07:49:45 +13:00
## [v1.34.6](https://github.com/ash-project/ash/compare/v1.34.5...v1.34.6) (2021-02-24)
### Bug Fixes:
* manage_relationship fixes, input + option defaults
2021-02-25 05:14:40 +13:00
## [v1.34.5](https://github.com/ash-project/ash/compare/v1.34.4...v1.34.5) (2021-02-24)
### Bug Fixes:
* treat empty string as `nil` in `manage_relationship`
* be more conservative (and more correct) when optimizing predicates
2021-02-25 05:13:01 +13:00
## [v1.34.4](https://github.com/ash-project/ash/compare/v1.34.3...v1.34.4) (2021-02-24)
### Bug Fixes:
* treat empty string as `nil` in `manage_relationship`
* be more conservative (and more correct) when optimizing predicates
2021-02-23 17:51:17 +13:00
## [v1.34.3](https://github.com/ash-project/ash/compare/v1.34.2...v1.34.3) (2021-02-23)
### Bug Fixes:
* fix builtin `mange_relationship` change
2021-02-23 17:16:40 +13:00
## [v1.34.2](https://github.com/ash-project/ash/compare/v1.34.1...v1.34.2) (2021-02-23)
### Bug Fixes:
* support belongs_to relationships properly
2021-02-23 15:35:04 +13:00
## [v1.34.1](https://github.com/ash-project/ash/compare/v1.34.0...v1.34.1) (2021-02-23)
### Bug Fixes:
* authorize if actor key is present
2021-02-23 14:54:49 +13:00
## [v1.34.0](https://github.com/ash-project/ash/compare/v1.33.1...v1.34.0) (2021-02-23)
### Features:
* refactored manage_relationship options/behavior
### Improvements:
* many compile time fixes via code splitting
* Guess destination_field for has many relationships (#187)
* Implement string length validation (#183)
## [v1.33.1](https://github.com/ash-project/ash/compare/v1.33.0...v1.33.1) (2021-02-23)
### Improvements:
* many compile time fixes via code splitting
* Guess destination_field for has many relationships (#187)
* Implement string length validation (#183)
2021-02-06 12:57:36 +13:00
## [v1.33.0](https://github.com/ash-project/ash/compare/v1.32.2...v1.33.0) (2021-02-05)
### Features:
* add default_context
* add `manage_relationship/4`
* add relationship specific context (for postgres polymorphism)
* add `reject` (opposite of `accept`)
### Bug Fixes:
* support `manage_relationship` for `belongs_to`
### Improvements:
* set_context change/preparation
* set `accept` by default
2021-01-29 08:49:18 +13:00
## [v1.32.2](https://github.com/ash-project/ash/compare/v1.32.1...v1.32.2) (2021-01-28)
### Improvements:
* support `{:filter, _}` authorization results for changesets
2021-01-27 17:49:29 +13:00
## [v1.32.1](https://github.com/ash-project/ash/compare/v1.32.0...v1.32.1) (2021-01-27)
### Bug Fixes:
* only run authorization once per request
* don't error on replacing empty relationship with empty
### Improvements:
* support `tenant` option to `get/2`
* support `message` option on identities
2021-01-25 20:15:22 +13:00
## [v1.32.0](https://github.com/ash-project/ash/compare/v1.31.1...v1.32.0) (2021-01-25)
### Features:
* add `after_action` for queries
### Bug Fixes:
* default to calculating filters on `data_layer_query`
2021-01-25 07:48:25 +13:00
## [v1.31.1](https://github.com/ash-project/ash/compare/v1.31.0...v1.31.1) (2021-01-24)
### Bug Fixes:
* remove invalid boolean expression optimization
### Improvements:
* make form errors work better with phoenix
2021-01-24 16:32:34 +13:00
## [v1.31.0](https://github.com/ash-project/ash/compare/v1.30.2...v1.31.0) (2021-01-24)
### Features:
* add `contains/2` query function
### Bug Fixes:
* various ci_string improvements
2021-01-23 12:20:21 +13:00
## [v1.30.2](https://github.com/ash-project/ash/compare/v1.30.1...v1.30.2) (2021-01-22)
### Bug Fixes:
* add explicit jason dependency
2021-01-23 10:43:28 +13:00
## [v1.30.1](https://github.com/ash-project/ash/compare/v1.30.0...v1.30.1) (2021-01-22)
### Bug Fixes:
* update elixir versions in CI
2021-01-23 10:42:40 +13:00
## [v1.30.0](https://github.com/ash-project/ash/compare/v1.29.0-rc1...v1.30.0) (2021-01-22)
### Bug Fixes:
* add action filters in `for_read/3`
* don't let local runner processes mix up messages
* runtime filter filters properly
2021-01-22 09:42:50 +13:00
## [v1.29.0-rc1](https://github.com/ash-project/ash/compare/v1.28.0-rc0...v1.29.0-rc1) (2021-01-21)
2021-01-22 09:31:03 +13:00
## [v1.29.0-rc0](https://github.com/ash-project/ash/compare/v1.28.1...v1.29.0-rc0) (2021-01-21)
### Features:
* freeform expressions
* validatiosn in actions
* query arguments
* add `Ash.Query.for_read/3`
* return changeset with API errors
* add case insensitive string `CiString`/`:ci_string`
* support `context/1` and `arg/1` in filter templates
* support targeting notifications with the `for` option
* add `ago/2` query function
* add basic arithmetic operators (+, *, -, /)
* `sensitive?` option for attributes
* `sensitive?` option for arguments
* `private` arguments, which can’t be set using `for_<action>`
* add `prevent_change` which will erase changes just before the changeset is committed
* add `match?` validation that supports a custom error message
* add `interval` type to support `ago/2` function
* add `url_encoded_binary` type
* add `function` type
### Bug Fixes:
* properly expand module aliases for options w/o compile time dependency
### Improvements:
* support all string constraints for ci_string
* `changing?` is now a validation
* add `Transformer.get_persisted/3`
* add `api` field to `Notification`
* standardize errors, add `to_error_class`
* use `Comp` everywhere
* use action on changeset if set by `for_<action_type>`
* `action_failed?` field on change sets
* remove ability for data layers to add operators (for now at least)
* Changeset.apply_attributes/2 now returns an error tuple
* add a bunch of new/informative errors
* runtime filter now uses left join logic (a naive implementation of it)
* support more filter templates in resources
* basic/naive type system for operators/functions
* Add trim/allow_empty to string type (#171)
2021-01-13 09:41:47 +13:00
## [v1.28.1](https://github.com/ash-project/ash/compare/v1.28.0...v1.28.1) (2021-01-12)
### Improvements:
* Improve attribute defaults (#164)
2021-01-13 09:06:55 +13:00
## [v1.28.0](https://github.com/ash-project/ash/compare/v1.27.1...v1.28.0) (2021-01-12)
### Features:
* Add Embedded Resources (#170)
### Bug Fixes:
* Correct error message (#163)
### Improvements:
* Add built in decimal type (#162)
2021-01-09 08:29:27 +13:00
## [v1.27.1](https://github.com/ash-project/ash/compare/v1.27.0...v1.27.1) (2021-01-08)
### Bug Fixes:
* fix small sort bugs
### Improvements:
* add `Ash.Sort.parse_input/2`
2021-01-09 06:16:13 +13:00
## [v1.27.0](https://github.com/ash-project/ash/compare/v1.26.13...v1.27.0) (2021-01-08)
### Breaking Changes:
* Use usec timestamps by default
### Improvements:
* Add built in usec datetime type (#160) (#161)
2021-01-08 20:58:23 +13:00
## [v1.26.13](https://github.com/ash-project/ash/compare/v1.26.12...v1.26.13) (2021-01-08)
### Bug Fixes:
* only cast public relationships/attributes
2021-01-08 16:31:12 +13:00
## [v1.26.12](https://github.com/ash-project/ash/compare/v1.26.11...v1.26.12) (2021-01-08)
### Bug Fixes:
* `allow_nil?: false` for `integer_primary_key`
2021-01-08 15:37:01 +13:00
## [v1.26.11](https://github.com/ash-project/ash/compare/v1.26.10...v1.26.11) (2021-01-08)
### Improvements:
* add `for_<action>` helpers
2021-01-07 16:48:04 +13:00
## [v1.26.10](https://github.com/ash-project/ash/compare/v1.26.9...v1.26.10) (2021-01-07)
### Improvements:
* Add built in binary type (#156)
2021-01-07 09:16:08 +13:00
## [v1.26.9](https://github.com/ash-project/ash/compare/v1.26.8...v1.26.9) (2021-01-06)
### Bug Fixes:
* the `__resource__` change broke some extensions
2021-01-07 08:49:44 +13:00
## [v1.26.8](https://github.com/ash-project/ash/compare/v1.26.7...v1.26.8) (2021-01-06)
### Bug Fixes:
* add back `extensions/1` helper to resources
2021-01-07 08:40:53 +13:00
## [v1.26.7](https://github.com/ash-project/ash/compare/v1.26.6...v1.26.7) (2021-01-06)
### Bug Fixes:
* lazy loaded module issues (e.g in iex)
### Improvements:
* optimize not-in and fix dialyzer
* rework filter creation + subset checking
2020-12-31 10:46:05 +13:00
## [v1.26.6](https://github.com/ash-project/ash/compare/v1.26.5...v1.26.6) (2020-12-30)
### Bug Fixes:
* validate read action existence
### Improvements:
* support autocompletion on Api funcs
2020-12-31 05:56:32 +13:00
## [v1.26.5](https://github.com/ash-project/ash/compare/v1.26.4...v1.26.5) (2020-12-30)
### Improvements:
* default actions
2020-12-30 19:09:12 +13:00
## [v1.26.4](https://github.com/ash-project/ash/compare/v1.26.3...v1.26.4) (2020-12-30)
### Bug Fixes:
* fix compile issues, add docs
2020-12-30 18:58:48 +13:00
## [v1.26.3](https://github.com/ash-project/ash/compare/v1.26.2...v1.26.3) (2020-12-30)
### Improvements:
* add `parse_input/3` to `Ash.Filter`
2020-12-30 08:24:14 +13:00
## [v1.26.2](https://github.com/ash-project/ash/compare/v1.26.1...v1.26.2) (2020-12-29)
### Improvements:
* describe operator types
2020-12-29 13:33:30 +13:00
## [v1.26.1](https://github.com/ash-project/ash/compare/v1.26.0...v1.26.1) (2020-12-29)
### Bug Fixes:
* only accept kw list in `aggregate/5`
2020-12-29 13:18:15 +13:00
## [v1.26.0](https://github.com/ash-project/ash/compare/v1.25.8...v1.26.0) (2020-12-29)
### Features:
* support `:first` aggregate (#153)
* support more sort orders
2020-12-27 19:09:59 +13:00
## [v1.25.8](https://github.com/ash-project/ash/compare/v1.25.7...v1.25.8) (2020-12-27)
### Bug Fixes:
* separate builders + description in sections
2020-12-27 19:00:43 +13:00
## [v1.25.7](https://github.com/ash-project/ash/compare/v1.25.6...v1.25.7) (2020-12-27)
### Bug Fixes:
* support `examples` on dsl sections
2020-12-27 17:55:08 +13:00
## [v1.25.6](https://github.com/ash-project/ash/compare/v1.25.5...v1.25.6) (2020-12-27)
### Bug Fixes:
* cast string argument names
* uuid/id pkeys should `allow_nil`
2020-12-24 08:49:59 +13:00
## [v1.25.5](https://github.com/ash-project/ash/compare/v1.25.4...v1.25.5) (2020-12-23)
### Bug Fixes:
* support operators on both sides for not_eq
2020-12-24 08:18:20 +13:00
## [v1.25.4](https://github.com/ash-project/ash/compare/v1.25.3...v1.25.4) (2020-12-23)
### Bug Fixes:
* fix filtering for ets + mnesia data layers
2020-12-24 06:46:26 +13:00
## [v1.25.3](https://github.com/ash-project/ash/compare/v1.25.2...v1.25.3) (2020-12-23)
### Bug Fixes:
* various pagination, runtime, and auth bugs
* default pagination limit triggers pagination
2020-12-06 14:39:45 +13:00
## [v1.25.2](https://github.com/ash-project/ash/compare/v1.25.1...v1.25.2) (2020-12-06)
### Bug Fixes:
* resolve warning from nimbleoptions deprecation
2020-12-02 16:51:19 +13:00
## [v1.25.1](https://github.com/ash-project/ash/compare/v1.25.0...v1.25.1) (2020-12-02)
### Improvements:
* support confirming arguments, test allow_nil?
2020-12-02 16:12:34 +13:00
## [v1.25.0](https://github.com/ash-project/ash/compare/v1.24.2...v1.25.0) (2020-12-02)
### Features:
* support arguments for actions
2020-12-01 19:03:43 +13:00
## [v1.24.2](https://github.com/ash-project/ash/compare/v1.24.1...v1.24.2) (2020-12-01)
### Bug Fixes:
* various build fixes
* various small utility fixes
* update get-tag
2020-11-09 05:50:26 +13:00
## [v1.24.1](https://github.com/ash-project/ash/compare/v1.24.0...v1.24.1) (2020-11-08)
### Bug Fixes:
* do not require private attributes in create api (#143)
2020-11-07 18:31:35 +13:00
## [v1.24.0](https://github.com/ash-project/ash/compare/v1.23.3...v1.24.0) (2020-11-07)
### Features:
* add uuid_primary_key/2 and integer_primary_key/2
2020-11-07 18:09:22 +13:00
## [v1.23.3](https://github.com/ash-project/ash/compare/v1.23.2...v1.23.3) (2020-11-07)
### Bug Fixes:
* derived belongs_to attributes are required if their parent is
2020-11-06 15:36:03 +13:00
## [v1.23.2](https://github.com/ash-project/ash/compare/v1.23.1...v1.23.2) (2020-11-06)
### Bug Fixes:
* default create/update timestamps to private?
2020-11-06 15:14:05 +13:00
## [v1.23.1](https://github.com/ash-project/ash/compare/v1.23.0...v1.23.1) (2020-11-06)
### Bug Fixes:
* set proper pagination defaults
2020-11-04 07:59:40 +13:00
## [v1.23.0](https://github.com/ash-project/ash/compare/v1.22.1...v1.23.0) (2020-11-03)
### Features:
* Add property: private? for attributes, relationships, aggregates, and calculations (#140)
2020-10-29 17:15:07 +13:00
## [v1.22.1](https://github.com/ash-project/ash/compare/v1.22.0...v1.22.1) (2020-10-29)
### Improvements:
* support specifying that some options are modules
2020-10-28 18:15:23 +13:00
## [v1.22.0](https://github.com/ash-project/ash/compare/v1.21.0...v1.22.0) (2020-10-28)
### Features:
* multitenancy! and tons of various fixes (#139)
## [v1.21.0](https://github.com/ash-project/ash/compare/v1.20.1...v1.21.0) (2020-10-28)
### Improvements:
* trace $callers through engine genservers
2020-10-21 18:09:49 +13:00
## [v1.20.1](https://github.com/ash-project/ash/compare/v1.20.0...v1.20.1) (2020-10-21)
### Bug Fixes:
* better not_found error handling
2020-10-21 14:03:13 +13:00
## [v1.20.0](https://github.com/ash-project/ash/compare/v1.19.1...v1.20.0) (2020-10-21)
### Features:
* Optimize relashionship records replacement (#135)
### Bug Fixes:
* remove unused code
* various fixes and improvements
2020-10-18 12:22:23 +13:00
## [v1.19.1](https://github.com/ash-project/ash/compare/v1.19.0...v1.19.1) (2020-10-17)
### Bug Fixes:
* invalid function arg parsing w/ ref
2020-10-18 06:15:00 +13:00
## [v1.19.0](https://github.com/ash-project/ash/compare/v1.18.1...v1.19.0) (2020-10-17)
### Features:
* pubsub notifier (#134)
2020-10-16 18:48:27 +13:00
## [v1.18.1](https://github.com/ash-project/ash/compare/v1.18.0...v1.18.1) (2020-10-16)
### Bug Fixes:
* engine hanging on parallel requests
2020-10-15 17:56:49 +13:00
## [v1.18.0](https://github.com/ash-project/ash/compare/v1.17.1...v1.18.0) (2020-10-15)
### Features:
* add notifiers (#133)
* Add `:one_of` constraint to the Atom type (#130)
2020-10-12 19:35:38 +13:00
## [v1.17.1](https://github.com/ash-project/ash/compare/v1.17.0...v1.17.1) (2020-10-12)
### Bug Fixes:
* bugs with keyset pagination
2020-10-12 16:57:44 +13:00
## [v1.17.0](https://github.com/ash-project/ash/compare/v1.16.2...v1.17.0) (2020-10-12)
### Features:
* Add pagination (#131)
2020-10-10 14:02:11 +13:00
## [v1.16.2](https://github.com/ash-project/ash/compare/v1.16.1...v1.16.2) (2020-10-10)
### Bug Fixes:
* parse functions properly
2020-10-10 13:56:30 +13:00
## [v1.16.1](https://github.com/ash-project/ash/compare/v1.16.0...v1.16.1) (2020-10-10)
### Bug Fixes:
* fix dialyzer
* fix certain versions of elixir having issues
2020-10-08 18:59:26 +13:00
## [v1.16.0](https://github.com/ash-project/ash/compare/v1.15.1...v1.16.0) (2020-10-08)
### Features:
* expression based filter
2020-10-07 18:18:35 +13:00
## [v1.15.1](https://github.com/ash-project/ash/compare/v1.15.0...v1.15.1) (2020-10-07)
2020-10-06 17:58:57 +13:00
## [v1.15.0](https://github.com/ash-project/ash/compare/v1.14.0...v1.15.0) (2020-10-06)
### Features:
* filter rewrite to op/function/ref based structure
* added description for missing resources (#117)
### Bug Fixes:
* add module name to errors (#127)
* Fix composite key in changeset functions (#125)
2020-09-24 13:06:37 +12:00
## [v1.14.0](https://github.com/ash-project/ash/compare/v1.13.4...v1.14.0) (2020-09-24)
### Features:
* descriptions for actions and relationships (#116)
### Bug Fixes:
* typespec/error message improvements
2020-09-22 10:38:40 +12:00
## [v1.13.4](https://github.com/ash-project/ash/compare/v1.13.3...v1.13.4) (2020-09-21)
### Bug Fixes:
* upgrade picosat dependency
* correct comment in UUID type (#115)
2020-09-20 08:40:30 +12:00
## [v1.13.3](https://github.com/ash-project/ash/compare/v1.13.2...v1.13.3) (2020-09-19)
### Features:
* set_attribute builtin change
* (greater_than/less_than)_or_equal predicates
* support deletes as updates via "soft"
* support base_filters
### Bug Fixes:
* less_than predicate was flipped for runtime
2020-09-08 07:27:45 +12:00
## [v1.13.2](https://github.com/ash-project/ash/compare/v1.13.1...v1.13.2) (2020-09-07)
### Bug Fixes:
* remove delegate data layer (#112)
* delete process/global storage properly
2020-09-04 17:02:36 +12:00
## [v1.13.1](https://github.com/ash-project/ash/compare/v1.13.0...v1.13.1) (2020-09-04)
### Bug Fixes:
* Fix identities (#110)
2020-09-02 15:37:34 +12:00
## [v1.13.0](https://github.com/ash-project/ash/compare/v1.12.0...v1.13.0) (2020-09-02)
### Features:
* required belongs_to relationships (#107)
2020-09-20 08:40:30 +12:00
* support filter templates on read actions
2020-09-02 15:37:34 +12:00
* builtin concat calculation
* add changes to actions (#106)
* add `accept` option to create/update actions (#105)
* add `Ash.NotLoaded` back, simpler defaults
* improve errors (add stacktraces)
### Bug Fixes:
2020-09-20 08:40:30 +12:00
* various delegate data layer improvements
2020-09-02 15:37:34 +12:00
2020-09-20 08:40:30 +12:00
* engine halting issues
2020-09-02 15:37:34 +12:00
* resolve engine deadlocks
* support nested lists of filters
2020-08-27 16:30:26 +12:00
## [v1.12.0](https://github.com/ash-project/ash/compare/v1.11.1...v1.12.0) (2020-08-27)
### Features:
2020-08-30 19:15:16 +12:00
- add `one_of` validation
2020-08-27 16:30:26 +12:00
2020-08-30 19:15:16 +12:00
- add `simple` data layer, and make it default
2020-08-27 16:30:26 +12:00
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- allow anonymous functions in the dsl
2020-08-27 16:30:26 +12:00
2020-08-27 05:55:25 +12:00
## [v1.11.1](https://github.com/ash-project/ash/compare/v1.11.0...v1.11.1) (2020-08-26)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- only update filter when its a filter
2020-08-27 05:55:25 +12:00
2020-08-30 19:15:16 +12:00
- set resource in delegation query
2020-08-27 05:55:25 +12:00
2020-08-26 16:16:31 +12:00
## [v1.11.0](https://github.com/ash-project/ash/compare/v1.10.0...v1.11.0) (2020-08-26)
### Features:
2020-08-30 19:15:16 +12:00
- support inner lateral joins (#100)
2020-08-26 16:16:31 +12:00
2020-08-30 19:15:16 +12:00
- add identities, to enhance `get` calls (#99)
2020-08-26 16:16:31 +12:00
2020-08-30 19:15:16 +12:00
- initial calculation support (#98)
2020-08-26 16:16:31 +12:00
2020-08-30 19:15:16 +12:00
- initial calculation support
2020-08-26 16:16:31 +12:00
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- spec + dialyzer fixes
2020-08-26 16:16:31 +12:00
2020-08-30 19:15:16 +12:00
- spec mix task run as no_return
2020-08-26 16:16:31 +12:00
2020-08-23 10:46:00 +12:00
## [v1.10.0](https://github.com/ash-project/ash/compare/v1.9.0...v1.10.0) (2020-08-22)
### Features:
2020-08-30 19:15:16 +12:00
- Add delegate data_layer (#97)
2020-08-23 10:46:00 +12:00
2020-08-19 16:50:52 +12:00
## [v1.9.0](https://github.com/ash-project/ash/compare/v1.8.0...v1.9.0) (2020-08-19)
### Features:
2020-08-30 19:15:16 +12:00
- various custom data_layer features
2020-08-19 16:50:52 +12:00
2020-08-18 17:51:07 +12:00
## [v1.8.0](https://github.com/ash-project/ash/compare/v1.7.0...v1.8.0) (2020-08-18)
### Features:
2020-08-30 19:15:16 +12:00
- streamline `load` by accepting ok/error
2020-08-18 17:51:07 +12:00
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- extensions: resolve duplicate nested entities
2020-08-18 17:51:07 +12:00
2020-08-30 19:15:16 +12:00
- use Ecto's NotLoaded for assocs for now
2020-08-18 17:51:07 +12:00
2020-08-30 19:15:16 +12:00
- create/update typespecs were wrong
2020-08-18 17:51:07 +12:00
2020-08-17 18:43:47 +12:00
## [v1.7.0](https://github.com/ash-project/ash/compare/v1.6.8...v1.7.0) (2020-08-17)
### Features:
2020-08-30 19:15:16 +12:00
- add `is_nil` predicate
2020-08-17 18:43:47 +12:00
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- add lexical scope to DSL for imports
2020-08-17 18:43:47 +12:00
2020-08-30 19:15:16 +12:00
- crash on entity w/ no options specified
2020-08-17 18:43:47 +12:00
2020-08-30 19:15:16 +12:00
- convert `eq: nil` into is_nil, fix credo
2020-08-17 18:43:47 +12:00
2020-08-16 10:04:38 +12:00
## [v1.6.8](https://github.com/ash-project/ash/compare/v1.6.7...v1.6.8) (2020-08-15)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- some day tag names will work
2020-08-16 10:04:38 +12:00
2020-08-16 09:54:04 +12:00
## [v1.6.7](https://github.com/ash-project/ash/compare/v1.6.6...v1.6.7) (2020-08-15)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- get the tag name for real this time
2020-08-16 09:54:04 +12:00
2020-08-16 09:48:25 +12:00
## [v1.6.6](https://github.com/ash-project/ash/compare/v1.6.5...v1.6.6) (2020-08-15)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- try again to get the version name in tweets
2020-08-16 09:48:25 +12:00
2020-08-16 09:36:38 +12:00
## [v1.6.5](https://github.com/ash-project/ash/compare/v1.6.4...v1.6.5) (2020-08-15)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- get the version property
2020-08-16 09:36:38 +12:00
2020-08-16 09:31:37 +12:00
## [v1.6.4](https://github.com/ash-project/ash/compare/v1.6.3...v1.6.4) (2020-08-15)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- test out automatic tweeting
2020-08-16 09:31:37 +12:00
2020-08-16 08:32:02 +12:00
## [v1.6.3](https://github.com/ash-project/ash/compare/v1.6.2...v1.6.3) (2020-08-15)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- remove bad package reference from the docs
2020-08-16 08:32:02 +12:00
2020-08-14 09:50:00 +12:00
## [v1.6.2](https://github.com/ash-project/ash/compare/v1.6.1...v1.6.2) (2020-08-13)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- various fixes for graphql extension
2020-08-14 09:50:00 +12:00
2020-08-11 05:45:05 +12:00
## [v1.6.1](https://github.com/ash-project/ash/compare/v1.6.0...v1.6.1) (2020-08-10)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- `load` typespecs
2020-08-11 05:45:05 +12:00
2020-08-10 19:37:20 +12:00
## [v1.6.0](https://github.com/ash-project/ash/compare/v1.5.1...v1.6.0) (2020-08-10)
### Features:
2020-08-30 19:15:16 +12:00
- add named aggregates
2020-08-10 19:37:20 +12:00
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- various fixes from json:api integration
2020-08-10 19:37:20 +12:00
2020-07-25 11:27:22 +12:00
## [v1.5.1](https://github.com/ash-project/ash/compare/v1.5.0...v1.5.1) (2020-07-24)
### Bug Fixes:
2020-08-30 19:15:16 +12:00
- scope data layer feature to aggregate kind
2020-07-25 11:27:22 +12:00
2020-07-25 09:35:28 +12:00
## v1.5.0 (2020-07-24)
### Features:
- group metadata by path and async?: false
- run aggregates async if not in query
- aggregations!
## [v1.4.1](https://github.com/ash-project/ash/compare/1.4.0...v1.4.1) (2020-07-20)
### Bug Fixes:
2020-07-23 17:37:10 +12:00
2020-07-25 09:35:28 +12:00
- simplify dsl building using `on_load`
2020-07-23 17:10:17 +12:00
2020-07-25 09:35:28 +12:00
## [v1.4.0](https://github.com/ash-project/ash/compare/1.3.1...v1.4.0) (2020-07-16)
2020-07-23 17:10:17 +12:00
2020-07-25 09:35:28 +12:00
### Features:
- allow editing join association attributes
## [v1.3.1](https://github.com/ash-project/ash/compare/1.3.0...v1.3.1) (2020-07-16)
### Bug Fixes:
2020-07-23 17:10:17 +12:00
2020-07-25 09:35:28 +12:00
- use proper errors everywhere
## [v1.3.0](https://github.com/ash-project/ash/compare/1.2.1...v1.3.0) (2020-07-15)
2020-07-23 17:10:17 +12:00
### Features:
2020-07-25 09:35:28 +12:00
- various small refactors + validations
## [v1.2.1](https://github.com/ash-project/ash/compare/1.2.0...v1.2.1) (2020-07-13)
### Bug Fixes:
- changeset + set_state issues
2020-07-21 14:16:42 +12:00
2020-07-25 09:35:28 +12:00
## [v1.2.0](https://github.com/ash-project/ash/compare/1.1.3...v1.2.0) (2020-07-13)
2020-07-21 14:16:42 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-07-21 14:16:42 +12:00
2020-07-25 09:35:28 +12:00
- refactor changes into changesets
2020-07-21 14:16:42 +12:00
2020-07-25 09:35:28 +12:00
## [v1.1.3](https://github.com/ash-project/ash/compare/1.1.2...v1.1.3) (2020-07-09)
2020-07-17 11:17:22 +12:00
2020-07-25 09:35:28 +12:00
## [v1.1.2](https://github.com/ash-project/ash/compare/1.1.1...v1.1.2) (2020-07-09)
2020-07-15 17:39:06 +12:00
2020-07-25 09:35:28 +12:00
## [v1.1.1](https://github.com/ash-project/ash/compare/1.1.0...v1.1.1) (2020-07-09)
2020-07-13 15:21:11 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-07-09 18:55:48 +12:00
2020-07-25 09:35:28 +12:00
- small fixes
2020-07-09 18:55:48 +12:00
2020-07-25 09:35:28 +12:00
## [v1.1.0](https://github.com/ash-project/ash/compare/1.0.3...v1.1.0) (2020-07-09)
2020-07-08 12:31:30 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-07-08 12:31:30 +12:00
2020-07-25 09:35:28 +12:00
- lots of docs, simplify query generation
2020-07-08 11:28:47 +12:00
2020-07-25 09:35:28 +12:00
- validate relationship keys
2020-07-08 11:28:47 +12:00
2020-07-25 09:35:28 +12:00
## [v1.0.3](https://github.com/ash-project/ash/compare/1.0.2...v1.0.3) (2020-07-08)
2020-07-08 11:28:47 +12:00
2020-07-25 09:35:28 +12:00
## [v1.0.2](https://github.com/ash-project/ash/compare/1.0.1...v1.0.2) (2020-07-07)
2020-07-08 11:28:47 +12:00
2020-07-25 09:35:28 +12:00
## [v1.0.1](https://github.com/ash-project/ash/compare/1.0.0...v1.0.1) (2020-07-07)
2020-07-08 02:39:50 +12:00
2020-07-25 09:35:28 +12:00
## [v1.0.0](https://github.com/ash-project/ash/compare/0.10.0...v1.0.0) (2020-07-07)
2020-07-08 02:39:50 +12:00
2020-07-25 09:35:28 +12:00
### Breaking Changes:
2020-07-08 02:39:50 +12:00
2020-07-25 09:35:28 +12:00
- remove initial subscriptions pass
2020-07-08 02:39:50 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
- general improvements
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
- in predicate + engine errors
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
## [v0.10.0](https://github.com/ash-project/ash/compare/0.9.1...v0.10.0) (2020-07-02)
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
### Breaking Changes:
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
- remove atom type, add docs
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-07-08 02:39:03 +12:00
2020-07-25 09:35:28 +12:00
- list types
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- refactor ash types to modules, add constraints
2020-07-02 15:19:22 +12:00
2020-07-21 14:05:54 +12:00
### Bug Fixes:
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- remove benchee, ensure mnesia always uses transactions
2020-07-25 09:32:33 +12:00
2020-07-25 09:35:28 +12:00
- try clearing cache to fix CI
2020-07-25 09:32:33 +12:00
2020-07-25 09:35:28 +12:00
- stop gitignoring the mnesia data layer
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- try to fix ash.formatter task
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- test/improve parallelizable requests
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- require that resources have primary keys
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
## [v0.9.1](https://github.com/ash-project/ash/compare/0.9.0...v0.9.1) (2020-06-30)
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- move to simpler transaction logic
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
## [v0.9.0](https://github.com/ash-project/ash/compare/0.8.0...v0.9.0) (2020-06-29)
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- add less_than and greater_than filter support
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
- validate all related resources in API
2020-07-02 15:19:22 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-30 16:15:16 +12:00
2020-07-25 09:35:28 +12:00
- fix tests/credo
2020-06-29 15:44:09 +12:00
2020-07-25 09:35:28 +12:00
- fix tests, add tests for gt/lt filters
2020-06-29 15:44:09 +12:00
2020-07-25 09:35:28 +12:00
## [v0.8.0](https://github.com/ash-project/ash/compare/0.7.0...v0.8.0) (2020-06-29)
### Features:
2020-06-28 06:27:45 +12:00
2020-07-25 09:35:28 +12:00
- cross data layer filters
2020-06-22 18:14:14 +12:00
2020-07-25 09:35:28 +12:00
- cross data layer filtering
2020-06-22 16:35:08 +12:00
2020-07-25 09:35:28 +12:00
## [v0.7.0](https://github.com/ash-project/ash/compare/0.6.5...v0.7.0) (2020-06-27)
2020-06-22 15:27:10 +12:00
2020-07-25 09:35:28 +12:00
### Features:
- section option configuration
### Bug Fixes:
2020-06-21 11:42:17 +12:00
2020-07-25 09:35:28 +12:00
- set persistent_term properly
2020-06-21 11:04:20 +12:00
2020-07-25 09:35:28 +12:00
## [v0.6.5](https://github.com/ash-project/ash/compare/0.6.4...v0.6.5) (2020-06-22)
2020-06-21 11:04:20 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-21 11:04:20 +12:00
2020-07-25 09:35:28 +12:00
- use authorization filters in side loads
2020-06-15 19:29:00 +12:00
2020-07-25 09:35:28 +12:00
## [v0.6.4](https://github.com/ash-project/ash/compare/0.6.3...v0.6.4) (2020-06-22)
2020-06-15 19:03:17 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-14 18:42:44 +12:00
2020-07-25 09:35:28 +12:00
- remove reverse relationships
2020-06-14 18:42:44 +12:00
2020-07-25 09:35:28 +12:00
## [v0.6.3](https://github.com/ash-project/ash/compare/0.6.2...v0.6.3) (2020-06-22)
2020-06-14 18:42:44 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-14 18:42:44 +12:00
2020-07-25 09:35:28 +12:00
- many filter/side load fixes/improvements
2020-07-21 14:05:54 +12:00
2020-07-25 09:35:28 +12:00
## [v0.6.2](https://github.com/ash-project/ash/compare/0.6.1...v0.6.2) (2020-06-20)
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
- allow side_load option on create/update
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
## [v0.6.1](https://github.com/ash-project/ash/compare/0.6.0...v0.6.1) (2020-06-20)
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
- raised error message contents
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
- parent error messages
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
- relationship path clause
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
## [v0.6.0](https://github.com/ash-project/ash/compare/0.5.2...v0.6.0) (2020-06-19)
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-06-05 15:35:31 +12:00
2020-07-25 09:35:28 +12:00
- boolean filter refactor (#78)
2020-06-05 13:56:21 +12:00
2020-07-25 09:35:28 +12:00
- predicate behaviour
2020-06-05 13:56:21 +12:00
2020-07-25 09:35:28 +12:00
## [v0.5.2](https://github.com/ash-project/ash/compare/0.5.1...v0.5.2) (2020-06-15)
2020-06-05 13:56:21 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-05 13:56:21 +12:00
2020-07-25 09:35:28 +12:00
- consider nested entities in ash.formatter
2020-06-05 13:56:21 +12:00
2020-07-25 09:35:28 +12:00
## [v0.5.1](https://github.com/ash-project/ash/compare/0.5.0...v0.5.1) (2020-06-15)
2020-06-05 13:56:21 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
- compile application in ash.formatter task
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
## [v0.5.0](https://github.com/ash-project/ash/compare/0.4.0...v0.5.0) (2020-06-15)
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
- extension section module imports, generated .formatter.exs (#71)
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
## [v0.4.0](https://github.com/ash-project/ash/compare/0.3.0...v0.4.0) (2020-06-14)
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
### Features:
2020-06-04 18:21:36 +12:00
2020-07-25 09:35:28 +12:00
- rebuild DSL inner workings for extensibility (#70)
2020-06-03 02:38:46 +12:00
2020-07-25 09:35:28 +12:00
- add `after_compile` and validate primary key
2020-06-03 02:38:46 +12:00
2020-07-25 09:35:28 +12:00
### Bug Fixes:
2020-06-03 01:41:48 +12:00
2020-07-25 09:35:28 +12:00
- dialyzer warnings
2020-06-03 01:41:48 +12:00
2020-07-25 09:35:28 +12:00
- honor the `authorize?` flag
2020-06-03 00:53:36 +12:00
2020-07-21 14:05:54 +12:00
### Improvements:
2020-06-03 00:53:36 +12:00
2020-07-25 09:35:28 +12:00
- add `date` support (#68)
## [v0.3.0](https://github.com/ash-project/ash/compare/0.2.0...v0.3.0) (2020-06-05)
### Features:
- remove name/type from ash core
### Bug Fixes:
- account for action/actor args to interface
- remove the rest of the deps on name/type
- add `resource_module?/1` back to `Ash`
## [v0.2.0](https://github.com/ash-project/ash/compare/0.1.9...v0.2.0) (2020-06-05)
### Features:
- use option schemas in the interface (#30)
## [v0.1.9](https://github.com/ash-project/ash/compare/0.1.8...v0.1.9) (2020-06-04)
### Bug Fixes:
- references to error handling code
- fix empty filter checks
## [v0.1.8](https://github.com/ash-project/ash/compare/0.1.7...v0.1.8) (2020-06-02)
This release is a test of our automatic hex.pm package publishing
## [v0.1.7](https://github.com/ash-project/ash/compare/0.1.6...v0.1.7) (2020-06-02)
This release is a test of our automatic hex.pm package publishing
## [v0.1.6](https://github.com/ash-project/ash/compare/0.1.5...v0.1.6) (2020-06-02)
This release is a test of our automatic hex.pm package publishing
## [v0.1.5](https://github.com/ash-project/ash/compare/0.1.4...v0.1.5) (2020-06-02)
2020-06-03 00:39:31 +12:00
2020-07-25 09:35:28 +12:00
This release is a test of our automatic hex.pm package publishing
2020-06-03 00:39:31 +12:00
2020-07-25 09:35:28 +12:00
## [v0.1.4](https://github.com/ash-project/ash/compare/0.1.3...v0.1.4) (2020-06-02)
2020-06-02 18:41:10 +12:00
2020-07-25 09:35:28 +12:00
This release covers the initial linting/dialyzing improvements
2020-06-02 18:41:10 +12:00
2020-07-25 09:35:28 +12:00
## (2020-06-01)
2020-06-01 17:19:07 +12:00
2020-07-25 09:35:28 +12:00
### Changelog Begins