question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enact deprecations

See original GitHub issue

Describe the feature

  • As of dbt v0.18.0, we collect anonymous usage stats for deprecation warnings.
  • We were already planning to end support for config-version: 1 of dbt_project.yml in dbt v0.19.0 (per implementation of #2735)
  • We should officially deprecate:
    • dbt-project-yaml-1: this is far & away the most common deprecation warning, and we still see it popping up in ~40% of projects running v0.18.0. Users may have upgraded their own projects but still need to upgrade installed packages. In any case, this is definitely the most controversial of our proposed deprecations.
    • column-quoting-unset: 11% of projects
    • models-key-mismatch: 2% of projects
    • materialization-return: <1% of projects
    • not-a-dictionary: 0% of projects
  • We should not deprecate:
    • adapter-macro: this is the second-most-common deprecation warning, and we only introduced it in v0.18 with the switch to adapter.dispatch. We should give users at least one more minor version to upgrade.

Describe alternatives you’ve considered

  • Leaving these as warnings until v1.0.0, or forever

Who will this benefit?

  • Us as dbt maintainers in the short term, as we can reduce the surface area of code that patched older syntaxes
  • Users, in the long run, as we continue to crystallize the UX of dbt project development

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
emmyoopcommented, Oct 5, 2021

All deprecations listed above have been merged into develop. Closing.

1reaction
emmyoopcommented, Sep 15, 2021

Opened #415 in dbt-utils because of newly introduced use of packages. Will need to be resolved before enacting deprecation for dispatch-packages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enact deprecations · Issue #2798 · dbt-labs/dbt-core - GitHub
Describe the feature As of dbt v0.18.0, we collect anonymous usage stats for deprecation warnings. We were already planning to end support ...
Read more >
Deprecations by version - GitLab Docs
In each release, GitLab announces features that are deprecated and no longer recommended for use. Each deprecated feature will be removed in a...
Read more >
Scala Standard Library 2.12.5 - scala.deprecated
The Scala team has decided to enact a special deprecation policy for Scala 2.12: As an upgrade from 2.11 to 2.12 also requires...
Read more >
1.5.1 Ensure bootloader password is set - 'passwd_pbkdf2'
This audit has been deprecated and will be removed in a future update. ... or another bootloader is in use in your environment...
Read more >
Documenting Changes - Enact Framework
Enact documentation: Documenting Changes. ... Each Enact library and tool has its own CHANGELOG.md file. ... Renamed a property; Deprecated a component ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found