sqlmath 2026.3.1__tar.gz → 2026.4.30__tar.gz

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.
Files changed (48) hide show
  1. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.ci.sh +95 -73
  2. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.github/workflows/ci.yml +32 -18
  3. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.github/workflows/publish_pypi_test.yml +2 -1
  4. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.gitignore +2 -1
  5. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.npmignore +4 -2
  6. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/CHANGELOG.md +20 -1
  7. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/MANIFEST.in +0 -2
  8. sqlmath-2026.4.30/PKG-INFO +696 -0
  9. sqlmath-2026.4.30/README.md +671 -0
  10. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/jslint.mjs +1 -1
  11. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/jslint_ci.sh +7 -8
  12. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/package.json +2 -2
  13. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/pyproject.toml +2 -2
  14. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/setup.py +39 -27
  15. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath/__init__.py +52 -6
  16. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath.mjs +24 -16
  17. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath_base.c +0 -9
  18. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath_browser.mjs +6 -6
  19. sqlmath-2026.3.1/PKG-INFO +0 -174
  20. sqlmath-2026.3.1/README.md +0 -149
  21. sqlmath-2026.3.1/sqlmath_custom.c +0 -59
  22. sqlmath-2026.3.1/sqlmath_custom.mjs +0 -4
  23. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.gitconfig +0 -0
  24. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/.github/workflows/publish.yml +0 -0
  25. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/LICENSE +0 -0
  26. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/asset_image_folder_open_solid.svg +0 -0
  27. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/asset_image_github_brands.svg +0 -0
  28. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/asset_image_logo_256.html +0 -0
  29. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/asset_image_logo_256.png +0 -0
  30. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/asset_image_logo_256.svg +0 -0
  31. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/asset_sqlmath_external_rollup.js +0 -0
  32. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/cpplint.py +0 -0
  33. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/csslint.js +0 -0
  34. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/indent.exe +0 -0
  35. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/index.html +0 -0
  36. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/libiconv2.dll +0 -0
  37. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/libintl3.dll +0 -0
  38. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath_base.h +0 -0
  39. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath_external_sqlite.c +0 -0
  40. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/sqlmath_wrapper_wasm.js +0 -0
  41. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test.mjs +0 -0
  42. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test.py +0 -0
  43. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test_data_sinefit.csv +0 -0
  44. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test_lgbm_binary.test +0 -0
  45. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test_lgbm_binary.train +0 -0
  46. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test_lgbm_numpy.py +0 -0
  47. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/test_lgbm_preb.txt +0 -0
  48. {sqlmath-2026.3.1 → sqlmath-2026.4.30}/zlib.v1.3.1.vcpkg.x64-windows-static.lib +0 -0
@@ -20,7 +20,7 @@ shCiArtifactUploadCustom() {(set -e
20
20
  git fetch origin artifact
21
21
  git checkout origin/artifact "branch-$GITHUB_BRANCH0"
22
22
  mv "branch-$GITHUB_BRANCH0"/* .
23
- git add -f _sqlmath* sqlmath_wasm.*
23
+ git add -f sqlmath_wasm.*
24
24
  # screenshot html
25
25
  PID_LIST=""
26
26
  shBrowserScreenshot \
@@ -34,40 +34,53 @@ shCiArtifactUploadCustom() {(set -e
34
34
  shCiBaseCustom() {(set -e
35
35
  # This function will run custom-code for base-ci.
36
36
  shCiEmsdkExport
37
- FILE="$(node --input-type=module -e '
38
- process.stdout.write(
39
- process.platform === "darwin"
40
- ? "lib_lightgbm.dylib"
41
- : process.platform === "win32"
42
- ? "lib_lightgbm.dll"
43
- : "lib_lightgbm.so"
44
- );
37
+ FILE_LIB_LGBM="$(node --input-type=module -e '
38
+ function libPlatformArchExt() {
39
+ let libArch = process.arch;
40
+ let libExt = process.platform;
41
+ let libPlatform = process.platform;
42
+ libExt = libExt.replace("darwin", "dylib");
43
+ libExt = libExt.replace("win32", "dll");
44
+ libExt = libExt.replace(libPlatform, "so");
45
+ return `${libPlatform}_${libArch}.${libExt}`;
46
+ }
47
+ process.stdout.write(`lib_lightgbm_${libPlatformArchExt()}`);
45
48
  ' "$@")" # '
46
49
  # bugfix - Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib
47
- if [ ! -f "sqlmath/$FILE" ]
50
+ if [ ! -f "sqlmath/$FILE_LIB_LGBM" ]
48
51
  then
49
52
  case "$(uname)" in
50
53
  Darwin*)
51
54
  brew install libomp
52
- cp -L /opt/homebrew/opt/libomp/lib/libomp.dylib sqlmath/
55
+ cp -L "$(brew --prefix libomp)/lib/libomp.dylib" \
56
+ "sqlmath/$(node -p '`libomp_${process.platform}_${process.arch}.dylib`')"
53
57
  ;;
54
58
  esac
55
59
  pip install lightgbm=="$(printf "v4.6.0" | sed "s|v||")"
56
60
  cp "$(
57
61
  find "$(
58
- pip show ruff | grep Location | sed "s|Location: ||"
59
- )/lightgbm" | grep "$FILE"
60
- )" "sqlmath/$FILE"
62
+ pip show lightgbm | grep Location | sed "s|Location: ||"
63
+ )/lightgbm" | grep "\<lib_lightgbm\.\(dll\|dylib\|so\)$"
64
+ )" "sqlmath/$FILE_LIB_LGBM"
61
65
  fi
62
66
  # .github_cache - restore
63
67
  if [ "$GITHUB_ACTION" ] && [ -d .github_cache/ ]
64
68
  then
65
- cp -a .github_cache/* . || true # js-hack - */
69
+ cp -a .github_cache/* ./ || true # js-hack - */
66
70
  fi
67
71
  # cleanup
68
72
  rm -rf *.egg-info _sqlmath* build/ sqlmath/_sqlmath* && mkdir -p build/
69
73
  PID_LIST=""
70
74
  #
75
+ # run nodejs-ci
76
+ if [ "$GITHUB_ACTION" ]
77
+ then
78
+ npm_config_mode_test_nopython=1 shCiTestNodejs &
79
+ else
80
+ shCiTestNodejs &
81
+ fi
82
+ PID_LIST="$PID_LIST $!"
83
+ #
71
84
  # python -m build --sdist
72
85
  # python -m cibuildwheel
73
86
  (
@@ -104,23 +117,26 @@ process.stdout.write(
104
117
  ) &
105
118
  PID_LIST="$PID_LIST $!"
106
119
  #
107
- shPidListWait build_ext "$PID_LIST"
108
- #
109
- # run nodejs-ci
110
- shCiTestNodejs
120
+ shPidListWait shCiBaseCustom "$PID_LIST"
111
121
  #
112
122
  # upload artifact
113
- if (shCiMatrixIsmainNodeversion) && ( \
114
- [ "$GITHUB_BRANCH0" = alpha ] \
115
- || [ "$GITHUB_BRANCH0" = beta ] \
116
- || [ "$GITHUB_BRANCH0" = master ] \
117
- )
123
+ if (shCiMatrixIsmainNodeversion) && \
124
+ ( \
125
+ [ "$GITHUB_EVENT_NAME" = push ] || \
126
+ [ "$GITHUB_EVENT_NAME" = schedule ] || \
127
+ [ "$GITHUB_EVENT_NAME" = workflow_dispatch ] \
128
+ ) && \
129
+ ( \
130
+ [ "$GITHUB_BRANCH0" = alpha ] || \
131
+ [ "$GITHUB_BRANCH0" = beta ] || \
132
+ [ "$GITHUB_BRANCH0" = master ] \
133
+ )
118
134
  then
119
135
  export GITHUB_UPLOAD_RETRY=0
120
136
  while true
121
137
  do
122
- GITHUB_UPLOAD_RETRY="$((GITHUB_UPLOAD_RETRY + 1))"
123
- if [ "$GITHUB_UPLOAD_RETRY" -gt 4 ]
138
+ export GITHUB_UPLOAD_RETRY="$((GITHUB_UPLOAD_RETRY + 1))"
139
+ if [ ! "$GITHUB_UPLOAD_RETRY" -le 4 ]
124
140
  then
125
141
  return 1
126
142
  fi
@@ -162,41 +178,49 @@ shCiBaseCustomArtifactUpload() {(set -e
162
178
  cd .tmp/artifact/
163
179
  cp ../../.git/config .git/config
164
180
  # update dir branch-$GITHUB_BRANCH0
165
- mkdir -p "branch-$GITHUB_BRANCH0"
181
+ mkdir -p "branch-$GITHUB_BRANCH0/"
182
+ (
183
+ cd "branch-$GITHUB_BRANCH0/"
184
+ rm -f lib_lightgbm.*
185
+ rm -f libomp.*
166
186
  case "$(uname)" in
167
187
  Darwin*)
168
- rm -f "branch-$GITHUB_BRANCH0/"*darwin*
169
- rm -f "branch-$GITHUB_BRANCH0/"*macos*
188
+ rm -f *darwin.so
189
+ case $(uname -m) in
190
+ arm64)
191
+ rm -f *darwin*arm64*
192
+ rm -f *macos*arm64*
193
+ ;;
194
+ x86_64)
195
+ rm -f *darwin*x64*
196
+ rm -f *macos*x86_64*
197
+ ;;
198
+ esac
199
+ # save libomp
200
+ cp ../../../sqlmath/libomp* ./
170
201
  ;;
171
202
  Linux*)
172
- rm -f "branch-$GITHUB_BRANCH0/"*linux*
203
+ rm -f *linux*
173
204
  # save sdist
174
- rm -f "branch-$GITHUB_BRANCH0/"*.tar.gz
175
- cp ../../dist/sqlmath-*.tar.gz "branch-$GITHUB_BRANCH0"
205
+ rm -f *.tar.gz
206
+ cp ../../../dist/sqlmath-*.tar.gz ./
207
+ # save wasm
208
+ rm -f sqlmath_wasm*
209
+ cp ../../../.artifact/asset_image_logo_256.png ./
210
+ cp ../../../sqlmath_wasm* ./
176
211
  ;;
177
212
  MINGW*)
178
- rm -f "branch-$GITHUB_BRANCH0/"*-win*
179
- rm -f "branch-$GITHUB_BRANCH0/"*_win*
213
+ rm -f *win32_x64*
214
+ rm -f *win_amd64*
180
215
  ;;
181
216
  esac
182
- cp ../../_sqlmath* "branch-$GITHUB_BRANCH0"
183
- cp ../../sqlmath/_sqlmath* "branch-$GITHUB_BRANCH0"
184
- for FILE in \
185
- ../../.artifact/asset_image_logo_256.png \
186
- ../../sqlmath/lib_lightgbm.dll \
187
- ../../sqlmath/lib_lightgbm.dylib \
188
- ../../sqlmath/lib_lightgbm.so \
189
- ../../sqlmath/libomp.dylib \
190
- ../../sqlmath_wasm.js \
191
- ../../sqlmath_wasm.wasm
192
- do
193
- if [ -f "$FILE" ]
194
- then
195
- cp "$FILE" "branch-$GITHUB_BRANCH0"
196
- fi
197
- done
198
- # save cibuildwheel
199
- cp ../../dist/sqlmath-*.whl "branch-$GITHUB_BRANCH0"
217
+ cp ../../../_sqlmath.napi* ./
218
+ cp ../../../_sqlmath.shell* ./
219
+ cp ../../../dist/sqlmath-*.whl ./
220
+ cp ../../../sqlmath/lib_lightgbm* ./
221
+ rm -f *win32_x64*.exp
222
+ rm -f *win32_x64*.lib
223
+ )
200
224
  # git commit
201
225
  git add .
202
226
  git add -f "branch-$GITHUB_BRANCH0"/_sqlmath*
@@ -234,7 +258,6 @@ shCiBuildWasm() {(set -e
234
258
  # OPTION1="$OPTION1 -fsanitize=address"
235
259
  for FILE in \
236
260
  sqlmath_base.c \
237
- sqlmath_custom.c \
238
261
  sqlmath_external_sqlite.c
239
262
  do
240
263
  OPTION2=""
@@ -242,9 +265,6 @@ shCiBuildWasm() {(set -e
242
265
  sqlmath_base.c)
243
266
  OPTION2="$OPTION2 -DSRC_SQLMATH_BASE_C2="
244
267
  ;;
245
- sqlmath_custom.c)
246
- OPTION2="$OPTION2 -DSRC_SQLMATH_CUSTOM_C2="
247
- ;;
248
268
  sqlmath_external_sqlite.c)
249
269
  OPTION2="$OPTION2 -DSRC_SQLITE_BASE_C2="
250
270
  ;;
@@ -255,9 +275,6 @@ shCiBuildWasm() {(set -e
255
275
  sqlmath_base.c)
256
276
  OPTION2="$OPTION2 $SQLMATH_CFLAG_WALL_LIST"
257
277
  ;;
258
- sqlmath_custom.c)
259
- OPTION2="$OPTION2 $SQLMATH_CFLAG_WALL_LIST"
260
- ;;
261
278
  *)
262
279
  OPTION2="$OPTION2 $SQLMATH_CFLAG_WNO_LIST"
263
280
  # optimization - skip rebuild of rollup if possible
@@ -306,7 +323,6 @@ shCiBuildWasm() {(set -e
306
323
  -s WASM=1 \
307
324
  -s WASM_BIGINT \
308
325
  build/sqlmath_base.c.wasm.o \
309
- build/sqlmath_custom.c.wasm.o \
310
326
  build/sqlmath_external_sqlite.c.wasm.o \
311
327
  #
312
328
  printf '' > sqlmath_wasm.js
@@ -322,7 +338,7 @@ shCiBuildWasm() {(set -e
322
338
  }());
323
339
  /*jslint-enable*/
324
340
  ' >> sqlmath_wasm.js
325
- cp build/sqlmath_wasm.wasm .
341
+ cp build/sqlmath_wasm.wasm ./
326
342
  ls -l sqlmath_wasm.*
327
343
  )}
328
344
 
@@ -426,8 +442,10 @@ shCiPublishNpmCustom() {(set -e
426
442
  git checkout origin/artifact \
427
443
  branch-beta/_sqlmath* \
428
444
  branch-beta/sqlmath_wasm*
429
- cp -a branch-beta/_sqlmath* .
430
- cp -a branch-beta/sqlmath_wasm.* .
445
+ cp -a branch-beta/_sqlmath.napi* ./
446
+ cp -a branch-beta/_sqlmath.shell* ./
447
+ cp -a branch-beta/lib_lightgbm* ./
448
+ cp -a branch-beta/sqlmath_wasm.* ./
431
449
  # npm-publish
432
450
  npm publish --access public
433
451
  )}
@@ -436,10 +454,10 @@ shCiPublishPypiCustom() {(set -e
436
454
  # This function will run custom-code to npm-publish package.
437
455
  # fetch artifact
438
456
  git fetch origin artifact --depth=1
439
- git checkout origin/artifact branch-alpha/
457
+ git checkout origin/artifact branch-beta/
440
458
  mkdir dist/
441
- cp -a branch-alpha/sqlmath-*.tar.gz dist/
442
- cp -a branch-alpha/sqlmath-*.whl dist/
459
+ cp -a branch-beta/sqlmath-*.tar.gz dist/
460
+ cp -a branch-beta/sqlmath-*.whl dist/
443
461
  ls -la dist/
444
462
  )}
445
463
 
@@ -454,8 +472,7 @@ shCiTestNodejs() {(set -e
454
472
  # lint c-file
455
473
  python cpplint.py \
456
474
  --filter=-whitespace/comments \
457
- sqlmath_base.c \
458
- sqlmath_custom.c
475
+ sqlmath_base.c
459
476
  # lint js-file
460
477
  node jslint.mjs .
461
478
  # create file MANIFEST.in
@@ -477,8 +494,11 @@ ciBuildExt({process});
477
494
  ) &
478
495
  PID_LIST="$PID_LIST $!"
479
496
  # build python c-extension
480
- python setup.py build_ext &
481
- PID_LIST="$PID_LIST $!"
497
+ if [ ! "$npm_config_mode_test_nopython" ]
498
+ then
499
+ python setup.py build_ext &
500
+ PID_LIST="$PID_LIST $!"
501
+ fi
482
502
  shPidListWait build_ext "$PID_LIST"
483
503
  fi;
484
504
  PID_LIST=""
@@ -497,8 +517,11 @@ require("assert")(require("./package.json").name !== "sqlmath");
497
517
  ) &
498
518
  PID_LIST="$PID_LIST $!"
499
519
  # test python
500
- python setup.py test &
501
- PID_LIST="$PID_LIST $!"
520
+ if [ ! "$npm_config_mode_test_nopython" ]
521
+ then
522
+ python setup.py test &
523
+ PID_LIST="$PID_LIST $!"
524
+ fi
502
525
  shPidListWait test "$PID_LIST"
503
526
  )}
504
527
 
@@ -535,7 +558,6 @@ shSqlmathUpdate() {(set -e
535
558
  then
536
559
  shIndentC sqlmath_base.c
537
560
  shIndentC sqlmath_base.h
538
- shIndentC sqlmath_custom.c
539
561
  shIndentC sqlmath_external_sqlite.c
540
562
  fi
541
563
  return
@@ -2,6 +2,11 @@
2
2
  # and upload build-artifacts to branch-gh-pages
3
3
  name: ci
4
4
  on:
5
+ pull_request:
6
+ branches:
7
+ - alpha
8
+ - beta
9
+ - master
5
10
  push:
6
11
  branches:
7
12
  - alpha
@@ -24,9 +29,10 @@ jobs:
24
29
  node_version:
25
30
  - "24"
26
31
  os:
27
- - macos-latest
28
- - ubuntu-latest
29
- - windows-latest
32
+ - macos-15
33
+ - macos-15-intel
34
+ - ubuntu-22.04
35
+ - windows-2022
30
36
  python_version:
31
37
  - "3.12"
32
38
  # base - .github/workflows/ci.yml - beg
@@ -36,9 +42,9 @@ jobs:
36
42
  v${{ matrix.node_version }}
37
43
  ${{ matrix.architecture }}
38
44
  ${{ matrix.os }}
39
- CI_MATRIX_NAME_MAIN: "node v24 x64 ubuntu-latest"
40
- CI_MATRIX_NODE_VERSION: v${{ matrix.node_version }}
41
- CI_MATRIX_NODE_VERSION_MAIN: v24
45
+ CI_MATRIX_NAME_MAIN: "node v24 x64 ubuntu-22.04"
46
+ CI_MATRIX_NODE_VERSION: ${{ matrix.node_version }}
47
+ CI_MATRIX_NODE_VERSION_MAIN: "24"
42
48
  CI_WORKFLOW_NAME: >
43
49
  ${{ github.workflow }}
44
50
  - ${{ github.event_name }}
@@ -57,7 +63,16 @@ jobs:
57
63
  echo "$(date -u +"%Y-%m-%d %TZ") - ${{ env.CI_WORKFLOW_NAME }}" # "
58
64
  git config --global core.autocrlf false
59
65
  # https://github.com/actions/checkout
60
- - uses: actions/checkout@v4
66
+ - uses: actions/checkout@v5
67
+ # https://github.com/actions/cache
68
+ - uses: actions/cache@v5
69
+ with:
70
+ key: >
71
+ ${{ hashFiles('./package.json') }}
72
+ ${{ matrix.architecture }}
73
+ ${{ matrix.node_version }}
74
+ ${{ matrix.os }}
75
+ path: .github_cache/
61
76
  # fetch jslint_ci.sh from trusted source
62
77
  - run: |
63
78
  git fetch origin alpha --depth=1
@@ -65,25 +80,24 @@ jobs:
65
80
  if [ -f "$FILE" ]; then git checkout origin/alpha "$FILE"; fi; done'
66
81
  # pre-run .ci.sh
67
82
  - run: sh jslint_ci.sh shCiPre
83
+ if: >
84
+ github.event_name == 'push' ||
85
+ github.event_name == 'schedule' ||
86
+ github.event_name == 'workflow_dispatch'
68
87
  # https://github.com/actions/setup-node
69
- - uses: actions/setup-node@v4
88
+ - uses: actions/setup-node@v5
70
89
  with:
71
90
  node-version: ${{ matrix.node_version }}
72
91
  # https://github.com/actions/setup-python
73
- - uses: actions/setup-python@v5
92
+ - uses: actions/setup-python@v6
74
93
  with:
75
94
  python-version: ${{ matrix.python_version }}
76
- # https://github.com/actions/cache
77
- - uses: actions/cache@v4
78
- with:
79
- key: >
80
- ${{ hashFiles('./package.json') }}
81
- ${{ matrix.architecture }}
82
- ${{ matrix.node_version }}
83
- ${{ matrix.os }}
84
- path: .github_cache
85
95
  # run nodejs coverages and tests
86
96
  - run: sh jslint_ci.sh shCiBase
87
97
  # upload build-artifacts to branch-gh-pages
88
98
  - run: sh jslint_ci.sh shCiArtifactUpload
99
+ if: >
100
+ github.event_name == 'push' ||
101
+ github.event_name == 'schedule' ||
102
+ github.event_name == 'workflow_dispatch'
89
103
  # base - .github/workflows/ci.yml - end
@@ -8,7 +8,7 @@ jobs:
8
8
 
9
9
 
10
10
  publish_pypi:
11
- name: Upload release to PyPI
11
+ name: Publish Package to PyPI
12
12
  runs-on: ubuntu-latest
13
13
  environment:
14
14
  name: pypi
@@ -27,3 +27,4 @@ jobs:
27
27
  uses: pypa/gh-action-pypi-publish@release/v1
28
28
  with:
29
29
  repository-url: https://test.pypi.org/legacy/
30
+ verbose: true
@@ -36,5 +36,6 @@ wheelhouse/
36
36
  # base - .gitignore - end
37
37
 
38
38
  binding.gyp
39
- lib_lightgbm.*
39
+ lib_lightgbm*
40
+ libomp*
40
41
  sqlmath_wasm.*
@@ -7,9 +7,11 @@ node_modules
7
7
  !LICENSE
8
8
  !README.md
9
9
 
10
- !_sqlmath*
10
+ !_sqlmath.napi*
11
+ !_sqlmath.shell*
11
12
  !jslint.mjs
13
+ !lib_lightgbm*
12
14
  !sqlmath.mjs
13
15
  !sqlmath_browser.mjs
14
- !sqlmath_custom.mjs
16
+ !sqlmath_wasm*
15
17
  !test.mjs
@@ -1,10 +1,29 @@
1
1
  # Changelog
2
2
 
3
3
  # Todo
4
- - sqlmath - Re-introduce sliding-discrete-fourier-transform to improve initial guess in sql-function WIN_SINEFIT2().
4
+ - sqlmath - Streamline and optimize sql-function WIN_SINEFIT2().
5
5
  - sqlite - Add similar error-handling from builtin-sql-function PERCENTILE() into custom-sql-function QUANTILE().
6
6
  - none
7
7
 
8
+ # v2026.4.30
9
+ - sqlmath-python - Add context manager and Pythonic API (execute, close) to SqlmathDb matching sqlite3 conventions.
10
+ - sqlmath-python - Add __repr__ and __bool__ methods to SqlmathDb for better debugging experience.
11
+ - sqlmath - Remove under-used custom-files sqlmath_custom.c, sqlmath_custom.mjs.
12
+ - github-ci - Pin various github-runner-os to stable/lts version.
13
+ - sqlmath-demo - Change historical charts from 5-years to 3-years.
14
+ - sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package.
15
+ - sqlmath-doc - Rewrite README with examples, API reference, use cases.
16
+
17
+ # v2026.3.31
18
+ - python-ci - bugfix - Fix shell-function shCiBaseCustom() always skipping python setup.py build_ext.
19
+ - ci - Speed-up windows-ci by replacing windows-latest with windows-2022.
20
+ - sqlmath-ci - Speed-up ci with env-var npm_config_mode_test_nopython, allowing shell-function shCiTestNodejs() to be run in background, parallel to python -m cibuildwheel.
21
+ - sqlmath-ci - Rename pre-built-binaries lib_lightgbm.xxx, libomp.xxx to lib_lightgbm_platform_arch.xxx, libomp_platform_arch.xxx, to prevent name-collision under darwin_arm64 and darwin_x64 builds.
22
+ - sqlmath-ci - Update file setup.py to open text-files with utf-8 encoding.
23
+ - sqlmath-ci - Update file .github/workflows/ci.yml with extra matrix.os macos-15-intel.
24
+ - jslint-ci - Update shell-function shGitPullrequestCleanup() to allow squash-and-merge pull-request.
25
+ - sqlmath-ci - Update file .github/workflows/ci.yml with hook to run on pull-request.
26
+
8
27
  # v2026.3.1
9
28
  - sqlmath-python - bugfix - Fix 762-character-limit SQL-string-bug in python-function db_exec().
10
29
  - jslint-ci - Update shell-function shLintPython().
@@ -32,8 +32,6 @@ include sqlmath/__init__.py
32
32
  include sqlmath_base.c
33
33
  include sqlmath_base.h
34
34
  include sqlmath_browser.mjs
35
- include sqlmath_custom.c
36
- include sqlmath_custom.mjs
37
35
  include sqlmath_external_sqlite.c
38
36
  include sqlmath_wrapper_wasm.js
39
37
  include test.mjs