github dbt-labs/dbt v0.13.0
dbt 0.13.0

dbt 0.13.0 - Stephen Girard (March 21, 2019)


This release provides a stable API for building new adapters and reimplements dbt's adapters as "plugins". Additionally, a new adapter for Presto was added using this architecture. Beyond adapters, this release of dbt also includes Sources which can be used to document and test source data tables. See the full list of features added in 0.13.0 below.


Installation instructions

dbt v0.13.0 is available on Homebrew, PyPi, and in dbt Cloud.

# Homebrew
$ brew install dbt

# pip
$ pip install dbt

Note: If you're upgrading from an earlier version of dbt using pip, you may need to install dbt with the -I flag. This flag is required due to changes in the structure of the dbt package.

$ pip install -I dbt

For full installation instructions, consult the docs

Breaking Changes

  • Version 1 schema.yml specs are no longer implemented. Please use the version 2 spec instead (migration guide)
  • {{this}} is no longer implemented for on-run-start and on-run-end hooks. Use {{ target }} or an on-run-end context variable instead (#1176, implementing #878)
  • A number of materialization-specific adapter methods have changed in breaking ways. If you use these adapter methods in your macros or materializations, you may need to update your code accordingly.


  • The following adapter methods are now deprecated, and will be removed in a future release:


  • Add sources to dbt, use them to calculate source data freshness (docs ) (#814, #1240)
  • Add support for Presto (docs, repo) (#1106)
  • Add require-dbt-version option to dbt_project.yml to state the supported versions of dbt for packages (docs) (#581)
  • Add an output line indicating the installed version of dbt to every run (#1134)
  • Add a new model selector (@) which build models, their children, and their children's parents (docs) (#1156)
  • Add support for Snowflake Key Pair Authentication (docs) (#1232)
  • Support SSO Authentication for Snowflake (docs) (#1172)
  • Add support for Snowflake's transient tables (default=true) (docs) (#946)
  • Capture build timing data in run_results.json to visualize project performance (#1179)
  • Add CLI flag to toggle warnings as errors (docs) (#1243)
  • Add tab completion script for Bash (docs) (#1197)
  • Added docs on how to build a new adapter (docs) (#560)
  • Use new logo (#1349)


  • Fix for Postgres character columns treated as string types (#1194)
  • Fix for hard to reach edge case in which dbt could hang (#1223)
  • Fix for dbt deps in non-English shells (#1222)
  • Fix for over eager schema creation when models are run with --models (#1239)
  • Fix for dbt seed --show (#1288)
  • Fix for is_incremental() which should only return True if the target relation is a table (#1292)
  • Fix for error in Snowflake table materializations with custom schemas (#1316)
  • Fix errored out concurrent transactions on Redshift and Postgres (#1356)
  • Fix out of order execution on model select (#1354, #1355)
  • Fix adapter macro namespace issue (#1352, #1353)
  • Re-add CLI flag to toggle warnings as errors (#1347)
  • Fix release candidate regression that runs run hooks on test invocations (#1346)
  • Fix Snowflake source quoting (#1338, #1317, #1332)
  • Handle unexpected max_loaded_at types (#1330)

Under the hood

  • Replace all SQL in Python code with Jinja in macros (#1204)
  • Loosen restrictions of boto3 dependency (#1234)
  • Rewrote Postgres introspective queries to be faster on large databases (#1192)


Thanks for your contributions to dbt!

Stephen Girard

Can you imagine buying the Federal Reserve? That’s how rich Stephen Girard was. The First Bank of the United States, Alexander Hamilton’s brainchild, ran out its charter in 1811 and Girard decided it was a steal. Estimated to be the 4th richest American ever, he just up and bought it.

Not satisfied with one bank, Girard went for more. With the British invading in 1812, Girard put everything on the line and underwrote nearly all the US war bonds. Without this capital, we would likely all have British accents today. In return, the US made Girard a major shareholder of the Second Bank of the United States when it was founded.

Buying government bonds: dépassé.
Buying governments: branché.

Girard, who had no children, was one of America’s biggest philanthropists. He single-handedly endowed the 43-acre Girard College to educate “poor, male, white orphans,” inspired by his own hard-scrabble early life. Thankfully, its target demographic has since _broadened_—its first African-American student was admitted in 1968 and its first female student was admitted in 1984. The college is still providing a tuition-free education to poor children from single-parent households 170 years after it was founded and is a major part of the fabric of Philadelphia.

Girard died as befits a Philadelphian from the revolutionary period: he was run over by a horse and wagon on the cobblestone streets of Old City.

latest releases: v0.20.0, v0.20.0rc2, v0.19.2...
2 years ago