Skip to content

Latest commit

 

History

History
118 lines (85 loc) · 3.63 KB

File metadata and controls

118 lines (85 loc) · 3.63 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.6.1] 2024-04-06

Fixed

  • Upgraded to oracledb 2.0 driver which no longer supports encoding of the connection() function.
  • Fixed psycopg binary dependency and install documentation

[1.6.0] 2023-11-04

Added

  • New option --log to log erroneous lines in a *.bad file of the same name (ER #46)
  • New option --ignore to ignore errors in file and continue loading (ER #46)
  • New option --truncate to empty (truncate) the target table before the load (ER #45)
  • New option --encoding to specify the file encoding, if not compatible with UTF-8 (bug #50)
  • New option --case-insensitive-identifiers to uppercase all identifiers (ER #60)
  • New option --quote-identifiers to quote all table and column identifiers (ER #61)
  • Release csv2db as a Python package (ER #53)

Changed

  • Read all input files with UTF-8 encoding by default
  • Upgraded to oracledb driver for Oracle Database
  • Upgraded to psycopg (3) driver for Postgres
  • Remove usage of psycopg2.extras.execute_batch() as psycopg 3 now supports executemany() natively
  • Change testing strategy to separate DB loading tests
  • Implemented GitHub Action testing

Fixed

  • Raise an error when empty column names in the header are encountered (bug #56)

[1.5.1] 2020-03-21

Added

  • Added loading tests for all databases
  • Enhanced error reporting (ER #37)

Changed

  • Added PROTOCOL=TCPIP and AUTHENTICATION=SERVER to the Db2 connect string.
  • Using psycopg2.extras.execute_batch() to speed up data load with Postgres (ER #39)

Fixed

  • Convert row to tuple on array append (bug #35)
  • Use UTF-8 connection encoding for Oracle (bug #36)

[1.5.0] 2020-03-14

Added

  • Interactive password entry (PR #33)

[1.4.2] 2020-01-26

Changed

  • Change csv2db description from "the CSV command line loader" to "the CSV to database command line loader"

[1.4.1] 2020-01-25

Added

  • Introduce Windows .bat file wrapper

Fixed

  • Don't print color codes on Windows (bug #29)

[1.4.0] - 2019-09-22

Added

  • Introduce csv2db icon
  • Check for mandatory command line arguments (ER #14)
  • Exit program immediately if no files were found (ER #17)
  • More debug statements for file reading operations (ER #15)
  • Color coded output (can be turned off via $NO_COLOR) (ER #20)
  • Provide failing data record as debug output (ER #19)
  • More precise status output (ER #24)
  • Change default data type to VARCHAR(1000) (ER #26)
  • Return code to indicate data loading issue (ER #25)
  • Introduce SQL Server support (ER #11)

Fixed

  • Pass correct exit return codes (bug #18)
  • Autocommit is explicitly turned off (bug #22)
  • Record list cleared on error (bug #23)
  • Preserve correct order of column list (bug #21)

[1.3.1] - 2019-07-28

Fixed

  • Put /*+ APPEND_VALUES */ hint at right position immediately after the INSERT keyword (bug #12)

[1.3.0] - 2019-07-28

Added

  • Provide support for direct-path loading with Oracle DB (ER #8)
  • Provide support for custom quote characters (ER #10)

[1.2.0] - 2019-03-09

Added

  • Support for user-defined column separator

Fixed

  • Don't execute batch flush on empty data set (bug #6)

[1.1.1] - 2019-02-09

Fixed

  • Get correct source path for shell wrapper (bug #4)

[1.1.0] - 2019-01-16

Added

  • Db2 LUW support
  • Version numbering in program help

Changed

  • Set default port for all database types (Oracle: 1521, MySQL: 3306, PostgreSQL: 5432, Db2: 50000).