diff --git a/CHANGELOG.md b/CHANGELOG.md index 97508f6..83ee482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,38 @@ +# 0.8.12 + +### Features +- Add `initPorts` for dynamically initializing ports +- Emit `destroy` event when the instance was destroyed +- Add experimental feature to lock the instance +- Improve security for environment variable node by using connection rule +- Add experimental `Blackprint.Types.Slot` for ports with lazy type assignment +- Add event nodes feature +- Handle namespaced variable or nodes + +### Bug Fix +- Emit internal event when function port was renamed +- Fix event to be emitted to root instance +- Fix function node that was not being initialized if created manually at runtime +- Fix route port connection and array input data +- Immediate init interface for single node creation +- Improve performance and fix execution order for with `StructOf` feature +- Reset updated cable status when disconnected +- Save port configuration and use it for creating function port +- Improve code for step mode execution +- Replace dot settings's internal save name with underscore +- Disable port manipulation on locked instance +- Put id as title if doesn't have custom title +- Avoid calling update on cable connection when the node having input route +- Remove internal marker to avoid dynamic port connection on outer function port +- Fix node update using default input value when cable was disconnected +- 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 +- Validate namespace name +- Add options to disable cleaning the instance when importing JSON + # 0.8.0 ### Features @@ -33,22 +68,22 @@ $instance->getNode(0); // Before $instance->ifaceList[0]; // After ``` -- `.update` function will no longer receive parameter if `.partialUpdate` is not set to true +- `.update` function will no longer receive cable parameter if `.partialUpdate` is not set to true ```php // Before class MyNode extends \Blackprint\Node { - function update($cable){...} + function update($cable){...} } // After class MyNode extends \Blackprint\Node { - function __construct($instance){ - // ... - $this->partialUpdate = true; - } + function __construct($instance){ + // ... + $this->partialUpdate = true; + } - function update($cable){...} + function update($cable){...} } ``` diff --git a/composer.json b/composer.json index 55efbbf..abbb0a1 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,13 @@ { "name":"blackprint/engine", "description": "PHP Engine for Blackprint", - "version": "0.8.0", + "version": "0.8.12", "keywords": ["blackprint", "engine"], "license":"MIT", "require": { "php": "^8.1", - "ext-json": "*" + "ext-json": "*", + "php-ds/php-ds": "^1.4" }, "autoload": { "files": ["src/Internal.php"], @@ -14,4 +15,4 @@ "Blackprint\\": "src/" } } -} \ No newline at end of file +}