Releases: WebFiori/framework
WebFiori Framework v2.0.0 Beta 5
Changelog
- Added support for loading themes using the syntax
Class::class
. - Fixed encoding issues with mailing classes.
- Fixed detected bugs.
Installation
Using Composer
To install the new release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework:v2.0.0-beta.5" <project-folder>
Replace <project-folder>
with the name of the folder that will hold your project.
Using Attached File
Optionally, you can download the file webfiori-v2.0.0-beta.5.zip
which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.
Running Using PHP's Built-in Server
To run the project, open command line interface and navigate to <project-folder>
. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .
WebFiori Framework v2.0.0 Beta 4
Changelog
- Added support for creating middleware class using CLI.
- Added support for creating background process class using CLI.
- Fixed small detected bugs.
Installation
Using Composer
To install the new release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework:v2.0.0-beta.4" <project-folder>
Replace <project-folder>
with the name of the folder that will hold your project.
Using Attached File
Optionally, you can download the file webfiori-v2.0.0-beta.4.zip
which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.
Running Using PHP's Built-in Server
To run the project, open command line interface and navigate to <project-folder>
. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .
WebFiori Framework v2.0.0 Beta 3
Changelog
- Updated
WebFiori HTTP
. - Updated database abstraction layer.
- Added full support for Arabic in Email (including sender name, receiver name).
- Fixed detected bugs.
- Bug in class
CreateCommand
- Bug in class
Router
- Bug in class
ConfigController
- Bug in class
Installation:
To install the new release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework:v2.0.0-beta.3" <project-folder>
Replace <project-folder>
with the name of the folder that will hold your project.
Optionally, you can download the file webfiori-v2.0.0-beta.3.zip
which is part of this release if you don't want to use composer in installation.
Running Using PHP's Built-in Server
To run the project, open command line interface and navigate to <project-folder>
. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .
WebFiori Framework v2.0.0 Beta 2
Changelog
- Renamed the library
RESTEasy
toWebFiori HTTP
. - Moved all things which is related to request and response to the library
WebFiori HTTP
. - Added support for middleware (more info at https://webfiori.com/learn/middleware) .
- Moved initialization classes from the folder
ini
to the folder `app/ini'. - Removed all deprecated classes in the folder
entity
. - Fixed detected bugs.
Installation:
To install the new release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework:v2.0.0-beta.2" <project-folder>
Replace <project-folder>
with the name of the folder that will hold your project.
Optionally, you can download the file webfiori-v2.0.0-beta.2.zip
which is part of this release if you don't want to use composer in installation.
WebFiori Framework v2.0.0 Beta 1
Changelog
Version 2.0 of the framework will be a full refactor of version 1.0. It includes many changes. Some of them are:
- All standard libraries where updated.
- Moved all framework core files to new namespace.
- All standard libraries are now part of the namespace
\webfiori\
. - Root framework file changed from
WebFiori.php
toindex.php
. - New sessions management sub-system.
- Fully supports composer.
- Added new
public
folder which should be server root. - Added new
app
folder. Developer must use this folder to add his code. - Changed how CRON jobs should be implemented.
- CRON jobs which are created in the folder
app/jobs
are auto registered. - Commands which are created in the folder
app/commands
are auto registered. - Removed the class
webfiori\logic\Controller
as it is not needed. - Updated database library from
phMysql
to use a new database abstraction layer. - Now it is possible to create more than one instance of the class
EmailMessage
. - Themes resources (
js
,css
,images
or fonts) now should be placed inside the folderpublic/assets
. - Changed how web services created.
- Updated the
add
CLI command. - Added new command:
update-table
.
In addition to listed changes, All changes which are planned for v1.1.0 are included in this release.
Documentation
Now the framework has a written documentation that covers most framework features. The documentation can be found at https://webfiori.com/learn . The actual docs are hosted on https://github.com/WebFiori/docs . Note that the documentation is still under development.
Installation
To install the new release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework:v2.0.0-beta.1" <project-folder>
Replace <project-folder>
with the name of the folder that will hold your project.
Optionally, you can download the file webfiori-v2.0.0-beta.1.zip
which is part of this release if you don't want to use composer in installation.
WebFiori Framework v1.1.0 Beta 3
New Features:
Core
- Added support for multi-language sitemap creation.
- New command:
add
. Used to add database connections, SMTP connections and website languages. - Modified how the framework will create the configuration files if they are not exist.
Installation
To install the new release using composer, use the following command:
php composer.phar require "webfiori/framework:1.1.0-beta-3"
WebFiori Framework v1.1.0 Beta 2
New Features:
Core
- New class added:
UploadFile
. This class is used by the classUploader
to use it instead of returning associative arrays. - Refactored the class
File
and deprecated two methods and added two new. - Router now detects API routes for classes which are children of the class
WebServicesSet
. - Added a way to only use one connection for all controllers if the connection already exist.
Standard Libraries
- Updated the library RESTEasy to the latest release.
Fixes:
- Many fixes to the class
SessionManager
. - Fixed small bug in the class
ServerErrView
Other changes:
- The framework will now auto-load any files that are created in the top level folder
app
Installation
To install the new release using composer, use the following command:
php composer.phar require "webfiori/framework:1.1.0-beta-2"
WebFiori Framework v1.1.0 Beta 1
New Features:
Core
- New command line interface engine.
- Improved existing CLI commands.
- Added new command
create
. It can be used to create system entities such as query classes or controllers. - Support for redirect to non-www URL is added. It is possible to force the website to use non-www URLs.
- Added a way to enable and disable cron web interface.
- New class added:
AbstractJob
. This class can be used to implement custom cron jobs. - New class added:
CronEmail
. This class is used to send cron output and cron notifications. - New class added:
GlobalConstants
. The main aim of this class is to allow the developer to define his own global constants in one place.
Standard Libraries
- Chaining support is added to the method
HTMLNode::addChild()
.
Fixes:
- Many minor bugs where fixed.
Other changes:
- A public folder that contains framework assets is added.
- Applied coding standards using PHP CS Fixer.
- Now the framework can be fully loaded using composer. Also, it supports the loading of composer packages.
- A 404 error page that uses default theme will appear if a route is not found. In case of API call, a JSON object is sent with 404 status code.
- Now the framework has its own set of exceptions which are found under the namespace
webfiori\entity\exceptions
. - Moved all UI related components to the namespace
webfiori\entity\ui
- The method
Theme::setDirectoryName()
was removed since the name of theme directory is now detected automatically. - Error messages and error pages have changed a little bit.
Installation
To install the new release using composer, use the following command:
php composer.phar require "webfiori/framework:1.1.0-beta-1"
WebFiori Framework v1.0.9 Stable
New Features:
Core
- Added support for showing full output when forcing CRON job to execute.
- Added a way to collect CRON log messages and output them.
- Added a way to check if CRON job is forced to execute or not.
- New CLI command is added:
--force-cron <job-name> <cron-pass>
. - Added new method to the class
Page
:public static function beforeRender(callback $callable)
.
Standard Libraries
- Creation of entity class based on table structure is now support.
- Now it is possible to map query result to an entity class.
- Support for no-value HTML attributes is added.
Fixes:
- Updated standard libraries with all latest fixes.
- Fixed a bug in the class
WebFiori
which caused incorrect output when an exception is thrown in case of API call. - Fixed a bug in setting execution time of CRON job.
Other changes:
- Added new theme which uses @vuetifyjs.
WebFiori Framework v1.0.8 Stable
New Features:
- Improved the class 'Uploader".
Fixes:
- Updated standard libraries with all latest fixes.
- Fixed a bug in the class "Page" which cased footer section to be the same as header section.
- Fixed a bug which is related to loading themes.
- Fixed a bug in the class "WebFiori" which cased the framework to run incorrectly in case of running it through CLI.
Other changes:
- Updated the documentation for many methods.
- Refactoring.
- Added new theme which is special for this new release.