Skip to content

Releases: heavyai/heavyai-connector

4.2.0

01 Nov 18:52
162e197
Compare
Choose a tag to compare

Thrift bindings 0.10
Thrift runtime 0.9.3
OmniSci Core 4.2.0

Added Thrift methods:

  • hasObjectPrivilegesAsync (has_object_privilege)
  • getAllRolesForUserAsync (get_all_roles_for_user)

Added support for precision property on columns, and properly converting timestamps of any precision to millisecond-precision Date objects

Add query logging to error responses when logging is enabled (via .logging(true))

Define Connector API

27 Jul 18:40
Compare
Choose a tag to compare

⚠️ Breaking API change:

  • Expose public methods only.
  • Remove sync methods.
  • Make getResultRowForPixel take a single callback. (It still accepts an array of callbacks but warns that's deprecated.)
  • Drop "*Async" method suffix (since everything's async now).
  • Everything uses node-style callbacks. (Promises not supported in IE11.)
  • clean up JSDocs
  • Add integration tests for all public methods (except side-effect-ful ones for now).
  • Remove multiplexing. (It's never used and makes the code complex).

🅿️ Public methods

  • connect
  • createFrontendView
  • createLink
  • createTable
  • dbName
  • deleteFrontendView
  • detectColumnTypes
  • disconnect
  • getFields
  • getFrontendView
  • getFrontendViews
  • getLinkView
  • getPixel
  • getServerStatus
  • getTables
  • host
  • logging
  • password
  • port
  • protocol
  • query
  • renderVega
  • sessionId
  • user
  • validateQuery

Reset thrift connection on bad arguments

27 Jun 20:32
Compare
Choose a tag to compare

🐞 Backward compatible bug fixes

  • Wrap methods to reset thrift client on bad args (#25)

add node-connector, rename mapd-connector browser-connector

16 Jun 21:42
Compare
Choose a tag to compare

⚠️ Breaking Changes

  • rename dist/mapd-connector to dist/browser-connector

🆕 Backward compatible changes

  • add dist/node-connector; require("@mapd/mapd-connector") points to it.
  • browser-connector bundles thrift files, so they don't need to be included separately.