Skip to content

Releases: peachpiecompiler/peachpie

v1.1.9

24 May 12:45
Compare
Choose a tag to compare

Maintenance release with fixes and updated parser.

v1.1.5

25 Jan 12:48
Compare
Choose a tag to compare

maintenance release; avoids a few falsy notices in array functions and is_readable() function

v1.1.4

23 Jan 12:49
Compare
Choose a tag to compare

This release has updated PHP syntax parser and PHAR parser. This fixes a few issues as well as it allows parsing a complete range of PHP 5,7 and PHP 8 sources. (It doesn't mean it compiles all the PHP 8.2 quirks and features tho - see #765 and #959)

PHPDoc

Updated Doc Comments parser, and dropped support for type hinting from PHPDoc; this feature was useful when there was no type-hinting in PHP itself. Currently, function parameters and properties can be type-hinted using PHP syntax.

Fixes:

  • post-increment of aliased variable (#1086)
  • match with multiple conditions (#1098)

v1.0.25

16 Nov 21:19
Compare
Choose a tag to compare

This is the netstandard2.1 release with the same features as v1.1.3

v1.1.3

16 Nov 21:18
Compare
Choose a tag to compare

maintenance release,

  • fixes header() function so it won't report warnings on CLI
  • fixes PDO execute() #1069
  • mysqli_report()
  • PHP 8 Attribute class
  • faster file_exists()

v1.1.2

08 Oct 17:07
Compare
Choose a tag to compare
  • fixes White Screen of Death when running from Visual Studio (reverts use of I/O pipelines) (#1070)
  • implements mysqli_report()
  • fixes PDO statement execute (#1069)
  • MySql and MySqli err code is correct (not -1 always)

v1.1.1

05 Oct 09:42
Compare
Choose a tag to compare

Fixes SDK to be used from Visual Studio.

v1.1.0

03 Oct 10:54
Compare
Choose a tag to compare

Targeting net5.0 and newer now, so we can make use of the latest API. When running on older .NET runtimes, please use the 1.0.x versions.

Sample project file .msbuildproj:

<Project Sdk="Peachpie.NET.Sdk/1.1.0">
  <PropertyGroup>
    <OutputType>library</OutputType>
    <TargetFramework>net6.0</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="**/*.php" />
  </ItemGroup>
</Project>

Breaking

  • Requires .NET Runtime 5.0 or higher.

Optimizations

  • ASP.NET Core middleware takes advantage of I/O pipelines.
  • avoids allocations in ASP.NET Core request pipeline and string encoding.
  • avoids more allocations in request handling, hash, random_int, mbstring, stripcslashes, URL encoding, echo of complex strings, bin2hex.

Fixes

  • Compiling of use of a trait whose definition is ambiguous (#1063)

v1.0.24

06 Sep 12:04
Compare
Choose a tag to compare
  • custom PDO drivers can be registered by extensions (#1057)
  • compiler analyses types of varargs
  • mysqli options relative paths are resolved
  • PhpValue can be cast to decimal (in C#)

v1.0.23

25 Jul 13:43
Compare
Choose a tag to compare

hotfix f20c5fb