Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

chore(deps-dev): bump sql-formatter from 7.0.2 to 10.1.0#68

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/sql-formatter-10.1.0
Open

chore(deps-dev): bump sql-formatter from 7.0.2 to 10.1.0#68
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/sql-formatter-10.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2022

Bumps sql-formatter from 7.0.2 to 10.1.0.

Release notes

Sourced from sql-formatter's releases.

10.1.0

Improvements

  • Add support for @@variables in MariaDB, MySQL, SingleStoreDB #410
  • Remove support of prefixes from double-quoted strings inMariaDB, MySQL, SingleStoreDB (shouldn't break unless you're for some reason formatting invalid code) #408

Bugfixes

  • Fix tabular style formatting of LIMIT clause #412

Internal changes

  • Remove unnecessary type imports, improving compatibility with older TypeScript versions #404
  • Remove Tokens from AST #403

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

9.2.0

New features:

  • Added paramTypes config option to allow user-configured parameter placeholder types #367
  • Extended language option to allow for passing in a user-defined Formatter class #306

Improvements:

  • Better handling of line-comments, preserving their position either at the end of line or between lines #365

... (truncated)

Commits

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)

Bumps [sql-formatter](https://github.com/sql-formatter-org/sql-formatter) from 7.0.2 to 10.1.0.
- [Release notes](https://github.com/sql-formatter-org/sql-formatter/releases)
- [Changelog](https://github.com/sql-formatter-org/sql-formatter/blob/master/.release-it.json)
- [Commits](sql-formatter-org/sql-formatter@v7.0.2...v10.1.0)

---
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 added the dependencies Pull requests that update a dependency file label Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants