Added DBPrefix() function to select different Model namespaces per database Added $bean->asObject() to cast value to Object Added $bean->trimport()
Fix issue with Hybrid Mode not working as documented (Gabor)
Debug Logger now correctly handles typed bindings (author AbygailG) R::store( $beans, $unfreezeIfNecessary); (author Gabor, inspiration from PR David Sickmiller) R::storeAll( $beans, $unfreezeIfNecessary); R::findForUpdate() (author Gabor) R::traverse(...,function( ,$depth){}) passes depth level (author Lynesth) Allow findLike (and the likes) to use "IS NULL" conditions (author Lynesth) Have trash/trashAll return number of deleted beans (author Lynesth) Fixed Facade::removeToolBoxByKey removing the toolbox (thanks Dmelo) R::getRow() now adheres to return type array (author Nucc1) R::setAllowFluidTransactions() (thanks Lynesth and Marios88) Peformance improvement of R::diff() (author Lynesth) Fix Cache prevent a second FOR-UPDATE SQL query (author Gabor) Additional unit tests Improvement source code documentation
Explicit parameter type binding (thanks Lynesth) Added countTaggedAll() and countTagged() Added R::useFeatureSet() Added nmMap() for complex FindMulti mappings Released independent SQN library for quick SQL notation in PHP Added R::noNuke() Support for MySQL SSL: useMysqlSSL( $key, $cert, $ca, $id ) Support for PHP 7.3
Changes in version 5.1 (2 April 2018, Easter Edition)
Added R::trashBatch($type, $ids) to trash a batch of beans in one statement
Added R::hunt( $type, $query, $params ) to find and trash beans in one statement
Added Debugger::setOverrideCLIOutput() to override PHP_SAPI in Debugger
Improved API documentation box()/unbox()
Improved API documentation matchUp
Make QuickExport compatible with PHP versions 5.4 and below
Add warning in API documentation regarding use of findLast()
Mark R::findLast() as deprecated
Fixed compatibility issue with PHP 7.2 (thanks Lynesth)
Increases execution speed if no conditions are set (thanks Lynesth)
Added DispenseHelper::setEnforceNamingPolicy() to disable naming policy
Faster return from __call() if no model (thanks Lynesth)
Updated README and Composer JSON (thanks Rotzbua)
Added Composer Model documentation (thanks Ben Major)
Fix Facade::convertToBean documentation (thanks Diogo Oliveira de Melo)
Reached 100% test coverage
Code clean-ups
Improved other documentation
Tiny Query Builder now available as plugin for your convenience
Improved performance of modifySchema() (thanks davidsickmiller)
Fixed a compatibility issue with ProxySQL in connection mechanism
Simplified Exceptions for load() functions By default R::load() and R::loadForUpdate() will now throw exceptions if a bean cannot be loaded due to a lock timeout Support for JSON columns has been extended. Update .gitignore (thanks jreklund) Update Composer aliasing in readme (thanks benmajor) Make filter function in look() optional Added R::loadForUpdate() to load and lock a bean Separate versions for MySQL, Postgres and SQLite as well as combined Storage of partial beans R::look(...) perform query and put result in template R::matchUp(...) match-and-update in one go (easy to create login functionality) R::csv(...) create a CSV file from a query R::diff(...) returns a diff between a pair of beans Added setEnforceUTF8Encoding to fix issue with stringifying binary data Added exists() to bean to check for relation Fixed notice in Facade inproper use of reset() Added missing validations for findOrDispense and findOneOrDispense Support for utf8mb4_unicode_520_ci (thanks Johan)
Update from March '17.
How can I help you explore Laravel packages today?