0.28.0
0.28.0 (2024-06-06)
Breaking Change
- #811: Unified Deriving
-
π€ @nalchevanidze
-
**breaking change:**
directive defintinitions are required to be associated with
DIRECTIVE
type.instance GQLType MyDirective where type KIND Deprecated = DIRECTIVE
-
New features
- #836: Add Suffixes directive
- π€ @eunmin
-
Hi~! :) I'm having a great time with morpheus-graphql. This time I wanted to rename a type, so I tried to use Prefixes, Rename, DropNamespaces, but there was nothing suitable, so I created the Suffixes directive. Please take a look and merge or comment. Thanks.
- #849: Feature: disable introspection
-
π€ @nalchevanidze
-
In production, introspection can lead to safety problems, this function allows disabling introspection by configuration.
you can disable introspection on your apps by :
disableIntrospection
function
-
Bug Fixes
- #805: Support graphql-ws protocol, breaks existing subscriptions-transport-ws protocol
-
π¦ client
-
π€ @ropwareJB
-
+ Bump support to newer graphql-ws subscription protocol from deprecated + yesod example with node client using graphql-ws npm package. + Bump version to v0.28.0
This PR will cease support for the older protocol due to line, which changes the name of an event from 'data' to 'next':
https://github.com/morpheusgraphql/morpheus-graphql/pull/805/files#diff-d7568c77ceef4d42fcddd7e99c510f1d7d53592431ab6ff0027f1667b6de68deR160Deprecation notice:
https://www.npmjs.com/package/graphql-ws#disclaimerGraphql-ws protocol:
https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.mdDeprecated subscriptions-transport-ws protocol:
https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
-
Minor Changes
- #832: Optimize argument derivation
- π€ @nalchevanidze
- #833: useGQL classes
- π€ @nalchevanidze
- #834: improve deriving
- π€ @nalchevanidze
- #835: Gnmap proxy
- π€ @nalchevanidze
- #840: Fix Yesod ws example subscription
- π€ @ropwareJB
-
Yesod-pubsub example had a minor issue where the client was sending a malformed subscription request.
- #845: Update slack channel link
- π€ @nalchevanidze
- #856: hlint
- π€ @nalchevanidze
- #855: Allow morpheus-graphql-code-gen-utils to build with GHC 9.8
- #857: attoparsec-aeson
- π€ @nalchevanidze
- #853: compat: Support Aeson 2.2.x
- π€ @414owen
- #858: setup-examples
- π€ @nalchevanidze
- #859: Haskell stack config
- π€ @nalchevanidze
- #863: hconf-cli
- π€ @nalchevanidze
- #864: use bash to setup hconf
- π€ @nalchevanidze