Skip to content

Latest commit

 

History

History
186 lines (119 loc) · 7.39 KB

CHANGELOG.md

File metadata and controls

186 lines (119 loc) · 7.39 KB

Changelog

0.5.4

0.5.3

0.5.2

0.5.1

0.5.0

  • Feature: Support @composeDirective

  • Bug Fix: Import directive definitions when a custom prototype is used

  • BREAKING (only if migrating from 0.4.2): Using a custom prototype will now require using the following method:

    defmodule MyApp.MySchema do
      use Absinthe.Schema
      use Absinthe.Federation.Schema, prototype_schema: MyApp.MySchemaPrototype
    

    instead of

    defmodule MyApp.MySchema do
      use Absinthe.Schema
      use Absinthe.Federation.Schema, skip_prototype: true
      @prototype_schema MyApp.MySchemaPrototype
    

0.4.2

0.4.1

0.4.0

0.3.2

0.3.1

  • Add @link directive for importing directives

    Previously, import_sdl was necessary to import Federation 2 directives. The new link macro abstracts this and adds the @link directive according to the spec. Please refer to the README for usage details.

0.3.0

  • BREAKING: Parent type for entities to have properly-cased keys

    Previously, the entity resolvers had a parent map with atom keys that were camelCased if the field name in the query was camelCased. With this version, the parent type's keys will be converted to internal naming convention of your Absinthe.Adapter, defaulting to snake_cased key names.

    You may need to update your extended type resolvers to receive parent type maps with snake_cased keys.

  • BREAKING: @key directive to convert snake_cased field names to camelCased

    Previously, the key_fields directive was used with camelCased field names, such as key_fields("someLongKeyName"). This translated to @key(fields: "someLongKeyName") in the schema. If the directive was added with key_fields("some_long_key_name"), it translated to @key(fields: "some_long_key_name") in the schema.

    With this version, adding snake_cased keys with this directive will be converted to the external naming convention of your Absinthe.Adapter, defaulting to camelCased field, such as key_fields("some_long_key_name") resulting in @key(fields: "someLongKeyName").

    • If you were using the key_fields directive with camelCased field names, they may be refactored later since they will not be modified.
    • If you were using it with snake_cased field names such as key_fields("some_long_key_name") you may need to make sure this change does not affect your schema.

0.2.53

0.2.52

0.2.51

0.2.5

0.2.4

0.2.3

0.2.2

0.2.1

  • Bug Fix: Loosen absinthe version reqs to allow 1.7.0

0.2.0

0.1.9

0.1.8

0.1.7

0.1.6

0.1.5

0.1.4

0.1.3

0.1.2

0.1.1

0.1.0