From ee852f33843eb2e56d69cd579c7fbe1258096abd Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Thu, 11 Apr 2024 23:26:27 -0400 Subject: [PATCH] chore: release version v2.21.12 --- CHANGELOG.md | 37 ++++++++++++++++++++++++++ README.md | 2 +- documentation/tutorials/get-started.md | 2 +- mix.exs | 2 +- 4 files changed, 40 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c96d6094..41e203fc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,43 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline +## [v2.21.12](https://github.com/ash-project/ash/compare/v2.21.11...v2.21.12) (2024-04-12) + + + + +### Bug Fixes: + +* ensure opts properly contain the `tenant` + +* properly set tenant on aggregate query + +* properly set action_type when preparing changesets (#1012) + +* types: can and can? types were only addressing create when using the tuple method, the code also accepts the record for update & destroy + +* allow strings in Ash.Type.Enum again + +* set tenant in bulk creates after setting up changeset + +* properly cast identity keys before comparison + +* properly handle lists of errors added by validations + +* honor only_when_valid? in bulk actions + +* policy ending with authorize_unless had flipped conditional + +* properly handle transaction errors from bulk creates + +### Improvements: + +* support `allow_nil_input` dsl option in update/destroy (#965) + +* allow simple check to return error tuple (#958) + +* ensure that update defaults are set + ## [v2.21.11](https://github.com/ash-project/ash/compare/v2.21.10...v2.21.11) (2024-04-12) diff --git a/README.md b/README.md index 6a48e2b4a..1dd58b939 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ```elixir def deps do [ - {:ash, "~> 2.21.11"} + {:ash, "~> 2.21.12"} ] end ``` diff --git a/documentation/tutorials/get-started.md b/documentation/tutorials/get-started.md index d3fff6a55..68e08fb4b 100644 --- a/documentation/tutorials/get-started.md +++ b/documentation/tutorials/get-started.md @@ -87,7 +87,7 @@ defp deps do [ # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, - {:ash, "~> 2.21.11"} # <-- add this line + {:ash, "~> 2.21.12"} # <-- add this line ] end ``` diff --git a/mix.exs b/mix.exs index 5963d27b5..f270c8771 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Ash.MixProject do designed to be used by multiple front ends. """ - @version "2.21.11" + @version "2.21.12" def project do [