Tags: inphinit/framework
Tags
Version 0.5.13 - Improved performance of `Inphinit\Experimental\Session` and `Inphinit\Packages` - `Inphinit\Helper::parseVersion()` use "Semantic Versioning 2.0.0" now - New param value for Request::is() method, eg: `Request::is('prefetch')` check if exists `Purpose` or `X-Moz` or `X-Purpose` headers, if exist check if value is `prefetch` (case-insenstive) - Improved performance of `Inphinit\Routing\Route` if is not using regex - Removed unnecessary check in `UtilsAutoload` function - Classes that are no longer experimental and are now available in the main namespace (can still be used with the "experimental" namespace to avoid breaking old projects): - `Inphinit\Experimental\Config` moved to `Inphinit\Config` - `Inphinit\Experimental\Debug` moved to `Inphinit\Debug` - `Inphinit\Experimental\Dir` moved to `Inphinit\Dir` - `Inphinit\Experimental\Dom\Document` moved to - `Inphinit\Experimental\Dom\DomException` moved to - `Inphinit\Experimental\Dom\Selector` moved to - `Inphinit\Experimental\Exception` moved to `Inphinit\Exception` - `Inphinit\Experimental\Maintenance` moved to `Inphinit\Maintenance` - Methods from `Inphinit\Experimental\File` class that are no longer experimental and are now available in `Inphinit\File` class (can still be used with the `Inphinit\Experimental\File` class to avoid breaking old projects): - `Inphinit\Experimental\File::lines()` moved to `Inphinit\File::lines()` - `Inphinit\Experimental\File::portion()` moved to `Inphinit\File::portion()`
Version 0.5.12 👾 Fixed static method Dom\Document::validTag usage Removed redundancies Improved Experimental\File::isBinary and Experimental\File::size Deprecated Inphinit\Experimental\Http\Status, use Inphinit\Http\Status Fixed Routing\Quick::verbs, replace empty by $var == '' Fixed File::exists Optimized Uri::canonpath Small improvements
Version 0.5.11 👾 - Fixed `INPHINIT_URL` - Fixed: "empty" (`0`, `"0"` and `0.0`) values were considered `false` in `if`s (and conditions like: `foo ? result1 : result2;`) when in many situations they should be accepted as values - Fixed `Inphinit\Experimental\Negotiation` headers - New method: `Inphinit\Experimental\Negotiation::fromString(string $str)`, eg.: parse an HTTP response in string - Fixed `Inphinit\Cache` when `system/cache/` folder does not exist - Improved several ifs to improve reading and gain some performance - Great performance improvement in `Inphinit\Experimental\Dir` class - `Inphinit\Experimental\HttpRedirect::only()` triggers finish event - Fixed `Inphinit\Experimental\File::portion()` and `Inphinit\Experimental\File::lines()` - 21:15) - `Request::query()` returns NULL if query if not defined - `Redirect::only()` trigger `finish` event - Removed `Inphinit\Experimental\Http\Status` (use: `Inphinit\Http\Status`) - Several performance improvements