Skip to content

Commit 5618b0a

Browse files
committed
Update to v0.8.12
1 parent 16292c2 commit 5618b0a

2 files changed

Lines changed: 46 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# 0.8.12
2+
3+
### Features
4+
- Add `initPorts` for dynamically initializing ports
5+
- Emit `destroy` event when the instance was destroyed
6+
- Add experimental feature to lock the instance
7+
- Improve security for environment variable node by using connection rule
8+
- Add experimental `Blackprint.Types.Slot` for ports with lazy type assignment
9+
- Add event nodes feature
10+
- Handle namespaced variable or nodes
11+
12+
### Bug Fix
13+
- Emit internal event when function port was renamed
14+
- Fix event to be emitted to root instance
15+
- Fix function node that was not being initialized if created manually at runtime
16+
- Fix route port connection and array input data
17+
- Immediate init interface for single node creation
18+
- Improve performance and fix execution order for with `StructOf` feature
19+
- Reset updated cable status when disconnected
20+
- Save port configuration and use it for creating function port
21+
- Improve code for step mode execution
22+
- Replace dot settings's internal save name with underscore
23+
- Disable port manipulation on locked instance
24+
- Put id as title if doesn't have custom title
25+
- Avoid calling update on cable connection when the node having input route
26+
- Remove internal marker to avoid dynamic port connection on outer function port
27+
- Fix node update using default input value when cable was disconnected
28+
- Fix dynamic port marker on internal interface
29+
- Fix type assigned on variable node
30+
- Force output port that use union to be Any type
31+
- Move port type re-assigment for output port
32+
- Improve output port's type when using port feature
33+
- Validate namespace name
34+
- Add options to disable cleaning the instance when importing JSON
35+
136
# 0.8.0
237

338
### Features
@@ -33,22 +68,22 @@ $instance->getNode(0); // Before
3368
$instance->ifaceList[0]; // After
3469
```
3570

36-
- `.update` function will no longer receive parameter if `.partialUpdate` is not set to true
71+
- `.update` function will no longer receive cable parameter if `.partialUpdate` is not set to true
3772

3873
```php
3974
// Before
4075
class MyNode extends \Blackprint\Node {
41-
function update($cable){...}
76+
function update($cable){...}
4277
}
4378

4479
// After
4580
class MyNode extends \Blackprint\Node {
46-
function __construct($instance){
47-
// ...
48-
$this->partialUpdate = true;
49-
}
81+
function __construct($instance){
82+
// ...
83+
$this->partialUpdate = true;
84+
}
5085

51-
function update($cable){...}
86+
function update($cable){...}
5287
}
5388
```
5489

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
{
22
"name":"blackprint/engine",
33
"description": "PHP Engine for Blackprint",
4-
"version": "0.8.0",
4+
"version": "0.8.12",
55
"keywords": ["blackprint", "engine"],
66
"license":"MIT",
77
"require": {
88
"php": "^8.1",
9-
"ext-json": "*"
9+
"ext-json": "*",
10+
"php-ds/php-ds": "^1.4"
1011
},
1112
"autoload": {
1213
"files": ["src/Internal.php"],
1314
"psr-4": {
1415
"Blackprint\\": "src/"
1516
}
1617
}
17-
}
18+
}

0 commit comments

Comments
 (0)