

2023-06-30 Franz Holzinger  <franz@ttproducts.de>
    * compatibility: errorCode() is deprecated. Use getCode() or getSQLState() on Exception.
    * compatibility: Method errorInfo has been removed in TYPO3 12.
    * use base class Doctrine\DBAL\Driver instead of Doctrine\DBAL\Driver\Mysqli\Driver to support all drivers.

2022-12-01 Franz Holzinger  <franz@ttproducts.de>
    * compatibility: Migrate extension icon to Resources/Public/Icons/Extension.gif

2022-08-03 Franz Holzinger <franz@ttproducts.de>
    * bugfix: num_rows only works with Doctrine class comparison for instance of result set with leading backslash

2022-02-24 Franz Holzinger <franz@ttproducts.de>
    * bugfix: The minimum size of a SQL part must be 2 characters.

2022-02-13 Franz Holzinger <franz@ttproducts.de>
    * bugfix: Doctrine API

2022-02-01 Franz Holzinger <franz@ttproducts.de>
    * bugfix: PARAM_STR_ARRAY must be treated as array
    * bugfix: There is no member variable debug_lastBuiltQuery .

2022-01-15 Franz Holzinger <franz@ttproducts.de>
    * remove code for TYPO3 < 9
    * bugfix for PHP 8 and TYPO3 11

2021-10-30 Franz Holzinger <franz@ttproducts.de>
    * fix debug_backtrace

2021-04-16 Franz Holzinger <franz@ttproducts.de>
    * works with TYPO3 11

2021-02-27 Franz Holzinger <franz@ttproducts.de>
    * enhancement for backtrace: New option BTRACE_LIMIT to set the limit of characters for the backtrace

2021-01-16 Franz Holzinger <franz@ttproducts.de>
    * bugfix: EXCLUDETABLES must be considered even if TABLES is not set to ALL
    * bugfix in parsing of table name

2021-01-04 Franz Holzinger <franz@ttproducts.de>
    * add support for TYPO3 10.4

2020-12-23 Franz Holzinger <franz@ttproducts.de>
    * enhancement for DoctrineConnection: Catch and rethrow the exception for method executeQuery in order to generate a debug output in the error case.
    * bugfix: output must be made in an error case when not table can be found due to a former exception

2020-11-13 Franz Holzinger <franz@ttproducts.de>
    * restructure the DebugApi call. No database objects should be parameters.
    * DoctrineConnection must use $resultSet->rowCount for UPDATE, DELETE and INSERT SQL queries to get the affected rows.

2020-11-10 Franz Holzinger <franz@ttproducts.de>
    * bugfix: The SQL query logger params must be shown correctly also for UPDATE and INSERT
    * bugfix: The detection of tables out of a SQL query will give better results
    * new feature: Use the install tool configurations with table limits also for the SQL query logger.

2020-09-02 Franz Holzinger <franz@ttproducts.de>
    * bugfix: the SQL query logger params must be checked for the type array.

2020-08-12 Franz Holzinger <franz@ttproducts.de>
    * bugfix for TYPO3 8.7. There can exist a case when the logger has not been set.

2020-07-18  Franz Holzinger  <franz@ttproducts.de>
    * new feature: The FileWriter Logger must store the previous SQL query. Because if an exception happens, then the SQL query by the exception will be written and the formerly interrupted SQL query would be lost.
    * new feature: expand the SQL queries also with question marks as placeholders
    * new feature: debugUtilityErrors only for the debugUtility class of TYPO3. Turning this off should help to avoid an output by TYPO3 which causes Ajax errors.

2020-07-11  Franz Holzinger  <franz@ttproducts.de>
    * new feature for TYPO3 9.5: Add a SQL Query Logger and its FileWriter class which also supports the debug method.

2020-02-23  Franz Holzinger  <franz@ttproducts.de>
    * bugfix for TYPO3 9.5: Wrong class name Typo3DbLegacyDatabaseConnection. Use Typo3DbLegacyConnection instead.

2020-02-20  Franz Holzinger  <franz@ttproducts.de>
    * bugfix for TYPO3 8.7: The old style TYPO3_DB based functions did not get debugged.

2020-01-25  Franz Holzinger  <franz@ttproducts.de>
    * new feature: debug output for Doctrine method executeQuery

2020-01-24  Franz Holzinger  <franz@ttproducts.de>

    * new feature: support for Doctrine

2020-01-03  Franz Holzinger  <franz@ttproducts.de>

    * bugfix: the initialization must be done in the method initialize and not in the constructor __construct.

################################################################    

26-08-19 Franz Holzinger <franz@ttproducts.de>
    * adaptions according to the coding guidelines

24-08-19 Franz Holzinger <franz@ttproducts.de>
    * support for TYPO3 9.5 in combination with the extension typo3db_legacy.

24-01-19 Franz Holzinger <franz@ttproducts.de>
    * bugfix error message: Invalid database result detected: function TYPO3\CMS\Core\Database\DatabaseConnection->sql_free_result 

18-01-19 Franz Holzinger <franz@ttproducts.de>
    * do not debug direct SQL queries about the SESSION
    * change the constants TRUE, FALSE and NULL into lower case

17-09-08 Franz Holzinger <franz@ttproducts.de>
    * add a composer.json file
    * support for TYPO3 8.7

16-06-30 Franz Holzinger <franz@ttproducts.de>
	* works also under TYPO3 7.x and PHP 7.x
	* fix bug: add a check for valid $uidIndexField in exec_SELECTgetRows

15-10-21 Franz Holzinger <franz@ttproducts.de>
	* fix bug with not debugged error case when no alias table name has been used
	* TYPO3 6.2 uses the method query($query) instead of $this->link->query($query)
	* fix bug with getLastInsertId

15-07-21 Franz Holzinger <franz@ttproducts.de>
	* fix bug with unknown PreparedStatement::class

15-06-18 Franz Holzinger <franz@ttproducts.de>
	* fix bug #67459: uncomment the bugfix

15-06-16 Franz Holzinger <franz@ttproducts.de>
	* fix bug #67459: TYPO3 6.2.x has a table sys_refindex which misses the field uid.

13-12-19 Franz Holzinger <franz@ttproducts.de>
	* require TYPO3 6.1.x or 6.2.x
	* add prepare_SELECTquery

13-06-04 Franz Holzinger <franz@ttproducts.de>
	* use namespaces and require TYPO3 6.0.x
	* remove query building functions because they do not generate a debug output
	* use the MYSQL function LAST_INSERT_ID if sql_insert_id gives no result

12-06-06 Franz Holzinger <franz@ttproducts.de>
	* fix bug: SQL ERROR shall be shown even if a table is not in the $TCA and TCA is set.
	* add admin_query
	* add autoloader
	* use t3lib_utility_Debug if available

11-04-23 Franz Holzinger <franz@ttproducts.de>
	* fix bug: SQL ERROR has not been shown when an alias has been used in long queries

11-02-28 Franz Holzinger <franz@ttproducts.de>
	* use the latest query in debug output if lastBuiltQuery is empty
	* add conflict with the dbal extension
	* fix bug: SQL ERROR has not been shown when an alias has been used

10-10-08 Franz Holzinger <franz@ttproducts.de>
	* fix bug in debugging not the tables from EXCLUDETABLES
	* Version 0.3.6

10-05-10 Franz Holzinger <franz@ttproducts.de>
	* optimization to not execute operations when no debug output will be shown later
	* Put into function/mode the code lines with filename, line number and function where the SQL has been called from
	* Version 0.3.5

10-05-01 Franz Holzinger <franz@ttproducts.de>
	* do not call any code of debug_mysql_db if TYPO3_MODE is not FE or BE or ALL. This should speed it up.
	* Version 0.3.4

10-02-10 Stefan Geith <typo3dev2010@geithware.de>
	* Upload to TER as 0.3.3

10-02-08 Franz Holzinger <franz@ttproducts.de>
	* do not debug disabled tables even in an error case

09-11-21 Franz Holzinger <franz@ttproducts.de>
	* add exclude table names which are normally system tables and the output is not wanted for the debugging of extensions
	* add the TCA option to show only those tables from which the $TCA has been loaded
	* fix bug where queries with table aliases and joins have not been shown if TABLES has been set to a table name
	* Version 0.3.2

09-10-19 Franz Holzinger <franz@ttproducts.de>
	* support for debug output with error_log
	* Version 0.3.1

09-07-17 Stefan Geith <typo3dev2009@geithware.de>
	* uploaded to TER as (accidentally) version 0.3.0

09-07-16 Franz Holzinger <franz@ttproducts.de>
	* add all new methods of t3lib_DB from TYPO3 4.3
	* Version 0.2.5

09-03-10 Stefan Geith <typo3devYYYY@geithware.de>
	* added check for FeUser-ID(s), so debugs can be restricted to a test-FeUser
	* Version 0.2.4

09-02-10 Stefan Geith <typo3devYYYY@geithware.de>
	* changed try/catch to if(function_exists)/else

09-02-09 Franz Holzinger <franz@ttproducts.de>
	* disable PHP warnings on wrong resource

09-02-09 Stefan Geith <typo3devYYYY@geithware.de>
	* added separator line in debug output to enhance readability

09-01-15 Franz Holzinger <franz@ttproducts.de>
	* allow Disable mysql errormessages [DISABLE_ERRORS]
	* fix bug 8728: PHP Warning, if a sql error occurs - Bug in class t3lib_db function sql_fetch_assoc
	* fix bug not to show a PHP Warning. SQL error output is enough for us.
	* Version 0.2.1

08-11-27 Franz Holzinger <contact@fholzinger.com>
	* fill in debug_backtrace always when BTRACE_SQL has been set
	* use microtime(true); instead of time() to get the time in microseconds
	* enter and display time in miliseconds
	* do the time measurements always

08-11-10 Franz Holzinger <contact@fholzinger.com>
	* new feature OUTPUT: make the OUTPUT configurable, in order to allow debugging with the cc_debug extension
	* new feature TICKER: give the minimum time in seconds for reported SQL queries

07-01-17 Stefan Geith  <typo3dev2007@geithware.de>
	* Initial release
