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