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