Skip to content

Releases: nelson-ai/semantic-graphql

v0.6.1

23 Feb 15:28
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release

Bug fixes:

  • Improved isIri to support more IRIs. See #1 and #2.

v0.6.0

30 Jan 15:35
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

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

30 Dec 13:33
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Bug fixes:

  • Bug on owl:inverseOf inference that broke the feature in some cases.

v0.5.0

23 Dec 10:21
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Breaking changes:

  • getIriLocalName is not exposed/exported by the package anymore.

New features:

  • On in-graph properties, new shouldAlwaysUseInverseOf and shouldNeverUseInverseOf config keys to modify the resolver's behavior.

Bug fixes:

  • isGraphqlList is now also infered from isGraphqlConnection.
  • preventIdField config option can now also prevent the Relay id field.

Miscellaneous:

  • Tests! 🎉 (very basic for now)
  • Better docs

v0.4.0

15 Dec 10:44
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

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 a resolveType 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

12 Dec 12:56
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Bug fixes:

  • Warn when traversing graph and encoutering missing vertices

v0.3.0

09 Dec 17:05
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Breaking changes:

  • Cannot override relayEdgeType and relayConnectionType anymore. relayConnectionDefinitions override added instead.

Bug fixes:

  • Bug concerning the creation of Relay types

v0.2.1

08 Dec 17:21
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Bug fixes:

  • Fixed a bug concerning the inference of owl:inverseOf

v0.2.0

08 Dec 13:43
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

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

v0.1.0

30 Nov 09:14
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

First release! 🎉