PageRenderTime 50ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/zendframework/zend-db/CHANGELOG.md

https://bitbucket.org/sergiu-tot-fb/vendors
Markdown | 369 lines | 246 code | 123 blank | 0 comment | 0 complexity | fc8565ad1b38089ff15d75c732402948 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1, MIT, Apache-2.0
  1. # Changelog
  2. All notable changes to this project will be documented in this file, in reverse chronological order by release.
  3. ## 2.9.2 - 2017-12-11
  4. ### Added
  5. - Nothing.
  6. ### Changed
  7. - Nothing.
  8. ### Deprecated
  9. - Nothing.
  10. ### Removed
  11. - Nothing.
  12. ### Fixed
  13. - [#292](https://github.com/zendframework/zend-db/pull/292) ensures that you may
  14. reference bound parameter names using a leading colon (`:`) character when
  15. using the PDO adapter. (The leading colon is not technically necessary, as the
  16. adapter will prefix for you; however, this ensures portability with vanilla
  17. PDO.)
  18. ## 2.9.1 - 2017-12-07
  19. ### Added
  20. - Nothing.
  21. ### Changed
  22. - [#289](https://github.com/zendframework/zend-db/pull/289) reverts a change
  23. introduced in 2.9.0 and modifies the behavior of the PDO adapter slightly
  24. to remove a regression. In 2.9.0, when binding parameters with names that
  25. contained characters not supported by PDO, we would pass the parameter names
  26. to `md5()`; this caused a regression, as the SQL string containing the
  27. parameter name was not also updated.
  28. This patch modifies the behavior during a bind-operation to instead raise an
  29. exception if a parameter name contains characters not supported by PDO.
  30. ### Deprecated
  31. - Nothing.
  32. ### Removed
  33. - Nothing.
  34. ### Fixed
  35. - Nothing.
  36. ## 2.9.0 - 2017-12-06
  37. ### Added
  38. - [#216](https://github.com/zendframework/zend-db/pull/216) added AFTER support
  39. in ALTER TABLE syntax for MySQL
  40. - [#223](https://github.com/zendframework/zend-db/pull/223) added support for
  41. empty values set with IN predicate
  42. - [#271](https://github.com/zendframework/zend-db/pull/271) added support for
  43. dash character on MySQL identifier
  44. - [#273](https://github.com/zendframework/zend-db/pull/273) added support for
  45. implementing an error handler for db2_prepare
  46. - [#275](https://github.com/zendframework/zend-db/pull/275) added support for
  47. LIMIT OFFSET for db2
  48. - [#280](https://github.com/zendframework/zend-db/pull/280) added version dsn
  49. parameter for pdo_dblib
  50. ### Deprecated
  51. - Nothing.
  52. ### Removed
  53. - Nothing.
  54. ### Fixed
  55. - [#205](https://github.com/zendframework/zend-db/pull/205) fixes the spaces in
  56. ORDER BY syntax
  57. - [#224](https://github.com/zendframework/zend-db/pull/224) fixes how parameters
  58. are bound to statements in the PDO adapter. PDO has a restriction on parameter
  59. names of `[0-9a-zA_Z_]`; as such, the driver now hashes the parameter names
  60. using `md5()` in order to ensure compatibility with other drivers.
  61. - [#229](https://github.com/zendframework/zend-db/pull/229) fixes the support
  62. of SSL for mysqli
  63. - [#255](https://github.com/zendframework/zend-db/pull/255) fixes ResultSet with
  64. array values
  65. - [#261](https://github.com/zendframework/zend-db/pull/261) fixes Exception in
  66. Firebird driver doesn't support lastInsertId
  67. - [#276](https://github.com/zendframework/zend-db/pull/276) fixes the support
  68. of PHP 7.2
  69. - [#287](https://github.com/zendframework/zend-db/pull/287) fixes the usage of
  70. count() with PHP 7.2
  71. ## 2.8.2 - 2016-08-09
  72. ### Added
  73. - [#110](https://github.com/zendframework/zend-db/pull/110) prepared the
  74. documentation for publication at https://zendframework.github.io/zend-db/
  75. - [#114](https://github.com/zendframework/zend-db/pull/114) add
  76. Adapter\Adapter::class to alias against Adapter\AdapterInterface::class
  77. ### Deprecated
  78. - Nothing.
  79. ### Removed
  80. - Nothing.
  81. ### Fixed
  82. - [#154](https://github.com/zendframework/zend-db/pull/154) fixes the how the
  83. COMBINE operator is applied to SQLite adapters, ensuring a valid UNION
  84. statement is generated.
  85. - [#112](https://github.com/zendframework/zend-db/pull/112) fixes the test on
  86. the number of replacements when using the same variable name.
  87. - [#115](https://github.com/zendframework/zend-db/pull/115) TableGateway update
  88. method was incorrect when specifying default join declaration.
  89. - [#145](https://github.com/zendframework/zend-db/pull/145) Fix MSSQL Select
  90. when encounting DISTINCT and OFFSET and LIMIT together.
  91. - [#153](https://github.com/zendframework/zend-db/pull/153) Runtime exception
  92. threw fatal error due to incorrect spelling of the class when a DSN did not
  93. exist.
  94. ## 2.8.1 - 2016-04-14
  95. ### Added
  96. - Nothing.
  97. ### Deprecated
  98. - Nothing.
  99. ### Removed
  100. - Nothing.
  101. ### Fixed
  102. - [#100](https://github.com/zendframework/zend-db/pull/100) fixes the JOIN
  103. behavior to re-allow selecting an empty column set from the joined table.
  104. - [#106](https://github.com/zendframework/zend-db/pull/106) fixes an issue in
  105. the test suite when ext/pgsql is enabled, but no databases are avaiable.
  106. ## 2.8.0 - 2016-04-12
  107. ### Added
  108. - [#92](https://github.com/zendframework/zend-db/pull/92) adds the class
  109. `Zend\Db\Sql\Join` for creating and aggregating JOIN specifications. This is
  110. now consumed by all `Zend\Db\Sql` implementations in order to represent JOIN
  111. statements.
  112. - [#92](https://github.com/zendframework/zend-db/pull/92) adds support for JOIN
  113. operations to UPDATE statements.
  114. - [#92](https://github.com/zendframework/zend-db/pull/92) adds support for joins
  115. to `AbstractTableGateway::update`; you can now pass an array of
  116. specifications via a third argument to the method.
  117. - [#96](https://github.com/zendframework/zend-db/pull/96) exposes the package as
  118. config-provider/component, but adding:
  119. - `Zend\Db\ConfigProvider`, which maps the `AdapterInterface` to the
  120. `AdapterServiceFactory`, and enables the `AdapterAbstractServiceFactory`.
  121. - `Zend\Db\Module`, which does the same, for a zend-mvc context.
  122. ### Deprecated
  123. - Nothing.
  124. ### Removed
  125. - Nothing.
  126. ### Fixed
  127. - Nothing.
  128. ## 2.7.1 - 2016-04-12
  129. ### Added
  130. - Nothing.
  131. ### Deprecated
  132. - Nothing.
  133. ### Removed
  134. - Nothing.
  135. ### Fixed
  136. - [#71](https://github.com/zendframework/zend-db/pull/71) updates the `Pgsql`
  137. adapter to allow passing the connection charset; this can be done with the
  138. `charset` option when creating your adapter.
  139. - [#76](https://github.com/zendframework/zend-db/pull/76) fixes the behavior of
  140. `Zend\Db\Sql\Insert` when an array of names is used for columns to ensure the
  141. string names are used, and not the array indices.
  142. - [#91](https://github.com/zendframework/zend-db/pull/91) fixes the behavior of
  143. the `Oci8` adapter when initializing a result set; previously, it was
  144. improperly assigning the count of affected rows to the generated value.
  145. - [#95](https://github.com/zendframework/zend-db/pull/95) fixes the `IbmDb2`
  146. platform's `quoteIdentifier()` method to properly allow `#` characters in
  147. identifiers (as they are commonly used on that platform).
  148. ## 2.7.0 - 2016-02-22
  149. ### Added
  150. - Nothing.
  151. ### Deprecated
  152. - Nothing.
  153. ### Removed
  154. - Nothing.
  155. ### Fixed
  156. - [#85](https://github.com/zendframework/zend-db/pull/85) and
  157. [#87](https://github.com/zendframework/zend-db/pull/87) update the code base
  158. to be forwards compatible with:
  159. - zend-eventmanager v3
  160. - zend-hydrator v2.1
  161. - zend-servicemanager v3
  162. - zend-stdlib v3
  163. ## 2.6.2 - 2015-12-09
  164. ### Added
  165. - [#49](https://github.com/zendframework/zend-db/pull/49) Add docbook
  166. documentation.
  167. ### Deprecated
  168. - Nothing.
  169. ### Removed
  170. - Nothing.
  171. ### Fixed
  172. - [#55](https://github.com/zendframework/zend-db/pull/55) Implement FeatureSet
  173. canCallMagicCall and callMagicCall methods
  174. - [#56](https://github.com/zendframework/zend-db/pull/56)
  175. AbstractResultSet::current now does validation to ensure an array.
  176. - [#58](https://github.com/zendframework/zend-db/pull/58) Fix unbuffered result
  177. on MySQLi.
  178. - [#59](https://github.com/zendframework/zend-db/pull/59) Allow unix_socket
  179. parameter
  180. ## 2.6.1 - 2015-10-14
  181. ### Added
  182. - Nothing.
  183. ### Deprecated
  184. - Nothing.
  185. ### Removed
  186. - Nothing.
  187. ### Fixed
  188. - [#31](https://github.com/zendframework/zend-db/pull/31) fixes table gateway
  189. update when there is a table alias utilized.
  190. ## 2.6.1 - 2015-10-14
  191. ### Added
  192. - Nothing.
  193. ### Deprecated
  194. - Nothing.
  195. ### Removed
  196. - Nothing.
  197. ### Fixed
  198. - [#43](https://github.com/zendframework/zend-db/pull/43) unset and get during
  199. an insert operation would throw an InvalidArgumentException during an insert.
  200. ## 2.6.0 - 2015-09-22
  201. ### Added
  202. - [#42](https://github.com/zendframework/zend-db/pull/42) updates the component
  203. to use zend-hydrator for hydrator functionality; this provides forward
  204. compatibility with zend-hydrator, and backwards compatibility with
  205. hydrators from older versions of zend-stdlib.
  206. - [#15](https://github.com/zendframework/zend-db/pull/15) adds a new predicate,
  207. `Zend\Db\Sql\Predicate\NotBetween`, which can be invoked via `Sql`
  208. instances: `$sql->notBetween($field, $min, $max)`.
  209. - [#22](https://github.com/zendframework/zend-db/pull/22) extracts a factory,
  210. `Zend\Db\Metadata\Source\Factory`, from `Zend\Db\Metadata\Metadata`,
  211. removing the (non-public) `createSourceFromAdapter()` method from that
  212. class. Additionally, it extracts `Zend\Db\Metadata\MetadataInterface`, to
  213. allow creating alternate implementations.
  214. ### Deprecated
  215. - [#27](https://github.com/zendframework/zend-db/pull/27) deprecates the
  216. constants `JOIN_OUTER_LEFT` and `JOIN_OUTER_RIGHT` in favor of
  217. `JOIN_LEFT_OUTER` and `JOIN_RIGHT_OUTER`.
  218. ### Removed
  219. - Nothing.
  220. ### Fixed
  221. - Nothing.
  222. ## 2.5.2 - 2015-09-22
  223. ### Added
  224. - Nothing.
  225. ### Deprecated
  226. - Nothing.
  227. ### Removed
  228. - [#29](https://github.com/zendframework/zend-db/pull/29) removes the required
  229. second argument to `Zend\Db\Predicate\Predicate::expression()`, allowing it to
  230. be nullable, and mirroring the constructor of `Zend\Db\Predicate\Expression`.
  231. ### Fixed
  232. - [#40](https://github.com/zendframework/zend-db/pull/40) updates the
  233. zend-stdlib dependency to reference `>=2.5.0,<2.7.0` to ensure hydrators
  234. will work as expected following extraction of hydrators to the zend-hydrator
  235. repository.
  236. - [#34](https://github.com/zendframework/zend-db/pull/34) fixes retrieval of
  237. constraint metadata in the Oracle adapter.
  238. - [#41](https://github.com/zendframework/zend-db/pull/41) removes hard dependency
  239. on EventManager in AbstractTableGateway.
  240. - [#17](https://github.com/zendframework/zend-db/pull/17) removes an executable
  241. bit on a regular file.
  242. - [#3](https://github.com/zendframework/zend-db/pull/3) updates the code to use
  243. closure binding (now that we're on 5.5+, this is possible).
  244. - [#9](https://github.com/zendframework/zend-db/pull/9) thoroughly audits the
  245. OCI8 (Oracle) driver, ensuring it provides feature parity with other drivers,
  246. and fixes issues with subselects, limits, and offsets.