Skip to content

dbt-core v1.7.0rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Oct 13:56

dbt-core 1.7.0-rc1 - October 12, 2023

Features

  • add log file of installed packages via dbt deps (#6643)
  • Add --no-inject-ephemeral-ctes flag for compile command, for usage by linting. (#8480)
  • Accept a dbt-cloud config in dbt_project.yml (#8438)
  • Support atomic replace in the global replace macro (#8539)
  • Use translate_type on data_type in model.columns in templates by default, remove no op TYPE_LABELS (#8007)
  • Add an option to generate static documentation (#8614)
  • Allow setting "access" as a config in addition to as a property (#8383)
  • Loosen typing requirement on renameable/replaceable relations to Iterable to allow adapters more flexibility in registering relation types, include docstrings as suggestions (#8647)
  • Add support for optional label in semantic_models, measures, dimensions and entities. (#8595, #8755)
  • Allow adapters to include package logs in dbt standard logging (#7859)
  • Support storing test failures as views (#6914)
  • resolve packages with same git repo and unique subdirectory (#5374)
  • Add new ResourceReport event to record memory/cpu/io metrics (#8342)
  • Adding date_spine macro (and supporting macros) from dbt-utils to dbt-core (#8172)
  • Support fill_nulls_with and join_to_timespine for metric nodes (#8593, #8755)
  • Raise a warning when a contracted model has a numeric field without scale defined (#8183)
  • Added support for retrieving partial catalog information from a schema (#8521)
  • Add meta attribute to SemanticModels config (#8511)
  • Selectors with docs generate limits catalog generation (#6014)
  • Allow freshness to be determined via DBMS metadata for supported adapters (#8704)
  • Add support semantic layer SavedQuery node type (#8594)

Fixes

  • If --profile specified with dbt-init, create the project with the specified profile (#6154)
  • Add explicit support for integers for the show command (#8153)
  • Parse the correct schema version from manifest (#8544)
  • make version comparison insensitive to order (#8571)
  • Update metric helper functions to work with new semantic layer metrics (#8134)
  • Disallow cleaning paths outside current working directory (#8318)
  • Warn when --state == --target (#8160)
  • update dbt show to include limit in DWH query (#8496,, #8417)
  • Support quoted parameter list for MultiOption CLI options. (#8598)
  • Support global flags passed in after subcommands (#6497)
  • Lower bound of 8.0.2 for click (#8683)
  • Fixes test type edges filter (#8692)
  • semantic models in graph selection (#8589)
  • Support doc blocks in nested semantic model YAML (#8509)
  • avoid double-rendering sql_header in dbt show (#8739)
  • Fix tag selection for projects with semantic models (#8749)
  • Foreign key constraint on incremental model results in Database Error (#8022)
  • Support docs blocks on versioned model column descriptions (#8540)
  • Enable seeds to be handled from stored manifest data (#6875)
  • Override path-like args in dbt retry (#8682)
  • Group updates on unmodified nodes are handled gracefully for state:modified (#8371)
  • Partial parsing fix for adding groups and updating models at the same time (#8697)

Under the Hood

  • Added more type annotations. (#8537)
  • Audit potential circular dependencies (#8349)
  • Add functional test for advanced ref override (#8566)
  • Add typing to init in base.py (#8398)
  • Fix untyped functions in task/runnable.py (mypy warning) (#8402)
  • add a test for ephemeral cte injection (#8225)
  • Fix test_numeric_values to look for more specific strings (#8470)
  • Pin types-requests<2.31.0 in dev-requirements.txt (#8789)
  • Add warning_tag to UnversionedBreakingChange (#8827)
  • Update v10 manifest schema to match 1.6 for testing schema compatibility (#8835)

Dependencies

  • Bump docker/build-push-action from 4 to 5 (#8783)
  • Upgrade dbt-semantic-interfaces dep to 0.3.0 (#8819)

Contributors