string-is icon indicating copy to clipboard operation
string-is copied to clipboard

deps: bump sql-formatter from 9.2.0 to 10.0.0

Open dependabot[bot] opened this issue 3 years ago • 2 comments

Bumps sql-formatter from 9.2.0 to 10.0.0.

Release notes

Sourced from sql-formatter's releases.

10.0.0

Breaking changes

  • Encountering braces {} or brackets [] in SQL dialect not supporting these will now throw error #400
  • Encountering unbalanced parenthesis () (also {} and []) will now produce an error #277

Performance

  • Tokenizer is now faster, thanks to removal of case-insensitive regex transform #394
  • Parser is now slower, because of the switch to nearley #277
  • Overall performance is more impacted by the parser, so the net result is a slower formatting. Though this should only effect you if you're formatting megabytes worth of SQL.

Internal changes

  • Switch from hand-written parser to Nearley parser-generator #277
  • Added more token types #398 #395
  • Replace open- and closeParens configs with extraParens #405

10.0.0-beta.1

Breaking changes

  • Encountering braces {} or brackets [] in SQL dialect not supporting these will now throw error #400
  • Encountering unbalanced parenthesis () (also {} and []) will now produce an error #277

Performance

  • Tokenizer is now faster, thanks to removal of case-insensitive regex transform #394
  • Parser is now slower, because of the switch to nearley #277
  • Overall performance is more impacted by the parser, so the net result is a slower formatting. Though this should only effect you if you're formatting megabytes worth of SQL.

Internal changes

  • Switch from hand-written parser to Nearley parser-generator #277
  • Added more token types #398 #395
Commits
  • fd3e894 Release v10.0.0
  • b1f9ba1 Merge PR #405: Replace open- and closeParens configs with extraParens
  • 9b84260 Match all operator-like tokens in the end
  • e218740 Combine openParens & closeParens options to single extraParens
  • b2d8a27 Remove Trino {- -} braces support, which didn't work anyway
  • 905ea05 Typo in README
  • ff52151 Release v10.0.0-beta.1
  • 77519e4 Merge PR #277: Nearley integration
  • 22bd711 Remove all uses of flatten() in grammar
  • 46b6294 Never call flatten() inside main rule
  • 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[bot] avatar Aug 25 '22 20:08 dependabot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
string-is ✅ Ready (Inspect) Visit Preview Aug 25, 2022 at 8:26PM (UTC)

vercel[bot] avatar Aug 25 '22 20:08 vercel[bot]

Codecov Report

Merging #542 (cc20f02) into develop (eaeb88f) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #542   +/-   ##
========================================
  Coverage    82.43%   82.43%           
========================================
  Files          196      196           
  Lines         1958     1958           
  Branches       456      456           
========================================
  Hits          1614     1614           
  Misses         336      336           
  Partials         8        8           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 25 '22 20:08 codecov[bot]