@@ -26,6 +26,18 @@ A Node.js-based tool for generating Excel files from SQL query results.
2626- 🔧 ** Input Validation** : Automatic whitespace trimming for file path inputs
2727- 🗂️ ** Filename Variables** : Use ` ${DATE:...} ` , ` ${DATE.TZ:...} ` , and ` ${DB_NAME} ` in ` excel.output ` (also supports custom ` $(DB_NAME} ` )
2828
29+ ## v1.3.2 Highlights
30+
31+ - Per-sheet export directory naming simplified
32+ - Directory is now ` <output_basename> ` (extension suffix removed)
33+ - Example: ` output="d:/temp/report.csv" ` → directory ` d:/temp/report/ `
34+ - CSV/TXT field formatting changes
35+ - Apply CSV quoting/escaping rules only for ` .csv `
36+ - Non-CSV (e.g., ` .txt ` , ` .sql ` ) writes plain values without quoting
37+ - Normalize internal newlines in fields (\r/\n → space) for both CSV and TXT
38+ - Record separators remain CRLF; headers included
39+ - Date values are serialized as ` yyyy-MM-dd HH:mm:ss ` (24-hour) in CSV/TXT and SQL literals
40+
2941## v1.3.1 Highlights
3042
3143- Filename variables in output path
@@ -41,12 +53,14 @@ A Node.js-based tool for generating Excel files from SQL query results.
4153 - ` .csv ` → Generate per-sheet CSV files
4254 - All other extensions (e.g., ` .txt ` , ` .log ` , ` .data ` , ` .sql ` , etc.) → Generate per-sheet TXT files (tab-delimited)
4355- ** Directory and filename rules for per-sheet export**
44- - Output directory: ` <output_basename>_<ext> ` (no dot). Example: ` output="d:/temp/report.csv" ` → ` d:/temp/report_csv/ `
56+ - Output directory (updated in v1.3.2): ` <output_basename> `
57+ - Example: ` output="d:/temp/report.csv" ` → ` d:/temp/report/ `
4558 - Each sheet becomes a separate file named after the sheet's ` originalName `
4659 - No 31-character truncation for CSV/TXT (Excel-only limit). Filenames sanitized and capped at 100 chars
4760- ** Format defaults**
48- - CSV: comma, UTF-8 with BOM, headers, CRLF
49- - TXT: tab, UTF-8 with BOM, headers, CRLF
61+ - CSV: comma, UTF-8 with BOM, headers, CRLF; quoting only for ` .csv ` ; internal newlines normalized
62+ - TXT: tab, UTF-8 with BOM, headers, CRLF; no quoting; internal newlines normalized
63+ - Dates: ` yyyy-MM-dd HH:mm:ss ` (24-hour)
5064
5165### Previously in v1.2.11
5266
0 commit comments