Skip to content

Releases: geckoboard/sql-dataset

Add support for duration and many upgrades

17 Aug 15:46
Compare
Choose a tag to compare
  • Many upgrades to dependent libraries and go version
  • Adds support for duration type for datasets

v0.2.4: Merge pull request #27 from geckoboard/feature-upgrade-lib-mysql

09 Jan 08:48
b296be8
Compare
Choose a tag to compare

MySQL library update to support new authenication mechanism in MySQL 8.1+

v0.3.0.alpha: Upgrade mysql go library to support mysql 8.1

05 Oct 19:00
Compare
Choose a tag to compare
This is because the default password plugin has changed
to sha2 plugin meaning the old authentication with mysql 8.1
wasn't compatible

Bugfix for unique by keys not matching field keys

03 Jul 07:57
Compare
Choose a tag to compare

This release fixes a small but important bug with unique by as raised by @SirRawlins in issue #22

This will now properly support specifying the unique by in the same format as your field name. Which under the hood we will convert correctly just like the field name is.

 - name: subscriptions.all
    update_type: append
    sql: SELECT 1 FROM Y
    fields:
      - type: datetime
        name: Subscribed At
    unique_by:
      - Subscribed At

Tiny bugfix and error message improvments

19 Apr 11:01
Compare
Choose a tag to compare
  • Improves the errors messages brought to us by @bennewell
  • Validates that we have at least one dataset before continuing. (This will help with any indentation issues or mis-spelling)
  • Uses db.Ping() to check the connection before continuing.
    This helps identify database connection issues early on instead of trying to make SQL query and it failing.

Fix invalid empty payload to Geckoboard

17 Jan 11:19
Compare
Choose a tag to compare

This minor release fixes sending empty payloads for dataset type Replace - when your SQL result set contains no data - we was sending an invalid payload this release fixes that.

Adds Microsoft SQL Server support

21 Jun 14:46
Compare
Choose a tag to compare

Adds basic odbc connection support for Microsoft SQL Server. Driver named mssql

File descriptor leak bugfix

13 Jun 15:43
Compare
Choose a tag to compare

This fixes a file descriptor leak for long running sql-dataset instances, where by we was incorrectly opening new connection for every sql query, but never closing any.

This changes that so that we only sql.Open once in main and let the sql/database package handle connection pools. With a max limit of 5.

Basic odbc connection support for MSSQL

02 Jun 15:39
Compare
Choose a tag to compare
Pre-release

Supports driver named driver: mssql

---
geckoboard_api_key: ''
database:
 driver: mssql
 host: localhost
 username: sa
 password: xxxx
 name: testdb
 tls_config: (optional)
  ca_file: "path/cert.pem"
  ssl_mode: "true"
refresh_time_sec: 10
datasets:
 - name: 'builds.count'
   update_type: replace
   sql: SELECT count(*) from builds
   fields:
     - type: number
       name: count

Support environment variables in the config

01 Jun 15:59
Compare
Choose a tag to compare
v0.1.1

Update readme with new release