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