Releases: leafsphp/leaf
Releases · leafsphp/leaf
👸🏼 Queen Of The Night (RC 2)
v3.0 (Release Candidate 2) - 27 Jan, 2022
Added
- Added support for global functions
- Added unit tests
- Added pestphp
- Added more support for configuring with env variables.
- Added
script
method on app to handle modes. - Added automatic loading for major modules.
- Added CSRF handler.
- Added autoloading for CSRF module
- Added CORS handler for
leafs/cors
- Updated error pages
- Added
.env
precedence over local config - Added support for recursive config
- Added support for nested config
- Added support for custom setting groups
- Switched to leaf exceptions
Fixed
- Fixed PHP 7.3 unsupported types
- Created a standard for functional mode
- Revamped error pages
- Fixed potential type errors
- Fixed malformed JWT error on auth module
- Added single state for container settings and leaf config
- Fixed breaks in PHP 8+
Changed
- You no longer need to initialize Leaf.
- Moved
Leaf\Http
namespace to Http module - Moved base controller, model, database and to mvc-core module
- Disabled logging by default
- Moved bareui, fs, auth, form, cookies, session, db and date into modules
- Moved
Leaf\Router
into installable module. - Changed leaf router
add
touse
- Tied leaf router directly to
Leaf\App
- Upgraded all dependencies
- Added strict types
Removed
- Removed unused dependencies
- Removed experimental features
- Removed unused initializers
- Removed
evadeCors
method on leaf - Removed
Leaf\Router::getRequestMethod
- Removed unnecessary code to improve performance
- Removed app instance on middleware
- Removed unused helper functions
- Removed left over files from clean up
👸🏼 Queen Of The Night (RC 1)
v3.0 (Release Candidate) - 10 December
Added
- Added support for global functions
- Added more support for configuring with env variables.
- Added
script
method on app to handle modes. - Added automatic loading for major modules.
- Added CSRF handler.
- Added autoloading for CSRF module
- Added CORS handler for
leafs/cors
- Updated error pages
- Added
.env
precedence over local config
Fixed
- Fixed PHP 7.3 unsupported types
- Created a standard for functional mode
- Revamped error pages
- Fixed potential type errors
- Fixed malformed JWT error on auth module
Changed
- You no longer need to initialize Leaf.
- Moved
Leaf\Http
namespace to Http module - Moved base controller, model, database and to mvc-core module
- Disabled logging by default
- Moved bareui, fs, auth, form, cookies, session, db and date into modules
- Moved
Leaf\Router
into installable module. - Changed leaf router
add
touse
- Tied leaf router directly to
Leaf\App
- Upgraded all dependencies
Removed
- Removed unused dependencies
- Removed experimental features
- Removed unused initializers
- Removed
evadeCors
method on leaf - Removed
Leaf\Router::getRequestMethod
- Removed unnecessary code to improve performance
- Removed app instance on middleware
- Removed unused helper functions
👸🏼 Queen Of The Night (Beta)
v3.0 (Beta) - 27 November
Added
- Added support for global functions
- Added more support for configuring with env variables.
- Added
script
method on app to handle modes. - Added automatic loading for major modules.
- Added CSRF handler.
- Added autoloading for CSRF module
- Added CORS handler for
leafs/cors
- Updated error pages
- Added
.env
precedence over local config
Fixed
- Fixed PHP 7.3 unsupported types
- Created a standard for functional mode
- Revamped error pages
- Fixed potential type errors
Changed
- You no longer need to initialize Leaf.
- Moved
Leaf\Http
namespace to Http module - Moved base controller, model, database and to mvc-core module
- Disabled logging by default
- Moved bareui, fs, auth, form, cookies, session, db and date into modules
- Moved
Leaf\Router
into installable module. - Changed leaf router
add
touse
- Tied leaf router directly to
Leaf\App
- Upgraded all dependencies
Removed
- Removed unused dependencies
- Removed experimental features
- Removed unused initializers
- Removed
evadeCors
method on leaf - Removed
Leaf\Router::getRequestMethod
- Removed unnecessary code to improve performance
- Removed app instance on middleware
- Removed unused helper functions
👸🏼 Queen Of The Night (PREVIEW)
v3.0 (Preview) - 10 November
Added
- Added support for global functions
- Added more support for configuring with env variables.
- Added
script
method on app to handle modes. - Added automatic loading for major modules.
- Added CSRF handler.
- Added autoloading for CSRF module
- Added CORS handler for
leafs/cors
- Updated error pages
- Added
.env
precedence over local config
Fixed
- Fixed PHP 7.3 unsupported types
- Created a standard for functional mode
- Revamped error pages
- Fixed potential type errors
Changed
- You no longer need to initialize Leaf.
- Moved
Leaf\Http
namespace to Http module - Moved base controller, model, database and to mvc-core module
- Disabled logging by default
- Moved bareui, fs, auth, form, cookies, session, db and date into modules
- Moved
Leaf\Router
into installable module. - Changed leaf router
add
touse
- Tied leaf router directly to
Leaf\App
- Upgraded all dependencies
Removed
- Removed unused dependencies
- Removed experimental features
- Removed unused initializers
- Removed
evadeCors
method on leaf - Removed
Leaf\Router::getRequestMethod
- Removed unnecessary code to improve performance
- Removed app instance on middleware
- Removed unused helper functions
⚰️ The Goodbye Flower
v2.6.0 - ⚰️ The Goodbye Flower - 20th September, 2021
Added
- Added UUID support to Leaf Auth
- Added support for custom id keys in Leaf Auth
Fixed
- Fixed Request::getUrl
- Fixed issue #53
- Fixed Database
Removed
- Removed Leaf blade component
💠 Lilac
v2.5.1 - 💠 Lilac - 30th May, 2021
Fixed
- Fixed PHP 7.3 unsupported types
- Fixed server base path on router
- Fixed bare UI config method
- Fixed faker namespace
Changed
- Removed BETA flag from Leaf password helper
Removed
- Removed Leaf blade component
💠 Gladiolus
v2.5.0 - 💠 Gladiolus - 27th April, 2021
Added
- Leaf debug now controls error reporting (you don't want nasty errors showing in production)
- Added
Request::try
- Added
app.down
config - Added Leaf app instance on
Config
- Added grouped namespaces to router
- Added single route namespaces
- Added named routes to router
- Added router
push
for switching between pages - Added more customizations on
Leaf\Database
- Added simple flash messaging with
Leaf\Flash
- Added
flash
method to session - Added HTTP caching on
Leaf\Http\Headers
Fixed
- Fixed inverted condition for showing default development/production error pages.
- Fixed router hooks
- Added proper types on
App
andRouter
- Added proper controller and missing method warnings
- Fixed incorrect method labeling
- Fixed HTTP caching issues
- Fixed app logger and app log writer
- Fixed app break after non-existent middlware call
Changed
- Switched debugging controls from
mode
todebug
- Default 404 page now automatically loaded
- Router middleware
App
instance now automatically loaded - Added null response for unset session variables
- Leaf error handler now loads on
App
init - Default error 500 handler now automatically loaded
- Updated leaf container
Removed
- Removed unnecessary code from
App
- Removed app name
- Removed
view
method on app and router - Removed previous hook support on app
- Removed unused router config
- Removed Leaf environment class
- Removed unused default middleware
Leaf\Blade
no longer comes with Leaf by default.- Removed
status
andcontentType
on Leaf\App
💠 Gladiolus (BETA)
v2.5.0-beta - 💠 Gladiolus (BETA) - Apr 16, 2021
Added
- Added
app.down
config - Added Leaf app instance on
Config
- Added grouped namespaces to router
- Added named routes to router
- Added router group prefixes
- Added router
push
for switching between pages - Added more customizations on
Leaf\Database
- Added simple flash messaging with
Leaf\Flash
- Added
flash
method to session - Added HTTP caching on
Leaf\Http\Headers
Fixed
- Fixed router hooks
- Added proper types on
App
andRouter
- Added proper controller and missing method warnings
- Fixed incorrect method labeling
- Fixed HTTP caching issues
- Fixed app logger and app log writer
- Fixed app break after non-existent middlware call
Changed
- Default 404 page now automatically loaded
- Router middleware
App
instance now automatically loaded - Added null response for unset session variables
- Leaf error handler now loads on
App
init - Default error 500 handler now automatically loaded
- Updated leaf container
Removed
- Removed unnecessary code from
App
- Removed app name
- Removed
view
method on app and router - Removed previous hook support on app
- Removed unused router config
- Removed Leaf environment class
- Removed unused default middleware
Leaf\Blade
no longer comes with Leaf by default.- Removed
status
andcontentType
on Leaf\App
🎋 Common Reed
v2.4.4 - 🎋 Common Reed - 23rd March 2021
Added
- Added
Leaf\Config
for easier configuration - Added new leaf config options
- Added
Leaf\View
- Added support for multiple template engines concurrently
- Added BareUI templating engine
Fixed
- Internal code improvements on App
Changed
- No renames, restructures, ...
Removed
- No removals
🎋 Giant Cane Grass
v2.4.3 - 🎋 Giant Cane Grass - 26th February 2021
Added
- Updated
Leaf\Db
andLeaf\Auth
to throw dev errors to Leaf's error handler for better error reporting
Fixed
- Organized methods in
Leaf\FS
Changed
- Made
Leaf\Http\Response
static - Made
Leaf\Http\Request
static
Removed
- No removals