RedBean v5.1 Release Notes

Release Date: 2018-04-03 // about 6 years ago
  • ๐Ÿ”„ 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
    

    ๐Ÿ‘€ See
    https://redbeanphp.com/index.php?p=/changelog