Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 791 lines (766 sloc) 52.636 kb
09058f1 @willdurand Prepare 1.7.0 release
willdurand authored
1 # Changelog Of The Propel 1.x Branch #
fb22a04 @fzaninotto [1.5] Preparing the 1.5.1 release
fzaninotto authored
2
4566669 @willdurand Bump version to 1.7.2-dev
willdurand authored
3 ## ????-??-??: Version 1.7.2 ##
4
5 n/a
6
af52773 @willdurand Prepare 1.7.1 release
willdurand authored
7 ## 2014-02-25: Version 1.7.1 ##
0abc692 @willdurand Bump version to 1.7.1-dev
willdurand authored
8
af52773 @willdurand Prepare 1.7.1 release
willdurand authored
9 81a7125 Fix CS
10 19ac478 fix bug with boolean value because no return FALSE value
11 af82270 changed fucntion to function
12 48089c0 Add yield keyword in getPhpReservedWords
13 82a7a32 First try to load platform from the user provided build properties try to fix #815 With test
14 d3136b1 Added hhvm to travis
15 30690de Providing tests for proposal #804
16 13505a8 setters should provide fluent interface
17 39bb8fb Removed nested dirname :)
18 899cf90 Fixes Issue #724
19 7b073a2 adapted this fix to new specifications
20 e7f7c9f fixed type-hinting in addDefaultMutator and added tests for it
21 fbf302f Update links to the 1.x documentation
22 5c4ece0 Allow gh-pages to be tested
23 584e2a4 use datasource connection(buildtime-conf.xml) instead of globals (build.properties) while performing datadump task
0abc692 @willdurand Bump version to 1.7.1-dev
willdurand authored
24
09058f1 @willdurand Prepare 1.7.0 release
willdurand authored
25 ## 2013-10-21: Version 1.7.0 ##
eab64db @willdurand Bump version to 1.7.0-dev
willdurand authored
26
09058f1 @willdurand Prepare 1.7.0 release
willdurand authored
27 067dad2 reworked approach for better handling of executed queries in DebugPDO
28 2bb6d2d fix DebugPDOStatement for usage with execute
29 041af74 Added unit test for modified table case
30 c15c239 Added type-hinting on doAdd crossFK generated functions
31 ceee8a9 fixed a getter function without '$con'
32 f30aa35 Fixed diff task combined with skipSql
33 57cde74 [README] Add packagist badge to show project popularity
34 9087851 Fix namespace support
35 83841e5 Get TableMap class name from Peer class
36 3b0b2cc Added test for version column case insensitivity
37 46b5a9c Added case-insensitive check for the version column
38 b9a8ad7 Fix small error in the QueryBuilder Doc for TemporalType
39 3ac9f0c Update SluggableBehavior.php
40 a2f4f92 unit test
41 2355979 slugable behavior - scope column overrides $getter
42 38742c4 Support for regexp on different platforms
43 148aeb2 [VersionableBehavior] Fix exception message got toVersion
44 a5226c9 fix bug when adding previously removed relations
45 115f6de add missing import for nested set
46 252da4c test added
47 52d8a76 fix for CASE expression in query with offset in ms sql
48 2b2c4da code style fix
49 f20f99b PropelObjectCollection::getIdenticalObject optimalization
50 0cfa3db Fix accidental type conversion in sluggable behavior.
51 e7ecc97 added Unit Test
52 c1fc85d Fixed issue with migrations and decimal or numeric table size
53 a6c3218 fix scheduledForDeletion for CrossFK w/ refPhpName
54 70c18d2 Undefined index fix
55 2193ba4 Fixed MigrationManager to use queries and charset settings
56 d37b4cd Fixed object builder toArray withColumn
57 7e173bc Fixed test assertion
58 20f66c0 Minor spelling corrections
59 2e50ea8 Failing testcase in toArray withColumn
60 4a5eba2 Fixed Sluggable behavior combining with symfony_i18n
61 c4b61cc Bugfix for PHP < 5.3.0
62 f6031de Foreign Keys default behaviors managment (resolves issue #390)
63 130429f Fix some issues. Closes #684
64 193f736 Fix a couple of mistakes
65 171211c Expected and actual values where in wrong order
66 52b072b Improved SQLParser performance
67 9687fe5 Tests for multiple character delimiters support
68 cfa8222 Added multiple character delimiters support
69 0272ba3 clone object in hashCode() function so the original object is not changed when calling hashCode provided test for the hasCode() function
70 3ea2f2d Issue #677: Set back reference when calling add Provided tests for testing if all references are set for crossreferences before saving
71 4495b9f fixed transaction leak when exception different from PropelException is thrown
72 3bf0689 fix deleting related objects
73 8fe41e5 Added multiple scope support in Sortable behavior.
74 8f75133 Fixed #651. Stupid typo.
75 5b7878a clean
76 f72c534 add an excluded_parent_behavior to concret_inheritance behavior
77 2606549 only generate findOneBySlug if required
78 cb913c3 Add test for ModelCriteria to prove it support IN operator in JOIN conditions
79 80179d6 Additional assertion to ensure binding params doesn't change actual result
80 a6a20bd Use Criterion always when possible Using Criterion allows to bind values in statements. You can't use Criterion only for strings because in this method you can't distinguish if it is a table name or value provided by user.
81 0ad1698 Add to Criteria support for IN and NOT IN operators in JOIN conditions e.g. JOIN x ON (x.id = y.x_id AND y.foo IN (42, 51))
82 61f9368 removed duplicated assertion, refs #653
83 54362ae fixed urls to trac tickets propel.phpdb.org/trac/ticket -> trac.propelorm.org/ticket
84 75a15f1 fix generated CS of SoftDelete in forceDelete()
85 27ea1df make ModelCriteria::create() changes more backward compatible
86 cd22e0b reduced ModelCriteria::clear() tests
87 937ff8b fix timing issues in TimestampableBehaviorTest
88 11c1841 add lcfirst function stub
89 aef6049 full list of changes below:
90 fbc1b3a fix some introspections, coding style
91 0379f34 add one-to-one handling to VersionableBehavior
92 5b3ad51 Update .travis.yml
93 38ec08d Revert bad CS fix (alternative CS behavior)
94 93c6a0f Fixes JOIN duplication issue when default join type equals given join type (issue #373)
95 dcace44 Bugfix for join equality when default join type is used
96 86760fe Make `testQuotingIdentifiers()` abstract and allow each `DB<Adapter>Test` to implement it
97 16926a5 Remove unnecessary .''
98 fa98c50 Remove not valid anymore comment
99 07da31f Support for quoting aliases
100 3a91f81 add tests for issue #621
101 5bab81d Update generator/lib/reverse/mysql/MysqlSchemaParser.php
102 577df2d Don't null size field when scale specified
103 644931d Fixed typos
104 c116afc add test for issue #622
105 423f354 Merge branch 'master' of git://github.com/ciromattia/Propel into ciromattia-master
106 c1047df Merge branch '1.6'
107 5f503ea Correctly add map namespace when $phpName has no backslash (e.g. namespaces are not used) - fixes #614
108 82aa016 allow withColumn() and select() again. fixes #608.
109 9798365 added failing testcase for issue #608
110 622b9fe expect PropelException when cloning PropelOnDemandCollection's
111 0890783 separate tests for __clone() using objects and scalars
112 efb83ee fixed __clone() for PropelCollections containing scalar values
113 e1dbfa9 added tests for PropelCollection new __clone() magic method
114 f268cb0 removed unused properties from OnDemandCollection which were never set.
115 366e1df fixed test
116 48ebeb9 order by alias is not supported in mssql. fixes #596 by @chuck-jove
117 c85111f added test provided for issue 596
118 288e91d Fixed #603
119 866378d Removed the `extend <BasePeer>` in PHP5PeerBuilder since it's a bug.
eab64db @willdurand Bump version to 1.7.0-dev
willdurand authored
120
8b6a304 @willdurand Prepare 1.6.9 release
willdurand authored
121 ## 2013-03-31: Version 1.6.9 ##
122
123 e9313d0 [Sluggable] fix issue with slug ending with 0XYZ
124 81815e6 [Sluggable] add test to prove issue with slug ending with 0XYZ
125 46ff6a2 Split the `testForeignKey` into several methods. Added some phpdoc so its cleaer
126 409850e Fixed #617. Proved the issue #617 and fixed it.
127
5114990 @willdurand Prepare 1.6.8 release
willdurand authored
128 ## 2013-02-14: Version 1.6.8 ##
441f969 @willdurand Update CHANGELOG
willdurand authored
129
5114990 @willdurand Prepare 1.6.8 release
willdurand authored
130 01ea918 Fixed #601.
131 faaeec8 break on first validation error,...
132 53a270d conditionally check for the propel runtime version. This is required when runtime.xml based tasks will be run.
133 7006999 Pulled out assignment typo to clean up PR
134 2f751ce addHaving()'s parameters are the same as those of getCriterionForCondition
135 b2458cb Docblock fixes and one assignment typo
136 57bf351 Changed the signature of generated "getOMClass()" functions to a more generic form to be compatible with Concrete Inheritance Behaviour (as of: https://github.com/propelorm/Propel/issues/563#issuecomment-13036863).
137 85a92dd updated phing dependency to latest minor release, using tilde operator
138 799b71d MySQL throws an 'Incorrect table definition; there can be only one auto column and it must be defined as a key' if the primary key consists of multiple columns and if the first is not the autoIncrement one. So this push the autoIncrement column to the first position if its not already.
644931d @pborreli Fixed typos
pborreli authored
139 b9440ea In the Task `PropelSQLDiffTask` the `disableIdentifierQuoting` build property was not handled.
5114990 @willdurand Prepare 1.6.8 release
willdurand authored
140 c09ef55 `setNegativeScope` does not return anything.
141 39ad25d Coding style, comments adjusted and removed unused variable.
142 4cbf8a8 Removed limitation where we can only move branches inside the same scope.
143 3a66896 fixed version constants to make unit tests pass
144 47392c1 added warning when build-time propel version and runtime-propel version do not match, refs propelorm/Propel#577
145 d8c5c6d Removed tabs.
146 d6c11f1 Added `-` to the xsd simple type `file` comment.
147 f50d864 Fixed #566, #568. Since "package" is actually a file path, it should be able to contain dashes. Changed the xsd database>package data type to `file` and adapted simple type `file` to allow them to contain dashes. Added a test for it.
148 4868ae0 fix set descendant class
149 d3a27a8 Adjusted coding style and fixed a innodb vs. myIsam bug in nested set test resulting out of the new distinction between them.
150 23176c9 Fixed invalid regex for php_class data type
151 3a3a2d8 Removed constraint/foreign key statements if the table is MyISAM.
152 b94e4d8 Removed the enforced first non-backslash char in php_class data type.
153 070b042 Very small performance increment by breaking the loop if we found the index to be removed.
154 a3cb1b6 Fixed invalid generation of INDEX statements in Table::addExtraIndices() [only MySQL].
155 bea81dd Fix 327 for incorrect filterById implementation.
156 f396437 Avoid escaping single quote in a string
157 6ffe886 fix serialization for all temporal type
158 a39c42c fixed key serialization
159 f159d77 fix test for dot generator
160 4538890 fix dot syntax generated by graphviz target
161 97bd6ab Fixes #345
162 1d69cab Allow the QuickGenerator to use another Platform
163 73134d5 Change fallback order in getTableByPhpName(). Fixes #385
164 62f0f79 Fix initialization of internal iterator for getRelCol. fix #460
165 fb20853 teaching propel to clear UP and DOWN when calling clearAllReferences(true) we have infinite recursion prevention already covered also we add an optional param to clearInstancePool. if passes as true it will clearAllReferences(true) on every instance before clearing it.
166 075568c fix for many-to-many recursive save
167 28bd1f6 Fix cast in setters. Should fix #283
168 ee5dd4f Fix inconsistency for BIGINT. Fixes #459
169 b01565b Use model prefix in QueryInheritanceBuilder, fixes #542
170 d298403 fix variable name on boolean filter methods
171 fa6bec5 Improved getValueSet() method, added ENUM getters for SQL value, set Query filter to use SQL getters
172 34f088f add 'add_cleanup' option to SluggableBehavior
173 aef0024 sqlType="enum(..)" now set the valueSet attribute it is not required to use Propel::ENUM as type
174 83b7036 fix slug pattern, add tests
175 100925e Too many queries for the makeSlugUnique method
176 b5660ec fix call to support php < 5.4
177 b489a97 fix problems when relation object has a composite PK
178 6232333 changed \PDO to PDO
179 130f941 fix wrong order of result when using withColumn and select(), add tests to prove the issue
180 d8dbbe7 Fix: allow arrays as behavior parameters to be exported by the tablemap builder
181 0199fac reset version comment upon saving
182 39aaaa6 Fix missing use statement. Closes #515
183 c702672 Fix strict standards error in Archivable & Concrete Inheritance
184 d557730 Removed unneeded else-blocks to simplify the code.
185 cb2da0b Fix absolute path test for Windows
186 6a42802 fix performance issue loading references on save
187 6be009c Added the missing default from patching
188 8e4348d Missed the param on the method when patching
189 35eb198 Fixed an issue with unnecessary queries for one-to-one related objects.
fc58262 @willdurand Update CHANGELOG
willdurand authored
190 aaef084 Remove closure to ensure BC
191 8ba821f fix CS
192 a2ff295 Fix case sensitivity
193 394beb5 Better output in tests
194 269f088 Fix missing PropelException use declaration.
195 5cfdf7c Fix findOneOrCreate with single inheritance and namespace
196 21a1e03 sortable behavior: tests for FK scope column
197 f860b20 sortable behavior: fixed rank shifting on delete when there are no related objects
198 6966cd9 fix #500 update composer.json force phing 2.4.12
199 22b7ef5 Fix a few typos
200 8bba368 Fix wrong escape of $con
644931d @pborreli Fixed typos
pborreli authored
201 d55ce56 Fix single inheritance class choice error when object is create by findOneOrCreate function
fc58262 @willdurand Update CHANGELOG
willdurand authored
202 54df08d Fix test files (password introduced by error)
203 1bf96f2 Active identifier quoting by default, and fix it
204 1eb07b8 Enable identifier quoting
205 b9ce9a8 add more fluent FK api
206 624b87b Fix a descendant_class attribute issue when used with concrete_inheritance and namespaces (issue #480)
207 a9b91e5 fix duplicate use of parentClass from behaviors
208 04e6a7c migrations don't report equal FK behavior
209 3a93511 added unit test to prove the call order of combine and filterByXXX has influence on sql
210 2b575ab allow baseClass values with namespaces
211 e66636c Fix PropelCollection::toArray()
212 66d3740 Replace locale en_EN by en_US. The locale en_EN is not a standard locale.
213 28b61db Added postHydrate hook to PHP5OBjectBuilder and BaseObject
214 09760d7 Fix test suite (safe mode)
215 9ce1af4 Fix fixtures to avoid error (mysql safe mode)
216 ecf2bc4 Fix travis setup
217 2345aaa allow unsetting lazy load columns without loading
644931d @pborreli Fixed typos
pborreli authored
218 b692286 Remove accidentally added space
fc58262 @willdurand Update CHANGELOG
willdurand authored
219 725518f Fix the 'Table "t1" declared twice' when same table name are declared on different schema fix #311
220 ed54050 sortable behavior: removed getting $con in moveRelatedObjectsToNullScope()
221 4c369ba sortable behavior: changed moveRelatedObjectsToNullScope() to use already existing getMaxRank() method and fixed bug in shiftRank()
222 1e16f2c sortable behavior: changed moveRelatedObjectsToNullScope() method to use improved shiftRank() method
223 4c3cf04 sortable behavior: improved shiftRank() to not require $first node parameter
224 924839c sortable behavior: when scope column is a FK and onDelete="setnull", removing related object now moves all objects to the end of null scope
225 4ded2e5 skip findPk alias on "@method" generation in Query
226 740d8ff fixed combine overwrite exiting criterions.
227 3af6a72 sortable behavior: tests for new scope approach (includes fixed typo in SortableBehaviorObjectBuilderModifierWithScopeTest::testInsertAtRank())
228 2efa390 sortable behavior: changed removeFromList() to work with new scope approach, little bugfix in preUpdate
229 f9a0906 Don't try to filter table names.
230 441f969 Update CHANGELOG
231 7e169b3 Applied fix #378 change for self::PEER
232 957b90a Readded blank line before return (accidentally removed while resolving merge conflicts)
233 5b06917 Fixed typo in method names: preDelete => preUpdate
234 737bb32 Make findOneById to be an alias of findPk
441f969 @willdurand Update CHANGELOG
willdurand authored
235 6e21f54 Ignore composer.phar
236 6eb19ea Fix #281
237 7b30873 Fix #348
238 e443b61 Fix #436
239 754adbf Add new termination method: exists()
240 363fce3 Remove lcfirst() for BC purpose. Fixes #415
241 da3288c Fix #424
242 f9e3c77 Fix i18n behavior with table prefix. Fixes #423
243 ddf5b70 Fix #433
244 56c13d7 Fix typo in the database.xsd file
245 ebcdff1 Updated the Table class to not use the schema prefix as part of the phpName. Fixes issue #5. Changed DelegateBehaviorTest to not us
644931d @pborreli Fixed typos
pborreli authored
246 0f95b75 adds tests for i18n_pk_name option, checking columns names and fk building through table and i19n.
441f969 @willdurand Update CHANGELOG
willdurand authored
247 1c99e1d adds a test for i18n_pk_name schema option
248 fc153d0 add a new option for customizing the i18n table pk column name
249 6d31fa6 Fix QuickBuilder, QuickGenerator
250 c73221f Adjust fix for #425
251 945efa3 Fix PropelObjectCollection to use the right approach during search()/contains()
252 54e559f Added optional condition to AggregateColumn behavior
253
da71e39 @willdurand Prepare 1.6.7 release
willdurand authored
254 ## 2012-07-30: Version 1.6.7 ##
255
256 38cfc9e Update generator/build.properties-sample
257 f90dfa9 fix for issue 425
258 74ee4e1 fix for issue 425
259 88e21e6 Avoid blank line in object stub class
260 8709d3a Fix tests
261 cefc9ef More CS fixes
262 e1e1078 Fix doc blocks
263 29c9db3 Fix NULL => null
264 3c1717b Improve code generation to follow PSR recommendations
265 6bae0ca Changed FIXME to TODO
266 bfef0d7 Changed comments
267 5e9dfc1 PropelSQLParser with delimiter and fixed tests
268 39d7958 fix for issue 425
269 9667675 SQL Parser Delimiter Tests
270 8cafbd6 Merge remote-tracking branch 'upstream/master' into delimiter-trigger-parser
271 5522fbf fix test to pass on platform with EOF != \n
272 cad1ac6 fix test 2 new relations added to book ;) for issue #421
273 a9097da this fix issue #409 thank to toaotc for the patch
274 2ca7067 add test to prove issue #409
275 e84c67c add chaining in PropelObjectCollection::toKeyValue
276 5dd5394 Revert "Fix platform loading" as it breaks multiple builds using the runtime config
277 55fef69 Fix regression that removed Persistent interfaces in base classes
278 d87e9a5 Add test that prove a regression
279 7c7a608 Fix composer config
280 c476e50 Add generator classes to the classmap
281 0d1515d Added column positioning ability to mysql migration
282 66e7a59 fixes translateFieldname and concrete inheritance
283 3c891ed add test to show the inheritance issue with php5.4
284 66f91c9 Fix platform loading
285 2874edb fix call on a non object ;)
286 790b3e4 [aggregate_column behavior] computeCall call reduced from n+1 to 1 or 2 fix #403, add computeCall on main object save() add isAlreadyInSave(),
287 ddd028c add test to prove to much query on aggregate_column behavior
288 c36fc7f Add back previous include but change the order of the include path
289 c107e8e Issue #388: Fix propel-gen path issues Fixes an issue with the check for the propel-gen home-path in propel-gen script Fixes an issue with classes being redeclared because of custom include in phing.php (code is not there in the phing.php version from phing itself)
290 9731032 Fix collection cache overriding existing one when related object are fetched with criteria
291 f371602 Fix data loss where parent object won't save related objects when fetched with criteria
292 3a3ad2c Fixed Versionable Object Modifier not to reload object collection after populateFromVersion
293 dde4460 Fix joining related object
294 abc7fc8 Change ObjectBuilder to reload related objects when collection is partially loaded
295 05b7e1d Fixed possible bug
296 5d9517a Improved SQLParser to work with triggers in additional .sql files
297
1ffbf25 @willdurand Updated CHANGELOG
willdurand authored
298 ## 2012-07-02: Version 1.6.6 ##
299
300 17edd0f Prepare 1.6.6 release
301 f15d36d Added defaultValue support for type ARRAY
302 3fc74cc Added tests for setIgnoreCase() method
303 b03569a Fixed package path if no parent package found
304 ec4ea3d [NestedSet] Fixed CS
305 b100492 Fixed small memory leak. Closes #358
306 efb2b4a Added limit to phing version. It's now >= 2.4.12, but just for 2.4.* versions.
307 1f74be0 Better composer constraint, fixes #387
308 da1e6ce Fixed bin scripts
309 b41b746 Cosmetic changes
310 62fd2bf fix regressions introduced in 841d477db7
311 841d477 add @throws and @return where missing
312 94aae82 fix several generated phpDoc, missing declarations
313 66f9eda Fixed CS for sluggable behavior
314 e76f854 add sluggable scope schema
315 a0e7463 add test for sluggable with scope and alter make unique in behavior to include scope
316 ec0a762 added support for scope_column
317 3b34b07 add test for sluggable with scope and alter make unique in behavior to include scope
318 dd1ce76 tweak for proper php format
319 f32733f added support for scope_column
320 a051a60 Fixed CS
321 ca773b3 fix several phpDoc and type hints
322 0661d18 fix #378 change for self::PEER
323 70e572b add enforceVersioning
324 3b15493 Fixed propel-gen script
644931d @pborreli Fixed typos
pborreli authored
325 3849529 [Timestampable] Made 'updated_at' column optional using a parameter. Fixes #370
1ffbf25 @willdurand Updated CHANGELOG
willdurand authored
326 ee711c7 Added bin-info in the composer Added bin-feature as described on http://getcomposer.org/doc/articles/vendor-bins.md
644931d @pborreli Fixed typos
pborreli authored
327 88b8b48 fix remove one-to-many, add test for one-to-many
1ffbf25 @willdurand Updated CHANGELOG
willdurand authored
328 a5d3096 fix rebase code duplication
329 a1f26b5 fix setter one-to-many schedule for deletion, fix remove many-to-many
330 b1f993a fix CS
331 d57ae1e fix-m2m-schedule-for-deletion
332 f511569 [Runtime] Avoided possibility issue
333 e074ecf [Runtime] Avoided BC break
334 f9ae6da [Runtime] Fixed PropelObjectFormatter for 1-N relations thanks to @fabeat
335 d636134 [Versionable] Added missing use statement
336 1c5c378 Fixed bad indentation
337 56025fa [Timestampable] Disabled update_at column if versionable is used on the same table. Closes #362
338 afad075 Fixed CS according to PSR-1, and PSR-2
339 afd35b4 [test] [generator] fixed test suite for XmlToAppData class.
340 1b3389c [test] [generator] fixed test suite according to last changes in previous commit.
341 ddde376 [generator] fixed the skipSql attribute value when exported to XML.
342 2710aa6 Fixed composer autoloading
343 9016436 [Archivable] Fixed file format (unix instead of dos), fixed issue with namespaces
344 8b9449a fix: Illegal offset type in /propel/runtime/lib/collection/PropelObjectCollection.php line 222
345 84d4c66 fix a wrong var name => , close #350
346 4f637d8 Adjusted last commit
347 c614915 Fix some typo (thanks to havvg and willdurand)
348 76e5eca Fixed ARRAY columns in hydrate() method
349 4db2d79 Add a little set of features in the README.md
350 c0af4bd Added new schema for setPk tests
351 da9bad3 line back.
352 5615f71 unit tests for pre-defined key type
353 f209122 new method `getDefaultKeyType` for PHP5ObjectBuilder provided. checks if `defaultKeyType` parameter provided. if not returns `TYPE_PHPNAME` by default. unit test for `getDefaultKeyType`
354 359cd80 added default key type for object builder. could be re-defined in project configuration. default key name is 'phpName'
355 f747823 Fixed Table::setInterface(), Table::getInterface() usages
356 1fd5b18 Added test to prove #318
357 108a0b7 added cross ref table to schema and code to BookstoreTest to test patched cross ref setter
358 2097c08 Updates to PropelMigrationTask to better handle multiple datasources.
359 84b49eb patched addCrossFKSet: use cross FK related name and check if object in current collection
360 c3e9bbd Added test to prove #321
361 e388798 Fixed SimpleArrayFormatter. Closes #338
362 d15c389 Fixed problem when pk already exists on parent table
363 3d68575 [Generator] Added more methods to the GeneratorConfigInterface, allowed to load behaviors from a QuickGeneratorConfig instance
364 db47b84 Fixed setting PK on child objects of concrete-inheritance
365 d6506a5 Fixed propel-gen
366 bfa9f14 [Runtime] [ModelCriteria] Allowed insensitive case for column names
367 94d8c3f [Generator/Tests] Updated paths
368 ee23c82 [composer] Used phing/phing 2.4.12
369 678676a Add: support for EXPLAIN queries in postgres
370 8280f6e Fixed license, added a README
371 21bdf18 [Tests] Fixed db settings
372 64a5f40 Added bootstrap.php file for phpunit
373 58c4861 Fixed travis-ci setup
374 44b6d26 [Tests] [Fixtures] Fixed default database settings
375 2b0d0a9 Updated gitignore
376 8927b97 Added travis-ci file
377 39d0a88 Added a way to autoload Phing classes using composer
378 ee007fa Added branch alias to composer.json
379 21ceeeb Updated the composer.json file
380 60b4c05 create version when deleting many-to-many refs
381 22fec05 cs corrections
382 eac4262 fix #320 reverse engineering : select tablename can returns quoted name on mssql
383
4337da8 @willdurand Updated CHANGELOG
willdurand authored
384 ## 2012-03-27: Version 1.6.5 ##
385
386 cd69910 Preparing the 1.6.5 release
387 7b799e3 Fixed composer autoloading based on @grEvenX work
388 46c3f86 Merge pull request #317 from fzaninotto/fix_model_pager
389 14b9ac1 Merge pull request #319 from K-Phoen/feature-versionable-utility-methods
390 45e5c3e Merge pull request #315 from ddalmais/feat-explain-plan
391 4e72771 Merge pull request #324 from K-Phoen/fix-versioning-inheritance
392 9f80f8b Fix: versioning tables with inheritance
644931d @pborreli Fixed typos
pborreli authored
393 7769218 Add: some useful methods to Versionable objects
4337da8 @willdurand Updated CHANGELOG
willdurand authored
394 45f2924 Fix PropelModelPager::getLastPage() return type.
395 4cb3e5e Fix CS
396 4c8d9ac Use assertArrayHasKey instead of assertTrue
397 2e74a91 Fix indentation and useless blank line
398 aeeb66d Fix text formatting
399 929080d Add unit test on explain plan compute from text query
400 0469a2c Format DBMysql code
401 460b90f Make ExplainPlanTest independent from Adapter
402 377baf9 Add unit test on getExplainPlanQuery
403 2420c3e Add DBOracle doExplainPlan function
404 d54388a Remove forced database read connection Oracle must write explain plan in PLAN_TABLE
405 e4c3de1 Fix phpdoc function title
406 f62cba4 Enable to get the connection name in log
644931d @pborreli Fixed typos
pborreli authored
407 a8c55fd Enable doExplainPlan to take a bound query
4337da8 @willdurand Updated CHANGELOG
willdurand authored
408 00bcc96 Fix text in ExplainPlanTest
409 2f6a4fa Add explain plan unit test on mysql bookstore
410 9f16429 Add explain function use adapter specific doExplainPlan function
411 f0c8673 Add specific Mysql doExplainPlan function
412 03dda95 Add doExplainPlan on DBAdapter Return PropelException Used to return Exception in adapter without override of doExplainPlan function
413 b7669e3 Merge pull request #314 from K-Phoen/fix-is-versionning-necessary-fk
414 eb303e5 Fix: some isVersionningNecessary() calls can cause fatal errors
415 356947a Merge pull request #310 from akalyaev/master
416 38738e6 fixed code style (Refs #309)
417 3231a76 Fixed propel-gen. Closes #180
418 8168f9d Added phpunit.xml.dist file
419 769dbf9 fixed ArchivableBehavior archived_at (Refs #309)
420 45f418b Marked PGSQL test skipped
421 43e4ae7 Fixed reset_tests.sh script
422 865511a [gh-152] Revert change that was made to postgres schema parsing that causes regressions and has no tests. Add tests for my case. I do not understand the case that the person who introduced the bug was trying to solve.
423 5ebefc3 Fix #282 versionable behavior FK in generated object classes Fix #282 by replacing foreign key references with PrimaryKey
424 14a1702 Merge pull request #298 from Langwhich/master
425 841448e Fix MySQL quote issue for table options. Closes #301
426 2923a3b Merge pull request #291 from fzaninotto/remove_class_default
427 ea41817 Remove remaining BasePeer::CLASS_DEFAULT constant.
428 9d0251f Merge pull request #297 from vworldat/patch-1
429 82894e7 Merge pull request #299 from havvg/master
430 292fc7a add test for multiple HAVING conditions
431 41f605a Fixes SQL diff command when there is a custom migration table name defined
432 f0ac2e9 `<parameter />` tags inside behaviors are optional. The current schema fails when including a behavior like `<behavior name="auto_add_pk" />`.
433 0eacc54 Merge pull request #295 from fzaninotto/versionable_namespace
434 1f46f36 Add missing namespace declarations in versionable behavior.
435 3d5dc3c Merge pull request #287 from fzaninotto/findoneorcreate_exception
436 f033016 Merge pull request #288 from fzaninotto/select_paginate
437 f2d1cce Merge pull request #289 from fzaninotto/archivable_namespace
438 e9051d4 Merge pull request #290 from fzaninotto/diff_with_migrations
439 e0c16e2 Remove BasePeer::CLASS_DEFAULT constant.
440 0b34a67 Update diff task to fail when uncommitted migrations are found.
441 34bd8d6 Add missing namespace declaration in archivable behavior.
442 f216a1a Add unit tests for paginate() used together with select()
443 891e332 Update the exception thrown by findOneOrCreate() when used with a join.
444 209e34d Merge pull request #279 from grandbora/fixSelectWithPeerConstant
445 2f9c987 fixed and tested
446 5850dce correct way of checking if a formatter was set
447 7afba56 code standard
448 b4727af fixing issue #248 allowing the use of custom PropelFormatter with select
449 49416d3 Fixed CS/trailing whitespaces
450 a8145ce Extended the clear method of the generated Active Record objects so that when dealing with object/array columns, the _unserialized fields will be cleared as well.
451 3ddd790 Fixed test showing a warning of undefined key offsets because numerically indexed arrays after cast to objects cannot be accessed by numeric property.
452 33acfaa Added failing tests for object and array type columns, caused by object reuse via the PropelOnDemandFormatter.
453 af6994e Merge pull request #276 from havvg/patch-1
454 84df995 add test for class targets build
455 a9d972e make class targets selectable
456 e95a5d4 Merge pull request #268 from cedriclombardot/fix-count-with-select-from-select
457 ae7bdfc Merge pull request #270 from cedriclombardot/fix-issue-206
458 e3f5081 Fix cs
459 46dffc8 Fix cs for testSubQueryCount()
460 8cc0cb3 Merge pull request #269 from jaugustin/patch-1
461 f23575d Fix findPkSimple() uses wrong key for InstancePool (QueryBuilder) #206
462 0383d9c Provide unit test for doCount with subqueries
463 bdb2e32 this fix an issue with the propelorm/propelbundle#62
464 7025b10 Mark as complex queries look like SELECT * FROM (SELECT * FROM book) as b to fix bug in doCount()
465 8184e26 Bumped version to 1.6.5-dev
466
f6ca712 @willdurand Preparing the 1.6.4 release
willdurand authored
467 ## 2012-01-16: Version 1.6.4 ##
468
469 [f8fdf43] Preparing the 1.6.4 release
470 [6984ed0] Merged PR #177. Fixes #90
471 [1acaf0c] Fix #90 PropelOnDemandFormatter formatter broken when using single table inheritance
472 [aa7870b] [aggregate] Fix behavior when used with namespaces.
473 [843a7fb] [SchemaValidator] Schema validation fails for equal nest relations.
474 [65da18e] Added 'IF EXISTS' on 'DROP' clauses for PostgreSQL
475 [176242b] restoring the ability of reverse-engineering views
476 [2280ccb] add tests for Graphviz DOT generation
477 [3210ec9] mark FK with PK if both apply to column
478 [582d79b] Add unit test for 08e597835dd484e8b894f2ca1f56f053d3a4cfdb.
479 [08e5978] Add to phpName parameter to ArchivableBehavior.
480 [01994f2] Update test/testsuite/runtime/adapter/DBAdapterTest.php
481 [a6421e8] Correction to createSelectSqlPart at & after line 441 - it tries to look for a space between the rightmost '(' and the rightmost '.' after it.
482 [f93fff8] [Generator][I18nBehavior] fix setLocale when using custom locale_column fixes #223
483 [4eb6602] Revert "Fixed Ymd format for PropelDateTime::newInstance"
484 [1b97344] Revert "fix isTimestamp."
485 [d0813bf] fix PropelQuickBuilder-dependent tests after SQLite DROP TABLE change
486 [87f30a6] use DROP TABLE IF EXISTS with SQLite
487 [0671d6b] Fixes #218, plus some typo fixes.
488 [9d8e12a] fixes #135
489 [059df0a] empty test case
490 [6c8e974] typo fix (enterface -> interface)
491 [3d753de] add extensible ability to versionable
492 [18bc846] test typo fix
493 [5b0e107] Fixed missing typehint on crossFK methods
494 [c47f9fb] add raw sql capability to conditions
495 [cc29263] add namespace to check for duplicate table phpName
496 [68fe060] fixed versionnable infinite loop when no diff.
497 [47e9a2c] add tests to versionnable behavior whit foreign key
498 [047fa1e] [Generator] Fixed undefined variable. Fixes #202
499 [5b6dda3] Updated phpDoc for populateFromVersion Initialized variable in function declaration instead of the beginning of the function
500 [6704737] Fixed so versionable behavior loads correct relations when populating from a an older version. See https://github.com/propelorm/Propel/issues/198 for more info about this issue.
501 [5ce2674] Allowed FQCN with namespaces in inheritance keys (working solution). Fixes #135
502 [eab615f] Revert "Allowed FQCN with namespaces in inheritance keys. Fixes #135"
503 [9e279b6] Prevent notice error if no parameter found. Fixes #190
504 [c43415c] Allowed FQCN with namespaces in inheritance keys. Fixes #135
505 [af11116] [Generator] fix concrete inheritance deep copy, fix also one to one deep copy, fixes #192
506 [7a80f9a] [Generator] fix first part #192, remove pk value when copy object with single PK not autoincremented
507 [12b2ddd] Updated composer file
508 [af5f683] Fixed a unit test in ModelCriteria
509 [0f3eee9] add BasePeer in declare classes, because when you use query_cache behavior with namespace, the BasePeer is not found
510 [8ba9370] Fix archivable behavior when used with unique index.
511 [16e3554] Fix bug that caused new I18n rows to not return a valid object causing a fatal error.
512 [d222741] Put `ModelCriteria` on par with `Criteria` for raw conditions.
513 [c89474c] Remove just added methods.
514 [1191479] Add the ability to create a raw Criterion to all Criteria methods
515 [0af997d] Introducing Criteria::RAW operator (WIP)
516 [f720e60] [Generator] [Builder] Fix abstract single table inheritance, refs #159
517 [cb71e64] [behavior] [delegate] Fixed behavior with namespaces
518 [5423afb] [Generator] [QueryBuilder] fix single table inheritance findPk
519 [a8d80bd] Fix archivable behavior when archive table is in another database. There is a nasty bug causing the `archive()` method to use the wrong connection when called after `delete()` (this is because we want to enclose the two operations in a transaction when they operate on the same database) so we need to remove the connection parameter in case the user uses cross-databases archives. A unit test for this case is quite heavy to set up (two more DBs to create), but I have tested it locally and it is OK.
520 [f2e260e] Fix regression in 1.6.3, where exception is not caught on namespaced objects. Closes #165.
521 [7130d13] Fix BaseObject phpDoc. Closes #170.
522 [2b8accf] Do not specify -dev in composer.json
523 [2d66201] fix findByXXXAndYYY() when one of the parameters is a relation. Refs #158. Based on a patch by @maikg
524 [6cfab63] Fix sql_type regex to allow for values like enum('_self','_blank').
525 [efa1c93] fixes #145 : isCrossRef attribute can now be set to false, with tests
526 [87c89c6] add test for isCrossRef attribute
527 [0204345] add isCrossRef attribute to the TableMap object, set the right value in the TableMapBuilder
528 [1b28424] Bumped version to 1.6.4-dev
529
af62e7f @willdurand Preparing the 1.6.3 release
willdurand authored
530 ## 2011-10-13: Version 1.6.3 ##
531
532 * [54b1941] [generator] Fix typos in new buildtime validation service
533 * [8663103] [generator] Introducing buildtime schema validation. All schema validation cannot be done in XSD. For more complex validations, some PHP processing is required. This patch moves validation logic into a simple and independent validation service. It processes the whole schema in order to output all error messages at once. Closes #3. Closes #96.
534 * [a20ad17] Added a unit test to cover changes in commit e47f63b8f224b0b85b91f86f414f223e023ff73c
535 * [275174c] Fix Behaviors adding a table when they are added as database behavior. Closes #136.
536 * [dbb0d4a] [enum type] Fix isModified() returns true when setting the existing value on a just hydrated object. Closes #139.
537 * [e47f63b] Fixed ModelCriteria::replaceNames() to handle namespaced model classes
538 * [83f8c5f] Properly define non-integer single PKs when using SQLite.
539 * [7a715cd] unit testing fo isTimestamp
540 * [4b330e8] fix isTimestamp.
541 * [31850e6] Bugfix: Syntaxerror if $archivedAtColumn==true
542 * [7b8f7b0] Fix indentation in generated Query classes. The QueryBuilder was using spaces instead of tabs to indent code. This is now fixed.
543 * [20fc5ac] Fix getId() in generated doInsert() for Postgresql
544 * [8c5d966] Fixed CS
545 * [cd0f9e2] Switched identifier escaping at buildtime to off by default. This harmonizes the buildtime and runtime settings, and removes the need to set disableidentifierquoting to true in build.properties for Postgresql. Make sure to rebuild your model and SQL after the update
546 * [59a8828] adjust AR generated code formatting
547 * [7a2a059] Fixed #118, #119
548 * [faf7305] Fixed trailing whitespaces due to PR #116
549 * [53a9ed2] [turbo] Add explicit comment to generated code
550 * [5ecdda8] [turbo] Final code formatting glitches
551 * [ed60055] [turbo] Fix doInsert for PKs using sequences
552 * [36c78f6] Implemented One-To-Many setters.
553 * [3dc5e3f] Fixed commit 5b1d911fee5ae0ef6321880bc7861dc5227cea45
554 * [59a2abd] [turbo] Move logic for pk retrieval after insertion to buildtime
555 * [39e0456] Fix bug that would cause a transaction to leak if an Exception that isn't PropelException is thrown during preSave, preInsert, preUpdate, doSave, postInsert, postUpdate, postSave.
556 * [9732e08] Fixed builder (setter collection)
557 * [bd41e0d] [turbo] Align the syntax of recent additions to ObjectBuilder. Passing the script by reference is a bad habit, but not doing so for only a few methods is confusing. In the future, if a refactoring of the builders occurs, let us not reproduce that mistake
558 * [3437149] [turbo behavior] Move the doInsert() acceleration to the core. And now that there is nothing in the turbo behavior, it is removed. doInsert() acceleration is disabled on Mssql platforms, due to very exotic bindings in adapter classes
559 * [14bcdaf] [turbo behavior] Bugfix for namespaced classes and query_cache behavior
560 * [5bd66f6] [turbo behavior] Move the findPk() acceleration to the core. The behavior now only accelerates doInsert() (until we find a way to marge this into the core, too).
561 * [d231655] Revert "Fixed the name of generated SQL files if package contains slashes"
644931d @pborreli Fixed typos
pborreli authored
562 * [01b03f7] [turbo behavior] Use the correct binding code in accelerated findPk(). This is to accommodate cases where PK columns have special bindings (like timestamps... ot blobs, who knows). I took advantage of this to refactor the custom binding code in the adapters.
af62e7f @willdurand Preparing the 1.6.3 release
willdurand authored
563 * [977dcd0] [turbo behavior] Refactor ModelCriteria::find(), findOne(), and findPk() to allow preSelect() hook to be called just like the other model hooks. This refactoring allows the turbo behavior to accelerate findPk() on every model, even those using a preSelect() hook. It also harmonizes the AR and Query apis: just like ActiveRecord::save() calls doInsert() or doUpdate(), ActiveQuery::find() calls doSelect(), and ActiveQuery::count() calls doCount().
564 * [a9a2f0e] [turbo behavior] slightly better way to have binding type and value preparation depending on the platform
565 * [9b0690f] [turbo behavior] Change insert acceleration strategy to allow exotic bindings. This is necessary to let Oracle, for instance, use bindParam() instead of bindValue() for CLOBs.
566 * [2339b9d] Fixed commit 46d928f0a8f8e92484d9a031d986d0cc05c100a6
567 * [e94b626] fix coding standard
568 * [25b86b1] [turbo behavior] Make each acceleration optional
569 * [46d928f] the semicolons are missing between sql request in $statementsToInsert
570 * [f38f6d0] [turbo behavior] Accelerate save() queries
571 * [489353b] [turbo behavior] refactored generated ActiveRecord::doSave() to make it easier to extend (end)
572 * [2ce3ef7] [turbo behavior] refactor generated ActiveRecord::doSave() to make it easier to extend (WIP)
573 * [970cf4a] Fixed logical error on save() for setter collections.
574 * [5b1d911] Fixed the behavior of 'disconnectedEscapeText()' for MySQL platform. Fixes #108
575 * [77a166c] Added missing declared class. Refs #103.
576 * [d22d141] Removed useless function (setter collection)
577 * [b447f15] Added a new protected method 'doAdd*()'
578 * [9b44292] Fixed commit f267fdff5979a04b0a43466bc2dc89935831210d
579 * [abe38f2] [turbo behavior] Use correct binding for PK search. Backed by unit tests.
580 * [f72df02] Added more unit tests for the 'diff' method
581 * [f267fdf] Avoid too many deletes for scheduled for deletion objects (collection setter)
582 * [3e08824] Kept BC with PHP version under 5.3 (lcfirst() hack)
583 * [f442b35] Moved the diff logic to a better place (in PropelCollection)
584 * [fca956c] Added insert SQL ability to the PropelSqlManager
585 * [e4c37ca] Added more unit tests for the collection setter
586 * [9e6ad1d] Fixed setter signature
587 * [5eda115] Refactored collection setters thanks to fzaninotto
588 * [51729f7] Added more unit tests for the collection setter
589 * [594708e] Added auto save for related objects after using the collection setter (N-N)
590 * [9efdf58] Passed the connection to the setter
591 * [8e657e0] Added more tests for collection setter
592 * [c6db541] Added a workaround for collection setters
593 * [293a8b8] Added unit tests to bootstrap the work around collection setters
594 * [02f87a1] Fixed indentation
595 * [398c030] Added convenient methods to the Table class
596 * [6a7c4d1] [turbo behavior] Accelerate simple findPk() queries
597 * [9d9b246] Moved logic for the new build SQL task in a dedicated class.
598 * [31c5462] fix generate sql file when there is multiple schema.xml for the same connection
599 * [b5e5602] Make XSD validation for sqlType less restrictive. Fixes #97.
600 * [8dc4be5] Added a whitelist for charsets in MySQL adapter and PHP < 5.3.6.
601 * [5a40249] Fixed deprecated method since 5.3.0
602 * [fd80913] Removed WHATS_NEW file
603 * [abd6c76] Fixed INSTALL
604 * [4ca8cd6] Fixed maintainer for PEAR package task
605 * [c1febde] Bumped version to 1.6.3-dev
606
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
607 ## 2011-09-14: Version 1.6.2 ##
8a5bab1 @fzaninotto [1.6] Preparing the 1.6.1 release
fzaninotto authored
608
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
609 * [cb2009a] [delegate behavior] Fix incorrect handling of tablePrefix Refs #63.
610 * [9aef5f6] [i18n] Added few tests to prove there is no bug with relations.
611 * [4cf9dc7] Fixed #93
612 * [65139a1] [PropelSQLTask] Fixed SQL filenames
613 * [b27fef5] Revert "Fixed possibility issue on SQL filenames based on package values"
614 * [0183944] fixed nested _if using a proxy
615 * [26fc546] removed underscore for private methods
616 * [4f6c495] fixed typo
617 * [c0ba5c5] fixed nested fluent condition
618 * [0202db4] [Tests] Preparing PHPUnit 3.6.0 release.
619 * [bffd323] Fixed failing unit tests complaining about an "Undefined index: datasources" when running some tests individually
620 * [6a0e030] Fixed version column needs to be required for mssql. The `versionable` behavior adds the version table by copying the main table, which already contains the version column. The problem is, as the version column becomes part of the PK of the version table, it must be required. Only MSSQL seems to complay about this, but it must be fixed anyway.
621 * [7c1d1b4] Fixed possibility issue on SQL filenames based on package values
622 * [d9adc1f] Fix issue with empty migration SQL generated when foreign key has skipSql
623 * [0e2463c] Added composer.json file
624 * [f46b54a] Fixed the name of generated SQL files if package contains slashes
625 * [6c2b8ef] Fix incorrectly generated migration SQL for pgsql if existing default value is removed from schema
626 * [672eb1f] Fixed commit 5c77b2a1e3efdab03e93
627 * [5c77b2a] Allow configuration of usePrefix and includeLazyLoadColumns when exporting a PropelCollection
628 * [3bc2e78] Added usage of connection in PropelModelPager. Fixes #74
629 * [ef1ef22] Updated license
630 * [691b648] Removed the docs/ directory as the documentation has its own repository
631 * [d4e9a51] should be `phpunit`
632 * [f581bae] fixed #70 : setByPosition method in enum
633 * [3269069] Fix test documentation
634 * [f6b6403] default sh shell is no more bash in debian.
635 * [d92e3a7] [archivable behavior] Added more tests to cover methods added in 9f7a0670184da5600d6abc4c79c82737f6fbad68
636 * [eb4caf3] [archivable behavior] Fixed minor typos
637 * [4c10206] Allowed to use '/' in package values
638 * [c23b6cb] [archivable behavior] Fixed code formatting issues
639 * [5e58668] [archivable behavior] Refactored method generation to use templates
640 * [9f7a067] [archivable behavior] Further improved the ActiveRecord API
641 * [2de49d5] [archivable behavior] Fixed typos in the documentation
642 * [3a3c5f8] [archivable behavior] Added documentation and deprecated soft_delete
643 * [97d383c] [archivable behavior] Fixed the archiveOnDelete implementation when the addHooks build property is turned off
644 * [ca6f957] [archivable behavior] Made the preDelete hook play well with other preDelete hooks. Previous hooks or behaviors may interrupt the course of the delete() method. This behavior (and other behaviors implementing the preDelete hook) must only execute the code if the $ret value is true.
645 * [05633de] [archivable behavior] Refactored archiveOnDelete to avoid the need for static attributes
646 * [328a32b] [archivable behavior] Fixed generated ActiveRecord::delete() behaves differently when addHooks build property is disabled
647 * [2dc16dc] [archivable behavior] Refactored ActiveRecord and ActiveQuery APIs to harmonize them
648 * [a7e00af] [archivable behavior] Implemented archiving on `ActiveQuery::update()` and `::delete()`
649 * [3fd6823] [archivable behavior] Fixed a rare bug in `ModelCriteria::update()` causing "undefined index: datasources" error message
650 * [b818915] [archivable behavior] Added generated ActiveQuery::archive() method
651 * [f1a163d] [archivable behavior] split ArchivableBehavior class to make it more readable and ready for future additions
644931d @pborreli Fixed typos
pborreli authored
652 * [5d6e4b0] [archivable behavior] Added the ability to use a custom archive class.
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
653 * [5088e39] [archivable behavior] Added generated ActiveRecord::populateFromArchive() method
654 * [182af0c] [archivable behavior] Initial commit
655 * [ce59915] [Tests] More tests for MysqlSchemaParser
656 * [20d407a] Changed visibility to be less 'open'. Related commit: 381e378cb17b388765dfbb5a3241dacbff449323
657 * [dd10eec] [Tests] fixed script to handle reverse fixtures
658 * [d64741a] Fixed the test file's syntax
659 * [9584188] Fixed unit test
660 * [8b20446] used 'SHOW FULL TABLES' instead of the previous one to handle multiple database
661 * [acccc26] Excluded read only tables from being counted
662 * [1cd82d6] handle views when using diff command
663 * [7f89e83] Added unit test for MySQL schema parser
664 * [8470dba] Added fixtures for MySQL reverse unit tests
665 * [f75334c] Changed prototype to use the interface instead of an implementation class
666 * [381e378] Changed visibility of simpleXmlToArray method in PropelConvertConfTask in order to use it in tests
667 * [54ce432] Removed stray testing stuff that got left behind
668 * [db4e041] FIX: Check that platform exists before using it
669 * [be563e8] Fixed false positive in PostgreSQL migrations where generator would generate varchar-fields without explicit size as VARCHAR(255)
670 * [7c84b79] Fixed postDelete hook in soft delete behavior
671 * [39e3709] [SoftDeleteBehavior] Fixed missing post hook call
672 * [8fc39e1] Added test to prove post hook is not fired on soft deleted objects.
673 * [c5c30e0] set sequence name configurable
674 * [082d27a] Added strict assertions
675 * [1ad20fb] added unit-test for Table::appendXml (namespace & package attributes)
676 * [3addf99] serialize namespace too
677 * [76a3841] store table`s package name in Xml
678 * [ff673c0] Added a tiny shell script to reset test fixtures
679 * [3d6d4bd] fixed naming and default values in unit test
680 * [67a77bf] Fixed bug in PhpNameGenerator. The default name convertor for table and column names is NameGenerator::CONV_METHOD_UNDERSCORE. This method has a slight bug resulting in an incorrect phpName for table using "_0" as a prefix:
681 * [04fe003] fix usage of undefined variable
682 * [ceb610f] `level` is reserved keywork in oracle
644931d @pborreli Fixed typos
pborreli authored
683 * [57a0f2c] pass vendor`s type to VendorInfo::__construct in XMLElement::getVendorInfoForType()
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
684 * [a3aaa76] detect autoincrement via sequences
685 * [7c84546] [delegate behavior] Documented the fact that, finally, delegate behavior can handle inheritance over several levels
686 * [8290ed5] [delegate behavior] Changed class table inheritance examples to show that the behavior is much more powerful than previously thought. Refs #40
687 * [1f4ce85] Fixed MySQL type for a BOOLEAN
688 * [5e7d765] [delegate behavior] Fixed typo in behavior documentation
689 * [4ee22c0] [delegate behavior] Fixed coding standards
690 * [4b327c6] [delegate behavior] Fixed wrong file permissions (old samba config)
691 * [fe2ce45] [delegate behavior] Throwing exception at buildtime if the delegate table has a one-to-many relationship with the main table
692 * [87ed930] [delegate behavior] provided support for delegation by way of a many-to-one relationship
693 * [9583e6b] [delegate behavior] Refactoretests to leave less trace
694 * [197b533] documented the delegate behavior
695 * [ca09d1d] Introducing Delegate behavior, for class table inheritance fans
696 * [a78212c] Fixed bad formatting in generated query classes
644931d @pborreli Fixed typos
pborreli authored
697 * [184e63f] Removed __call() from generated ActiveRecord classes.
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
698 * [0e454c5] Avoid getClassname() to trigger registered autoloaders for nothing.
699 * [74cd5eb] Added the ability to define full qualified classnames in build properties.
700 * [e1662d0] Reverted change on the TINYINT default size (MysqlSchemaParser)
701 * [a2965d4] Fixed CS
702 * [9521482] Fixed TINYINT interpretation in MysqlSchemaParser.
703 * [e939c2e] Improved generated code for findOneOrCreate() method with ENUM and ARRAY types.
704 * [594d44e] Added missing link to the StandardEnglishPluralizer class
705 * [61deedb] Added more unit tests for the StandardEnglishPluralizer + Fixed special cases.
706 * [5288e48] Improved the StandardEnglishPluralizer. Fixed issue #4
707 * [22159b2] Fixed double left-join & "with" issue when a third table is joined and "withed"
708 * [ec41624] Fixed phpdoc in parser/
709 * [73a7d21] Fixed phpdoc in validator/
710 * [10f5dd5] Added unit tests for issue #35 and PR #37
711 * [9e62f3c] One-line fix for issue #35 (https://github.com/propelorm/Propel/issues/35)
644931d @pborreli Fixed typos
pborreli authored
712 * [e84f5fa] Set limit parameter to 0 (like initially done) if clear() is called
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
713 * [b377ebf] Added unit tests for Criteria methods: clear() and limit()
714 * [5ce8fa7] Remove unneeded @returns, Fix @param order
715 * [176c68f] Fix typo on docblock
716 * [425b0f2] Improve Behavior doc blocks
717 * [ffd8192] fixed unit test to check identity rather than equality
718 * [f5f9d9a] Made generated addRefFk method return the current AR object to allow fluent interface
719 * [13611a2] Fixed Typo in the doc mixing ModelCriteria::addSelectQuery() with ModelCriteria::getSelectQuery()
720 * [aaff75d] Removed trailing whitespace, unwanted tabs/spaces and so on...
721 * [698ce9b] Improved the patch for MySQL driver (possibly subject to sql injections)
722 * [54ef274] Added a new unit tests for DBMySQL class
723 * [cd547f2] MySQL Driver possibly subject to sql injections with PDO::quote()
724 * [cd99264] Fixed wrong peer name in soft_delete behaviour with classPrefix
725 * [2d0f101] Fixed Ymd format for PropelDateTime::newInstance
726 * [b006238] Fixed permissions for scripts
727 * [3e13b29] Fixed tests for PropelDateTime::newInstance
728 * [aa0393f] Add support for Ymd format for PropelDateTime::newInstance
729 * [35822d7] Fixed permissions for both directories and files.
730 * [76fb103] Fixed scandir warning if no valid directory given.
731 * [5ade9ff] added more generated files from tests to .gitignore
732 * [5c5816e] Added .gitignore to ignore generated files for unit tests
733 * [23270ef] Added a unit test for the previous commit
734 * [e86b3c3] Always sort columns when comparing composite foreign-keys
735 * [3dcd7b2] reproduced default isModified() logic for other mutators
736 * [e1ed026] Fix for ActiveRecord::isModified() in limit cases with default values
737 * [5f2ff4e] added missing validator in autoload map
644931d @pborreli Fixed typos
pborreli authored
738 * [7164161] Remove rewind on CLOB to fix warning
739 * [4eb059d] Fixed CS + restore BLOB insert + Add rewind before CLOB bindParam
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
740 * [e693f62] Fixed Error in logic of _if/_elseif/_else. Based on a patch by lvu, updated to Propel standards. Closes #12
644931d @pborreli Fixed typos
pborreli authored
741 * [6f536c6] Fixed Oracle CLOB save by using PDO bindParam
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
742 * [ea8f4c8] [1.6] Fixed failing test after updating test schema (refs #1319)
743 * [258799f] [1.6] Fixed undefined method error when calling with() on a ModelCriteria having a relation with a special name (closes #1477)
744 * [9eac2ed] [1.6] Fixed logging of methods (refs #1468)
745 * [94193c6] [1.6] Removed old configuration test (refs #1468)
746 * [af7ac9c] [1.6] fixed regression in PropelConfiguration when setting an array value via setParameter (closes #1468)
747 * [ff2b8c1] [1.6] Fixed notice about undefined hydrationChain when using joinWith() twice and the middle entity is null (closes #1319)
748 * [0cee299] [1.6] Removed unused logging configuration setting (closes #1453)
749 * [a5ab232] [1.6] Fixed Conflict between concrete inheritance and namespaces (closes #1464)
750 * [eba3b40] [1.6] Fixed phpDoc for Criteria::addAscendingOrderByColumn() (patch by bertjan) (closes #1454)
751 * [c6b53c9] [1.6] Removed many false positive in migrations (closes #1451)
752 * [1d828e5] [1.6] Fixed issue with autoincrement pks when calling diff task in migrations (closes #1456)
753 * [942efab] [1.6] Switched to dev version number
754
755 ## 2011-06-14: Version 1.6.1 ##
756
757 * [2318] Fixed handling of custom sqlType in migrations (closes #1348)
758 * [2317] fixed `PropelObjectCollection::populateRelation()` when using classPrefix or namespaces (based on a patch by mattleff) (closes #1402)
759 * [2316] Made `PropelObjectCollection::populateRelation()` initialize empty collections on entities having no related entity in a one-to-many relationship (closes #1182)
760 * [2315] Added all supported MySQL table options (closes #1447)
761 * [2314] Fixed phpDoc of generated ActiveRecord getter and setter methods for nested set models
762 * [2313] Fixed autoloading of namespaced models when using `useQuery()` (closes #1444)
763 * [2312] Fixed formatting issues in generated TableMap classes
764 * [2311] Fixed location of FKeys in PostgreSQL migrations (closes #1411)
765 * [2310] Fixed handling of empty string values on boolean columns for ActiveRecord mutator and ActiveQuery filter (closes #1437)
766 * [2309] fixed inconsistent EOL types in builder classes (closes #1436)
767 * [2308] fixed inconsistent EOL types in builder classes (closes #1436)
768 * [2307] Fixed "Nesting level too deep" error when similar schemas are used (patch from gepo) (closes #1426)
769 * [2306] Improved runtime/exception phpDoc formatting (patch by kupokomapa) (closes #1429)
770 * [2305] Improved runtime/logger phpDoc formatting (patch by kupokomapa) (closes #1428)
771 * [2304] Improved runtime/connection phpDoc blocks (based on a patch by kupokomapa) (closes #1425)
772 * [2303] Added `ModelCriteria::getSelect()` (closes #1412)
773 * [2302] Added `PropelOnDemandCollection::toArray()` (closes #1415)
774 * [2301] Fixed subquery bug with select (closes #1417)
775 * [2300] Added test to prove subquery bug with select (refs #1417)
776 * [2299] Fixed `PropelObjectCollection` and `PropelArrayCollection` would throw a fatal error when calling save() in conjunction with readOnly entities (closes #1422)
777 * [2298] Improved runtime/config phpDoc blocks (patch by kupokomapa) (closes #1424)
778 * [2297] Improved runtime/collections phpDoc blocks (based on a patch by kupokomapa) (closes #1423)
779 * [2296] Fixed coding standards in DBAdapter (closes #1421)
780 * [2295] Improved runtime/adapter phpDoc blocks (patch by kupokomapa) (refs #1421)
781 * [2294] Fixed soft delete via Peer class executes a wrong query (closes #1405)
782 * [2293] Fixed `forceDelete()` enables soft delete behavior even when disabled (closes #1404)
783 * [2292] Fixed tests under PHP 5.2 (closes #1388)
784 * [2291] Fixed minor formatting issue in generated Peer class
644931d @pborreli Fixed typos
pborreli authored
785 * [2290] Fixed generated column filters for enum columns when passed an array (closes #1381)
9335b2b @willdurand Preparing the 1.6.2 release
willdurand authored
786 * [2289] Fixed strict standards error in soft delete behavior (closes #1398)
787 * [2288] Added missing `findRoots()` method to nested_set behavior with scope (closes #1397)
788 * [2287] Fixed bad binding with SQLSRV adapter (refs #1199) (closes #1400)
789 * [2286] Fixed DATE column with defaultValue of 0000-00-00 generates fatal (closes #1389)
790 * [2285] Fixed typo in README
Something went wrong with that request. Please try again.