sqlmath 2024.6.25 → 2024.8.30
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 +13 -0
- package/README.md +8 -8
- package/jslint.mjs +1 -1
- package/package.json +1 -1
- package/sqlmath.mjs +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,20 @@
|
|
|
3
3
|
# Todo
|
|
4
4
|
- none
|
|
5
5
|
|
|
6
|
+
# v2024.8.30
|
|
7
|
+
- betadog - Re-introduce trading of sp500 stocks.
|
|
8
|
+
- lgbm - Make loading of lightgbm-library optional, only loading if file exists.
|
|
9
|
+
|
|
10
|
+
# v2024.7.28
|
|
11
|
+
- sqlmath - Update sql-function LGBM_PREDICTFORTABLE() to allow multiclass.
|
|
12
|
+
- lgbm - Upgrade to lightgbm-v4.5.0.
|
|
13
|
+
- sqlite - Upgrade to sqlite-v3.46.0.
|
|
14
|
+
- sqlmath - Add sql-aggregate-function COLUMNTYPE() and allow exporting sql-table as sql-statement.
|
|
15
|
+
- sqlmath - Add sql-functions IDATEFROMTEXT(), IDATETOTEXT().
|
|
16
|
+
- python - Upgrade to ruff-v0.5.0.
|
|
17
|
+
|
|
6
18
|
# v2024.6.25
|
|
19
|
+
- sqlmath - Update sql-function LGBM_PREDICTFORTABLE() to allow multiclass.
|
|
7
20
|
- jslint - Remove unnecessary shell-function shCurlExe().
|
|
8
21
|
- lgbm - Upgrade to lightgbm-v4.4.0.
|
|
9
22
|
- jslint - Upgrade to jslint-v2024.6.1-beta.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
# Status
|
|
5
|
-
| Branch | [master<br>(v2024.
|
|
5
|
+
| Branch | [master<br>(v2024.8.30)](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 | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
|
|
8
8
|
| Coverage | [](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [](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-2024.
|
|
125
|
-
py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2024.
|
|
124
|
+
twine upload --repository testpypi dist/sqlmath-2024.8.30*
|
|
125
|
+
py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2024.8.30
|
|
126
126
|
#
|
|
127
|
-
twine upload dist/sqlmath-2024.
|
|
128
|
-
pip install sqlmath==2024.
|
|
127
|
+
twine upload dist/sqlmath-2024.8.30*
|
|
128
|
+
pip install sqlmath==2024.8.30
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
|
|
@@ -136,11 +136,11 @@ pip install sqlmath==2024.6.25
|
|
|
136
136
|
(set -e
|
|
137
137
|
#
|
|
138
138
|
# lgbm
|
|
139
|
-
sh jslint_ci.sh shRollupUpgrade "v4.
|
|
139
|
+
sh jslint_ci.sh shRollupUpgrade "v4.4.0" "v4.5.0" ".ci.sh sqlmath_base.h"
|
|
140
140
|
#
|
|
141
141
|
# sqlite
|
|
142
|
-
sh jslint_ci.sh shRollupUpgrade "3.
|
|
143
|
-
sh jslint_ci.sh shRollupUpgrade "
|
|
142
|
+
sh jslint_ci.sh shRollupUpgrade "3.44.2" "3.46.0" ".ci.sh sqlmath_external_sqlite.c"
|
|
143
|
+
sh jslint_ci.sh shRollupUpgrade "3440200" "3460000" ".ci.sh sqlmath_external_sqlite.c"
|
|
144
144
|
#
|
|
145
145
|
# zlib
|
|
146
146
|
sh jslint_ci.sh shRollupUpgrade "1.3" "1.3.1" ".ci.sh sqlmath_external_zlib.c"
|
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 = "v2024.6.
|
|
166
|
+
let jslint_edition = "v2024.6.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.
|
package/package.json
CHANGED
package/sqlmath.mjs
CHANGED
|
@@ -122,7 +122,7 @@ let {
|
|
|
122
122
|
let sqlMessageDict = {}; // dict of web-worker-callbacks
|
|
123
123
|
let sqlMessageId = 0;
|
|
124
124
|
let sqlWorker;
|
|
125
|
-
let version = "v2024.
|
|
125
|
+
let version = "v2024.8.30";
|
|
126
126
|
|
|
127
127
|
async function assertErrorThrownAsync(asyncFunc, regexp) {
|
|
128
128
|
|
|
@@ -931,10 +931,12 @@ async function dbOpenAsync({
|
|
|
931
931
|
fileLgbm = fileLgbm.replace("win32", "lib_lightgbm.dll");
|
|
932
932
|
fileLgbm = fileLgbm.replace(process.platform, "lib_lightgbm.so");
|
|
933
933
|
fileLgbm = `${import.meta.dirname}/sqlmath/${fileLgbm}`;
|
|
934
|
-
await
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
934
|
+
await moduleFs.promises.access(fileLgbm).then(async function () {
|
|
935
|
+
await dbExecAsync({
|
|
936
|
+
db,
|
|
937
|
+
sql: `SELECT lgbm_dlopen('${fileLgbm}');`
|
|
938
|
+
});
|
|
939
|
+
}).catch(noop);
|
|
938
940
|
}
|
|
939
941
|
return db;
|
|
940
942
|
}
|