Skip to content

Releases: sevenwestmedia-labs/node-knex-query-executor

v3.1.0

02 Nov 08:24
c95bb13
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v3.0.0

28 Oct 06:47
Compare
Choose a tag to compare

Major Changes

  • 89a0a70: Update tslib and knex peerDependency

v2.0.1

23 Oct 00:16
397c763
Compare
Choose a tag to compare

2.0.1 (2019-10-23)

Bug Fixes

  • Upgrade to version of knex without security warnings (fd3c6a8)

v2.0.0

24 Jan 08:03
6547fa8
Compare
Choose a tag to compare

2.0.0 (2019-01-24)

BREAKING CHANGES

Removed withArgs

The withArgs function has been removed. Previously it has been required so that type safety around the query arguments can be ensured. Now args must be passed in as a second parameter of the execute function.

This change also effects how the query function is structured. Now, the “args” are passed into the second argument of the query function.

Here is an example of how it now works:

const query = queryExecutor.createQuery<string, string>(
   async ({ tables }, arg) => {
       tables.tableOne()
       return arg
    }
)

await queryExecutor.execute(query, ‘hello!)

v1.0.5

13 Jan 07:20
9f475f3
Compare
Choose a tag to compare

1.0.5 (2019-01-13)

Bug Fixes

  • Unit of work return type was Promise (62ce558)

v1.0.4

03 Jan 01:18
7d86674
Compare
Choose a tag to compare

1.0.4 (2019-01-03)

Bug Fixes

  • Removed generic params from mock-query-executor (03bd340), closes #5
  • Table name not looked being up from tableNames map (bd3cea3), closes #7

v1.0.3

02 Jan 05:00
Compare
Choose a tag to compare

1.0.3 (2019-01-02)

Bug Fixes

v1.0.1

02 Jan 04:08
ace86b0
Compare
Choose a tag to compare

1.0.1 (2019-01-02)

Bug Fixes

  • included mockQueryExecutor in package. (8ad44da)

v1.0.0

31 Dec 04:58
Compare
Choose a tag to compare

1.0.0 (2018-12-31)

Features