mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: release version v2.1.0
This commit is contained in:
parent
9337ed6479
commit
2d7dfc4948
3 changed files with 34 additions and 2 deletions
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -5,6 +5,38 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
|
||||||
|
|
||||||
<!-- changelog -->
|
<!-- changelog -->
|
||||||
|
|
||||||
|
## [v2.1.0](https://github.com/ash-project/ash/compare/v2.0.0...v2.1.0) (2022-10-19)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Features:
|
||||||
|
|
||||||
|
* Custom short names for types (#423)
|
||||||
|
|
||||||
|
A compile env can be set to allow customizing the available type short names. This supports two things:
|
||||||
|
|
||||||
|
1. Adding custom type short names, like `attribute :price, :money` mapping to `MyApp.Type.Money`
|
||||||
|
2. Overriding the builtin type short names, like `attribute, :price, :string` mapping to a custom string type implementation (there is likely no reason to do this)
|
||||||
|
Commit with unknown type in: feat: Custom short names for types (#423)
|
||||||
|
|
||||||
|
See the docs for `Ash.Type` for more information
|
||||||
|
|
||||||
|
* add `now()` to expressions
|
||||||
|
|
||||||
|
### Bug Fixes:
|
||||||
|
|
||||||
|
* set defaults before running changes
|
||||||
|
|
||||||
|
### Improvements:
|
||||||
|
|
||||||
|
* sort relationship in order of input when managing it
|
||||||
|
|
||||||
|
This helps with things like https://github.com/ash-project/ash_phoenix/issues/57
|
||||||
|
which involve rendering the relationship value after editing it. Retaining
|
||||||
|
the order allows direct reuse without any gymnastics
|
||||||
|
|
||||||
|
|
||||||
## [v2.0.0](https://github.com/ash-project/ash/compare/v1.53.3...v2.0.0) (2022-10-17)
|
## [v2.0.0](https://github.com/ash-project/ash/compare/v1.53.3...v2.0.0) (2022-10-17)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
```elixir
|
```elixir
|
||||||
def deps do
|
def deps do
|
||||||
[
|
[
|
||||||
{:ash, "~> 2.0"}
|
{:ash, "~> 2.1"}
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
2
mix.exs
2
mix.exs
|
@ -7,7 +7,7 @@ defmodule Ash.MixProject do
|
||||||
designed to be used by multiple front ends.
|
designed to be used by multiple front ends.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@version "2.0.0"
|
@version "2.1.0"
|
||||||
|
|
||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue