RedBean v5.0 Release Notes

Release Date: 2017-10-27 // over 6 years ago
  • 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)