Releases: gabordemooij/redbean
Releases · gabordemooij/redbean
5.7.4 Jubilate Sunday Edition
5.7.3 Jubilate Sunday Edition
- Added either() method to support ??-like NULL-coalesce
- Compatibility fix: R::loadJoined() on NULL no longer gives an error on PHP 8.1 (thanks Marios88)
- Improved documentation (thanks MangoMarcus)
- Fixed performance issue with class_exist (thanks Gnysek)
5.7.2 Jubilate Sunday Edition
Added DBPrefix() function to select different Model namespaces per database
Added $bean->asObject() to cast value to Object
Added $bean->trimport()
5.7.1 Jubilate Sunday Edition
- Added compatibility with PHP 8.1 (thanks Ipsod)
- Fixed a minor bug in setPDO() that failed to set isConnected flag (thanks DengWang)
- Added 4th parameter to BeanCollection to pass a meta mask (thanks MangoMarcus)
- Added initial support for PHPStan/Psalm-annotations (thanks Craig Francis)
5.7 Jubilate Sunday Edition
- Added pstr($x) function to easily generate [$x, PDO::PARAM_STR] for you
- Added pint($x) function to easily generate [$x, PDO::PARAM_INT] for you
- Added R::camelfy() convience function
- Added R::uncamelfy() convience function
- Improved PHP-8 compatibility
- OODBBean::equals now accepts NULL and simply returns FALSE
- Improved some source comments
5.6.2 Christmas Edition
- Fixes a minor syntax compatibility issue in PHP8
- Fixed issue with R::bindFunc and shared lists in some cases
- Added PHP8 to Travis-CI test matrix (does not work yet)
5.6 Christmas Edition
- Added DDL-templates (Gabor)
- Added bean->info() and R::findFromSQL() (Gabor)
- Added getDatabaseServerVersion() (Gabor)
- Fix unnecessary widening when storing 1 in a MySQL TINYINT(1) column #839. (Gabor, thanks davidsickmiller)
- Preventing RedBean from trying to call protected or private methods (Lynesth)
- Allowing the use of __call in the model (Lynesth)
- Allow overriding stringifyFetch with setPDO (Gabor)
- Adjust setPDO in RPDO to avoid having pdo instance replaced (Gabor)
- Added support for SQL Select Snippets in CTE-Queries (Gabor)
- Added support for MySQL8 (Gabor)
5.5 Pentecost Edition
- SQL-Extensions @joined/@own/@shared** (Lynesth)
- R::countChildren()/R::countParents() (Gabor)
- Finder::onmap()/R::loadJoined() (Gabor)
- Execution bit removed from PHP files (Travispaul)
- Plug-ins may now also contain underscores (Lynesth)
- Arrays are now allowed as meta mask (Lynesth)
- Minor performance improvement in convertToBeans (Lynesth)
- Improved checking in LIMIT-1 glue (Lynesth)
- Fix issues in Hybrid mode (Gabor/MadTeddy)
- Make convertToBean compatible with getRow (Gabor/Flip111)
- Fix in OODBBean changelist (AlexanderYIXIAO)
- Fix in testPartialBeansAtSetup (AlexanderYIXIAO)
- Removal of AutoResolve (Gabor/Lynesth/Rayraz)*
5.4.2 St. Nicholas Edition
Fix issue with Hybrid Mode not working as documented (Gabor)
5.4.1 St. Nicholas Edition
- Fix issue with default values in combination with Partial Beans mode
- Fix minor issue in Unit Test system
- Update test file for PHP 7.4 compatibility