1.22.0

Released on

Added

Add Headers manager class name Boom to handle headers in the app

Add Headers manager class name Boom to handle headers and return 404 or 500 errors in the app

Added

Add support for swagger-docs package to generate API documentation

Add support for swagger-docs package to generate API documentation for the app

Added

Add codeSync variable in /settings/bs-config.cjs file

Add codeSync variable in /settings/bs-config.cjs file to allow for better handling of BrowserSync settings in the app to disabled and enabled to refresh the browser

Changed

Update $baseUrl, $documentUrl and $scriptName to no return trailing slash

Update $baseUrl, $documentUrl and $scriptName to no return trailing slash to allow for better handling of URLs in the app

Fixed

Issue with routing custom x file in the app

Fix issue with routing custom x file in the app to allow for better handling of custom x files in the app


1.20.4

Released on

Added

Add FileManager class to handle file uploads and downloads

Add FileManager class to handle file uploads and downloads to allow for better handling of file uploads and downloads in the app


1.20.0

Released on

Added

Add Auth getPayload() method now returns ArrayObject

Add Auth getPayload() method now return ArrayObject to allow for better handling of the Auth class in the app

Added

Add support default_timezone option

Add support for default_timezone option to allow for better handling of timezones in the app go to .env file and set APP_TIMEZONE="UTC" or APP_TIMEZONE=America/New_York

Added

Add support for validating with rules in the Validator class

Add support for validating with rules in the Validator class to allow for better handling of validation rules in the app. You can specify multiple rules, such as "required|min:2|max:50", to validate input data.

Changed

Update Auth before "new Auth" to "Auth::getInstance()"

Update Auth before "new Auth" to "Auth::getInstance()" to allow for better handling of the Auth class in the app

Changed

Update Auth to singleton pattern

Update Auth to singleton pattern to allow for better handling of the Auth class in the app

Changed

Update StateManager before "new StateManager" to "StateManager::getInstance()"

Update StateManager before "new StateManager" to "StateManager::getInstance()" to allow for better handling of the StateManager in the app

Changed

Update StateManager to singleton pattern

Update StateManager to singleton pattern to allow for better handling of the StateManager in the app

Changed

Update Prisma PHP ORM before "new Prisma" to "Prisma::getInstance()"

Update Prisma PHP ORM before "new Prisma" to "Prisma::getInstance()" to allow for better handling of the ORM in the app

Changed

Update Prisma PHP ORM to a more performant version using the singleton pattern

Update Prisma PHP ORM to a more performant version using the singleton pattern to allow for better handling of the ORM in the app

Fixed

Issue with Auth isAuthenticated() method

Fix issue with Auth isAuthenticated() method to allow for better handling of the Auth class in the app


1.19.4

Released on

Added

Add support "$referer" variable to access the Referer header in the request

Add support "$referer" variable to access the Referer header in the request to allow for better handling of the Referer header in the app is the same $_SERVER["HTTP_REFERER"]

Added

Add support execute PHP and JavaScript code in the loading file

Add support execute PHP and JavaScript code in the loading file to allow for better handling of the loading file in the app


1.19.2

Released on

Added

Add support for "backend-only" option when creating or updating a project

Add support for "backend-only" option when creating or updating a project to allow for better handling of backend-only projects