Skip to content

Lucky Charm🍀

Choose a tag to compare

@mychidarko mychidarko released this 15 Aug 20:14
db24108

v2.3.0 - 15th August, 2020

📑 Added

  • Added Leaf\Auth::useToken
  • Added Leaf\FS::upload_file
  • Added manual init to Leaf\Session
  • Added option for status code messages
  • Added callable utils
  • Added session encoding/decoding
  • Leaf\Http\Request now catches files passed into request
  • Added Leaf\Http\Request::typeIs
  • Leaf\Http\Request::get can now return multiple request data at once
  • Added Leaf\Http\Request::files
  • New Leaf\Http\Headers package
  • More untracked additions

🔧 Fixed

  • fixed Leaf\Http\Headers
  • Fixed response http status codes bug
  • Fixed header integration with response
  • Fixed header reliance on Set
  • Fixed throwErr code error
  • Fixed Leaf\Session package
  • Fixed response redirect
  • Fixed Leaf\Http\Request::body bugs
  • Sessions return false instead of throwing errors (Fix for web apps)
  • FS returns false instead of throwing errors
  • Fixed up Leaf\Http\Request::params
  • Fixed up Leaf\Http\Request::hasHeader
  • Fixed up header related methods on Leaf\Http\Request
  • Fixed bugs on Leaf\Environment
  • More untracked fixes

🎈 Changed

  • Switched Leaf\Session to native PHP sessions
  • Switched session package in Leaf\App
  • Changed controller file uploads to Leaf\FS
  • Leaf\Date methods can now be called static-ly
  • Switched Leaf\Date methods to camel case, but with backward compatability for snake_case
  • Made all Leaf\FS methods static

🚚 Removed

  • Removed old session code
  • Removed setEncryptedCookie and getEncryptedCookie on Leaf\App
  • Slashed unnecessary code from Leaf\Http\Request
  • Slashed unnecessary code from Leaf\Http\Session
  • Slashed unnecessary code from Leaf\Http\Cookie
  • Slashed unnecessary code from Leaf\Http\Response
  • Removed all method type tests from Leaf\Http\Request