github graphile/crystal v4.14.0

7 months ago

PostGraphile V5 beta is here!

Find out more:

Also check out Benjie's GraphQLConf talk on Grafast, the new technology that forms the heart of PostGraphile V5:

Watch the video

V4.14.0

We're not anticipating adding any more features to PostGraphile V4, so this is likely the last minor release (patch releases may still occur if there are bugs). Should you need things that V4 cannot give you, such as support for newer GraphQL.js versions, please consider moving to PostGraphile V5.

Changes in this release:

  • extendedFormatError is now exported, so you can use it in your own handleErrors callback should you so desire (thanks @arcanis)
  • --use-partitioned-parent / usePartitionedParent: true option now exists so that if you're using PostgreSQL partitions you can expose the "parent" of the partition rather than the individual partitions. This is recommended for everyone using partitions, but cannot be enabled by default as it would be a breaking change. (thanks to @msjonker)
  • It's now possible to use enum tables as arguments to functions via PostgreSQL domains (thanks to @tsnobip and @ben-pr-p)
  • Fixes a bug where purely polymorphic types are not added to the schema if not referenced directly (thanks @mgagliardo91)
  • Adds option to immediately get a result from simple subscriptions via Subscription.listen(initialEvent: Boolean! = false) argument (thanks @ol-teuto)
  • Hopeful performance boost for people using makeExtendSchemaPlugin thanks to using useAsterisk in more places

Don't miss a new crystal release

NewReleases is sending notifications on new releases.