rsksmart / rif-storage-pinner

MIT License
2 stars 3 forks source link

chore(deps): bump sql-formatter from 2.3.3 to 4.0.1 #500

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps sql-formatter from 2.3.3 to 4.0.1.

Release notes

Sourced from sql-formatter's releases.

v4.0.0

Breaking changes:

  • Standard SQL formatter ("sql") now only supports standard SQL. This means:
    • single-quotes for strings and double-quotes for identifiers and no other quote types;
    • only ? placeholders for parameters;
    • only standard SQL operators;
    • only standard SQL sql -- and /* */ comments,
    • if you used language: "sql" before, you're likely better off switching to language: "postgresql" | "mariadb" | "mysql" | "tsql".
  • Dropped -f / --file option from CLI. Instead a positional file argument can be used, like with any normal UNIX tool).
  • Default export no more exists. Only named export of format function (and supportedDialects - used by CLI).
  • Removed FORMATTERS export.
  • "pl/sql" alias has been removed. Use "plsql" instead.

New dialects:

  • PostgreSQL support
  • MariaDB support
  • MySQL support
  • Transact-SQL support

Fixes:

  • Proper formatting of BETWEEN _ AND _
  • Bunch of additional operators supported
  • No more mixing UNIX and Windows line endings - output is always converted to UNIX LF line endings.

Internal:

  • Better whitespace handling without having a separate whitespace token.
  • Upgrade to argparse 2.0
  • Lots of refactoring and reorganization of tests.

v4.0.0-beta.0

No release notes provided.

v3.1.0

Re-release of the changes released as @gwax/sql-formatter 3.0.3 with one change:

  • When format() is not called with string argument, throws an error, instead of silently succeeding.

@​gwax/sql-formatter v3.0.0 - CLI, Spark & Redshift

New features:

  • Command line interface
  • Amazone Redshift support
  • Spark SQL support
  • uppercase option for converting keywords to uppercase

Bugfixes:

... (truncated)

Commits
  • ac5e705 4.0.1
  • 6ea7784 Add type definitions file
  • 3d26b2f Update docs to not use default export any more
  • f1dd291 4.0.0
  • f4529db Additional keywords to cover the new dialects
  • a05568d Drop pl/sql alias in favor of plsql
  • a57a795 4.0.0-beta.8
  • cbfde83 Cleanup standard SQL keywords list
  • 3820b46 Some minor mistakes in TSQL test
  • ee46afe Remove SQL_* keywords from standard SQL
  • 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] commented 2 years ago

Superseded by #534.