Releases: Blackprint/engine-js
Releases · Blackprint/engine-js
v0.9.2
v0.9.1
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 firstjson.imported
instance event - Auto trigger
node.update
wheninitUpdate
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
Breaking Changes
- Change callable output port type with Trigger type
- Renamed type:
Function
toBlackprint.Types.Trigger
- Renamed type:
- Renamed type:
Blackprint.Port.Route
toBlackprint.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
Bug Fix
- Fix internal status reset
Changes
- Experimental code generation was migrated to other repository
v0.8.13
Bug Fix
- Fix error when creating event or function node
- Fix imported instance event
Feature
- Add experimental code generation
v0.8.12
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
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
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
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
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