github nuwave/lighthouse v4.4.0
⚠️ v4.4.0

latest releases: v6.45.0, v6.44.2, v6.44.1...
4 years ago

⚠️ Warning

Contains an accidental BC that causes paginated fields to fail when the returned type name does not match a model. Fixed in v4.4.2.

Added

  • Add @count directive for counting a relationship #984
  • Allow overwriting the name of Enum types created through LaravelEnumType #968
  • Resolve models through Relay's global identification using @node #974
  • Add experimental @modelClass directive to map types to models. It will be renamed
    to @model in v5 #974

Fixed

  • Remove the extra new line from the returned value when using @globalId(decode: "ID") #982
  • Throw a syntax error instead of an exception when performing an empty request or a request with an empty query #989

Changed

  • Allow additional route configurations prefix and domain #951
  • Enable schema cache only when APP_ENV != 'local' #957

Fixed

  • Fix default model detection when using other directives combination with @paginate #974

Deprecated

  • Use the RegisterDirectiveNamespaces event instead of DirectiveFactory#addResolved() #950
  • Use @node instead of @model to resolve models through Relay's global identification #974

Don't miss a new lighthouse release

NewReleases is sending notifications on new releases.