Skip to content

0.22.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Oct 08:16
40c3b25

0.22.0 (2022-10-11)

Breaking Change

  • #758: fix(server): field directives
    • πŸ“¦ server

    • πŸ‘€ @nalchevanidze

    • - `importGQLDocument`, `importGQLDocumentWithNamespace` uses relative path and Describe directive - deprecated `description`, `getDescriptions` . - fix/implements `VisitField`

New features

  • #753: morpheus-graphql-server package
    • πŸ‘€ @nalchevanidze
    • - Data.Morpheus.Server is now part of package `moprheus-graphql-server` - new package `moprheus-graphql-server`
  • #754: feat: API Constraints
    • πŸ“¦ core, app

    • πŸ‘€ @nalchevanidze

    • - `withConstraint` allows us to apply a constraint function to `App` which is checked before each request.

      fixes #579

Bug Fixes

  • #755: 613 internal context
    • πŸ‘€ @nalchevanidze

    • - deprecated `unsafeInternalContext` use `asks` - `SelectionTree` exposes `getChildren`, `getChild`, `hasChild`, `getArguments` and `getArgument` - exposed directive `Describe` to describe fields, enums and types - deprecated `description` and `getDescriptions` in favour of `Describe { text ="some text" }` directive

      fixes #613
      fixes #642

  • #756: fix: enum visitor
    • πŸ“¦ server
    • πŸ‘€ @nalchevanidze
    • - fix/implement visitor functionalities for `VisitEnum` typeclass - implements `Rename` directive

Minor Changes

  • #757: type checked directive locations
    • πŸ‘€ @nalchevanidze
    • - exposes `fieldDirective'` and `enumDirective'` using type checked template Haskell names
  • #759: organize code gen
    • πŸ‘€ @nalchevanidze
    • introduce package `morpheus-graphql-code-gen-utils`
  • #760: Refactor code gen