Skip to content

Releases: M1andy/sql-beautify

v0.3.29

Choose a tag to compare

@github-actions github-actions released this 17 Sep 13:28

Full Changelog: v0.3.28...v0.3.29

v0.3.28

Choose a tag to compare

@github-actions github-actions released this 17 Sep 13:03

Full Changelog: v0.3.26...v0.3.28

v0.3.26

Choose a tag to compare

@github-actions github-actions released this 05 Sep 06:30

Full Changelog: v0.3.25...v0.3.26

v0.3.25

Choose a tag to compare

@github-actions github-actions released this 01 Sep 14:00

Full Changelog: v0.3.24...v0.3.25

v0.3.24

Choose a tag to compare

@github-actions github-actions released this 01 Sep 13:42

Full Changelog: v0.3.23...v0.3.24

v0.3.23

Choose a tag to compare

@M1andy M1andy released this 31 Aug 17:35
  • 新增 IN/NOT IN 列表超长自动换行:格式化后行长度超过 extension.in_wrap_length(默认 150,0 关闭)时,按逗号每项一行块状对齐展开,支持行尾逗号模式与小写关键词模式
  • Add wrapping for overlong IN/NOT IN lists: when a formatted line exceeds extension.in_wrap_length (default 150, 0 disables), the list is split one item per line in block style, with trailing-comma and lowercase-keyword modes supported
  • 测试黄金用例 54 → 61 条;修复 comma_location=true 下换行块对齐偏移 / Golden statements 54 → 61; fix wrapped-block alignment drift under comma_location=true

v0.3.22

Choose a tag to compare

@M1andy M1andy released this 08 Aug 12:16

SQL Beautify v0.3.22

  • 修复注释处理:-- 行注释与 /* */ 块注释整体保护,注释内的关键字/括号/逗号/引号不再被格式化破坏
  • 新增格式化测试(test/):覆盖常见 Hive SQL 场景与注释场景,npm test 全绿
  • 优化 DDL 格式化与窗口函数/CASE WHEN 对齐