Releases: PhpSlides/framework
Releases · PhpSlides/framework
v1.4.4
This release includes changes to the Router
and Core
components of the PhpSlides application, focusing on namespace refactoring, case sensitivity handling, and workflow improvements. The most important changes include namespace updates, case sensitivity handling in routing, and modifications to GitHub workflows.
Namespace Refactoring:
- Updated namespaces from
PhpSlides\Src
toPhpSlides\Core
across multiple files includingRouter/MapRoute.php
,Router/Route.php
,Router/view.php
,src/Bootstrap/App.php
,src/Cache/Cache.php
,src/Config/config.php
, and various controller files. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
Case Sensitivity Handling:
- Added case sensitivity handling in routing by introducing a
caseSensitive
method inRouter/Route.php
and updating thematch
andmatch_routing
methods inRouter/MapRoute.php
to consider case sensitivity. [1] [2] [3]
GitHub Workflows:
- Renamed workflow steps in
.github/workflows/release.yml
and.github/workflows/tests.yml
for better clarity. [1] [2] - Modified the
Push changes to main
job in.github/workflows/tests.yml
to use a different approach for merging and pushing changes.
Additional Changes:
- Updated the
composer.json
andphpunit.xml
files to reflect new directory structures and autoload configurations. [1] [2] - Changed methods in
src/Cache/Cache.php
to be static and updated theclear
andclearHotReload
methods accordingly. [1] [2]
Full Changelog: v1.4.2...v1.4.4
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