| 1 |
|
|---|
| 2 |
P R O P E L C H A N G E S |
|---|
| 3 |
============================ |
|---|
| 4 |
|
|---|
| 5 |
September 17, 2005 - 1.1.1 |
|---|
| 6 |
|
|---|
| 7 |
Due to popular demand, the 1.1.1 release introduces compatibility with Phing 2.1.0-final. It does not contain any new features. |
|---|
| 8 |
|
|---|
| 9 |
April 7, 2005 - 1.1.0 |
|---|
| 10 |
|
|---|
| 11 |
Big Changes: |
|---|
| 12 |
*** Changed retrieveByPK() to return NULL instead of throw Exception if no row |
|---|
| 13 |
was matched. (Dave Lawson) |
|---|
| 14 |
*** New PHP runtime conf format has changed (must regenerate conf file). |
|---|
| 15 |
*** Dropped support for deprecated ini-format runtime properties file. (Hans) |
|---|
| 16 |
*** Cleanup of build properties files, removal of deprecated properties. (Hans) |
|---|
| 17 |
|
|---|
| 18 |
New Features: |
|---|
| 19 |
- Schema attributes are no longer case-sensitive. |
|---|
| 20 |
- New <vendor> tag allows specifying vendor-specific attributes. (Pavel) |
|---|
| 21 |
- MySQL identifiers escaping added to SQL generation templates. (Pavel) |
|---|
| 22 |
- MySQL unique indexes SQL generation added. (Pavel) |
|---|
| 23 |
- Added support for interface="" attribute of <table> tag; defaults to Persistent. (Hans) |
|---|
| 24 |
- Added doSelectJoinAll() to generated peer classes. (Hans) |
|---|
| 25 |
- Added doDeleteAll() method to remove all rows from specified table. (Hans) |
|---|
| 26 |
- Added support for returning affected rows from update methods in peer classes. (Hans) |
|---|
| 27 |
- Added PHPUnit2-based unit testing framework to replace old bookstore-test.php |
|---|
| 28 |
- Added schema validation / error throwing to schema parser. (Pavel) |
|---|
| 29 |
- Logging is now optional (no log section means no logger used). (David Zülke) |
|---|
| 30 |
- Added TIMESTAMP_BU, DATE_BU types for "before-unix" (pre 1970) dates. (Hans) |
|---|
| 31 |
|
|---|
| 32 |
Bug Fixes: |
|---|
| 33 |
- Fixed E_STRICT error in generated Peer doCount() method (Hans) |
|---|
| 34 |
- Fixed bug when using doSelectJoin*() methods with tables that have lazyload columns. (Hans) |
|---|
| 35 |
- Fixed logic bugs in doSelectJoinExcept*() method generation. (Hans) |
|---|
| 36 |
- Fixed support for temporal (date/time) default values. (Hans) |
|---|
| 37 |
- Fixed bug where setting only default values in object would result in no save. (Hans) |
|---|
| 38 |
- Fixes to PropelSQLExecTask to handle non-typical queries (Dominik, Hans). |
|---|
| 39 |
- Fixed bug in enumerated inheritance when using string coltype (Kaspars) |
|---|
| 40 |
- Fixes to charset / encoding in schema creation. (Joe Cai, Pavel) |
|---|
| 41 |
- Fixed nested external schema bug. (Pavel) |
|---|
| 42 |
- Fixed unexpected results bug in NodePeer::buildFamilyCriteria(). (Dave Lawson) |
|---|
| 43 |
- Fixed clearSelectColumns() to also clear $asColumns. (Fabien Potencier) |
|---|
| 44 |
|
|---|
| 45 |
Oct. 24, 2004 - 1.0.0 |
|---|
| 46 |
|
|---|
| 47 |
Big Changes: |
|---|
| 48 |
- Removed Transaction class, refactoring functionality into Creole |
|---|
| 49 |
Connection classes (Dave Lawson) |
|---|
| 50 |
- New NodePeer for handling hierarchies (Dave Lawson) |
|---|
| 51 |
- Propel has a new default directory layout for projects. All project |
|---|
| 52 |
files are now located in one directory. |
|---|
| 53 |
|
|---|
| 54 |
projects/ |
|---|
| 55 |
|- bookstore/ |
|---|
| 56 |
| |- build/ |
|---|
| 57 |
| |- schema.xml |
|---|
| 58 |
| |- runtime.properties <-- deprecated |
|---|
| 59 |
| |- runtime-conf.xml <-- new standard |
|---|
| 60 |
|
|---|
| 61 |
- Added new default XML format for setting Propel's runtime properties. |
|---|
| 62 |
(see dir layout above). |
|---|
| 63 |
|
|---|
| 64 |
- Added new build.xml to wrap build-propel.xml. New file is preferred |
|---|
| 65 |
way to build projects, as it allows for inclusion of project-specific |
|---|
| 66 |
build.properties files. Propel is finally fully multi-project friendly. |
|---|
| 67 |
|
|---|
| 68 |
- Support for specifying "lazy-load" columns in schema XML. Lazy load |
|---|
| 69 |
columns will only be populated on demand. This means that by default |
|---|
| 70 |
object hyradtion will not include these columns (so smaller, faster |
|---|
| 71 |
objects), but also that an additional query is executed when data is |
|---|
| 72 |
needed. (This is particularly useful for BLOB/CLOB columns.) |
|---|
| 73 |
|
|---|
| 74 |
Minor Changes: |
|---|
| 75 |
[Generated Classes] |
|---|
| 76 |
- Peer::populateObject() method deprecated (will remove in Propel 1.1) in |
|---|
| 77 |
favor of Object->hydrate() |
|---|
| 78 |
- Removed Peer::buildCriteria() method in favor of Object->buildCriteria() |
|---|
| 79 |
and Object->buildPkeyCriteria() |
|---|
| 80 |
- Peer doSelect*() family of methods now [consistently] only takes |
|---|
| 81 |
Criteria objects for parameter. |
|---|
| 82 |
- No more support in generated Peer classes for using Criteria with |
|---|
| 83 |
different DB name. |
|---|
| 84 |
- Date/time setter methods now perform a strtotime() conversion on passed |
|---|
| 85 |
data and throw a PropelException is such a conversion cannot be performed. |
|---|
| 86 |
- New copy() method replaces non-working __clone() impl. __clone() unused due |
|---|
| 87 |
to desire to have a way to copy objects w/o necessarying copying rows. |
|---|
| 88 |
|
|---|
| 89 |
[Default Properties] |
|---|
| 90 |
- The schema include pattern changed to *schema.xml (instead of |
|---|
| 91 |
*-schema.xml), for added flexibility in layout. |
|---|
| 92 |
|
|---|
| 93 |
[SQL Generator] |
|---|
| 94 |
- Updated model classes to recognize boolean values in case-insensitive |
|---|
| 95 |
manner (allow "TRUE" & "true"). |
|---|
| 96 |
- Updated model classes to recognize Propel types in case-insensitive |
|---|
| 97 |
manner (allow "integer" & "INTEGER"). |
|---|
| 98 |
|
|---|
| 99 |
June 8, 2003 - 1.0.0-beta1 |
|---|
| 100 |
|
|---|
| 101 |
Bug Fixes: |
|---|
| 102 |
- Fixed 'creole' target to include database name in generated schema XML |
|---|
| 103 |
- Fixed Propel to work correctly with tables that have pkey, but no |
|---|
| 104 |
autoIncrement cols |
|---|
| 105 |
- Fixed Criteria toString() method to work [for SELECT clauses only] |
|---|
| 106 |
- TIMESTAMP defaults to DATETIME for MySQL |
|---|
| 107 |
- Added support for COMMENT keyword (for descriptions from schema) in |
|---|
| 108 |
MySQL table definitions |
|---|
| 109 |
- Fixed Table->containsColumn() method in propel-generator |
|---|
| 110 |
- Fixed insert-sql to work with multi-line & complex SQL statements (Dominik del Bondio) |
|---|
| 111 |
|
|---|
| 112 |
May 2, 2004 - 1.0.0-alpha2 |
|---|
| 113 |
|
|---|
| 114 |
Bug Fixes: |
|---|
| 115 |
- LONGVARCHAR no longer considered LOB column (HL) |
|---|
| 116 |
- Added INDEX for MySQL/InnoDB foreign keys |
|---|
| 117 |
- Removed old references to BOOLEANINT/BOOLEANCHAR from platform classes (HL) |
|---|
| 118 |
- Allow missing autoIncrement column w/o requiring idMethod="none" (HL) |
|---|
| 119 |
- Fixed parse errors in generated classes w/ multi-column primary key (HL) |
|---|
| 120 |
|
|---|
| 121 |
New Features: |
|---|
| 122 |
- Added column validator framework and validator suite (MA) |
|---|
| 123 |
- Added doCount() method to generated peers (MA) |
|---|
| 124 |
|
|---|
| 125 |
|
|---|
| 126 |
--$Id: CHANGELOG,v 1.11 2005/04/07 22:25:52 hlellelid Exp $ |
|---|