From 925661669e3e1ff01f7fab1223838fc0bbdf6838 Mon Sep 17 00:00:00 2001 From: Peter Kosztolanyi Date: Mon, 18 May 2020 11:26:49 +0100 Subject: [PATCH] v1.3.0 and changelog (#20) --- CHANGELOG.md | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 10 ++++++++++ setup.py | 2 +- 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5f41f31 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,55 @@ +1.3.0 (2020-05-18) +------------------- + +- Add optional `session_sqls` connection parameter +- Support `JSON` column types + +1.2.0 (2020-02-18) +------------------- + +- Make logging customizable + +1.1.5 (2020-01-21) +------------------- + +- Update bookmark only if binlog position is valid + +1.1.4 (2020-01-21) +------------------- + +- Update bookmark when reading bookmark finished + +1.1.3 (2020-01-20) +------------------- + +- Update bookmark only before writing state message + +1.1.2 (2020-01-14) +------------------- + +- Handle null bytes in `BINARY` type columns using SQL + +1.1.1 (2020-01-07) +------------------- + +- Handle padding zeros in `BINARY` type columns + +1.1.0 (2019-12-27) +------------------- + +- Support `BINARY` and `VARBINARY` column types + +1.0.7 (2019-12-06) +------------------- + +- Bump `mysql-replication` to 0.21 + +1.0.6 (2019-08-16) +------------------- + +- Add license classifier + +1.0.5 (2019-05-28) +------------------- + +- Remove faulty `BINARY` and `VARBINARY` support diff --git a/README.md b/README.md index 6fc47c1..8931615 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,16 @@ Create a config file containing the database connection credentials, e.g.: These are the same basic configuration properties used by the MySQL command-line client (`mysql`). +### Optional config parameters + +`session_sqls`: List of SQL commands to run when a connection made. This allows to set session variables dynamically, like timeouts. If not set then the following commands will be executed: +``` +SET @@session.time_zone="+0:00" +SET @@session.wait_timeout=28800 +SET @@session.net_read_timeout=3600 +SET @@session.innodb_lock_wait_timeout=3600 +``` + ### Discovery mode The tap can be invoked in discovery mode to find the available tables and diff --git a/setup.py b/setup.py index 17a3f3e..927d701 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ long_description = fh.read() setup(name='pipelinewise-tap-mysql', - version='1.2.0', + version='1.3.0', description='Singer.io tap for extracting data from MySQL - PipelineWise compatible', long_description=long_description, long_description_content_type='text/markdown',