Releases: fastsitephp/fastsitephp
Releases · fastsitephp/fastsitephp
FastSitePHP Framework v1.5.1
- Updates to handle Deprecation Notices in PHP 8.1 and 8.2
FastSitePHP\Lang\Time::secondsToText()FastSitePHP\Lang\L10N->formatDateTime()FastSitePHP\Lang\L10N->formatNumber()FastSitePHP\Data\Validator->checkType()
FastSitePHP Framework v1.5.0
- Added Support for PHP 8.2
- Dynamic Properties have been Deprecated by default as of PHP 8.2 so both
ApplicationandAppMinclasses now extend from stdClass to support Dynamic Properties. FastSitePHP is designed for flexibility so Dynamic Properties are an important feature. - This logic in custom Error Templates
(isset($e->severityText) ? ' (' . $e->severityText . ')' : '')needs to be replaced with(isset($severityText) ? ' (' . $severityText . ')' : '') - For PHP 8.2+ the Utf8 Class now uses
iconv('windows-1252', 'UTF-8', $data)instead ofutf8_encode($data)while older versions of PHP still useutf8_encode(). - Update
cacert.pemto the latest version which is used by\FastSitePHP\Net\HttpClienton Windows and Mac Computers. - Added
AppMin->show_detailed_errorsboolean property based on the standardApplicationClass. * Minor Unit Testing updates to handle changed error messages in PHP.
FastSitePHP Framework v1.4.6
- Updated
FastSitePHP\Data\Databaseto use PDO data types rather than dynamic typing for parametrized queries- Added new function
Database->getBindType($value)for this feature - This can be turned off using
$db->use_bind_value = false;where$dbis an instance of theDatabaseclass - This was added because MySQL (but not other databases) would have issues for certain queries where INT type was specifically required:
$sql = 'SELECT * FROM test ORDER BY id DESC LIMIT ?'; $records = $db->query($sql, [$limit]);
- Added new function
- Fixed minor typos in docs
FastSitePHP Framework v1.4.5
- Added Support for PHP 8.1
- Updated
Request->headers()for nginx when it includesContent-LengthorContent-Typewith a blank value. - Updated Server Setup Script
create-fast-site.shso that it shows the IPv4 Address rather than IPv6 and updated version of PHP installed from8.0to8.1.
FastSitePHP Framework v1.4.4
- Update
cacert.pemto the latest version which is used by\FastSitePHP\Net\HttpClienton Windows and Mac Computers. - Confirmed that FastSitePHP works with the final release of
PHP 8.0.0. Previously it was tested and updated for Alpha builds. No Framework changes had to be made with this release, however some unit tests had to be updated.
FastSitePHP Framework v1.4.3
- Fix for
Application->requestedPath()so that it strips the Query String if using the PHP Built-in Server with all resources using a fallbackindex.phpor other PHP file. This was not a common scenario for most PHP development and didn't affect any production servers.
FastSitePHP Framework v1.4.2
- No changes however
export-ignorewas not working properly from.gitattributesfor the previous release
FastSitePHP Framework v1.4.1
- Minor update for
\FastSitePHP\Application->requestedPath()to return the requested path of valid static files when using the PHP Built-In Server for local development- This was found to affect very specific setups, for example a root level
index.phprouting file with apublicsub-directory andnode_modulesat the root level.
- This was found to affect very specific setups, for example a root level
FastSitePHP Framework v1.4.0
- Added Support so Cookies can use the
SameSite = 'Strict|Lax|None'Attribute- Requires
PHP 7.3or Higher - Affects the following functions which make a call to
setcookie()using the new$optionsarray parameter:\FastSitePHP\Application->cookie($name, $value, array $options)\FastSitePHP\Application->clearCookie($name, array $options)\FastSitePHP\Web\Response->cookie($name, $value, array $options)\FastSitePHP\Web\Response->clearCookie($name, array $options)\FastSitePHP\Web\Response->signedCookie($name, $value, $expire_time, array $options)\FastSitePHP\Web\Response->jwtCookie($name, $value, $expire_time, array $options)\FastSitePHP\Web\Response->encryptedCookie($name, $value, array $options)
- Requires
FastSitePHP Framework v1.3.1
- Updates for
\FastSitePHP\Net\HttpClient- Fix so that
$response->jsonis populated when the a case-insensitve header is usedcontent-type,CONTENT-TYPE, etc is used starting with the valueapplication/json. Previously a case-senstive header was requiredContent-Type. - Updated the bundled
cacert.pemfrom version2019-10-16to2020-06-24.
- Fix so that
- Updated
scripts/install.phpto also download and use latest version ofcacert.pem.