Skip to content

Releases: nocode-js/sequential-workflow-editor

0.11.1

13 Nov 13:29
ee9035f
Compare
Choose a tag to compare

This version improves support for UMD bundles.

0.11.0

29 Oct 14:20
6c316c7
Compare
Choose a tag to compare

This version normalizes names of functions in ValueContext and PropertyValidatorContext classes.

The CustomValidatorContext class is deleted now, please use the PropertyValidatorContext class instead.

The PropertyModelBuilder class has deleted the customValidator function, please use the validator function instead.

0.10.0

19 Oct 21:16
0124d4e
Compare
Choose a tag to compare

This version deletes all deprecated *ValueModel functions. From now, use only create*ValueModel functions.

0.9.3

25 Sep 18:23
2f11515
Compare
Choose a tag to compare

Added hasVariable and hasVariables methods to the PropertyValidatorContext class.

0.9.2

23 Sep 21:34
bb2a228
Compare
Choose a tag to compare

This version fixes a bug in the ValueEditorFactoryResolver class. Now, when an editor is not found, the resolver throws an error.

0.9.1

21 Sep 20:43
c30a42a
Compare
Choose a tag to compare

This version exports the variableNameValidator function in the sequential-workflow-editor-model package.

0.9.0

20 Sep 19:02
c4940c6
Compare
Choose a tag to compare
  • Improved validation for the boolean value model.
  • Improved validation for the branches value model.
  • Internal changes preparing for the upcoming pro version.

0.8.0

05 Aug 20:48
160adc9
Compare
Choose a tag to compare

Updated the sequential-workflow-model dependency to the version 0.2.0.

0.7.2

19 Jul 20:39
770df05
Compare
Choose a tag to compare

We added a new type of a validator: step validator. It allows to restrict a placement of a step in a definition. For example, you can enforce that a step can be placed only inside a specific step.

createStepModel<WriteSocketStep>('writeSocket', 'task', step => {
  step.validator({
    validate(context: StepValidatorContext) {
      const parentTypes = context.getParentStepTypes();
      return parentTypes.includes('socket');
        ? null // No errors
        : 'The write socket step must be inside a socket.';
    }
  });
});

Additionally we've renamed:

  • the CustomValidatorContext class to PropertyValidatorContext,
  • the customValidator method of the PropertyModelBuilder class to validator.

0.7.1

15 Jul 19:49
70dec25
Compare
Choose a tag to compare

This version renames all *ValueModel functions to create*ValueModel, adding the create prefix.

// Old
stringValueModel({ ... });

// New
createStringValueModel({ ... });

This version doesn't introduce breaking changes. The old functions are still available, but they are deprecated.