Skip to content

Releases: hasura/ndc-promptql-programs

v0.5.0

28 Sep 18:03
4ede3d9

Choose a tag to compare

v0.5.0 Pre-release
Pre-release

Breaking change

This version changes the names of types that are generated. So upgrading from previous versions of connector will not be seamless if you have Permissions. Best to remove the existing connector and start fresh by retracking the programs.

Fixed

  • Fix Input/Output schemas with Array of objects losing its Type alias. Results in weird cases of NDC type merges due to auto generated NDC type names which collides with existing names.

v0.4.0

20 Aug 05:23
b71a38f

Choose a tag to compare

v0.4.0 Pre-release
Pre-release

Changed

  • Modified the error propagation from API engine to be more explicit and use SDK provided errors.
  • If Execute program API returns 200 but has error in response as not null, it is treated as an error,

Added

  • Support ddn connector upgrade command by adding upgradeConfiguration in connector-metadata.yaml

v0.3.0

13 Aug 08:45
bd6f74f

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

Breaking change

From this version, programs will be tracked as queries (the generated TS function will be annotated with @readonly JSDoc comment) instead of Mutations by default. This behaviour can be changed by setting the env var DEFAULT_READONLY to false (defaults to true).

Added

  • Individual program can be tracked as query/mutation by setting the config for that program by setting the value in configuration.json.
  • Ability to add description to a function by setting the description property.

v0.2.0

08 Aug 01:10

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Fixed

  • Fixes an issue where TS function generation fails due to special characters in the PromptQL Program.

v0.1.0

07 Aug 11:50

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

Added

  • Release the first version of PromptQL programs connector which takes in the Program (Automation) artifact as JSON and generates TS functions from it to be able to track them as commands