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

chore: bump sql-formatter from 4.0.2 to 6.1.1 in /site #1514

Merged
merged 1 commit into from
May 17, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 17, 2022

Bumps sql-formatter from 4.0.2 to 6.1.1.

Release notes

Sourced from sql-formatter's releases.

6.1.1

Fixes:

  • Add CASE expression support for DB2 and Redshift. This means, all SQL dialects now support CASE..END syntax.

Internals:

  • Reorganization of CASE expression formatting code.
  • Reorganization of token preprocessing.

6.1.0

New language: SQLite

  • Merged in support for SQLite formatting #189

Fixes

  • Restore regression in DELETE FROM formatting

6.0.2

Minor enhancements:

  • Don't crash with default "sql" language when encountering "@" character #214
  • Better error message when tokenizer fails

6.0.1

Single bugfix:

  • Avoid breaking up ON UPDATE and ON DELETE #215

6.0.0

From 4.x to 6.x

This release is mostly a back-merge of the Prettier SQL fork.

The latest stable release of SQL Formatter was 4.0.2. Prettier SQL continued from that, releasing Prettier SQL 5.0 ... 5.1.1. Now back in SQL Formatter we're skipping the 5.x versions and going straight to 6.

Breaking changes since 4.x

Command line options --indent (-i), --tab-indent (-t), --uppercase (-u) and --lines-between-queries have been removed in favor of using a JSON config file which can be specified using --config (-c) option.

The equivalent options in a config file are as follows:

{
  "tabWidth": 4,
  "useTabs": true,
  "keywordCase": "upper",
  "linesBetweenQueries": 2
}
</tr></table> 

... (truncated)

Commits
  • 6622ee0 Release v6.1.1
  • ccd6342 Apparently CASE..END is supported in all dialects
  • 077575b Add CASE expression support for Redshift
  • 0e5cfba Add CASE expression support for DB2
  • 0fdfce7 Remove .END override code for Spark
  • 7ad90a2 Remove duplicate END keywords
  • c31d756 Separate CASE..END from open-close parenthesis tokens
  • b0c7430 Remove dead code for CASE..END formatting
  • 67d3d67 Rename formatSql() to formatAst()
  • dff6634 Rewrite Parser in more generic way
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

@dependabot dependabot bot requested a review from a team as a code owner May 17, 2022 15:09
@greyscaled
Copy link
Contributor

@dependabot recreate

Bumps [sql-formatter](https://github.com/zeroturnaround/sql-formatter) from 4.0.2 to 6.1.1.
- [Release notes](https://github.com/zeroturnaround/sql-formatter/releases)
- [Changelog](https://github.com/zeroturnaround/sql-formatter/blob/master/.release-it.json)
- [Commits](sql-formatter-org/sql-formatter@v4.0.2...v6.1.1)

---
updated-dependencies:
- dependency-name: sql-formatter
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/site/sql-formatter-6.1.1 branch from bb8aece to 5b3e92f Compare May 17, 2022 15:15
@greyscaled greyscaled merged commit c0b80ef into main May 17, 2022
@greyscaled greyscaled deleted the dependabot/npm_and_yarn/site/sql-formatter-6.1.1 branch May 17, 2022 15:35
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
Bumps [sql-formatter](https://github.com/zeroturnaround/sql-formatter) from 4.0.2 to 6.1.1.
- [Release notes](https://github.com/zeroturnaround/sql-formatter/releases)
- [Changelog](https://github.com/zeroturnaround/sql-formatter/blob/master/.release-it.json)
- [Commits](sql-formatter-org/sql-formatter@v4.0.2...v6.1.1)

---
updated-dependencies:
- dependency-name: sql-formatter
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant