tag:github.com,2008:https://github.com/peachpiecompiler/peachpie/releases Release notes from peachpie 2024-08-22T12:54:25Z tag:github.com,2008:Repository/51158201/v1.1.10 2024-08-23T13:18:02Z v1.1.10 <p>This release improves compatibility with WordPress, enhances performance, and adds some interoperability features.</p> <h2>New functions</h2> <ul> <li><code>filter_var_array</code></li> <li><code>fputcsv</code> with correct parameters</li> <li><a href="https://github.com/peachpiecompiler/peachpie/commit/4980fd9c847b02bb398c9803eaa9b539bc81a812">stream_context_create() with params argument</a></li> <li><a href="https://github.com/peachpiecompiler/peachpie/commit/c6a1c7aeabdde7dff5ae8fd6d589b2c84c48c02d">PHP 8.2 PCRE support for the n option</a></li> <li>spread array operator</li> </ul> <h2>Interoperabiity</h2> <ul> <li>Support for using CLR events with PHP callable (<a href="https://docs.peachpie.io/net/type-system/#c-event" rel="nofollow">https://docs.peachpie.io/net/type-system/#c-event</a>)</li> <li><a href="https://docs.peachpie.io/php/msbuild/#assemblyatribute" rel="nofollow">AssemblyAttribute</a> MSBuild property.</li> <li><code>get_</code>/<code>set_</code> method automatically synthesizes a CLR property with the same name</li> </ul> <h2>Optimizations</h2> <ul> <li>string evaluation uses much less allocations</li> <li><code>version_compare()</code> is without allocations</li> <li><code>glob</code> uses less allocations</li> <li><a href="https://github.com/peachpiecompiler/peachpie/commit/68a5b6bd3c0ccef3e3856da7fef672dd7e8ff94a">overload resolution using named arguments</a>: better compile time method binding, avoids some dynamic calls in run-time.</li> </ul> <h2>Fixes</h2> <ul> <li>Diagnostic for <code>printf</code> with more than 9 arguments checks the arguments correctly.</li> </ul> jakubmisek tag:github.com,2008:Repository/51158201/v1.1.9 2023-05-24T12:45:17Z v1.1.9 <p>Maintenance release with fixes and updated parser.</p> jakubmisek tag:github.com,2008:Repository/51158201/v1.1.8 2023-05-24T12:33:59Z v1.1.8 No content. jakubmisek tag:github.com,2008:Repository/51158201/v1.1.6 2023-02-14T16:21:08Z v1.1.6 No content. jakubmisek tag:github.com,2008:Repository/51158201/v1.1.5 2023-01-25T12:48:23Z v1.1.5 <p>maintenance release; avoids a few falsy notices in <code>array</code> functions and <code>is_readable()</code> function</p> jakubmisek tag:github.com,2008:Repository/51158201/v1.1.4 2023-01-23T12:49:52Z v1.1.4 <p>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 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="630336412" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/765" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/765/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/765">#765</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="892149405" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/959" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/959/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/959">#959</a>)</p> <p><strong>PHPDoc</strong></p> <p>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.</p> <p><strong>Fixes:</strong></p> <ul> <li>post-increment of aliased variable (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1454373804" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/1086" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/1086/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/1086">#1086</a>)</li> <li><code>match</code> with multiple conditions (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1537036508" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/1098" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/1098/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/1098">#1098</a>)</li> </ul> jakubmisek tag:github.com,2008:Repository/51158201/v1.0.25 2022-11-16T21:19:17Z v1.0.25 <p>This is the <code>netstandard2.1</code> release with the same features as <code>v1.1.3</code></p> jakubmisek tag:github.com,2008:Repository/51158201/v1.1.3 2022-11-16T21:18:31Z v1.1.3 <p>maintenance release,</p> <ul> <li>fixes header() function so it won't report warnings on CLI</li> <li>fixes PDO execute() <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1380937017" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/1069" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/1069/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/1069">#1069</a></li> <li>mysqli_report()</li> <li>PHP 8 <code>Attribute</code> class</li> <li>faster <code>file_exists()</code></li> </ul> jakubmisek tag:github.com,2008:Repository/51158201/v1.1.2 2022-10-08T17:07:50Z v1.1.2 <ul> <li>fixes White Screen of Death when running from Visual Studio (reverts use of I/O pipelines) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1401360034" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/1070" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/1070/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/1070">#1070</a>)</li> <li>implements <code>mysqli_report()</code></li> <li>fixes PDO statement execute (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1380937017" data-permission-text="Title is private" data-url="https://github.com/peachpiecompiler/peachpie/issues/1069" data-hovercard-type="issue" data-hovercard-url="/peachpiecompiler/peachpie/issues/1069/hovercard" href="https://github.com/peachpiecompiler/peachpie/issues/1069">#1069</a>)</li> <li>MySql and MySqli err code is correct (not <code>-1</code> always)</li> </ul> jakubmisek tag:github.com,2008:Repository/51158201/v1.1.1 2022-10-05T09:42:34Z v1.1.1 <hr> <p>Fixes SDK to be used from Visual Studio.</p> jakubmisek