Skip to content

2.9.12

Compare
Choose a tag to compare
@stefangabos stefangabos released this 16 Jan 12:02
· 216 commits to master since this release
  • the insert_bulk method now supports INSERT IGNORE and INSERT...ON DUPLICATE KEY UPDATE; this fixes #42 and deprecates the insert_update method
  • the insert method now also supports INSERT...ON DUPLICATE KEY UPDATE - this slightly changes the functionality of the method's 3rd agument but stays compatible with previous versions of the library
  • fixed #47 where setting log_path property to a full path to a file with extension would not change the log file's name, as stated in the documentation
  • fixed #37 where unsuccessful queries were not written to the log file
  • fixed bug when the first argument for fetch_assoc_all and fetch_obj_all methods was skipped
  • logs can now be handled via a custom callback function instead of being written to a log file, by setting the $log_path property; this answers #48
  • changed output written to the log files which is now less verbose, cleaner and taking up less space
  • dates in log files are now in Y-m-d format instead of Y M d
  • changed how entries are separated in the log file
  • updated minimum required PHP version from 5.2.0 to 5.4.0. This fixes #44