Skip to content

Releases: fastsitephp/fastsitephp

FastSitePHP Framework v1.5.1

24 Apr 06:21

Choose a tag to compare

  • 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

23 Apr 23:22

Choose a tag to compare

  • Added Support for PHP 8.2
  • Dynamic Properties have been Deprecated by default as of PHP 8.2 so both Application and AppMin classes 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 of utf8_encode($data) while older versions of PHP still use utf8_encode().
  • Update cacert.pem to the latest version which is used by \FastSitePHP\Net\HttpClient on Windows and Mac Computers.
  • Added AppMin->show_detailed_errors boolean property based on the standard Application Class. * Minor Unit Testing updates to handle changed error messages in PHP.

FastSitePHP Framework v1.4.6

10 Feb 07:30

Choose a tag to compare

  • Updated FastSitePHP\Data\Database to 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 $db is an instance of the Database class
    • 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]);
  • Fixed minor typos in docs

FastSitePHP Framework v1.4.5

06 Jan 07:26

Choose a tag to compare

  • Added Support for PHP 8.1
  • Updated Request->headers() for nginx when it includes Content-Length or Content-Type with a blank value.
  • Updated Server Setup Script create-fast-site.sh so that it shows the IPv4 Address rather than IPv6 and updated version of PHP installed from 8.0 to 8.1.

FastSitePHP Framework v1.4.4

04 Dec 00:57

Choose a tag to compare

  • Update cacert.pem to the latest version which is used by \FastSitePHP\Net\HttpClient on 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

24 Nov 11:34

Choose a tag to compare

  • Fix for Application->requestedPath() so that it strips the Query String if using the PHP Built-in Server with all resources using a fallback index.php or 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

03 Sep 20:34

Choose a tag to compare

  • No changes however export-ignore was not working properly from .gitattributes for the previous release

FastSitePHP Framework v1.4.1

03 Sep 20:29

Choose a tag to compare

  • 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.php routing file with a public sub-directory and node_modules at the root level.

FastSitePHP Framework v1.4.0

07 Aug 00:55

Choose a tag to compare

  • Added Support so Cookies can use the SameSite = 'Strict|Lax|None' Attribute
    • Requires PHP 7.3 or Higher
    • Affects the following functions which make a call to setcookie() using the new $options array 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)

FastSitePHP Framework v1.3.1

15 Jul 19:34

Choose a tag to compare

  • Updates for \FastSitePHP\Net\HttpClient
    • Fix so that $response->json is populated when the a case-insensitve header is used content-type, CONTENT-TYPE, etc is used starting with the value application/json. Previously a case-senstive header was required Content-Type.
    • Updated the bundled cacert.pem from version 2019-10-16 to 2020-06-24.
  • Updated scripts/install.php to also download and use latest version of cacert.pem.