@saptools/cf-hana 0.5.1 → 0.5.2
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 +18 -0
- package/dist/cli.js +2680 -2650
- package/dist/cli.js.map +1 -1
- package/dist/index.js +40 -10
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- cspell:words VARCHAR -->
|
|
4
4
|
|
|
5
|
+
## 0.5.2 - 2026-07-25
|
|
6
|
+
|
|
7
|
+
- **Security fix:** the `0.5.1` fix for `WITH`-prefixed guard bypasses shipped
|
|
8
|
+
with its own gap — a `WITH` statement whose CTE name was a double-quoted
|
|
9
|
+
identifier (e.g. `WITH "x" AS (...) DELETE FROM ...`) was misclassified as
|
|
10
|
+
`unknown` instead of resolving to its real trailing statement, and that
|
|
11
|
+
`unknown` classification was previously treated as non-destructive and
|
|
12
|
+
exempt from the automatic pre-write backup. A quoted-CTE-name write with no
|
|
13
|
+
`WHERE` clause reached the database with no client-side block at all, and
|
|
14
|
+
no backup was attempted for a quoted-CTE-name write of any shape. Anyone
|
|
15
|
+
who upgraded to `0.5.1` believing that release fully closed the `WITH`
|
|
16
|
+
guard-bypass class should know it did not, quite yet — this release does.
|
|
17
|
+
The parser now correctly recognizes a quoted CTE name instead of skipping
|
|
18
|
+
past it as if it were blank space; a genuinely unparseable `WITH` statement
|
|
19
|
+
(for any reason, not only quoting) is now also treated as destructive by
|
|
20
|
+
the safety guard and refuses the pre-write backup outright, rather than
|
|
21
|
+
silently falling back to "not destructive, no backup" as it did before.
|
|
22
|
+
|
|
5
23
|
## 0.5.1 - 2026-07-25
|
|
6
24
|
|
|
7
25
|
- **Security fix:** a `WITH`-prefixed write (e.g. `WITH x AS (...) DELETE
|