Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jinja2 minimum version to 2.11 #2227

Closed
drewbanin opened this issue Mar 22, 2020 · 1 comment
Closed

Bump jinja2 minimum version to 2.11 #2227

drewbanin opened this issue Mar 22, 2020 · 1 comment
Labels
dependencies Changes to the version of dbt dependencies enhancement New feature or request

Comments

@drewbanin
Copy link
Contributor

drewbanin commented Mar 22, 2020

Describe the feature

Some new and exciting functionality exists in jinja2 v2.11.x:

  • Finding undeclared variables (docs). We can use this to warn/error for undeclared variables in dbt models
  • Support for {{ foo if False }} syntax alongside StrictUndefined (docs). This was one of the big holdups with us using StrictUndefined IIRC
  • A builtin {% debug %} extension (docs)
  • Looks like many other fixes + improvements are included too
@drewbanin drewbanin added enhancement New feature or request dependencies Changes to the version of dbt dependencies labels Mar 22, 2020
@drewbanin drewbanin added this to the Octavius Catto milestone Mar 22, 2020
@beckjake
Copy link
Contributor

Fixed in #2220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes to the version of dbt dependencies enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants