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