ash_graphql/CHANGELOG.md
2021-11-13 14:12:43 -05:00

16 KiB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

v0.17.0 (2021-11-13)

Features:

  • more configurable error behavior

Bug Fixes:

  • pass calculation to field type (#29)

  • fix get resolver not_found message

  • authorize reads before destroy

  • return error when get is nil w/ allow_nil? == false

  • select in the new after_action hook, for calculations

  • fix changeset.errors on destroy (#26)

v0.16.28 (2021-09-07)

Bug Fixes:

  • search for types in calculations

v0.16.27 (2021-09-03)

Bug Fixes:

  • if no primary key (only embeds support that), don't require id

v0.16.26 (2021-09-03)

Bug Fixes:

  • more non null primar keys!

v0.16.25 (2021-09-03)

Improvements:

  • more non null constraints

v0.16.24 (2021-09-03)

Bug Fixes:

  • make primary key attributes appropriately non nil

v0.16.23 (2021-08-29)

Improvements:

  • support create/update metadata

  • add groundwork for relay support

v0.16.22 (2021-07-30)

Bug Fixes:

  • set actor on initial read of record for update

v0.16.21 (2021-07-04)

Improvements:

  • support latest ash

v0.16.20 (2021-07-02)

Improvements:

  • update to latest ash

v0.16.19 (2021-07-02)

Bug Fixes:

  • include new custom type

Improvements:

  • update to latest ash

  • add as_mutation for queries

  • support modify_resolution for queries

  • update to latest rc

  • add short_message and vars to errors

v0.16.18-rc5 (2021-06-29)

Bug Fixes:

  • include new custom type

Improvements:

  • add as_mutation for queries

  • support modify_resolution for queries

  • update to latest rc

  • add short_message and vars to errors

v0.16.18-rc4 (2021-06-28)

Bug Fixes:

  • include new custom type

Improvements:

  • update to latest rc

  • add short_message and vars to errors

v0.16.18-rc3 (2021-06-21)

Bug Fixes:

  • include new custom type

v0.16.18-rc2 (2021-06-15)

v0.16.18-rc1 (2021-06-08)

Bug Fixes:

  • catch error in `massage_filter/2

v0.16.18-rc0 (2021-06-04)

Improvements:

  • support expression calculations

v0.16.17 (2021-05-23)

Improvements:

  • support identity: false for read

  • don't type embedded resources is nullable

v0.16.16 (2021-05-21)

Bug Fixes:

  • destroys can still have input objects

v0.16.15 (2021-05-19)

Bug Fixes:

  • avoid dialyzer errors on generated code

  • traverse all nested embeds for enum type defs

v0.16.14 (2021-05-15)

Improvements:

  • non nullable aggregates where possible

v0.16.13 (2021-05-14)

Bug Fixes:

  • don't load fields if no fields to load

Improvements:

  • log error stacktraces

  • add stacktraces? option

v0.16.12 (2021-05-12)

Bug Fixes:

  • Check for nil rather than the value as not does not accept a function (#23)

v0.16.11 (2021-05-11)

Bug Fixes:

  • fix compiler warning

  • identities -> lookup_identities

  • don't require attributes that should not be required

Improvements:

  • allow customizing identity/pkey on_lookup

v0.16.10 (2021-05-10)

Bug Fixes:

  • support soft destroys

  • support actions with no input objects

v0.16.9 (2021-05-06)

Improvements:

  • support eliding a type from an input object

v0.16.8 (2021-05-05)

Bug Fixes:

  • ensure api modules are properly compiled first

Improvements:

  • Add float type (#20)

v0.16.7 (2021-05-04)

Bug Fixes:

  • don't have leaky errors

  • support filtering on aggregates in nested resolvers

v0.16.6 (2021-05-04)

Bug Fixes:

  • properly support limit/offset on relationships

v0.16.5 (2021-05-01)

Bug Fixes:

  • error rendering some paginated results

  • ensure id is required after belongs_to attribute

  • don't require input types for filters

v0.16.4 (2021-04-28)

Bug Fixes:

  • don't raise on missing relationship actions

  • properly detect selection of count

v0.16.3 (2021-04-27)

Bug Fixes:

  • support Has operator

  • properly calculate array aggregate types

v0.16.2 (2021-04-27)

Bug Fixes:

  • only isNil is supported for array filters for now

v0.16.1 (2021-04-26)

Bug Fixes:

  • load fields before sorting

  • load aggregates used in sort

  • load aggregates from sorts

  • load any aggregates referenced in the filter

  • more aggregate type fixes

  • properly determine aggregate type

  • properly unwrap invalid errors

  • unwrap invalid errors

v0.16.0 (2021-04-23)

Features:

  • derived input objects for managed_relationships

Bug Fixes:

  • various input fixes (sorts)

Improvements:

  • support new style enums

  • support ash_context key

v0.15.10 (2021-04-19)

Improvements:

  • support read_action config for updates and destroys

  • support identity: false for udpates and destroys

v0.15.9 (2021-04-19)

Bug Fixes:

  • project down to multiple levels for result types

v0.15.8 (2021-04-18)

Bug Fixes:

  • set actor when building changeset

v0.15.7 (2021-04-16)

Bug Fixes:

  • proper not found errors

v0.15.6 (2021-04-16)

Bug Fixes:

  • correctly select fields to clear

  • don't clear fields on nil result

v0.15.5 (2021-04-15)

Bug Fixes:

  • load fields required for relationship

v0.15.4 (2021-04-13)

Bug Fixes:

  • detect all embeddable types in arguments and nested

  • detect enums in embeddable types and arguments

  • error messages for InvalidArgument

  • store refs in graphql blueprint to fix error messages

Improvements:

  • log on unrenderable error messages

  • update to latest ash

v0.15.3 (2021-04-09)

Bug Fixes:

  • fix graphql subselections for pagination

  • fix authorization docs

v0.15.2 (2021-04-06)

Bug Fixes:

  • don't show non-predicate operators in filters

v0.15.1 (2021-04-05)

Bug Fixes:

  • fully remove relationship changes

Improvements:

  • support upsert?: true flag on create

v0.15.0 (2021-04-05)

Breaking Changes:

  • fully remove relationship changes

v0.14.1 (2021-04-05)

Improvements:

  • add allow_nil? to queries (#16)

v0.14.0 (2021-04-04)

Features:

  • add read_one query (#13)

Improvements:

  • update to latest ash

  • generate type based on allow_nil? (#14)

v0.13.1 (2021-04-03)

Bug Fixes:

  • update to latest ash

v0.13.0 (2021-03-28)

Features:

  • support custom types, add custom type test

Bug Fixes:

  • select fields/aggregates/calculations

v0.12.7 (2021-03-15)

Improvements:

  • update ash version

v0.12.6 (2021-03-15)

Bug Fixes:

  • properly handle relationship changes on updates

Improvements:

  • start on error messaging groundwork

v0.12.5 (2021-03-12)

Bug Fixes:

  • allow referencing ash generated types

  • don't fail on empty mutations list

Improvements:

  • support more builtin types

v0.12.4 (2021-03-08)

Improvements:

  • validate action existence

v0.12.3 (2021-02-23)

Bug Fixes:

  • fix .formatter.exs

v0.12.2 (2021-02-23)

Improvements:

  • support debug? at the api level

v0.12.1 (2021-02-23)

Bug Fixes:

  • proper supports for embeds

Improvements:

  • update to latest ash

v0.12.0 (2021-01-22)

Improvements:

  • support latest ash

v0.11.0-rc0 (2021-01-22)

Features:

  • update to latest ash

  • support query arguments

v0.10.0 (2021-01-12)

Features:

  • support embedded resources

v0.9.5 (2021-01-08)

Improvements:

  • support latest ash version

v0.9.4 (2020-12-30)

Bug Fixes:

  • in enum filters should be instances of the enum

v0.9.3 (2020-12-30)

Bug Fixes:

  • resolve error with non-required pagination

v0.9.2 (2020-12-30)

v0.9.1 (2020-12-30)

Bug Fixes:

  • properly represent boolean filters

v0.9.0 (2020-12-29)

Features:

  • filters as input objects

Improvements:

  • update to latest ash

v0.8.0 (2020-12-02)

Features:

  • support arguments

Bug Fixes:

  • resolve testing compilation errors

v0.7.5 (2020-12-01)

Bug Fixes:

  • don't require attributes that have a default value

v0.7.4 (2020-12-01)

Bug Fixes:

  • remove IO.inspect

v0.7.3 (2020-12-01)

Bug Fixes:

  • undo change of global types

v0.7.2 (2020-12-01)

Bug Fixes:

  • always add global types

v0.7.1 (2020-11-30)

Bug Fixes:

  • require absinthe_plug

v0.7.0 (2020-11-18)

Features:

  • Support configuring identities (#8)

  • support using identities for gets

v0.6.3 (2020-11-12)

Bug Fixes:

  • correct sorting enum/args list

Improvements:

  • create input honors required relationships

  • add more NonNulls

v0.6.2 (2020-11-06)

Bug Fixes:

  • allow null sorts

v0.6.1 (2020-11-06)

Bug Fixes:

  • default_page_size -> default_limit

v0.6.0 (2020-11-06)

Features:

  • overhaul, better type support, pagination

Bug Fixes:

  • use the correct tenant function

v0.5.0 (2020-10-28)

Features:

  • support multitenancy (#7)

v0.4.0 (2020-10-10)

Features:

  • update to latest ash

Bug Fixes:

  • fix usage of new Ash.Query.filter/2

v0.3.2 (2020-09-28)

Bug Fixes:

  • set api_opts properly

v0.3.1 (2020-09-28)

Bug Fixes:

  • dataloader errors w/ associations

v0.3.0 (2020-09-24)

Features:

  • rewrite with dataloader

  • rewrite with dataloader

Bug Fixes:

  • use module name specific to the api

  • support booleans

v0.2.1 (2020-08-26)

Bug Fixes:

  • use InputObjectDefinition for relationship change

v0.2.0 (2020-08-18)

Features:

  • update to latest ash

v0.1.3 (2020-08-17)

Bug Fixes:

  • don't add graphql types if API doesn't compile

v0.1.2 (2020-08-14)

Bug Fixes:

  • get mix check passing

  • include initial files

v0.1.1 (2020-08-13)

Bug Fixes:

  • include initial files

v0.1.0 (2020-08-13)

Features:

  • initial POC release