chore: release version v2.9.9

This commit is contained in:
Zach Daniel 2023-05-17 22:37:39 -04:00
parent 687723730a
commit 6ec06ca867
5 changed files with 16 additions and 11 deletions

View file

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v2.9.9](https://github.com/ash-project/ash/compare/v2.9.8...v2.9.9) (2023-05-18)
### Bug Fixes:
* errors on casting arrays of unions in newtypes
## [v2.9.8](https://github.com/ash-project/ash/compare/v2.9.7...v2.9.8) (2023-05-17)

View file

@ -8,7 +8,7 @@
```elixir
def deps do
[
{:ash, "~> 2.9.8"}
{:ash, "~> 2.9.9"}
]
end
```

View file

@ -73,7 +73,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.9.8"} # <-- add this line
{:ash, "~> 2.9.9"} # <-- add this line
]
end
```

View file

@ -175,26 +175,23 @@ defmodule Ash.Schema do
:ok
%{type: :belongs_to} ->
belongs_to(relationship.name, relationship.destination,
belongs_to relationship.name, relationship.destination,
define_field: false,
references: relationship.destination_attribute,
foreign_key: relationship.source_attribute
)
%{type: :has_many} ->
has_many(relationship.name, relationship.destination,
has_many relationship.name, relationship.destination,
foreign_key: relationship.destination_attribute,
references: relationship.source_attribute
)
%{type: :has_one} ->
has_one(relationship.name, relationship.destination,
has_one relationship.name, relationship.destination,
foreign_key: relationship.destination_attribute,
references: relationship.source_attribute
)
%{type: :many_to_many} ->
many_to_many(relationship.name, relationship.destination,
many_to_many relationship.name, relationship.destination,
join_through: relationship.through,
join_keys: [
{relationship.source_attribute_on_join_resource,
@ -202,7 +199,6 @@ defmodule Ash.Schema do
{relationship.destination_attribute_on_join_resource,
relationship.destination_attribute}
]
)
end
Module.put_attribute(

View file

@ -7,7 +7,7 @@ defmodule Ash.MixProject do
designed to be used by multiple front ends.
"""
@version "2.9.8"
@version "2.9.9"
def project do
[