Releases: hasura/ndc-promptql-programs
Releases · hasura/ndc-promptql-programs
v0.5.0
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
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 notnull
, it is treated as an error,
Added
- Support
ddn connector upgrade
command by addingupgradeConfiguration
inconnector-metadata.yaml
v0.3.0
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
v0.1.0
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