Skip to content

Journey.js v1.2.0 - Use Strict! Styling Updates! New Options! Lots, lots more...

Compare
Choose a tag to compare
@williamtroup williamtroup released this 04 Apr 18:30
· 175 commits to main since this release
5805463

New Features:**

  • The "Do not show again" checkbox shown in the dialog can now be styled!

Binding Options:**

  • BREAKING: The binding attribute "data-journey-options" has been renamed to "data-journey-js".
  • BREAKING: All binding option custom triggers are now available under a new area called "events".

Configuration Options:

  • Added a new configuration option called "objectErrorText", which states the error text that should be shown when an object error is detected (defaults to "Errors in object: {{error_1}}, {{error_2}}").
  • Added a new configuration option called "attributeNotValidErrorText", which states the error text that should be shown when a binding object isn't valid (defaults to "The attribute '{{attribute_name}}' is not a valid object.").
  • Added a new configuration option called "attributeNotSetErrorText", which states the error text that should be shown when a binding attribute isn't set (defaults to "The attribute '{{attribute_name}}' has not been set correctly.").

Improvements:

  • Added "use strict" support internally and updated all public functions to use the new scope.
  • All default parameters are now read more accurately and apply the correct defaults.
  • The public function "setConfiguration()" will now only update the configuration (and refresh the displays) if something in the configuration has been changed.

Fixes:

  • Fixed a minor formatting issue in the "package.json" file.