Skip to content

Latest commit

 

History

History
92 lines (56 loc) · 2.53 KB

CHANGELOG.md

File metadata and controls

92 lines (56 loc) · 2.53 KB

Changelog

4.1.2 (2016-12-22)

  • [+]: use "UTF8::json_encode()" in the "Result"-object
  • [+]: add more alias-functions for "Arrayy"-usage
  • [*]: add more php-docs for the "Result"-object

4.1.0 (2016-12-21)

  • [+]: add "Prepare->execute_raw()" -> without debugging or logging

4.0.1 (2016-12-19)

  • [+]: use parameter (array) check for DB->update() / DB->insert() / DB->replace()
  • [~]: optimize memory usage from Helper->copyTableRow()
  • [~]: simplify some code

4.0.0 (2016-12-16)

  • [!]: edit "Prepare->execute()" -> the method will now return an "Result"-object for SELECT queries

WARNING: If you already use "Prepare->execute()" for SELECT-queries, you need to change your code, because the method will now return an "Result"-object instead of true on success.

3.0.4 (2016-11-02)

  • [+]: fixed "_parseQueryParams()" (e.g. $0 should not replaced by php)

3.0.3 (2016-09-01)

  • [+]: fixed "copyTableRow()" (do not escape non selected data)

3.0.2 (2016-08-18)

  • [+]: use "utf8mb4" if it's supported

3.0.1 (2016-08-15)

  • [!]: fixed usage of (float)

3.0.0 (2016-08-15)

  • [~]: merge "secure()" and "escape()" methods
  • [+]: convert "DateTime"-object to "DateTime"-string via "escape()"
  • [+]: check magic method "__toString" for "escape()"-input

WARNING: Use "set_convert_null_to_empty_string(true)" to be compatible with the <= 2.0.x tags.

2.0.5/6 (2016-08-12)

  • [+]: use new version of "portable-utf8" (3.0)

2.0.4 (2016-07-20)

  • [+]: use "assertSame" instead of "assertEquals" (PhpUnit)
  • [+]: fix "DB->escape()" usage with arrays

2.0.3 (2016-07-11)

  • [+]: fix used of "MYSQLI_OPT_INT_AND_FLOAT_NATIVE" -> "Type: Notice Message: Use of undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE"

2.0.2 (2016-07-11)

  • [!]: fixed return from "DB->qry()" -> e.g. if an update-query updated zero rows, then we return "0" instead of "true" now

2.0.1 (2016-07-11)

  • [!]: fixed return from "DB->query()" and "Prepare->execute()" -> e.g. if an update-query updated zero rows, then we return "0" instead of "true" now

2.0.0 (2016-07-11)

INFO: There was no breaking API changes, so you can easily upgrade from 1.x.

  • [!]: use "MYSQLI_OPT_INT_AND_FLOAT_NATIVE" + fallback
  • [!]: fixed return statements from "DB"-Class e.g. from "query()", "execSQL()"
  • [!]: don't use "UTF8::html_entity_decode()" by default
  • [+]: added "Prepare->bind_param_debug()" for debugging and logging prepare statements