Releases: Urigo/graphql-modules
Releases · Urigo/graphql-modules
v0.3.0
core
- Subscriptions Support w/ onConnect hook #267
- Add
config
andname
field inModuleSessionInfo
- Better error handling for undefined service identifier
- Better error handling for context builder
- 🚀 BREAKING CHANGE! Able to use
Inject
in a property and useInjectFunction
for factory functions instead ofInject
@Injectable()
class SomeProvider {
@Inject(SomeOtherProvider)
someOtherProvider: SomeOtherProvider;
}
resolvers: InjectFunction(SomeProvider)(someProvider => ({
foo: () => someProvider.foo()
}))
- 🚀BREAKING CHANGE! Now
session
name is used for the network request object passed from GraphQL-Server to prevent confusion betweenrequest
andreq
ofexpress
. - 🚀BREAKING CHANGE!
CommunicationBridge
is now deprecated; you can usePubSub
implementations recommended by Apollo.- You can see the docs for details and changes in the API.
v0.2.18
epoxy
- Fixed issues with merging GraphQL schemas that uses
extend type
syntax (#238)
core
- Fixed issues with context merging (#229)
- Fixed issues with Apollo
dataSources
integration (#229) - Support
resolverValidationOptions
(https://www.apollographql.com/docs/graphql-tools/generate-schema.html#makeExecutableSchema) - Prevent illegal resolver invocation and use way to access children cache (24aa36a)
- Fixes for modules cache (d74cc12)
- Ignore
scalar
resolvers during resolvers wrapping (76f0fc4)
di
- Fixed issues with exported
ProviderScope
(now exported as validenum
)
v0.2.17
- DI package is now seperated;
-
- Injectable and Inject are now in
@graphql-modules/di
instead of@graphql-modules/core
- Injectable and Inject are now in
- Do not add an extra schema definition to the final typeDefs.
- Introduce
configRequired
option; if it is true, it won't be able to generate schema without a valid configuration. directiveResolvers
support- Injection for factory functions using
Inject
decorator-like function. - Middleware option to mutate schema and injector
- Fix schema merging
- Do not emit scalars
v0.2.10
core
- Fix IResolver typings
- You can disable circular imports
-
mergeCircularImports: false
- You can manipulate
schema
and other generated parts of module using middleware -
middleware: ({ schema }) => { /*some logic*/ return { schema }; }
epoxy
- Extension nodes are now supported
-
extend type Something
- SchemaDefinition generation are now optional
-
useSchemaDefinition
v0.2.7
v0.2.6
v0.2.5
Epoxy
- Expose
DocumentNode
instead ofstring
.
Core
- Reflect the changes from
epoxy
API to exposeDocumentNode
.
Utils
- Added missing
getFieldsWithDirectives
function.
v0.2.4
Epoxy
- Fixed issues with schema merging that does not have valid AST Nodes (workaround for graphql/graphql-js#1575)
Logger
- Logger package is now removed.
Core
- Allow
extraSchemas
to be loaded into a module
v0.2.3
v0.2.1
Core
- Update dependencies and clean unused (#162, thanks @Intellicode)
- Better error handling (bb0d398, 39021d6), now each error will point to the correct module that caused it.
- Fixed issue with non-promise
contextBuilder
(04fdfb1) - Fix for non-functions resolvers (such as, directive resolver) (4c6ca80)
- Removed warnings that comes from
makeExecutableSchema
(18c2cd3) - Do not try to call
onRequest
on non-object providers (c70b9f9) - Added support for
schemaDirectives
(76b2d15) - DI refactor and remove config from factory functions (ae947bf, 03b7fd0)
Epoxy
- Fixed directive merging when trying to merge two
GraphQLSchema
objects (#185) - Fixed non-null array merging (fde72cc)
Docs / Website
- Updated README and usage (d3eaf58, thanks @RichardLitt )