npm sql-formatter 13.0.0

latest releases: 15.9.0, 15.8.2, 15.8.1...
3 years ago

Breaking changes

  • Reduced the keywords lists of MySQL, MariaDB and SingleStoreDB to just the reserved ones. #629
    This means that using keywordCase: upper no more capitalizes words like user and name.
  • Changed how COMMENT keyword is formatted. #636
    In dialects like MariaDB (which allow it inside CREATE TABLE statement) it is no more placed on a separate line.
    In dialects which support COMMENT ON ... statement, it only triggers a new line when used together with ON.

Bugfixes

  • Fixed crash when encountering goto labels in Transact-SQL #632
  • Fix formatting of ON DUPLICATE KEY UPDATE clause in MariaDB-like dialects. #605
  • Fix formatting of VALUES() function in MariaDB-like dialects. #605

Don't miss a new sql-formatter release

NewReleases is sending notifications on new releases.