Change Log
v1.10.1
Updated the ExH SDK to
8.8.1to fix a security warning fromaxios
v1.10.0
Introduced
exh data schemas initto create a new schema file with a basic structureAdded autocomplete support and inline documentation for
task-config.jsonVia
"$schema": "https://swagger.extrahorizon.com/cli/1.10.0/config-json-schemas/TaskConfig.json"Automatically added when using
exh tasks create-repo
You no longer need to be logged in to run
exh completionUpdated the
archiverpackage to resolve some deprecationsRemoved the dependency on
joianduuid
v1.9.1
Updated the ExH SDK to
8.7.1to fix a security warning fromform-data
v1.9.0
Introduced the
executionCredentialsfield in the task configuration:Specify the permissions your task needs
The CLI automatically creates a user, role, and credentials for your task
These credentials are injected as environment variables into the task automatically
If you want to migrate your existing tasks to use this feature, see the migration guide.
v1.8.2
Updated the ExH SDK to
8.6.0to fix a security warning fromaxios
v1.8.1
Updated the supported Task Service runtime options
v1.8.0
Schemas:
createMode,readMode,updateModeanddeleteModehave been updated to accept multiple granular options, matching the revamped access mode changes in Data Service1.4.0Transition Action
type: "task"now supports thepriorityfieldTransition
afterActionsnow supports thetype: "task"Actionexh data schemas syncnow doesn't try to syncdescriptionfields for Conditions and Actions in thecreationTransition
v1.7.0
exh data schemas syncnow allows your schema.jsonfiles to contain a$schemapropertyThis allows you to specify a json-schema for the schema files themselves, providing hints and validation in your editor
Add
"$schema": "https://swagger.extrahorizon.com/cli/1.7.0/config-json-schemas/Schema.json"to the top of your schemas to use the same json-schema as the CLI does internally
exh data schemas syncnow allows all components in a schema to have adescriptionpropertyThese descriptions are not synced, but allow you to provide inline documentation for the components in your schema
Revamped the schema validation to use the more complete json-schema definition
This affects
exh data schemas verifyas well asexh data schemas syncand more accurately reports errors in your schemasThis also means that some errors that were previously not reported might now be reported
We believe this is a good thing moving forward and we're happy to help you resolve any issues you might encounter
The
--ignoreSchemaVerificationErrorsflag can always be used to sync while you might be working on a schema with errors
Fixed some output inconsistencies in the sync commands
v1.6.1
exh data schemas syncno longer logs the full schema definition jsonFixed
exh data schemas syncnot being able to traverse an object definition with onlyadditionalPropertiesset
v1.6.0
Fixed some security vulnerabilities in the dependencies (Thanks @tran-simon)
Removed the update notifier. The version of the package we used had security vulnerabilities and we're unable to migrate to the latest version right now. We'll look into this again in the future.
Added the
exh whoamicommand, showing the currently logged in userAdded the
exh localizations synccommand, allowing you to sync localizations from a folder containing your translations (Thanks @Lroemon for the initial implementation)Added localization syncing support to the
exh synccommandThe
exh synccommand now also supports absolute paths for the--pathargument
v1.5.1
Now also publishing to the NPM registry, no longer needing to authenticate with GitHub Packages to install the CLI
v1.5.0
Updated the supported runtimes for task functions
exh data schemas verifyandexh tasks create-repono longer require you to be authenticated@extra-horizon/javascript-sdkhas been updated to8.2.0Unused dependencies have been removed
v1.4.0
Added a validation check for
idproperties 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 synccommand, this will synchronize all Dispatchers within a file nameddispatchers.jsonin the working directory or within the providedpathargument directory.Added an argument
exh sync --dispatchersto synchronize only Dispatchers.Added arguments to clean up Extra Horizon Dispatchers during synchronization
exh dispatchers sync --cleanandexh 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 ... --ignoreSchemaVerificationErrorsto bypass schema verification errors, this allows schemas to be synced even if errors are reportedAdded a schema sync argument
exh data schemas sync ... --ignoreVerificationErrorsto 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
--helpinformation now correctly displaysexhrather thanindex.jsas 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
configurationwas 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,allUsersorpublic.Remove implicit settings from task config syncing: some settings, such as
memoryLimitortimeLimit, 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
retryPolicyin task-config.json.Example task-config.json can be found here.
Last updated