Skip to content

Releases: dataform-co/dataform

1.16.5: Single-query compilation now supports more forms of calls to `ref`/`resolve`.

26 Nov 16:26
c716577
Compare
Choose a tag to compare

In normal SQLX files, users can call ref in a number of ways: ref("name"), ref("schema", "name"), ref(["schema", "name"]), etc. Standalone queries previously only supported the ref("name") form; but this has now been fixed.

1.16.4: Add the when() context function to operations and assertions

25 Nov 17:27
528413c
Compare
Choose a tag to compare
Add the when() function to all action types. (#1119)

* Add the when() function to all action types.

* bump version

1.16.3: Fix to allow overriding per-action schema and database at the same time.

25 Nov 11:37
2d7dac4
Compare
Choose a tag to compare
Fix database action overrides (#1116)

* Fix database action overrides

* Bump version

1.16.2: Fix single-query compilation for empty query strings.

25 Nov 10:30
e3c5aca
Compare
Choose a tag to compare
Fixes a bug where the compiler would return random stuff when asked t…

1.16.1: Add some better event handling around the Dataform compilation process

12 Nov 16:14
defb077
Compare
Choose a tag to compare
Handle compile child process events better. (#1101)

1.16.0: Add database suffix functionality

11 Nov 16:45
19541a7
Compare
Choose a tag to compare

Dataform already supports schema suffixing and table name prefixing (usually used to isolate development work from production data).

This release adds support for database suffixes, which are particularly useful for Snowflake and BigQuery users, and can be used in the same way as (and alongside) schema suffixes.

1.15.5: Further fixes for trailing semicolon detection

11 Nov 16:43
95b5176
Compare
Choose a tag to compare

Compilation errors were incorrectly returned for trailing semicolons in pre/post operations; this has now been fixed. In addition, trailing semi colons included in queries running in incremental mode are now detected correctly.

1.15.4: Bugfix for automatic determination of filenames deep into JavaScript stack

11 Nov 16:41
df519c3
Compare
Choose a tag to compare

Dataform automatically determines filenames in order to construct compilation metadata. However, the names for files deep inside a JavaScript call stack could not be computed; this release fixes that issue.

1.15.3: Fix semicolon detection (launched in 1.15.2).

11 Nov 16:39
59cf26a
Compare
Choose a tag to compare
Fix caller site error on semi colon at end of file (#1071)

* Fix caller site substr error on semi colon at end of file

* Update core/utils.ts

Co-authored-by: BenBirt <[email protected]>

* Add full stop, fix test

Co-authored-by: BenBirt <[email protected]>

1.15.2: Append compilation errors on trailing semicolons.

11 Nov 16:38
3db1cea
Compare
Choose a tag to compare

Trailing semicolons in (some) Dataform SQL can cause problems when Dataform appends text to the end of the query string; in these circumstances, Dataform now returns a compilation error indicating the problematic semicolons.