Releases: PhpSlides/framework
Releases · PhpSlides/framework
v1.4.3 - Initialized PHPUnit test and test workflow - Added URL parameter strict types ✅
This release includes several changes aimed at improving the test configurations, updating the autoload paths, and adding new traits and methods for better application configuration. Below are the most important changes:
Test Configuration Improvements:
.github/workflows/php.yml
: Added a new GitHub Actions workflow for PHP Composer to validate and test the code on push and pull requests to the master branch..github/workflows/release.yml
: Added a new workflow to configure and run tests before release, ensuring code quality before deployment..github/workflows/tests.yml
: Added a new workflow to execute tests on the dev branch and push changes to the main branch if tests pass.
Autoload Path Updates:
composer.json
: Updated the autoload paths forPhpSlides\Tests\
and modified the test script to use the correct PHPUnit path.tests/manualTests/Router/RouteTest.php
: Corrected the autoload path and renamed the directory fromtest
totests
.
New Traits and Methods:
src/Cli/Configure.php
: Added a newConfigure
trait to mock necessary$_SERVER
variables for CLI environments.src/Foundation/Application.php
: Integrated theConfigure
trait and updated methods to use the new trait for better configuration handling in CLI environments. [1] [2] [3] [4] [5] [6]
Miscellaneous Changes:
.gitattributes
: Updated export-ignore rules to include new cache files.phpunit.xml
: Updated the PHPUnit configuration file with new settings and environment variables.
Fixes error on psl tags `<? ... ?>`
Merge pull request #46 from PhpSlides/dev Dev
v1.4.1
v1.4.0 - added route mapping using pattern
v1.3.10
v1.3.9 - Enhanced Hot Reload to work in the background
Merge pull request #38 from PhpSlides/dev Updated version
Fixes bugs & errors
Merge pull request #36 from PhpSlides/dev fixes error
v1.3.7
Full Changelog: v1.3.6...v1.3.7
v1.3.6
v1.3.5
Added some cool features
-
Brackets interpolation comment
-
Added Properties to view file
-
Added Props functions
-
Enhanced Includes tag to contain properties
-
Made ViewLoader with includes to now accept components, they don't have to add the extension if ita view file.
-
Updated view formatter and addred props.
-
worked on sql in altering table and adding new columns if it doesn't exist.
-
fixes bugs in multiple route.
-
removed all log reqest
-
Update Application.php
Full Changelog: v1.3.4...v1.3.5