Change Log
v1.5.0
Updated the supported runtimes for task functions
exh data schemas verify
andexh tasks create-repo
no longer require you to be authenticated@extra-horizon/javascript-sdk
has been updated to8.2.0
Unused dependencies have been removed
v1.4.0
Added a validation check for
id
properties in objects within arrays in data schemas, this will now be reported as an error if present.Added validation for duplicate transition names in data schemas, this will now be reported as an error if present.
Changed the strictness of validation for properties of input conditions. Modifiers such as
enum
,minLength
,maxLength
, etc... will no longer produce an error if not present in the condition property.
v1.3.0
Added a command to synchronize Dispatchers
exh dispatchers sync --file=<path>
the file argument must point to a JSON file containing an array of Dispatchers to be synchronized.Added Dispatchers to the general
exh sync
command, this will synchronize all Dispatchers within a file nameddispatchers.json
in the working directory or within the providedpath
argument directory.Added an argument
exh sync --dispatchers
to synchronize only Dispatchers.Added arguments to clean up Extra Horizon Dispatchers during synchronization
exh dispatchers sync --clean
andexh sync --cleanDispatchers
. These arguments will remove all Dispatchers created by the CLI that are no longer present in the local Dispatchers file.
v1.2.0
Added a sync argument
exh sync ... --ignoreSchemaVerificationErrors
to bypass schema verification errors, this allows schemas to be synced even if errors are reportedAdded a schema sync argument
exh data schemas sync ... --ignoreVerificationErrors
to bypass schema verification errors, this allows schemas to be synced even if errors are reportedFixed an issue synchronizing statuses with an existing schema, excess properties should now be correctly removed from statuses
Updated the supported runtimes for tasks
The
--help
information now correctly displaysexh
rather thanindex.js
as the command.
v1.1.0
Added single file sync command for schemas with
exh data schemas sync --file=<path>
Added a dry run argument for schema sync
exh data schemas sync --file=<path> --dry
. This will report the properties to be added, removed and updated in the terminal, without persisting schema changes.Added verification and validation for statuses that are defined, but not present in transitions.
Added validation to ensure that properties in a creation transition exist in the schema properties.
Added verification and validation of transition conditions.
Added terminal notifications for if a newer release of the CLI available.
v1.0.4
Security update
v1.0.3
Fix setting of execution permission
Set credentials as environment variables as well, but only if they're not defined yet
v1.0.2
Fix JSON schema for transition where
configuration
was marked as mandatory
v1.0.1
Fixed broken environment variables
v1.0.0
Add support for setting execution permission when syncing a task. Options are
permissionRequired
,allUsers
orpublic
.Remove implicit settings from task config syncing: some settings, such as
memoryLimit
ortimeLimit
, were given default values when not specified in task config. This can give undesired results, for example overriding custom values in the backend. This change causes the backend defaults to be used if not specified in the task-config.json. Please verify that this is the desired behaviourAdd support for setting
retryPolicy
in task-config.json.Example task-config.json can be found here.
Last updated