inline-sql-toolkit 0.4.12 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.14 - 2026-09-25
|
|
4
|
+
|
|
5
|
+
- Changed: `inlineSql.format.commaPosition: "before"` emits the moved comma
|
|
6
|
+
with a space after it again (`id` / ` , name`). 0.4.13 removed the space
|
|
7
|
+
for a single release; the spaced form is the wanted style. The default
|
|
8
|
+
`after` output is unchanged, and `src/` and `test/` are byte-identical to
|
|
9
|
+
v0.4.12.
|
|
10
|
+
|
|
11
|
+
## 0.4.13 - 2026-09-25
|
|
12
|
+
|
|
13
|
+
- Changed: `inlineSql.format.commaPosition: "before"` now emits the moved
|
|
14
|
+
comma with no following space — `id` / ` ,name` instead of `, name` —
|
|
15
|
+
per user feedback. The default `after` output is byte-for-byte unchanged,
|
|
16
|
+
and the mover's safety rules are identical: commas inside string literals,
|
|
17
|
+
`$$ … $$` bodies, and comments are still never touched.
|
|
18
|
+
|
|
3
19
|
## 0.4.12 - 2026-09-24
|
|
4
20
|
|
|
5
21
|
- Feature: added the `inlineSql.format.keepFunctionsInline` setting (default
|
package/README.md
CHANGED
|
@@ -112,7 +112,7 @@ later atomic precondition.
|
|
|
112
112
|
`mysql`, `postgresql`, or `sqlite`; default `postgresql`).
|
|
113
113
|
- `inlineSql.format.commaPosition`: `after` (default) keeps a wrapping comma at
|
|
114
114
|
the end of the previous line; `before` moves it to the start of the next
|
|
115
|
-
line.
|
|
115
|
+
line with a space after it (`id` / ` , name`).
|
|
116
116
|
- `inlineSql.format.keepFunctionsInline`: re-join the formatter's line breaks
|
|
117
117
|
inside `word(...)` groups so `SUM(...)`, `COUNT(CASE ... END)`, and nested
|
|
118
118
|
calls stay on one line (default `false`). Newlines inside string literals and
|