dbt-core 1.2.0-rc1 - July 11, 2022
Features
- Allow customizing
target-path
andlog-path
through environment variables and CLI flags. (#5399, #5402) - Move type_* macros from dbt-utils into dbt-core, with tests (#5317, #5428)
- Add support for ratio metrics (#4884, #5027)
- Allow users to define grants as a reasonable default in the dbt_project.yml or within each model sql or yml file combined. (#5263, #5369)
Fixes
- Add inheritance to materialization macro resolution (#4646, #5348)
- Improve pluralizations for Documentation and SqlOperation NodeTypes (#5352, #5356)
- Properly use quotes for Snowflake snapshots when checking all columns (#2975, #5389)
- fixes handling of RESET color code with USE_COLORS=False (#5288, #5394)
Docs
- Fixed sample SQL Code for sources when no database is defined (#5255, #5446)
- Add support for
file:
selector in DAG viz (#5255, #5446) - [Snyk] Upgrade prismjs from 1.27.0 to 1.28.0 (#5255, #5446)
- Run build and tests in CI checks (#5255, #5446)
- Improve metrics DAG viz and documentation page (#5255, #5446)
- Upgrade cytoscape.js fork (#5255, #5446)
Under the Hood
- Added the suggested RegEx to check the SemVer string within a package dependency and improved invalid version error handling. (#5201, #5370)
- Add annotation to render_value method reimplemented in #5334 (#4796, #5382)
- Bump manifest version to v6 (#5417, #5430)
- Add tests for SQL grants (#5437, #5447)
Dependencies
- Bump mypy from 0.942 to 0.961 (#4904, #5337)
- Update colorama requirement from <0.4.5,>=0.3.9 to >=0.3.9,<0.4.6 in /core (#4904, #5388)
- Bump black from 22.3.0 to 22.6.0 (#4904, #5420)
Security
- Move string interpolation of "secret" env vars outside of Jinja context. Update "contexts" README (#4796, #5334)
Contributors
- @b-per (#5446)
- @callum-mcdata (#5027, #5446)
- @darin-reify (#5394)
- @drewbanin (#5027, #5446, #5446, #5446)
- @fivetran-joemarkiewicz (#5370)
- @isidentical (#5402)
- @pdebelak (#5356)
- @pquadri (#5389)
- @volkangurel (#5348)