Skip to content

Releases: dataform-co/dataform

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.

1.15.1: Allow empty pre/post operations.

23 Oct 15:28
da67603
Compare
Choose a tag to compare

Previously Dataform would throw a compile error when pre_operations or post_operations was empty, which made it hard to write things like:

pre_operations {
  ${when(<may be false>, "something")}
}

This has now been fixed.

1.15.0: Support multiple unique key auto-assertions per dataset.

22 Oct 15:43
099ec13
Compare
Choose a tag to compare

It's now possible to specify multiple combinations of columns which should always form a unique key:

config {
  type: "table",
  assertions: {
    uniqueKeys: [
      ["col1", "col2"],
      ["col3", "col4", "col5"],
    ]
  }
}

1.14.3: Auto-assertions are now disabled if their associated table is disabled.

22 Oct 14:13
fa35462
Compare
Choose a tag to compare
Make auto-assertions disabled if their associated table is disabled. …

1.14.2: Namespace auto-assertions by their table's schema name.

22 Oct 13:42
7a497c5
Compare
Choose a tag to compare

Previously, if defining auto-assertions on two table or view objects with the same name (in different schemas), there would be a collision on the generated auto-assertion names. Now, auto-assertion names include their associated table/view's schema name.

1.14.1: Fix to allow includes files to use 'dataform' object.

21 Oct 15:45
183a350
Compare
Choose a tag to compare

1.14.0: Snowflake feature support: Transient tables and Cluster by

20 Oct 16:55
e973496
Compare
Choose a tag to compare

Adds support for transient tables and cluster by expressions as part of the table configuration.

Transient tables

Only supported for actions of type table.

config {
  type: "table",
  snowflake: {
    transient: true
  }
}

select 1 as test

Cluster by example

Supported for actions of type table and incremental.

config {
  type: "table",
  snowflake: {
    clusterBy: ["test"]
  }
}

select 1 as test

1.13.0: Add support for custom compilation variables.

14 Oct 15:05
4622aa7
Compare
Choose a tag to compare