From 95ae617ae4b95037b555cbcabca4a4a710746b56 Mon Sep 17 00:00:00 2001 From: merloxx Date: Mon, 6 May 2024 19:22:42 +0200 Subject: [PATCH] New: Added CHANGELOG.md --- CHANGELOG.md | 121 ++++++++++++++++++++++++++++++++++++++++++++ src/Application.php | 2 +- 2 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d71f58e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,121 @@ +# Changelog + +All notable changes to this project will be documented in this file, in reverse chronological order by release. + +## 🔥 v1.0.0-alpha.1 [2024-05-06] + +> [!WARNING] +> This release contains the latest development changes, but you should be prepared for anything, +> including sudden breaking changes or code refactoring. + +### New: +* Initial commit +* Added HTTP StatusCode class +* Added HTTP Response class +* Added HTTP EmptyResponse class +* Added HTTP RedirectResponse class +* Added HttpUtils class +* Added HTTP TextResponse class +* Added HTTP HtmlResponse class +* Added HTTP XmlResponse class +* Added HTTP JsonResponse class +* Added HTTP Request class +* Added HttpException class +* Added Application class +* Added ConfigBootProvider and config PathReplacer classes +* Added EnvironmentBootProvider class +* Added RouterBootProvider class +* Added RegisterServicesBootProvider class +* Added items to provide section in composer.json +* Added HttpKernel class +* Added TwigView class +* Added TwigRuntimeLoader class +* Added `isTestingEnvironment` method to Application class +* Added WhoopsDebugHandler class +* Added ExceptionHandler class +* Added IntegrationTestCase class +* Added ViewServiceProvider class +* Added EncryptServiceProvider class +* Changed visibility to protected for `setUp` and `tearDown methods in unit tests +* Added LogServiceProvider class +* Added SessionServiceProvider class +* Added CookieServiceProvider class +* Added 'hasSession' and 'getSession' methods to HTTP Request class +* Added CookieMiddleware class +* Added SessionMiddleware class +* Added twig view extensions +* Added XSSMiddleware class +* Added `isRunningInConsole` method to Application class +* Added session twig view extension +* Added CSRF twig view extension +* Added CSRFMiddleware class +* Added ConsoleKernel class +* Added app:environment command class +* Added config console commands +* Added views:clear console command class +* Added logs:clear console command class +* Added cache:clear console command class +* Added framework commands to ConsoleKernel class +* Added app:key console command class +* Added create console commands +* Added maintenance console commands +* Added events +* Added event and listener create console commands +* Added `.vscode` to .gitignore file +* Added HttpTestCase +* Added ConsoleTestCase +* Added initBindings, runHttpRequest and runConsoleCommand methods to Application class +* Added getAppPath and setAppPath methods to Application class +* Added getVersion method to Application class +* Added logger v2.1.0 with NoopHandler in LoggingServiceProvider +* Added list routes command +* Improved unit tests for console ClearCommand classes + +### Changed: +* Improved HTTP response classes unit tests +* Improved HttUtils::normalizeFiles method +* Improved HTTP exceptions +* Used StatusCode constants in HTTP response classes +* Moved unit tests in `tests/Unit` directory +* Changed visibility to public for `bootstrap` method in HttpKernel class +* Splitted testsuites in Integration and Unit in phpunit.xml +* Refactored ExceptionHandler class and errors/fallback.html +* Improved XSSMiddleware class exception handling +* Updated zaphyr-org/config to v2.2 +* Move providers config to services "namespace" +* Moved code in try block for HttpKernel class +* Refactored console clear commands +* Refactored config files +* Renamed "templates" directory to "views" directory +* Moved "Commands" namespace into "Console" namespace +* Improved error handling for create console commands +* Improved exception handling +* Improved unit tests +* Updated README.md +* Improved framework testing classes +* Improved configuration handling +* Major improvements on service providers +* Limitation to NEON config files reversed +* Added "abstract" keyword to AbstractClearCommand and AbstractCommand class +* Updated README.md + +### Removed: +* Removed psr/http-message from require section in composer.json +* Removed phpstan/phpstan-phpunit from composer require-dev +* Removed view layer from framework +* Removed extension create command +* Removed ExtensionCommandTest +* Removed useless `JSON_ERROR_NONE !== json_last_error()` throw statement in JsonResponse class +* Removed initBindingsOverwrite, runHttpRequest method and runConsoleCommand method from Application class + +### Fixed: +* Added missing FrameworkException class +* Fixed IntegrationTestCase container return type +* Moved `bootstrap` method outside of try block in ConsoleKernel class +* Fixed namespaces and strict_types in test classes +* Fixed dontReport config loading in ExceptionHandler class +* Moved `filp/whoops` to `require` section in composer.json +* Renamed property `$sessionHandler` to `$sessionHandlerMock` in SessionMiddlewareTest +* Fixed namespace in command.stub +* Improved tests for RouterBootProvider class +* RequestTrait::call method handles slash correctly diff --git a/src/Application.php b/src/Application.php index c475f4d..f1e3155 100755 --- a/src/Application.php +++ b/src/Application.php @@ -16,7 +16,7 @@ class Application implements ApplicationInterface /** * @const string */ - public const VERSION = ''; + public const VERSION = '1.0.0-alpha.1'; /** * @var bool