# Changelog ## [Unreleased] - Documentation ## [1.6.0] - 2022-03-09 ## Changed - Fixed session class. - Fixed view reserved words. ## [1.5.8] - 2022-02-03 ## Changed - Added LIT\Http\Request class. An instance of this class can be passed as action's parameter. ## [1.5.7] - 2022-02-01 ## Changed - Bug fixes. - Renamed class EntityManager to DBContext. ## [1.5.6] - 2022-01-11 ## Changed - Bug fixes. ## [1.5.5] - 2021-11-23 ## Changed - Bug fixes. ## [1.5.4] - 2021-06-15 ## Changed - Moved methods from Methods.php to Controller class. ### Removed - Methods.php file removed. ## [1.5.3] - 2021-06-15 ## Added - Update the way to pass data to view ## [1.5.2] - 2021-02-12 ## Added - New @Authorize property, sendURL allows to send the requested URL to authentication page. e.g.: @Authorize(sendURL=true) ## [1.5.1] - 2020-12-30 ## Added - From now on is possible to add more than one connection settings on App/Configuration/Database.php file. ### Removed - Removed "_post" suffix in the controller name from POST methods. ## [1.5] - 2020-12-29 ### Added - Added @Route annotation - Added @Authorize annotation - Added ERROR_LOG setting. ## [1.4] - 2020-12-23 ### Changed - Added compatibility for PHP 8.0 - Updated twig version to 3.0 ## [1.3.1] - 2020-10-15 ### Changed - Removed php end tag (?>) from php files. - Changed SHOW_ERRORS to DEBUG_MODE on configuration file. ### Removed - Removed unecessary files. ## [1.3.0] - 2020-10-06 ### Changed - New updates system. [Major_Update].[Minor_Update].[Fix_Update]. ### Removed - Repository class ## [1.2.7] - 2020-04-20 ### Changed - EntityManager::get() returns now the entity manager object. - EntityManager::getRepository(CLASS) returns now the repository of CLASS. ### Removed - Repository class ## [1.2.6] - 2020-02-25 ### Added - Repository class with doctrine methods ### Changed - Model class is no longer supporting doctrine methods ## [1.2.5] - 2020-02-19 ### Added - Identity ### Removed - TempData class ## [1.2.4] - 2020-02-17 ### Changed - Now, to assign view data variables to the view, is possible by doing $this->variable_name = 'value'; on your controller. ### Removed - Json module - setViewData() function - SingleAction controller "__invoke()" function ## [1.2.3] - 2020-02-07 ### Added - Doctrine as entity manager ### Changed - App configuration will located at App\Configuration - Bugfixes ### Removed - Old model - Repository - Modules, email is no longer supported by framework ## [1.2.2] - 2020-01-24 ### Added - Some bugfixes. - Some security improvements. ## [1.2.1] - 2020-01-27 ### Added - Some bugfixes. ## [1.2.0] - 2020-01-24 ### Added - Added ```App\Application.php``` file. - Added default routing. - Added ```lit-update.sh```. ### Changed - Update some namespaces and paths. - Minor bug fixes. - Repository behavior. Now is not necessary to parse from recordset to model. ### Removed - Removed the major content of website. ## [1.1.1] - 2019-09-25 ### Changed - Update some namespaces and paths. ## [1.1.0] - 2019-09-20 ### Changed - Now, when defining routes, parameter's name must match with argument's name of the actions. ## [1.0.7] - 2019-09-18 ### Changed - Updated namespaces. ## [1.0.6] - 2019-09-17 ### Added - Added ```Router::any()``` method to Router class. Now its possible to define an URL without method. ## [1.0.5] - 2019-09-13 ### Added - Model class. Now all models can extends LIT\Model. There is a new function 'set(array)' which will copy array values to model properties. - Added a new html helper "File". ### Changed - Fixed HTML Helper class. ### Removed - Http status code from JSon class. ## [1.0.4] - 2019-07-18 ### Changed - Update documentation. ## [1.0.3] - 2019-07-17 ### Added - Bundles. ## [1.0.2] - 2019-05-27 ### Added - Json class. - Json object as an action result. - A new method in a Request class which gets body of a http request. ### Removed - Removed ApiRest class. - Removed Yarn package manager. ## [1.0.1] - 2019-05-23 ### Changed - Fixed Redirect class. There was an error getting GET parameters. ## [1.0.0] - 2019-05-10 ### Added - Changelog file. - Yarn package manager.