Wolff v3.0.0 Release Notes
Release Date: 2020-05-01 // almost 4 years ago-
➕ Added
➕ Add support for routes that call a controller's method directly.
➕ Add view inheritance support to the template engine.
➕ Add
setFile
,isEnabled
andsetStatus
method to theCore\Maintenance
class.➕ Add
view
method to theCore\Route
class.👍 Allow dot notation in the
select
method of theCore\DB
class.➕ Add support for csrf protection.
➕ Add support for environment files.
➕ Add
setDateFormat
andsetFolder
methods to theCore\Log
class.➕ Add
removeQuotes
method to theUtilities\Str
class.➕ Add
arrayRemove
,bytesToString
,path
andvalidateCsrf
functions to the standard library.
🔄 Changed
📇 Rename the
Core
namespace toWolff\Core
.📇 Rename the
Utilities
namespace toWolff\Utils
.👌 Improve internal routing.
👌 Improve configuration system.
👌 Improve exception handling.
👉 Make the standard library optional.
⚡️ Update the
for
tag in the template engine.📇 Rename the
@load
tag to@include
in the template engine.Remake the
Core\Request
andCore\Response
classes.Remake the
Core\Middleware
class.🚧 Remake the
Core\Maintenance
class.📇 Rename
selectAll
,countAll
anddeleteAll
methods toselect
,count
anddelete
in theCore\DB
class.📇 Rename
toJson
method togetJson
in theCore\Query
class.📇 Rename
run
method toquery
in theCore\DB
class.📇 Rename
methodExists
andcall
methods tohasMethod
andget
in theCore\Controller
class.📇 Rename
getContent
method toget
in theCore\Cache
class.Treat the
Core\DB
class functionality as non-static.📇 Rename the
Core\Request
andCore\Response
classes toCore\Http\Request
andCore\Http\Response
.📇 Rename
add
method toany
in theCore\Route
class.🌐 Replace the
system/definitions/Middlewares.php
,system/definitions/Routes.php
andsystem/definitions/Templates.php
files withsystem/web.php
.
🛠 Fixed
- 🛠 Fix bug related to the
title
function of the template engine.
✂ Removed
✂ Remove
Core\Cookie
class.✂ Remove
Utilities\Upload
class.✂ Remove conditional tags of the template engine.
✂ Remove
getTableSchema
method of theCore\DB
class.✂ Remove
getStartTime
andgetLiveTime
methods of theCore\Session
class.✂ Remove
getPath
method of theCore\Controller
class.✂ Remove
createFile
andisClientAllowed
methods of theCore\Maintenance
class.✂ Remove
expired
,getFilename
andgetPath
methods of theCore\Cache
class.✂ Remove
setType
,getData
method of theUtilities\Validation
class.✂ Remove
unshift
,pathToNamespace
andnamespaceToPath
methods of theUtilities\Str
class.✂ Remove
mkdir
andfolderExists
methods of theCore\Middleware
class.✂ Remove
inCli
,arrayToCsv
,getUserAgent
,getServerRoot
,deleteFilesInDir
,dumpAll
,getServer
,getDB
,getDBMS
,getDbUser
,getDbPass
,getLanguage
,getDir
,getProjectDir
,getSystemDir
,getAppDir
,getCacheDir
andgetPageTitle
,getMainPage
functions of the standard library.