Skip to content

Latest commit

 

History

History
95 lines (53 loc) · 3.85 KB

CHANGELOG.md

File metadata and controls

95 lines (53 loc) · 3.85 KB

Changelog

  • 1.5.5 - September 20, 2018

    • Allow to use scalar for single value in query() and execute()
    • Fix prepare() still used instead of query()
    • Store new result with execute()
  • 1.5.4 - September 11, 2018

    • Fix fetch() and fetchAll() stdClass issue.
    • Use query() instead of prepared() if non-prepared for efficiency
    • Allow chaining for freeResult() and closeStmt()
  • 1.5.3 - April 22, 2018

    • Add support for entering constructor parameters for fetching objects in a class
    • multiQuery() is now atomicQuery() to avoid confusion over a multiple statements
  • 1.5.2 - April 7, 2018

    • affectedRowsInfo() is now info()
  • 1.5.1 - April 6, 2018

    • Add fetchAll() fetch mode 'groupObj'
  • 1.5.0 - April 3, 2018

    • transaction() is now multi_query() and transactionCallback() is now transaction()
  • 1.4.6 - March 29, 2018

    • Add composer and return type for $this
  • 1.4.5 - March 28, 2018

    • Remove setRowsMatched(), in favor of the new getter method rowsMatched()
  • 1.4.4 - March 27, 2018

    • Enforce return type declaration on methods when possible
    • Switch to more consistent if style
  • 1.4.3 - March 25, 2018

    • Fix off-by-one error to close stmt with transaction() on prepare once, execute multiple
  • 1.4.2 - March 23, 2018

    • Fix transaction() on prepare once, execute multiple
  • 1.4.1 - March 20, 2018

    • Add setRowsMatched() to use rows matched, instead of rows changed on UPDATE query
  • 1.4.0 - March 13, 2018

    • Add execute(), whereIn(), numRows(), transactionCallback(), freeResult(), closeStmt()
    • Default charset is now 'utf8mb4' instead of 'utf8'
    • Don't automatically free result anymore on fetchAll()
    • Add ability to fetch into class
  • 1.3.2 - January 25, 2018

    • Add affectedRowsInfo() and free fetch results
  • 1.3.1 - January 24, 2018

    • Fix fetchAll() types keyPairArr and group
  • 1.3.0 - January 24, 2018

    • All queries now use a global query() functions
    • affectedRows() and insertId() added as separate functions instead of returned in object due to switching to query()
  • 1.2.0 - January 18, 2018

    • Select statements now must be chained with fetch() for one row at a time and fetchAll() for all results
  • 1.1.2 - January 15, 2018

    • Fix return on delete()
  • 1.1.1 - January 11, 2018

    • Fix transactions
  • 1.1.0 - January 3, 2018

    • Add new fetch modes for convenience: 'scalar', 'col', 'keyPair', 'keyPairArr', 'group', 'groupCol'
  • 1.0.0 - December 28, 2017

    • Initial Release