From 72ee14190eabbf932ea7eb7e1131e09b39ffa53e Mon Sep 17 00:00:00 2001 From: Doruk Gurleyen Date: Sun, 29 Dec 2024 14:37:02 -0500 Subject: [PATCH] Release v0.6.0 --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- mix.exs | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2515369..1c90ce2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.6.0 + +- [Rework how entities field is resolved](https://github.com/DivvyPayHQ/absinthe_federation/pull/104): + - Support async resolution with 0-arity function + - Support Dataloader.Ecto + - Support function capture in `_resolve_reference` + ## 0.5.4 - Bug Fix: [Fix `@link` directive arguments](https://github.com/DivvyPayHQ/absinthe_federation/pull/101) diff --git a/README.md b/README.md index ad2cb72..516f5af 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Install from [Hex](https://hex.pm/packages/absinthe_federation): ```elixir def deps do [ - {:absinthe_federation, "~> 0.5"} + {:absinthe_federation, "~> 0.6"} ] end ``` @@ -237,7 +237,7 @@ end ### Using Dataloader in \_resolve_reference queries -You can use Dataloader in to resolve references to specific objects, but it requires manually setting up the batch and item key, as the field has no parent. Resolution for both \_resolve\_reference fields are functionally equivalent. +You can use Dataloader in to resolve references to specific objects, but it requires manually setting up the batch and item key, as the field has no parent. Resolution for both \_resolve_reference fields are functionally equivalent. ```elixir defmodule Example.Schema do diff --git a/mix.exs b/mix.exs index 6448827..e28b8cb 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Absinthe.Federation.MixProject do use Mix.Project @source_url "https://github.com/DivvyPayHQ/absinthe_federation" - @version "0.5.4" + @version "0.6.0" def project do [