Fedor Indutny
4917cd51d7
Support Electron 23
2024-08-22 15:27:35 -07:00
Fedor Indutny
903bcd399a
src: final fixes for Electron 29
2024-02-22 13:03:47 -08:00
Fedor Indutny
dc1bb76b97
src: final fixes for electron 29
2024-02-20 18:31:34 -08:00
Fedor Indutnyy
1a19f1fc6a
api: Database#signalTokenize()
2023-11-29 21:46:06 -08:00
Fedor Indutnyy
2e432b0aad
rename tokenizer to signal_tokenizer
2023-01-26 14:58:27 -08:00
Fedor Indutnyy
ac7338ad39
src: use our custom icu_tokenizer
2023-01-25 19:36:39 -08:00
Fedor Indutnyy
dc255273fe
lib: fix build on windows, better API name
2023-01-25 15:06:02 -08:00
Fedor Indutny
05a8cc2be6
lib: better tokenizer API
2023-01-25 14:15:29 -08:00
Fedor Indutnyy
a2b01b922a
feat: js tokenizer
2023-01-24 18:02:39 -08:00
Fedor Indutnyy
6beeec2f07
deps: slight build optimizations
2023-01-18 15:05:28 -08:00
Fedor Indutnyy
7331a93430
api: add setLogHandler
2023-01-18 13:03:53 -08:00
Fedor Indutny
1bf85ef39e
Fix crashes on Electron 22
2022-12-15 17:20:13 -08:00
Joshua Wise
36cf1c47bd
upgraded to SQLite version 3.40.0
2022-11-21 17:51:44 -06:00
neoxpert
ba9fcecb87
Support build for electron v20 ( #870 )
...
* support prebuild for electron v20
* Remove unsupported versions of Node and Electron
(see https://www.electronjs.org/docs/latest/tutorial/electron-timelines and https://github.com/nodejs/Release/#end-of-life-releases )
* enforce the use of node-gyp 8.4.1
builds for electron 20 fail with prebuild 11.0.4 internal node-gyp version 6.1.0
* conditional compile with CreationContext for NodeJs < 16
* use c++17 to fix Mac M1 and Linux x64 builds
* add c++17 flag for MSVC
Co-authored-by: Matthew McEachen <matthew@photostructure.com>
2022-11-21 17:31:03 -06:00
Ryusei Yamaguchi
15652ad800
Fix virtual table limit offset ( #873 )
...
* Don't care limit and offset constraints of user-defined virtual tables
* Add a test case for #872
2022-10-12 10:36:44 -05:00
Joshua Wise
539ff32b96
implemented statement.busy getter
2022-01-18 16:19:51 -06:00
Joshua Wise
6ab63c1f63
fixed obscure bug
2022-01-18 16:01:01 -06:00
Joshua Wise
0f871ba54a
added documentation for SqliteError, and improved error message for binding non-plain objects
2022-01-18 15:23:36 -06:00
Joshua Wise
b3169ef6d6
fixed bug in node 14 where empty buffers are bound as null
2021-07-19 00:13:37 -05:00
Joshua Wise
b33c1d50fc
added missing C++ header
2021-05-12 23:55:34 -05:00
Joshua Wise
843026fe01
fixed bug in edge case
2021-05-12 23:46:33 -05:00
Joshua Wise
4ee9fc7dee
improved code readability
2021-05-12 21:07:44 -05:00
Joshua Wise
6e24b2b03b
cleaned up C++ code
2021-05-07 19:05:12 -05:00
Joshua Wise
1d8e9f6f86
implemented rought draft version of virtual tables
2021-05-07 01:50:07 -05:00
Joshua Wise
0ed6f40e1e
prevented db.serialize() from being used while the database is busy or closed
2021-05-04 21:39:01 -05:00
Joshua Wise
0ad86ca5e0
added directOnly option to db.aggregate()
2021-05-04 19:57:29 -05:00
Joshua Wise
260b854e47
added directOnly option to db.function()
2021-05-04 19:52:07 -05:00
Joshua Wise
dcb58cd070
implemented stmt.readonly property
2021-05-04 19:29:53 -05:00
Joshua Wise
e208564193
implemented db.serialize() and deserialization
2021-05-04 18:47:20 -05:00
Joshua Wise
579e3b4b4b
* added support for the RETURNING clause
...
* statements that return data can now be executed via .run()
2021-05-04 01:06:46 -05:00
Joshua Wise
f9663fc02c
made Database class extendable, and fixed importing into jest environments
2021-03-30 12:31:07 -05:00
Joshua Wise
a8ee5a5962
added tests for unsafe mode and fixed bug
2020-04-25 09:14:52 -05:00
Joshua Wise
7f7baadcc0
allow mutations while iterating in unsafe mode
2020-04-25 08:43:04 -05:00
Joshua Wise
b1ec867dd0
documented undocumented features, and moved pragma_mode from Database to Addon
2020-04-25 07:31:10 -05:00
Joshua Wise
5200f65d5a
lzz
2020-04-23 15:02:04 -05:00
Joshua Wise
f7577c7d29
improved logging of db.exec() statements, and improved detection of multiple statements in db.prepare()
2020-04-23 15:01:12 -05:00
Joshua Wise
ec5cb85f97
updated db.exec() to log SQL the same way as prepared statements
2020-04-22 20:36:44 -05:00
Joshua Wise
5373d6da48
added an optional second argument to db.loadExtension() which specifies an extension entry point
2020-04-22 17:37:54 -05:00
Joshua Wise
94521dd185
removed db.checkpoint() method in favor of wal_checkpoint(RESTART) pragma
2020-04-22 12:05:52 -05:00
Joshua Wise
758665a3db
dropped support for node versions < 10
...
removed the integer library in favor of bigints
added support for worker threads
enabled SQLITE_THREADSAFE=2
replaced native Require() calls with dependency injection
2020-04-21 20:53:31 -05:00
Dan Barela
f889257db4
Prebuild
...
This adds prebuild support. When the library is released from GitHub a travis build will run which builds the library for Node 8, 10 and 12, and Electron 2 - 7
2019-10-30 11:22:49 -06:00
Joshua Wise
c97fd0fb0b
made logging synchronous
2019-01-22 11:58:15 -05:00
Joshua Wise
b1e918c37b
Merge branch 'verbose'
2019-01-22 00:31:39 -05:00
Joshua Wise
34b25ddbd2
ran lzz
2019-01-20 02:56:25 -05:00
Joshua Wise
55c0da0992
lzz
2019-01-17 23:02:56 -05:00
Joshua Thomas Wise
2a001e4168
added tests for new busy logic
2019-01-17 16:52:11 -05:00
Joshua Wise
8ee9d3f004
implemented support for performing readonly operations during stmt.iterate()
2019-01-17 02:50:32 -05:00
Joshua Wise
b66aefce16
removed unused backup.filename property
2019-01-16 23:41:17 -05:00
Joshua Wise
32d4e03771
unlink failed backups when a prior file didnt exist
2019-01-15 00:30:18 -05:00
Joshua Thomas Wise
1ea8ca09a7
improved backup operation
2019-01-14 17:52:42 -05:00