Skip to content

Releases: brooklyn-data/dbtenv

dbtenv 2.2.2

27 Oct 08:48
fa6ce10
Compare
Choose a tag to compare

Fixed

  • Fixed bad version comparison for jinja2

dbtenv 2.2.1

18 Apr 15:50
53abe8b
Compare
Choose a tag to compare

Added

Changed

Fixed

  • Corrected versioning alignment between dbtenv and dbtenv-dbt-alias

dbtenv 2.2.0

18 Apr 11:22
267059e
Compare
Choose a tag to compare

Added

Changed

  • Removed dbtenv[dbt-alias] extra. Instead, install dbtenv-dbt-alias directly. dbtenv-dbt-alias is identical to dbtenv, with the exception of adding a dbt entry point. The dbt command then acts as a direct shortcut to dbtenv execute --, and means that dbtenv can used as a drop-in replacement to installing dbt normally.
  • dbtenv-dbt-alias package is now versioned identically to dbtenv.

Fixed

dbtenv 2.1.0

18 Apr 09:26
caba493
Compare
Choose a tag to compare

Added

  • Added compatibility with dbtenv-dbt-alias package which installs dbt as a direct entrypoint to dbtenv. This removes the need to configure an alias from dbt to dbtenv execute. Running pip install dbtenv[dbt-alias] installs both dbtenv and the alias.
  • Improved logging for cases where dbtenv cannot determine the needed adapter type.

Changed

Fixed

  • Fixed a bug encountered when using local version files.

dbtenv 2.0.0

28 Mar 11:33
27d1a99
Compare
Choose a tag to compare

Added

  • dbtenv now operates at the adapter-version level, introduced by dbt in version 1.0.0. dbtenv can automatically detect the needed adapter version from profiles.yml, or the --adapter argument set in a dbt command passed to dbtenv --execute.
  • The execute command's --dbt argument can now take either a dbt version (e.g. 1.0.0) or full pip specifier to use (e.g. dbt-snowflake==1.0.0). dbtenv will attempt to automatically detect the required adapter or version from the environment if not specified.
  • dbtenv's version command and config files can now use a dbt version (e.g. 1.0.0) or full pip specifier to use (e.g. dbt-snowflake==1.0.0). dbtenv will attempt to automatically detect the required adapter or version from the environment if not specified.

Changed

  • Dropped support for Homebrew.
  • Previously created environments through dbtenv 1.0.0 will be ignored.
  • dbtenv's default behaviour is now to install missing dbt adapter versions automatically. It can be disabled by setting the DBTENV_AUTO_INSTALL environment variable to false.
  • Attempting to install a version of dbt which doesn't exist will exit cleanly, and provide a list of available versions for that adapter.
  • Failed dbt version installations exit cleanly, removing the created virtual environment.

Fixed

  • Only entries in the environment directory which are dbtenv 2.0.0 environments will be read as installed dbt versions, fixing an issue where dbtenv 1.0.0 environments caused a failure.
  • Fixed version command, and all dbtenv config files. These can now take either a dbt version (e.g. 1.0.0) or full pip specifier to use (e.g. dbt-snowflake==1.0.0). dbtenv will attempt to automatically detect the required adapter or version from the environment if not specified.

dbtenv 2.0.0a2

24 Mar 12:58
Compare
Choose a tag to compare
dbtenv 2.0.0a2 Pre-release
Pre-release

Added

  • The execute command's --dbt argument can now take either a dbt version (e.g. 1.0.0) or full pip specifier to use (e.g. dbt-snowflake==1.0.0). dbtenv will attempt to automatically detect the required adapter or version from the environment if not specified.

Changed

  • Attempting to install a version of dbt which doesn't exist will exit cleanly, and provide a list of available versions for that adapter.
  • Failed dbt version installations exit cleanly, removing the created virtual environment.
  • Improved logging.

Fixed

  • Only entries in the environment directory which are dbtenv 2.0.0 environments will be read as installed dbt versions, fixing an issue where dbtenv 1.0.0 environments caused a failure.
  • Fixed version command, and all dbtenv config files. These can now take either a dbt version (e.g. 1.0.0) or full pip specifier to use (e.g. dbt-snowflake==1.0.0). dbtenv will attempt to automatically detect the required adapter or version from the environment if not specified.

dbtenv 2.0.0a1

17 Mar 12:40
0d23993
Compare
Choose a tag to compare
dbtenv 2.0.0a1 Pre-release
Pre-release

Added

  • dbtenv now operates at the adapter-version level, introduced by dbt in version 1.0.0. The interface is identical to prior versions, dbtenv will automatically detect the needed adapter version from profiles.yml, or the --adapter argument set in a dbt command passed to dbtenv --execute.

Changed

  • Dropped support for Homebrew.
  • Previously created environments through dbtenv cannot be used, and will be recreated by dbtenv at the adapter-version level.
  • dbtenv's default behaviour is to install missing dbt adapter versions automatically. It can be disabled by setting the DBTENV_AUTO_INSTALL environment variable to false.

dbtenv 1.3.2

07 Dec 10:24
8f28704
Compare
Choose a tag to compare

Added

Changed

Fixed

  • Remove Python 3.7 classifier from pyproject.toml

dbtenv 1.3.1

04 Dec 23:05
bdaa700
Compare
Choose a tag to compare

Added

  • Gracefully abort when dbt versions >= 1.0.0 attempted to install through Homebrew

dbtenv 1.3.0

04 Dec 14:47
Compare
Choose a tag to compare

Added

  • Support for dbt 1.0.0 using pip.

Changed

  • Use Poetry for local development and builds.
  • Require Python >= 3.8