v1.1.0
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)