Skip to content

Releases: PhpSlides/framework

v1.4.4

17 Jan 18:58
Compare
Choose a tag to compare

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 to PhpSlides\Core across multiple files including Router/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 in Router/Route.php and updating the match and match_routing methods in Router/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 and phpunit.xml files to reflect new directory structures and autoload configurations. [1] [2]
  • Changed methods in src/Cache/Cache.php to be static and updated the clear and clearHotReload 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 ✅

24 Dec 22:06
a042223
Compare
Choose a tag to compare

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 for PhpSlides\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 from test to tests.

New Traits and Methods:

  • src/Cli/Configure.php: Added a new Configure trait to mock necessary $_SERVER variables for CLI environments.
  • src/Foundation/Application.php: Integrated the Configure 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 `<? ... ?>`

12 Dec 19:16
a9484a3
Compare
Choose a tag to compare
Merge pull request #46 from PhpSlides/dev

Dev

v1.4.1

12 Dec 07:47
f786a14
Compare
Choose a tag to compare
Merge pull request #43 from PhpSlides/dev

fixes errors

v1.4.0 - added route mapping using pattern

11 Dec 17:04
903d00a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.10...v1.4.0

v1.3.10

01 Dec 16:52
9cec2fe
Compare
Choose a tag to compare
Merge pull request #40 from PhpSlides/dev

Update Application.php

v1.3.9 - Enhanced Hot Reload to work in the background

29 Nov 17:39
f91dab0
Compare
Choose a tag to compare
Merge pull request #38 from PhpSlides/dev

Updated version

Fixes bugs & errors

29 Nov 10:00
137e11e
Compare
Choose a tag to compare
Merge pull request #36 from PhpSlides/dev

fixes error

v1.3.7

25 Nov 14:28
5e8436f
Compare
Choose a tag to compare

Full Changelog: v1.3.6...v1.3.7

v1.3.6

10 Nov 09:11
08be472
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.5...v1.3.6