Releases: CopernicaMarketingSoftware/PHP-JS
Releases · CopernicaMarketingSoftware/PHP-JS
PHP-JS 1.4.6
- Fixed segmentation fault when circular references in PHP variables were used
PHP-JS 1.4.5
- Catch exceptions from PHP space when setting properties on object
PHP-JS 1.4.4
- fixed race condition in platform. It was possible that the worker thread would not be notified when we stopped the platform.
PHP-JS 1.4.3
- Fixed a bug where occasionally evaluate() would last the full timeout even though execution already finished.
PHP-JS 1.4.2
- Adding a timeout no longer causes evaluate() to crash if execution finishes before the timeout
- Fixed crash if evaluate() times out.
- Fixed segfault that occurred only when a timeout was set.
PHP-JS 1.4.1
Fix segfault when assigning 'null' value to the context.
PHP-JS 1.4.0
- Updated PHP-JS to be compatible with latest v8
- Updated PHP-JS to use the new PHP-CPP extension API and made booleans work correctly for PHP 7
- Got rid of the DelayedTask as it is no longer needed
PHP-JS 1.3.0
- Compatible with newer v8 version (5.2)
- Delayed tasks are executed in the correct thread (prevents deadlock)
PHP-JS 1.2.0
- Dispose of the isolate and shut down the platform properly on PHP engine shutdown
- Manually track external references, as v8 does not appear capable of freeing externals in a timely manner - not even if you shutdown the entire v8 platform
PHP-JS 1.1.0
This release has several bugfixes and some new features
- Fix segfault when returning an object constructed in JS
- Isolate uses thread_local, which might fix intermittent crashes
- Implemented calling member functions on JS objects from PHP and return a Date object as object instead of string
- Added automagic string casting for JS objects
- You can now set a timeout when executing evaluate. Not specifying a timeout or setting it to 0 means no timeout.