DBIx-Custom / Changes /
Yuki Kimoto cleanup
157ba12 13 years ago
4 contributor
499 lines | 20.809kb
  1. 0.1703
  2. - added EXPERIMENTAL join new syntax.
  3. 0.1702
  4. - removed EXPERIMENTAL status of some methods.
  5. - fixed some join bug
  6. 0.1701
  7. - added DBIx::Cusotm::Order prepend method automatically quoted syntax
  8. - simplified arguments check
  9. - added EXPERIMENTAL each_table method
  10. - select method column option [COLUMN, as => ALIAS] format is DEPRECATED!
  11. changed to [COLUMN => ALIAS]
  12. - added EXPERIMENTAL DBIx::Custom::Result header method
  13. - added EXPERIMENTAL last_sql attribute method
  14. 0.1700
  15. - fixed end_filter DEPRECATED warnings bug
  16. 0.1699
  17. - added tag_parse attribute.
  18. - added EXPERIMENTAL order method
  19. - added EXPERIMENTAL DBIx::Custom::Order module
  20. - changed backword compatible policy
  21. ------------------------------------------------------------------------
  22. If a functionality is DEPRECATED, you can know it by DEPRECATED warnings
  23. except for attribute method.
  24. You can check all DEPRECATED functionalities by document.
  25. DEPRECATED functionality is removed after five years,
  26. but if at least one person use the functionality and tell me that thing
  27. I extend one year each time you tell me it.
  28.  
  29. EXPERIMENTAL functionality will be changed without warnings.
  30. ------------------------------------------------------------------------
  31. 0.1698
  32. - fixed DBIx::Custom::Where to_string method small bug
  33. - added EXPERIMENTAL execute method table_alias option
  34. 0.1697
  35. - added EXPERIMENTAL map_param method
  36. 0.1696
  37. - added new argument format update, delete, select method where option
  38. - create_query is DEPRECATED! use query option of each method instead.
  39. - added EXPERIMENTAL insert, update, and select method prefix option
  40. - fixed small insert, update, delete, select method id option bug
  41. 0.1695
  42. - changed EXPERIMENTAL DBIx::Custom::Result type_rule_off method argument
  43. - added EXPERIMENTAL DBIx::Custom::Result type_rule_on method
  44. - changed EXPERIMENTAL DBIx::Custom::Result type_rule1_off method argument
  45. - added EXPERIMENTAL DBIx::Custom::Result type_rule1_on method
  46. - changed EXPERIMENTAL DBIx::Custom::Result type_rule2_off method argument
  47. - added EXPERIMENTAL DBIx::Custom::Result type_rule2_on method
  48. - changed EXPERIMENTAL DBIx::Custom::Result filter_off method argument
  49. - added EXPERIMENTAL DBIx::Custom::Result filter_on method
  50. 0.1694
  51. - EXPERIMENTAL type_rule argument format is changed
  52. - DBIx::Custom::Result type_rule method on setting return self
  53. - reserved_word_quote is DEPRECATED! this is renamed to quote
  54. - DBIx::Custom::Model type attribute is DEPRECATED!
  55. this is renamed to bind_type.
  56. 0.1693
  57. - separate DBIx::Custom type_rule from filter
  58. - DBIx::Custom::Model filter attrribute is DEPRECATED!
  59. - DBIx::Custom::Model name attribute is DEPRECATED!
  60. - removed EXPERIMENTAL DBIx::Custom::Model alias_table
  61. - added DBIx::Custom column method's table option
  62. - separate DBIx::Custom::Result type_rule from filter again
  63. 0.1692
  64. - removed EXPERIMENTAL DBIx::Model result_filter
  65. - DBIx::Custom::Result filter override type_rule
  66. - added EXPERIMENTAL DBIx::Custom::Result type_rule
  67. - added EXPERIMENTAL available_type_name method
  68. - EXPERIMENTAL type_rule_off is not passed form execute method
  69. to DBIx::Custom::Result object
  70. 0.1691
  71. - DBIx::Custom::Result end_filter, remove_filter, remove_end_filter is DEPRECATED!
  72. - apply_filter is DEPRECATED!
  73. - EXPERIMETAL column method and table_alias think about "-" separator
  74. - EXPERIMTANL column method think about separator
  75. - removed EXPERIMENTAL col method.
  76. - added EXPERIMENTAL separater method
  77. - added EXPERIMENTAL select prefix option.
  78. - fixed bug that data_source DEPRECATED warnings pirnt STDERR
  79. - fixed bug that type_rule from option can't receive filter name
  80. 0.1690
  81. - use latest Object::Simple features
  82. 0.1689
  83. - added EXPERIMENTAL available_data_type
  84. - simplified type_rule
  85. - changed type_rule arguments format
  86. - added EXPERIMENTAL DBIx::Custom::Model result_filter attribute
  87. - added EXPERIMETNAL DBIx::Custom::Result filter_off method
  88. - EXPERIMENTAL type_rule can receive filter name
  89. 0.1688
  90. - fixed bug that model insert, update, delete select can't
  91. odd number arguments
  92. - improved type_rule method
  93. 0.1687
  94. - added EXPERIMENTAL type_rule method
  95. - added EXPERIMENTAL execute() type_rule_off option
  96. - execute method can second argument as parameter
  97. 0.1686
  98. - select() column option can receive array reference in array.
  99. This is EXPERIMENTAL
  100. - select() EXPERIMETNAL column option hash format
  101. return table.column, not table__column
  102. - added EXPERIMENTAL col method.
  103. - set reserved_word_quote automatically from driver name
  104. 0.1685
  105. - insert_at, update_at, delete_at, select_at is DEPRECATED!
  106. use insert, update, delete, select method and id option.
  107. - insert, insert_at, update, update_at can receive odd number arguments,
  108. first one is parameter.
  109. 0.1684
  110. - added DBIx::Custom::Result all method, this is alias for fetch_hash_all
  111. - added DBIx::Custom::Result one method, this is alias for fetch_hash_first
  112. - DBIx::Custom::Result fetch_hash_first can recieve argument
  113. - select() column option can receive hash reference. This is EXPERIMENTAL
  114. - update_param_tag is DEPRECATED! use update_param instead.
  115. - insert_param_tag is DEPRECATED! use insert_param instead.
  116. - assing_param_tag is DEPRECATED! use assign_param instead.
  117. - Tag system such as {? title}, {= title} is DEPRECATED!
  118. and added paramter system such as :title.
  119. 0.1683
  120. - data_source is DEPRECATED! It is renamed to dsn
  121. 0.1682
  122. - improved debug message
  123. - fixed merge_param bug
  124. 0.1681
  125. - added EXPERIMENTAL assign_tag() method
  126. 0.1680
  127. - DEPRECATED select() param option, this is renamed to where_param
  128. - added select(), update(), and delete() where_param option
  129. 0.1679
  130. - added EXPERIMENTAL select() wrap option to support Oracle ROWNUM
  131. 0.1678
  132. - DBIx::Custom::Model filter attribute can receive hash reference
  133. - DBIx::Custom::Where clause attribute can receive clause without column name
  134. - improved error messages
  135. 0.1677
  136. - improved table search in column and join clause
  137. - DEPRECATED table tag. use table option.
  138. 0.1676
  139. - fixed test bug
  140. 0.1675
  141. - removed DEPRECATED DBIx::Custom::MySQL and DBIx::Custom::SQLite
  142. these implementations remine in https://github.com/yuki-kimoto/DBIx-Custom/wiki
  143. for some users.
  144. - removed EXPERIMENTAL replace().
  145. - removed EXPERIMENTAL mark from many methods.
  146. 0.1674
  147. - fixed test bug
  148. 0.1673
  149. - fixed dbh() method bug.
  150. 0.1672
  151. - removed EXPERIMENTAL Prefork server safe implementation, my implementation is very buggy.
  152. - added EXPERIMETNAL connector() attribute.
  153. - change retern value to array refrence of EXPERIMENTAL replace()
  154. 0,1671
  155. - added environment variable DBIX_CUSTOM_DEBUG
  156. 0.1670
  157. - removed EXPERIMETNAL select() column hash option. it's a little complex.
  158. - added EXPERIMENTAL select() param option.
  159. - added EXPERIMENTAL replace().
  160. 0.1669
  161. - renamed update_param to update_param_tag, update_param is DEPRECATED!
  162. - renamed insert_param to insert_param_tag, insert_param is DEPRECATED!
  163. 0.1668
  164. - added EXPERIMENTAL update_param no_set option.
  165. - added EXPERIMENTAL reserved_word_quote attribute.
  166. 0.1666
  167. - removed from cache() and cache_method() document for a while and cache() value
  168. become 0 because I find something bug.
  169. - create_model() return model.
  170. - added document of hash filter
  171. - adeed EXPERIMENTAL DBIx::Custom::Model method()
  172. 0.1665
  173. - removed EXPERIMETNAL flag from insert_at(), update_at(), delete_at(), select_at(), insert_param(), not_exists(), select()'s query option, update_param(), where, table tag, each column, safety_character, DBIx::Where, where().
  174. - added EXPERIMETNAL create_model()
  175. 0.1664
  176. - where can recieve array refrence, which contains where cluase and paramter.
  177. 0.1663
  178. - added EXPERIMENTAL type() attribute to DBIx::Custom::Model
  179. - added EXPERIMENTAL bind_param_option can set bind_param option
  180. to insert(), update(), delete(), select(), insert_at(),
  181. update_at(), delete_at(), select_at(), delete_all(), update_all()
  182. 0.1662
  183. - removed EXPERIMENTAL DBIx::Custom::Model column_clause
  184. - added EXPERIMENTAL column()
  185. - added EXPERIMENTAL mycolumn()
  186. 0.1661
  187. - added EXPERIMENTAL DBIx::Custom::Model table_alias attribute
  188. - added EXPERIMENTAL DBIx::Custom::Model mycolumn()
  189. - added EXPERIMENTAL DBIx::Custom::Model column()
  190. - fixed autoloading bug
  191. - added EXPERIMETNAL select() prepend table option
  192. - added EXPERIMETNAL select() column table option
  193. - added EXPERIMETNAL select() column all option
  194. - removed EXPERIMETNAL select() all_column option
  195. - removed EXPERIMENTAL view()
  196. 0.1660
  197. - added EXPERIMENTAL DBIx::Custom::Model view()
  198. - added EXPERIMENTAL view()
  199. - DBIx::Custom::Model inherit DBIx::Custom
  200. - removed EXPERIMETNAL DBIx::Custom::Model method()
  201. - added table choice feature to select() EXPERIMENTAL all_column option
  202. - removed EXPERIMENTAL DBIx::Custom::Model column attribute for side effect
  203. 0.1659
  204. - EXPERIMETAL fork safety implementaion.
  205. - removed EXPERIMENTAL selection
  206. - added select() all_column option
  207. 0.1658
  208. - added EXPERIMENTAL DBIx::Custom::Model column() prefix option.
  209. - fixed select_at join column invalid bug
  210. - added DBIx::Custom::Model column() attribute
  211. 0.1657
  212. - remaned EXPERIMENTAL safty_charcter to safty_name
  213. - safty_charcter is changed, set only one character regex.
  214. 0.1656
  215. - fixed some select() join opition bug
  216. 0.1655
  217. - added EXPERIMENTAL DBIx::Custom::Model join attribute
  218. - added EXPERIMENTAL select() join option
  219. - deprecated select() relation option
  220. - added EXPERIMENTAL update_param and insert_param
  221. - remove EXPERIMENTAL DBIx::Custom::Model relation
  222. 0.1654
  223. - selection can contain where clause.
  224. 0.1653
  225. - added EXPERIMENTAL DBIx::Custom::Result remove_filter()
  226. - added EXPERIMENTAL DBIx::Custom::Result remove_end_filter()
  227. - added EXPERIMENTAL DBIx::Custom::Model insert_at()
  228. - added EXPERIMENTAL insert_at()
  229. - improved error message
  230. 0.1652
  231. - all filter can receive array reference and receiving hash reference is DEPRECATED!
  232. 0.1651
  233. - add EXPERIMENTAL DBIx::Custom::Model filter attribute.
  234. 0.1650
  235. - add EXPERIMENTAL DBIx::Custom::Model name() attribute
  236. 0.1649
  237. - add EXPERIMENTAL DBIx::Custom::Model column_clause() method.
  238. - select method column option can receive string.
  239. - DBIx::Custom::Model select() and select_at() think about relation attirbute
  240. 0.1648
  241. - add EXPERIMENTAL DBIx::Custom::Model relation() attribute
  242. - add EXPERIMENTAL update_at(), delete_at(), select_at()
  243. - add EXPERIMENTAL setup_model()
  244. - add EXPERIMENTAL DBIx::Custom::Model columns attirbute
  245. - add EXPERIMENTAL DBIx::Custom::Model foreign_key() attribute
  246. - add EXPERIMENTAL models() attribute
  247. 0.1647
  248. - add default_dbi_option()
  249. 0.1646
  250. - add feture. all model class in namespace is included by include_model
  251. - rename EXPERIMENTAL include_table to include_model
  252. - rename EXPERIMENTAL table to model
  253. - rename EXPERIMENTAL DBIx::Custom::Table to DBIx::Custom::Model
  254. - remame EXPERIMENTAL DBIx::Custom::Table::name() to DBIx::Custom::Model::table();
  255. 0.1645
  256. - removed EXPERIMENTAL base_table() for class expandability.
  257. - EXPERIMENTAL table() can't set table object any more.
  258. - added EXPERIMENTAL include_table().
  259. 0.1644
  260. - update pod
  261. 0.1643
  262. - add EXPERIMENTAL selection option to select()
  263. - add EXPERIMENTAL table tag
  264. - fix bug : filter can't overwirite undef value.
  265. - add EXPERIMENTAL feature to apply_filter(). you can apply end filter.
  266. - add EXPERIMENTAL feature to apply_filter(). TABLE__COLUMN is filterded now.
  267. 0.1642
  268. - removed EXPERIMENTAL DBIx::Custom::Table base() method
  269. - table created by tabled method can call base_$method correponding to base_table's one
  270. 0.1641
  271. - select() where can't receive array reference to prevend SQL injection easily(not backward compatible. sorry. use where() instead)
  272. - added EXPERIMENTAL safety_column_name attribute
  273. - fix SQL injection security hole about column name
  274. 0.1640
  275. - autoload DBI method
  276. - removed EXPERIMENTAL expand
  277. 0.1639
  278. - improved delete() and update() where option. you can use DBIx::Custom::Where object
  279. - added EXPERIMENTAL not_exists()
  280. 0.1638
  281. - table object call dbi object method if not found method.
  282. - added EXPERIMENTAL base_table attribute and removed EXPERIMENTAL table_class attribute
  283. - renamed helper to method.
  284. - added EXPERIMENTAL DBIx::Custom::Result::stash()
  285. - renamed EXPERIMENTAL DBIx::Custom::Table helper to method
  286. 0.1637
  287. - renamed dbi_options to dbi_option. dbi_options is available, but deprecated.
  288. - renamed DBIx::Custom::TagProcessor to DBIx::Custom::Tag, and function names is cleanuped.
  289. - renamed register_tag_processor to register_tag. register_tag_processor is available, but deprecated.
  290. - renamed tag_processors to tags. tag_prosessors is available, but deprecated.
  291. - improved error message
  292. - build all clause if param is undefined.
  293. - each_column callback receive self as first argument.
  294. - removed EXPERIMENTAL txn_scope
  295. 0.1636
  296. - added tests and cleanup
  297. 0.1635
  298. - renamed iterate_all_columns to each_column
  299. 0.1634
  300. - became more useful where method
  301. - changed DBIx::Custom::Where greatly
  302. 0.1633
  303. - fixed test
  304. 0.1632
  305. - added EXPERIMENTAL where method
  306. - added EXPERIMENTAL DBIx::Custom::Where.
  307. - removed DBIx::Custom::Or
  308. 0.1631
  309. - added EXPERIMENTAL DBIx::Custom::Result end_filter method
  310. - EXPERIMENTAL extended select method's where option
  311. - fix select method empty where failed bug
  312. - added EXPERIMENTAL suger method query option
  313. - added EXPERIMENTAL or method
  314. 0.1630
  315. - fix test bug
  316. 0.1629
  317. - renamed auto_filter to apply_filter
  318. - changed apply_filter method arguments
  319. - deprecated cache_method
  320. 0.1628
  321. - remove DBIx::Custom::Model
  322. - move table method and table_class attribute to DBIx::Custom
  323. - added examples
  324. - fixed connect method bug
  325. 0.1627
  326. - added insert, update, update_all, delete, delete_all, select method to DBIx::Custom::Table
  327. - added EXPERIMENTAL txn_scope
  328. 0.1626
  329. - simplified DBIx::Custom::Model and DBIx::Custom::Table
  330. 0.1625
  331. - added EXPERIMENTAL DBIx::Custom::Model and DBIx::Custom::Table
  332. 0.1624
  333. - added EXPERIMENTAL iterate_all_columns method.
  334. 0.1623
  335. - added EXPERIMENTAL auto_filter method
  336. - deprecated default_bind_filter and default_fetch_filter because these are global effect.
  337. - changed defautl_bind_filter and default_fetch_filter attributes to methods.
  338. - changed DBIx::Custom::Result default_filter attribute to method
  339. - changed DBIx::Custom::Result filter attribute to method.
  340. - filter_check is always done for usability
  341. 0.1622
  342. - deprecated DBIx::Custom::SQLite and DBIx::Custom::MySQL
  343. - added dbi_options attribute
  344. - checked attributes passed to connect method
  345. 0.1621
  346. - cleanup (removed undocumented features)
  347. 0.1620
  348. - updated document
  349. 0.1619
  350. - updated document
  351. - added EXPERIMENTAL expand method
  352. 0.1618
  353. - added helper method
  354. - added begin_work, commit, and rollback method
  355. 0.1617
  356. - L<DBIx::Custom> is now stable. APIs keep backword compatible in the feature.
  357. 0.1616
  358. - removed EXPERIMENTAL register_method(), and methods attribute, because it is too magical
  359. 0.1615
  360. - fixed DBIx::Custom::QueryBuilder build_query() bug
  361. - required Perl 5.008001 to use @CARP_NOT
  362. 0.1614
  363. - removed DBIx::Custom::Query start_tag and end tag attributes
  364. - enable escaping '{' and '}' in the source of SQL
  365. - fixed Carp Carp trust relationship
  366. 0.1613
  367. - added EXPERIMENTAL register_method() method
  368. - added EXPERIMENTAL methods attribute
  369. 0.1612
  370. - added tests
  371. - updated document
  372. - removed DBIx::Custom::SQLite last_insert_rawid() mehtod(not backword compatible)
  373. - removed DBIx::Custom::MySQL last_insert_id() method(not backword compatible)
  374. 0.1611
  375. - renamed update tag to update_param
  376. - renamed insert tag to insert_param
  377. - renamed sql_builder to query_builder
  378. 0.1610
  379. - added filter_check attribute.
  380. 0.1609
  381. - updated document.
  382. 0.1608
  383. - update document
  384. - renamed DBIx::Custom::QueryBuilder::TagProcessors functions(not backword compatible)
  385. 0.1607
  386. - where argument of select() method can specify array(string, parameters)
  387. - renamed build_query() to create_query()(not backword compatible)
  388. 0.1606
  389. - fix testing bug
  390. 0.1605
  391. - remove DBIx::Custom::QueryBuilder::tag_syntax() (not backword compatible)
  392. - renamed DBIx::Custom::TagProcessor to DBIx::Custom::TagProcessors (not backword compatible)
  393. - changed arguments of tag processor(not backword compatible)
  394. - renamed DBIx::Custom::QueryBuilder::TagProcessors functions(not backword compatible)
  395. 0.1604
  396. - changed argument of tag processor(not backword compatible)
  397. - renamed default_query_filter to default_bind_filter(not backword compatible)
  398. - renamed DBIx::Custom::SQLTemplate to DBIx::Custom::SQLBuilder(not backword compatible)
  399. - renamed create_query to build_query(not backword compatible)
  400. - renamed sql_template to sql_builder(not backword compatible)
  401. - removed DESTROY method(not backword compatible)
  402. - removed disconnect method(not backword compatible)
  403. - fixed DBIx::Custom::MySQL connect_memory
  404. 0.1603
  405. - removed DBIx::Custom commit method (not backword compatible)
  406. - removed DBIx::Custom rollback method (not backword compatible)
  407. - removed DBIx::Custom auto_commit method (not backword compatible)
  408. 0.1602
  409. - added cache_method attribute
  410. 0.1601
  411. - added cache attribute
  412. - select, insert, update, update_all, delete, delete_all, execute only receive hash argument(not backword compatible)
  413. 0.1503
  414. - removed reconnect method
  415. - removed connected method
  416. - removed reconnect_memroy method
  417. - renamed fetch_single to fetch_first
  418. - renamed fetch_hash_single to fetch_hash_first
  419. - updated document
  420. 0.1502
  421. - added commit method
  422. - added rollback method
  423. - changed select argument, added relation option
  424. - moved host attribute to DBIx::Custom::MySQL
  425. - moved port attribute to DBIx::Custom::MySQL
  426. - moved database attribute to DBIx::Custom::MySQL and DBIx::Custom::SQLite
  427. 0.1501
  428. - removed register_format()
  429. - removed formats()
  430. - removed run_transaction()
  431. - removed create_table()
  432. - removed drop_table()
  433. - changed select() arguments
  434. - changed insert() arguments
  435. - changed update() arguments
  436. - changed update_all() arguments
  437. - changed delete() arguments
  438. - changed delete_all() arguments
  439. - changed execute() arguments
  440. 0.1402
  441. - remove finish(), error()
  442. - can receive code ref to filter()
  443. - renamed resist to register
  444. 0.1401
  445. - renamed fetch_rows to fetch_multi
  446. - renamed fetch_hash_rows to fetch_hash_multi
  447. 0.1301
  448. - Changed many(not backword compatible)
  449. 0.1201
  450. - Changed many(not backword compatible)
  451. 0.1101
  452. - rename DBIx::Custom::SQLite last_insert_id to last_insert_rowid
  453. 0.1001
  454. - remove run_transaction().
  455. - add transaction() and DBIx::Custom::Transaction
  456. - rename fetch_first to fetch_single
  457. - rename fetch_hash_first to fetch_hash_single
  458. 0.0906
  459. - fix some bug
  460. 0.0905
  461. - catch up with Object::Simple update
  462. 0.0904
  463. - cleanup
  464. 0.0903
  465. - catch up with Object::Simple update
  466. 0.0902
  467. - cleanup
  468. 0.0901
  469. - DBIx::Basic filter 'encode_utf8' utf8::upgrade process is deleted
  470. 0.0801
  471. - add 'create_table', 'drop_table' methods
  472. 0.0701
  473. - rename sql_template to sql_tmpl (not backword compatible)
  474. - rename dbi_options to options (not backword compatible)
  475. 0.0605
  476. - fix encode_utf8 filter
  477. 0.0604
  478. - fix timeformat tests
  479. 0.0603
  480. - fix cache system bug
  481. 0.0602
  482. - update document
  483. 0.0601
  484. - bind_filter argument is changed to ($value, $key, $dbi, $infos) (not backword compatible)
  485. - fetch_filter argument is changed to ($value, $key, $dbi, $infos) (not backword compatible)
  486. - run_transaction argument is changed to ($dbi)
  487. 0.0502
  488. - update document
  489. 0.0501
  490. - packaging DBIx::Custom::Result DBIx::Custom::Query DBIx::Custom::MySQL DBIx::Custom::SQLite DBIx::Custom::SQL::Template
  491. 0.0401
  492. - catch up with DBIx::Custom::Result version up
  493. 0.0301
  494. - exchange filter argument 'key', 'value' (not backword compatible)
  495. 0.0201
  496. - rename tranzaction to transaction
  497. - add filter_off
  498. 0.0101
  499. - First release