Changelog
RedBeanPHP 3.1:
| Type of Change | Description |
|---|---|
| Feature | R::storeAll($beans) |
| Feature | R::trashAll($beans) |
| Feature | Support for Postgres datetime |
| Feature | R::close() - closes database connection |
| Feature | Model_Formatter getModelName($model,$bean) now gets a bean |
| Feature | R::dispenseLabels($list) |
| Feature | R::gatherLabels($beans) |
RedBeanPHP 3.0.4:
| Type of Change | Description |
|---|---|
| Fix | Fixed issue in R::dup() Nullifying Ids after preloaded lists |
RedBeanPHP 3.0.3:
| Type of Change | Description |
|---|---|
| Fix | Fixed issue in R::dependencies() |
RedBeanPHP 3.0.2:
| Type of Change | Description |
|---|---|
| Feature | R::dependencies(...) |
RedBeanPHP 3.0.1:
| Type of Change | Description |
|---|---|
| Fix | Fixed issue in R::dup() |
RedBeanPHP 3.0:
| Type of Change | Description |
|---|---|
| Feature | Support for special, DB specific data types like DATE, DATETIME and SPATIAL types |
| Feature | Mix SQL with PHP |
| Feature | New Test Architecture |
| Feature | Find() works with PostgreSQL without the need for first argument as WHERE |
| Feature | R::graph($requestArray) - directly from facade |
| Feature | A little REST support in BeanCan Server (more will follow) |
| Feature | R::dup() - replaces copy, makes a deep copy of a bean, properly and without storing. |
| Feature | new R::exportAll, exports all own-list, automatic recursion protection |
| Feature | relaxed interface model formatter |
| Feature | you can now unset parent objects using $bean->parent = null/false |
| Feature | R::graph() has 2nd parameter to filter empty beans |
| Feature | $bean->isEmpty(), returns TRUE if all the properties are empty |
| Feature | R::graph() now throws exceptions in case of unexpected structure |
| Fix | FALSE is stored as 0 in SQLite now |
| Fix | Unrelated no longer triggers error when there are no associations at all |
| Fix | R::findOne now returns NULL instead of FALSE - seems more appropriate |
| Fix | Removed 3rd param in Exception to avoid issues with PHP 5.2 and earlier |
| Removed | Optimizers |
| Removed | Old cooker (now in plus-pack) |
| Removed | R::setupMultiple() - use R::addDatabase() instead |
| Removed | R::relatedOne() - use R::related() instead |
| Removed | Facade Helper - never going to work: features for OO purists |
| Removed | Legacy Tag API - the explode() hell |
| Removed | R::copy |
| Removed | By default Bean Exporter plugin no longer loaded, not in all-in-one |
| Removed | Bean Formatter you can NO LONGER customize database schema (because it breaks things) |
| Removed | R::view() |
RedBeanPHP 2.2.3:
| Type of Change | Description |
|---|---|
| Fix | Fixed issue FUSE models dont process nested beans |
| Fix | Added data type LONG TEXT for MySQL |
RedBeanPHP 2.2.2:
| Type of Change | Description |
|---|---|
| Feature | R::$adapter->getAffectedRows() now also works with get() |
| Fix | Fixed incompatibility issue lcfirst for PHP 5.2 |
RedBeanPHP 2.2.1:
| Type of Change | Description |
|---|---|
| Fix | Fixed minor issue with indirect modification of nested beans. (issue #100) |
RedBeanPHP 2.2:
| Type of Change | Description |
|---|---|
| Feature | Added R::nuke() - nukes entire database |
| Feature | Added R::prefix('cms_') - installs table prefix in one command |
| Fix | Cleaned whitespaces |
| Fix | Removed some old unused code |
| Fix | Fixed uppercase issue in PostgreSQL View Driver |
| Fix | Fixed issue in old 1.3 style Cooker concerning 0-values (empty-check) |
| Fix | Fixed explicit aliasing issue for old SQLite versions (midnightmonster/patch-1) |
RedBeanPHP 2.1.1 contains a 'change of mind'. Changed default action of foreign keys from NO ACTION to SET NULL. This has the following
advantages:
1. People not interested in FKs will not be bothered by intigrity violations.
2. People interested in FKs have the opportunity to configure them at one moment; the right moment: when leaving fluid mode.
3. Development scenarios and cleaning actions don't interfere with foreign keys.
4. Uncommon scenarios will not clash with foreign keys as well (these are likely in fluid mode, import scripts, tests etc).
RedBeanPHP 2.1 is a minor release and contains some new features as well as some bugfixes. Here is a list. Note that this release IS backwards compatible with RedBeanPHP 2.
| Type of Change | Description |
|---|---|
| Feature | Added R::genSlots($arr) - generates slots for array |
| Feature | Added $bean->exportToObj( $obj ) - will add the bean properties to $obj |
| Feature | Added R::exportAllToObj( $beans, $classname ) - will add the bean properties to instances of $classname |
| Feature | Added R::exportAll($beans,TRUE); - will export beans recursive (for use with EXTJS for instance) |
| Feature | Added RedBean_Exporter class, for more control over recursive exports |
| Feature | Added R::addTags() - adds tags without removing the old ones (thanks to Palicao) |
| Fix | Fixed an issue in SQLite that prevented columns in tables with custom ID fields to be widened |
| Fix | Removed triggers from SQLite, now uses foreign key constraints |
| Fix | Foreign key constraints will now be created correctly for tables with multiple keys as well |
| Fix | Fixed an issue that prevented the use of camelCase in own- and shared- properties (still not recommended, bad practice) |
| Fix | Fixed some issues in documentation |
| Fix | Fixed an issue concerning own/shared property and trash/delete hook (#90) |
New in 2.0
RedBeanPHP 2.0 makes ORM even easier and more fun! RedBeanPHP 2.0 has been released on August 1 and contains the following improvements:
| Support for N:1 relations |
| On-the-fly Views |
| Improved Tag API |
| Automatic constraints to keep link tables clean |
| Automatic foreign key generation |
| New and improved Form Cooker |
| Bean2JSON when casting a bean to a string |
| New flexbible architecture |
| Clean up (less than 100KB now!) |
| Many other improvments, bugfixes and tests… |
Tweet
User contributed notes. Please use the comment section to provide tips, notes and examples. To ask for support or to provide feedback use the forum. For bug reports use Github Issue Tracker.
Site comments powered by Disqus