Skip to content

Commit

Permalink
BC break on addOr mentioned in UPDATE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mhitza committed May 13, 2013
1 parent ce8c463 commit e197135
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,20 @@ After:

## `Propel\Runtime\Om\BaseObject` class has been removed.

## `Propel\Runtime\ActiveQuery\Criteria::addOr` operates only on existing conditions, where prior it would `OR` to a condition to
on the same column (if it existed).

E.g.
```php
$criteria->add('column1', 'value');
$criteria->add('column2', 'value');
$criteria->addOr('column1', 'value'); // this used to be OR`ed to the first add (matched by name)
```

All base object methods have been merged in generated Base Object classes.
This could break, behaviors that call `parent` methods

## `Propel\Runtime\Om\Persistent` Interface replaced by `Propel\Runtime\Om\ActiveRecordInterface`

All methods from `Propel\Runtime\Om\Persistent` Interface have been removed
All Base Object classes now implements `Propel\Runtime\Om\ActiveRecordInterface` this could be use to identify a Propel Object
All Base Object classes now implements `Propel\Runtime\Om\ActiveRecordInterface` this could be use to identify a Propel Object

0 comments on commit e197135

Please sign in to comment.