Releases: nelson-ai/semantic-graphql
Releases · nelson-ai/semantic-graphql
v0.6.1
v0.6.0
Breaking changes:
- The names of generated GraphQL types are now capitalized regardless of the terminology.
New features:
resolvers.resolveSourceTypes
can now return a Promise.
Miscellaneous:
SemanticGraph#toString
now displays the number of triples in the graph.- Triples with predicates not used by the lib are not stored in memory.
- Improved documentation.
- Improved tests.
v0.5.1
v0.5.0
Breaking changes:
getIriLocalName
is not exposed/exported by the package anymore.
New features:
- On in-graph properties, new
shouldAlwaysUseInverseOf
andshouldNeverUseInverseOf
config keys to modify the resolver's behavior.
Bug fixes:
isGraphqlList
is now also infered fromisGraphqlConnection
.preventIdField
config option can now also prevent the Relay id field.
Miscellaneous:
- Tests! 🎉 (very basic for now)
- Better docs
v0.4.0
Breaking changes:
resolvers.resolveSourceTypes
must now be sync.- Interface type resolving was rolled back on InterfaceTypes (instead of ObjectTypes). Better support, although still incomplete. External ObjectTypes must not provide an
isTypeOf
method anymore, instead external InterfaceTypes must provide aresolveType
method.
Bug fixes:
- Fragile type resolution on interfaces. Will require further work.
Miscellaneous:
- Promisify using
Promise.resolve
instead of home-made function. It's slower but safer.
v0.3.1
v0.3.0
v0.2.1
v0.2.0
Breaking changes:
- Removed resolvers.resolveSourceClassIri
- Added resolvers.resolveSourceTypes
- Interface type resolving now happens on GraphQLObjectTypes. This means that your external GraphQLObjectTypes must provide an isTypeOf method.
New features:
- Promise support for all resolvers
Bug fixes:
- Fixed requireGraphqlRelay behavior
- Fixed a bug on SemanticGraph#addFieldOnObjectType
- Fixed a bug that happened when inferring owl:inverseOf on properties that are a rdfs:subProperty with no rdfs:range
- Fixed a circular dependency in ./src/graphql
Miscellaneous:
- Add MIT license
- Add .npmignore file
- id field now appears on top when introspecting
- graphqlDescription are now created from the locale in config