Skip to content

Releases: Blackprint/engine-js

v0.9.2

19 Mar 10:09
704c4f8
Compare
Choose a tag to compare

Bug Fix

  • Fix validation to avoid prototype pollution

v0.9.1

19 Feb 13:18
6753d99
Compare
Choose a tag to compare

Features

  • Add function to rename events, variable name, and function namespace
  • Add feature to delete function, function port, variable, and event
  • Add .stop property to stop data flow in the instance
  • Emit ready event when function node is initialized
  • Emit event when creating event and handle environment variable deletion
  • Watch function node's port name changes when renaming from other node
  • Watch event namespace changes when renaming from other node
  • Improve utils for set and delete object property
  • Add and improve Bun and Node.js loader
  • Add .ready function for waiting until first json.imported instance event
  • Auto trigger node.update when initUpdate static class property exist
  • Improve TypeScript definition file

Bug Fix

  • Avoid emitting non-object data when emitting event data
  • Avoid creating a function node inside of the node itself
  • Emit some event and avoid trigger resave on function node
  • Fix import error because duplicated event export
  • Fix error when renaming port name for function node
  • Make sure the event schema option is object
  • Rename environment node inside all function node
  • Some modification for remote collaboration
  • Stop execution order inside function if root is stopped
  • Use default port output value as input value if exist

v0.9.0

23 Jun 19:56
7b95dd2
Compare
Choose a tag to compare

Breaking Changes

  • Change callable output port type with Trigger type
    • Renamed type: Function to Blackprint.Types.Trigger
  • Renamed type: Blackprint.Port.Route to Blackprint.Types.Route

Features

  • Allow function node to be paused on creation
  • Add feature to linking variable between instances

Bug Fix

  • Fix error when using var node for trigger type port
  • Fix function input port that was created 2 times
  • Fix cable input's route port for skeleton
  • Add input port that have default value for skeleton
  • Fix incorrect type for variable's output port
  • Fix route check inside function node
  • Fix error when triggering function output from variable node

v0.8.15

16 May 04:10
c1c6fb0
Compare
Choose a tag to compare

Bug Fix

  • Fix internal status reset

Changes

v0.8.13

14 Mar 08:55
6203460
Compare
Choose a tag to compare

Bug Fix

  • Fix error when creating event or function node
  • Fix imported instance event

Feature

  • Add experimental code generation

v0.8.12

25 Feb 07:47
c3477f3
Compare
Choose a tag to compare

Bug Fix

  • Emit updated event when the node was updated
  • Fix error when having private variable on function node
  • Optimize code for improving the performance

v0.8.11

12 Feb 08:15
81bdd3c
Compare
Choose a tag to compare

Feature

  • Add options to disable cleaning the instance when importing JSON

Bug Fix

  • Fix incorrect reference that cause error when removing environment node
  • Remove internal marker to avoid dynamic port connection on outer function port

v0.8.10

09 Feb 19:36
5de2919
Compare
Choose a tag to compare

Deprecation

  • Instance's exported JSON schema was updated, please import and re-export your old exported JSON before v1.0. The old schema will still importable on engine-js, but it will show a deprecation notice.

Bug Fix

  • Fix instance's createEvent call when importing JSON
  • Fix node update using default input value when cable was disconnected

v0.8.9

05 Feb 09:47
2889953
Compare
Choose a tag to compare

Features

  • Add custom event nodes
  • Add event nodes feature

Bug Fix

  • Fix removed event listener when sketch container was removed
  • Fix dynamic port marker on internal interface
  • Fix type assigned on variable node
  • Force output port that use union to be Any type
  • Move port type re-assigment for output port
  • Improve output port's type when using port feature
  • Update error message and remove unused event emit
  • Validate namespace name
  • Validate port name

v0.8.8

29 Jan 10:31
6b22627
Compare
Choose a tag to compare

Features

  • Handle namespaced variable or nodes
  • Add support for branched cable on route cable
  • Add initPorts for dynamically initializing ports

Bug Fix

  • Disable port manipulation on locked instance
  • Put id as title if doesn't have custom title
  • Fix route port call on branched cable
  • Avoid calling update on cable connection when the node having input route
  • Show cable flow on route cable
  • Cast port name to string

v0.8.7 is skipped