All notable changes to this project will be documented in this file.
[Unreleased]
[0.21.3] - 2024-04-25
Bug Fixes
The Postgres operators for (NOT) (I)LIKE, ~~, ~~*, !~~, !~~*, are now supported (these use two tildes where the posix version of these operators use a single tilde) (#576 - thank you @tuckerrc!).
[0.21.2] - 2024-01-22
Bug Fixes
{% for %}...{% else %}...{% endfor %} loops are now supported. Previously, a BracketError was raised if a for loop included an else tag (#549 - thank you, @yassun7010!).
[0.21.1] - 2023-12-19
Bug Fixes
Fixes a bug where extra indentation was added inside multiline jinja tags if those jinja tags contained a python multiline string (#536 - thank you @yassun7010!).
[0.21.0] - 2023-10-20
Bug Fixes
Adds support for the map<...> type declaration syntax from Athena. (#500 - thank you for the issue and fix, @benjamin-awd!)
Fixes a bug where nested dicts inside jinja expressions (e.g., {{ {'a': {'b': 1}} }}) could cause parsing errors (#471 - thank you @rparvathaneni-sc and @benjamin-awd!). This fix introduces a dependency on jinja2 > v3.0.
Fixes a bug in the lexing logic that prevented the walrus operator (:=) from being lexed as a single token (#502 - thank you @federico-hero!).
[0.20.0] - 2023-09-25
BREAKING CHANGES
Drops support for Python 3.7. Please upgrade to Python 3.8 or higher.
Formatting Changes and Bug Fixes
any() and all() will no longer get spaces between the function name and the parenthesis, unless they are a part of a like any () or like all () operator (#483 - thank you @damirbk!).
Snowflake's // comment markers are now parsed as comments and rewritten to -- on formatting (#468 - thank you @nilsonavp!).
DuckDB's semi, anti, positional, and asof joins are now supported. (#482).
[0.19.2] - 2023-07-31
Bug Fixes
Fixes a bug where --exclude would not follow symlinks when globbing
The Postgres operators for (NOT) (I)LIKE, ~~, ~~*, !~~, !~~*, are now supported (these use two tildes where the posix version of these operators use a single tilde) (#576 - thank you @tuckerrc!).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps shandy-sqlfmt from 0.21.2 to 0.21.3.
Release notes
Sourced from shandy-sqlfmt's releases.
... (truncated)
Changelog
Sourced from shandy-sqlfmt's changelog.
Commits
c696389
Bumps version to 0.21.3 (#578)df686ce
fix: support pg LIKE operators, ~~ etc (#577)b336923
chore: bump black to v24 (#575)99296d7
Create FUNDING.yml (#574)81b2316
chore(deps): bump github/codeql-action from 2 to 3 (#544)2a4347c
chore(deps): bump docker/login-action from 2 to 3 (#530)5bddf8f
chore(deps): bump actions/setup-python from 4 to 5 (#545)a8ea266
chore(deps): bump actions/cache from 3 to 4 (#560)1df1ab1
chore(deps): bump thomaseizinger/keep-a-changelog-new-release (#563)120f99a
chore(deps): bump tqdm from 4.66.1 to 4.66.2 (#565)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show