sqlmath 2026.1.31 → 2026.2.28

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 CHANGED
@@ -5,6 +5,10 @@
5
5
  - sqlite - Add similar error-handling from builtin-sql-function PERCENTILE() into custom-sql-function QUANTILE().
6
6
  - none
7
7
 
8
+ # v2026.2.28
9
+ - python-ci - Fix ruff lint-errors.
10
+ - jslint-ci - Update shell-function shCiBase() to check npm-version-support, before running npm-pkg-fix.
11
+
8
12
  # v2026.1.31
9
13
  - demo - Replace sector and subsector charts with subindustry chart.
10
14
  - chart - Make tooltip more transparent, so datapoints behind it are more visible.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  # Status
5
- | Branch | [master<br>(v2026.1.31)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
5
+ | Branch | [master<br>(v2026.2.28)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
6
6
  |--:|:--:|:--:|:--:|
7
7
  | CI | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=alpha)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
8
8
  | Coverage | [![coverage](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [![coverage](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [![coverage](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/index.html) |
@@ -121,11 +121,11 @@ PORT=8080 sh jslint_ci.sh shHttpFileServer
121
121
  ```shell
122
122
  python -m build
123
123
  #
124
- twine upload --repository testpypi dist/sqlmath-2026.1.31*
125
- py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.1.31
124
+ twine upload --repository testpypi dist/sqlmath-2026.2.28*
125
+ py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.2.28
126
126
  #
127
- twine upload dist/sqlmath-2026.1.31*
128
- pip install sqlmath==2026.1.31
127
+ twine upload dist/sqlmath-2026.2.28*
128
+ pip install sqlmath==2026.2.28
129
129
  ```
130
130
 
131
131
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/jslint.mjs CHANGED
@@ -163,7 +163,7 @@ let jslint_charset_ascii = (
163
163
  + "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
164
164
  + "`abcdefghijklmnopqrstuvwxyz{|}~\u007f"
165
165
  );
166
- let jslint_edition = "v2025.12.28";
166
+ let jslint_edition = "v2026.2.28";
167
167
  let jslint_export; // The jslint object to be exported.
168
168
  let jslint_fudge = 1; // Fudge starting line and starting
169
169
  // ... column to 1.
@@ -8195,7 +8195,7 @@ function jslint_phase4_walk(state) {
8195
8195
  // test_cause:
8196
8196
  // ["aa?true:false", "post_t", "expected_a_b", "?", 3]
8197
8197
 
8198
- warn("expected_a_b", thing, "!!", "?");
8198
+ warn("expected_a_b", thing, "Boolean(...)", "?");
8199
8199
  } else if (
8200
8200
  thing.expression[1].id === "false"
8201
8201
  && thing.expression[2].id === "true"
package/package.json CHANGED
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "shCiArtifactUpload": 1,
34
34
  "shCiPublishNpm": 1,
35
- "version": "2026.1.31"
35
+ "version": "2026.2.28"
36
36
  }
package/sqlmath.mjs CHANGED
@@ -128,7 +128,7 @@ let {
128
128
  let sqlMessageDict = {}; // dict of web-worker-callbacks
129
129
  let sqlMessageId = 0;
130
130
  let sqlWorker;
131
- let version = "v2026.1.31";
131
+ let version = "v2026.2.28";
132
132
 
133
133
  async function assertErrorThrownAsync(asyncFunc, regexp) {
134
134
 
@@ -348,10 +348,6 @@ INSERT INTO tradebot_tech_intra_day
348
348
  UNION ALL
349
349
  --
350
350
  SELECT '1b_stk_lmt' AS tname
351
- --
352
- UNION ALL
353
- --
354
- SELECT '1c_stk_lmb' AS tname
355
351
  )
356
352
  --
357
353
  UNION ALL
@@ -364,11 +360,7 @@ INSERT INTO tradebot_tech_intra_day
364
360
  --
365
361
  UNION ALL
366
362
  --
367
- SELECT '1c_stk_lmb', xdate, xdate2, stk_lmb FROM tradebot_tech_intra
368
- --
369
- UNION ALL
370
- --
371
- SELECT '1d_stk_pnl', xdate, xdate2, stk_pnl FROM tradebot_tech_intra
363
+ SELECT '1c_stk_pnl', xdate, xdate2, stk_pnl FROM tradebot_tech_intra
372
364
  --
373
365
  UNION ALL
374
366
  --
@@ -751,7 +743,7 @@ DELETE FROM ${tableChart} WHERE datatype = 'xx_label';
751
743
  SELECT
752
744
  (CASE
753
745
  WHEN (category LIKE 'index%') THEN 3
754
- WHEN (category LIKE 'short%') THEN 1
746
+ WHEN (category LIKE '___-') THEN 1
755
747
  ELSE 5
756
748
  END) AS series_color,
757
749
  category LIKE '-%' AS is_dummy,
@@ -763,7 +755,7 @@ SELECT
763
755
  category != '----' DESC,
764
756
  ${columnData} DESC
765
757
  ) AS xx,
766
- SUBSTR(category, INSTR(category, '____') + 4) AS xx_label,
758
+ category AS xx_label,
767
759
  ${columnData} AS yy
768
760
  FROM (
769
761
  SELECT
@@ -1025,19 +1017,7 @@ INSERT INTO ${tableChart} (datatype, options, series_index, series_label)
1025
1017
  -- '1a_stk_pct',
1026
1018
  -- '1b_stk_lmt',
1027
1019
  '2a_spy_prc'
1028
- ),
1029
- 'seriesColor', (CASE
1030
- WHEN (tname = '1c_stk_lmb') THEN
1031
- '#999'
1032
- ELSE
1033
- NULL
1034
- -- (
1035
- -- '#'
1036
- -- || printf('%x', 12 - 2 * rownum)
1037
- -- || printf('%x', 0 + 2 * rownum)
1038
- -- || printf('%x', 16 - 2 * rownum)
1039
- -- )
1040
- END)
1020
+ )
1041
1021
  ) AS options,
1042
1022
  rownum AS series_index,
1043
1023
  tname AS series_label