Releases: peachpiecompiler/peachpie
Releases · peachpiecompiler/peachpie
v0.9.990
BCL
- more image* functions
- more PDO constants
- some PHP 8 functions
- pcre update, support for newline modifiers
- SimpleXMLElement::saveXML
Compiler:
- include resolved in compile time if possible
- more diagnostics
- traits CLI names sanitized
- cleaner compilation of func_get_args()
- improved analysis perf
- arrow functions support
- PHP7+ doublequoted string unicode codepoints
ASP.NET Core
- AddPhp() with options
- referenced PHP scripts added automatically (no need to specify website dll)
PHP 8.0
- bcl functions
- property can be set to 8.0
- throw expressions
- non-capturing catch
- trailing comma in param list
mixed
type- constructor property promotion
- all the syntax parsed, the rest of features ignored
Fixes
- json_last_error() resets after json_encode()
- request handler nullref fix
- deadlock fix in high load
- nonblocking aspnetcore request handler
finally
block fix in generators- indexer for CLR types
Sdk:
- checks composer.json versions and spdx validity
- sdk adds references to specific PDO driver from information in "require" section
v0.9.980
-
BCL
shell_exec
on Unix fixes (iolevel/wpdotnet-sdk#76)- PDOStatement::errorInfo(), PDOStatement::errorCode(), PDOException::errorInfo (#234)
- PDO named parameters in format
:name
supported (#748) base64_decode()
strictness (#739, iolevel/wpdotnet-sdk#70)fastcgi_finish_request()
(#737)- updated MySql connector
- PCRE support for UTF-8 byte sequences (#738)
-
Compiler
yield
from try/catch/finally (#604)return
from finally
-
Composer Autoloading (https://docs.peachpie.io/php/composer-json/)
"autoload"
section ofcomposer.json
is processed in build time- autoloaded classes annotated in build time
- autoloading is optimized by compiler and runtime
- autoloading does not need generated autoload stubs, handled in runtime implicitly
-
ASP.NET Core
- referenced PHP projects loaded automatically (ScriptLibraries option only needed to restrict what assemblies to be loaded)
- request timeout and request end support
$_SERVER['HTTPS']
set to '"on"' on secure connections (previously it wastrue
)
v0.9.970
Whats new:
- PDO:
- PDO::ATTR_STRINGIFY_FETCHES
- Sdk:
- resolves dependencies from
composer.json
- resolves dependencies from
- BCL
- filter_var filters
- preg_filter
- sockets
- lots of Core constants
- ftp_exec, sapi_windows_vt100_support
- getprotobyname, getprotobynumber
- stream_socket_enable_crypto
- shell_exec() on Unix
0.9.961
- updated dependencies
- fixes for .net framework
- added more BCL constants, functions and classes
- minor runtime fixes
v0.9.950
- more standard functions, classes and constants
should run on .NET Framework (strong signature issue)- files can be excluded from project in Visual Studio
- general issue fixes
- compiler consumes less memory
v0.9.920
- fixes issues with .NET Core SDK 3.1.200
- adds support for
int64
array keys
v0.9.910
https://www.nuget.org/packages/peachpie.net.sdk
update with the latest fixes and improvements
- improves emitted PDB; fixed debug sequences
- PCRE update
- $_FILES fixes
- added strict conversions
- fixes stack overflow and debug assertions
- internal PhpValue updates
- library functions fixes and updates
v0.9.900
- Improved PDO, Sqlite and other database operations.
- General compatibility and stability issues addressed.
- OpenSSL, GetText, Password extensions.
- Curl, Date, Json, SPL, mbstring, standard, extensions updated.
- DOM extension improvements.
- PCRE extension fixes.
- Fixed issues with generators, traits and anonymous functions.
- Compiler override resolution fixes.
- Compiler exception fixes.
- More compile time diagnostics.
$argv
,$argc
in comsole application fixes- Compiler embeds PHAR into PDB
- Runtime allows debug of eval'ed code (embeds eval'ed code into in-memory PDB).
v0.9.800
Fixes, more compatibility with PHP and updated Sdk.
- error messages are more precise
- updated issues to compiler and runtime stability
- sdk/version.props import
- updated Context API
Apps using the new Sdk have to make sure all the references to PeachPie were consolidated to this one.
v0.9.600
periodic pre-release
- fixes for asp.net core 3.0, using async streams
- updated pcre
- fixed load of issues
- more php compatibility improvements