Releases: brooklyn-data/dbtenv
Releases · brooklyn-data/dbtenv
dbtenv 2.2.2
dbtenv 2.2.1
Added
Changed
Fixed
- Corrected versioning alignment between
dbtenv
anddbtenv-dbt-alias
dbtenv 2.2.0
Added
Changed
- Removed
dbtenv[dbt-alias]
extra. Instead, installdbtenv-dbt-alias
directly.dbtenv-dbt-alias
is identical todbtenv
, with the exception of adding adbt
entry point. Thedbt
command then acts as a direct shortcut todbtenv execute --
, and means that dbtenv can used as a drop-in replacement to installing dbt normally. dbtenv-dbt-alias
package is now versioned identically todbtenv
.
Fixed
dbtenv 2.1.0
Added
- Added compatibility with
dbtenv-dbt-alias
package which installsdbt
as a direct entrypoint to dbtenv. This removes the need to configure an alias from dbt to dbtenv execute. Runningpip 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
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 todbtenv --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 tofalse
. - 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
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
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 todbtenv --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 tofalse
.
dbtenv 1.3.2
Added
Changed
Fixed
- Remove Python 3.7 classifier from pyproject.toml
dbtenv 1.3.1
Added
- Gracefully abort when dbt versions >= 1.0.0 attempted to install through Homebrew
dbtenv 1.3.0
Added
- Support for dbt 1.0.0 using pip.
Changed
- Use Poetry for local development and builds.
- Require Python >= 3.8