1 | ## 4.1.2 - Tue Jul 19 2022 16:51:14
|
2 |
|
3 | **Contributor:** rinsuki
|
4 |
|
5 | - Support TS 4.7+ node16/next module mode (#164)
|
6 |
|
7 | ## 4.1.1 - Sun Apr 24 2022 00:00:52
|
8 |
|
9 | **Contributor:** Theo Gravity
|
10 |
|
11 | - Have native sqlite errors contain stack traces (#162)
|
12 |
|
13 | This ensures that errors thrown from the sqlite driver now
|
14 | have stack traces and are of an `Error` type.
|
15 |
|
16 | Thanks to @fresheneesz for initial troubleshooting and initial
|
17 | code to help fix the issue.
|
18 |
|
19 | This is a minor level version update as to not break implementations
|
20 | that may handle errors in their own way prior to this fix.
|
21 |
|
22 | ## 4.0.25 - Mon Mar 07 2022 08:50:06
|
23 |
|
24 | **Contributor:** Theo Gravity
|
25 |
|
26 | - Update packages, fix tests for latest jest (#159)
|
27 |
|
28 | * Update packages, fix tests for latest jest
|
29 |
|
30 | * Update node version on ci
|
31 |
|
32 | ## 4.0.24 - Sun Mar 06 2022 20:12:24
|
33 |
|
34 | **Contributor:** fresheneesz
|
35 |
|
36 | - Updating exec to support passed in parameters like the other functions do. (#155)
|
37 |
|
38 | ## 4.0.23 - Mon May 24 2021 21:17:44
|
39 |
|
40 | **Contributor:** dependabot[bot]
|
41 |
|
42 | - Bump browserslist from 4.16.3 to 4.16.6 (#145)
|
43 |
|
44 | Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
|
45 | - [Release notes](https://github.com/browserslist/browserslist/releases)
|
46 | - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
|
47 | - [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)
|
48 |
|
49 | Signed-off-by: dependabot[bot] <support@github.com>
|
50 |
|
51 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
52 |
|
53 | ## 4.0.22 - Sun May 09 2021 19:59:28
|
54 |
|
55 | **Contributor:** dependabot[bot]
|
56 |
|
57 | - Bump handlebars from 4.7.6 to 4.7.7 (#141)
|
58 |
|
59 | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
|
60 | - [Release notes](https://github.com/wycats/handlebars.js/releases)
|
61 | - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
|
62 | - [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)
|
63 |
|
64 | Signed-off-by: dependabot[bot] <support@github.com>
|
65 |
|
66 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
67 |
|
68 | ## 4.0.21 - Wed Mar 31 2021 21:22:42
|
69 |
|
70 | **Contributor:** Theo Gravity
|
71 |
|
72 | - Update packages to latest
|
73 |
|
74 | ## 4.0.20 - Wed Mar 31 2021 20:54:37
|
75 |
|
76 | **Contributor:** dependabot[bot]
|
77 |
|
78 | - Bump y18n from 4.0.0 to 4.0.1 (#139)
|
79 |
|
80 | Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
|
81 | - [Release notes](https://github.com/yargs/y18n/releases)
|
82 | - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
|
83 | - [Commits](https://github.com/yargs/y18n/commits)
|
84 |
|
85 | Signed-off-by: dependabot[bot] <support@github.com>
|
86 |
|
87 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
88 |
|
89 | ## 4.0.19 - Wed Dec 30 2020 02:11:07
|
90 |
|
91 | **Contributor:** dependabot[bot]
|
92 |
|
93 | - Bump ini from 1.3.5 to 1.3.8 (#135)
|
94 |
|
95 | Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
|
96 | - [Release notes](https://github.com/isaacs/ini/releases)
|
97 | - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)
|
98 |
|
99 | Signed-off-by: dependabot[bot] <support@github.com>
|
100 |
|
101 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
102 |
|
103 | ## 4.0.18 - Fri Dec 04 2020 21:20:15
|
104 |
|
105 | **Contributor:** dependabot[bot]
|
106 |
|
107 | - Bump highlight.js from 10.1.2 to 10.4.1 (#133)
|
108 |
|
109 | Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.1.2 to 10.4.1.
|
110 | - [Release notes](https://github.com/highlightjs/highlight.js/releases)
|
111 | - [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
|
112 | - [Commits](https://github.com/highlightjs/highlight.js/compare/10.1.2...10.4.1)
|
113 |
|
114 | Signed-off-by: dependabot[bot] <support@github.com>
|
115 |
|
116 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
117 |
|
118 | ## 4.0.17 - Fri Nov 13 2020 19:18:04
|
119 |
|
120 | **Contributor:** Tiger Oakes
|
121 |
|
122 | - Add strict types for each() (#131)
|
123 |
|
124 | ## 4.0.16 - Fri Nov 13 2020 19:15:24
|
125 |
|
126 | **Contributor:** Tiger Oakes
|
127 |
|
128 | - Let migrations be read manually (#132)
|
129 |
|
130 | ## 4.0.15 - Wed Sep 30 2020 16:06:20
|
131 |
|
132 | **Contributor:** Paul Kiddle
|
133 |
|
134 | - Make down migrations optional (#129)
|
135 |
|
136 | ## 4.0.14 - Mon Aug 10 2020 01:08:29
|
137 |
|
138 | **Contributor:** Theo Gravity
|
139 |
|
140 | - Revert filename optional; update filename checks instead (#125)
|
141 |
|
142 | The `filename` property is back to being required, but empty strings are valid values for the purpose of using an anonymous disk-based database.
|
143 |
|
144 | Values of `undefined` or `null` for `filename` will throw.
|
145 |
|
146 | ## 4.0.13 - Mon Aug 10 2020 00:57:58
|
147 |
|
148 | **Contributor:** Theo Gravity
|
149 |
|
150 | - Make filename optional (#124)
|
151 |
|
152 | This allows for the specification of an anonymous database.
|
153 |
|
154 | ## 4.0.12 - Mon Jul 20 2020 04:19:01
|
155 |
|
156 | **Contributor:** dependabot[bot]
|
157 |
|
158 | - Bump lodash from 4.17.15 to 4.17.19 (#122)
|
159 |
|
160 | Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
|
161 | - [Release notes](https://github.com/lodash/lodash/releases)
|
162 | - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)
|
163 |
|
164 | Signed-off-by: dependabot[bot] <support@github.com>
|
165 |
|
166 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
167 |
|
168 | ## 4.0.11 - Fri Jun 12 2020 09:43:39
|
169 |
|
170 | **Contributor:** Theo Gravity
|
171 |
|
172 | - Update readme for inserting rows (#120)
|
173 |
|
174 | @akc42 pointed out that the docs for `db.run` says it returns `lastId` when it should be `lastID`.
|
175 |
|
176 | ## 4.0.10 - Wed Jun 03 2020 00:51:41
|
177 |
|
178 | **Contributor:** Gustavo Rodrigues
|
179 |
|
180 | - Use HTTPS in README badges (#118)
|
181 |
|
182 | Shields.io badges were being loaded using HTTP causing mixed-content errors in the NPM page.
|
183 |
|
184 | ## 4.0.9 - Mon May 25 2020 22:50:02
|
185 |
|
186 | **Contributor:** Markus Felten
|
187 |
|
188 | - feat: provide native esm exports (#117)
|
189 |
|
190 | ## 4.0.8 - Thu May 21 2020 22:59:57
|
191 |
|
192 | **Contributor:** George Corney
|
193 |
|
194 | - Move triple-slash reference so it is recognized (#115)
|
195 |
|
196 | ## 4.0.7 - Sun Apr 12 2020 19:43:31
|
197 |
|
198 | **Contributor:** Yamavol
|
199 |
|
200 | - Fix typescript defs for sqlite3 loadExtension() (#112)
|
201 |
|
202 | ## 4.0.6 - Sat Apr 11 2020 04:16:08
|
203 |
|
204 | **Contributor:** Theo Gravity
|
205 |
|
206 | - Throw an error if two callbacks are defined for #each()
|
207 |
|
208 | This addresses an issue where the `sqlite3` API for `each()` uses
|
209 | two callbacks, while this library only uses one for `each()`.
|
210 |
|
211 | An error is now thrown if two callbacks are defined when using the
|
212 | `sqlite` `each()` method.
|
213 |
|
214 | (In `sqlite`, the second callback of `sqlite3` is used to resolve the
|
215 | promise.)
|
216 |
|
217 | ## 4.0.5 - Sun Apr 05 2020 20:13:43
|
218 |
|
219 | **Contributor:** [jameswilddev](https://github.com/jameswilddev)
|
220 |
|
221 | - Use non-default imports rather than synthetic default imports. (#110)
|
222 |
|
223 | ## 4.0.4 - Sun Apr 05 2020 07:44:39
|
224 |
|
225 | - Fix Typescript reference issues for sqlite3 if it is not installed (#109)
|
226 |
|
227 | This allows the usage of the `sqlite3-offline`; library in Typescript.
|
228 |
|
229 | ## 4.0.3 - Sun Apr 05 2020 00:01:31
|
230 |
|
231 | - Fix Typescript issue where `sql-template-strings` is a forced requirement (#108)
|
232 |
|
233 | It should be an optional dependency and is not required for installation.
|
234 |
|
235 | ## 4.0.2 - Sat Apr 04 2020 22:19:38
|
236 |
|
237 | - Add management tools section to readme
|
238 |
|
239 | ## 4.0.1 - Sat Apr 04 2020 21:46:39
|
240 |
|
241 | New major version 4!
|
242 |
|
243 | This version has been written in Typescript with a target of node.js v10 or greater.
|
244 |
|
245 | If you are using an older version of node < 10, use the 3.x version of the library instead.
|
246 |
|
247 | What's new:
|
248 |
|
249 | - ZERO dependencies!
|
250 | * This should make troubleshooting the library vs the `sqlite3` driver easier. Most issues relate
|
251 | to the `sqlite3` driver vs the library.
|
252 | * Allows support for alternative drivers such as `sqlite3-offline` as long as they match the `node-sqlite3`
|
253 | API.
|
254 | - Re-written in Typescript.
|
255 | - All existing features maintained.
|
256 | - Existing unit tests were cleaned up and pass, new tests added.
|
257 | - Better documentation. See `README.md`.
|
258 | - New CI process - pull requests merged into master will run tests, build, and auto-publish to NPM.
|
259 | - Parity with the `node-sqlite3` API.
|
260 | * Exceptions are `serialize` and `parallelize` (PRs are welcomed!)
|
261 |
|
262 | Breaking Changes:
|
263 |
|
264 | - `sqlite3` is no longer a dependency of this project. You must install it first
|
265 | before using this wrapper library.
|
266 | * This allows for usage of alternative libraries.
|
267 | * This means `verbose` and `cache` modes must be enabled before using the library.
|
268 | * The `README.md` file explains how to do this.
|
269 | - Opening a new database has changed. See `README.md` for example.
|
270 | - migrations API: `force` is now a `boolean`.
|
271 | - Can no longer specify a custom `Promise` library. Uses native `Promise` instead.
|
272 |
|
273 |
|
274 | ###### [v3.0.3]
|
275 | > 2019-03-22
|
276 |
|
277 | - Export class types for flow [##88](https://github.com/kriasoft/node-sqlite/pull/88)
|
278 |
|
279 | ###### [v3.0.2]
|
280 | > 2019-02-14
|
281 |
|
282 | - Flow: Add Flow typings [##86](https://github.com/kriasoft/node-sqlite/pull/86)
|
283 |
|
284 | ###### [v3.0.1]
|
285 | > 2019-01-28
|
286 |
|
287 | - Typescript: Add cached option to open function [##81](https://github.com/kriasoft/node-sqlite/pull/81)
|
288 | - Typescript: Merged declarations for methods that accepts both string and SQLStatements in Database [##80](https://github.com/kriasoft/node-sqlite/pull/80)
|
289 | - Misc: Fix small typo [##84](https://github.com/kriasoft/node-sqlite/pull/84)
|
290 | - Apply `npm audit` fixes (`mocha` updated to latest)
|
291 |
|
292 | ###### [v3.0.0]
|
293 | > 2018-08-22
|
294 |
|
295 | - Add support for ES6 tagged template strings ([##66](https://github.com/kriasoft/node-sqlite/pull/66))
|
296 |
|
297 | ###### [v2.9.3]
|
298 | > 2018-08-22
|
299 |
|
300 | - Change baseline `sqlite3` version from `4.0.0` -> `^4.0.0` ([##71](https://github.com/kriasoft/node-sqlite/pull/71))
|
301 |
|
302 | ###### [v2.9.2]
|
303 | > 2018-04-20
|
304 |
|
305 | - Bump up baseline `sqlite3` version from `3.1.13` -> `4.0.0` ([##56](https://github.com/kriasoft/node-sqlite/pull/56))
|
306 |
|
307 | ###### [v2.9.1]
|
308 | > 2018-01-13
|
309 |
|
310 | - Expose the `sqlite3##configure` method ([##53](https://github.com/kriasoft/node-sqlite/pull/53))
|
311 | - Example fixes ([##52](https://github.com/kriasoft/node-sqlite/pull/52))
|
312 | - Example fixes ([##49](https://github.com/kriasoft/node-sqlite/pull/49))
|
313 | - Expose `sqlite3` debugging hooksk ([##48](https://github.com/kriasoft/node-sqlite/pull/48))
|
314 | - Typescript updates ([##47](https://github.com/kriasoft/node-sqlite/pull/47))
|
315 |
|
316 | ###### [v2.9.0]
|
317 | > 2017-11-27
|
318 |
|
319 | - Move away from global db object in readme ([##45](https://github.com/kriasoft/node-sqlite/pull/45))
|
320 | - Fix typescript 2.6.1 issue where *.d.ts contains executable code when it is no longer allowed ([##47](https://github.com/kriasoft/node-sqlite/pull/47))
|
321 | - Fix readme typo ([##46](https://github.com/kriasoft/node-sqlite/pull/49))
|
322 | - Bump up baseline `sqlite3` version from `3.1.8` -> `3.1.13`
|
323 |
|
324 | ###### [v2.8.0]
|
325 | > 2017-05-21
|
326 |
|
327 | - Match only “down” as separator in migration files ([##32](https://github.com/kriasoft/node-sqlite/pull/32))
|
328 |
|
329 | ###### [v2.7.0]
|
330 | > 2017-05-01
|
331 |
|
332 | - Added support to use the [database object cache](https://github.com/mapbox/node-sqlite3/wiki/Caching) as an option (see readme)
|
333 |
|
334 | ###### [v2.6.0]
|
335 | > 2017-04-30
|
336 |
|
337 | - Migration bug fixed where valid multiple dashes (eg a PEM string) was being removed ([##28](https://github.com/kriasoft/node-sqlite/pull/28))
|
338 |
|
339 | ###### [v2.5.0]
|
340 | > 2017-03-23
|
341 |
|
342 | - npm publish'd from the wrong area. 2.4.0 is unpublished, 2.5.0 is the latest.
|
343 |
|
344 | ###### [v2.4.0]
|
345 | > 2017-03-23
|
346 |
|
347 | - Typescript updates - Make ambient declarations more useful for type inference ([##26](https://github.com/kriasoft/node-sqlite/pull/26))
|
348 |
|
349 | ###### [v2.3.0]
|
350 | > 2017-01-31
|
351 |
|
352 | - Fix a bug sorting of schemas during migrations ([##25](https://github.com/kriasoft/node-sqlite/pull/17))
|
353 |
|
354 | ###### [v2.2.4]
|
355 | > 2016-12-10
|
356 |
|
357 | - Add TypeScript definition ([##21](https://github.com/kriasoft/node-sqlite/pull/21))
|
358 |
|
359 | ###### [v2.2.3]
|
360 | > 2016-11-10
|
361 |
|
362 | - Update `sqlite3` package to 3.1.8
|
363 | - Use `external-helpers` plugin in Babel config (ref [##12](https://github.com/kriasoft/node-sqlite/issues/12))
|
364 |
|
365 | ###### [v2.2.2]
|
366 | > 2016-11-02
|
367 |
|
368 | - Fix duplicate migration application when db.migrate() is run multiple times ([##19](https://github.com/kriasoft/node-sqlite/pull/9))
|
369 |
|
370 | ###### [v2.2.1]
|
371 | > 2016-10-26
|
372 |
|
373 | - Update `sqlite3` package to 3.1.7 ([##17](https://github.com/kriasoft/node-sqlite/pull/17), [changelog](https://github.com/mapbox/node-sqlite3/blob/master/CHANGELOG.md))
|
374 |
|
375 | ###### [v2.2.0]
|
376 | > 2016-07-22
|
377 |
|
378 | - Add named parameters support (https://github.com/kriasoft/node-sqlite/pull/10)
|
379 | - `Statement` now has `sql()`, `lastId()`, `changes()`
|
380 |
|
381 | ###### [v2.0.2]
|
382 | > 2016-05-21
|
383 |
|
384 | - Add SQL-based migrations API: `db.migrate({ force: 'last' })`
|
385 | - Add migration files examples. See `/migrations` folder.
|
386 | - Add support for multiple databases: `const db = sqlite.open('db.sqlite')`
|
387 | - Add async wrapper for `sqlite3` Statement object
|
388 |
|
389 | ###### [v1.0.0]
|
390 | > 2016-05-19
|
391 |
|
392 | - The initial release after a couple of preview versions earlier this year
|
393 | - Built the project with Babel and Rollup for Node.js v3-5, Node.js v6, Node.js vNext
|
394 | (Harmony Modules)
|
395 |
|
396 | [unreleased]: https://github.com/kriasoft/node-sqlite/compare/v3.0.0...HEAD
|
397 | [v3.0.0]: https://github.com/kriasoft/node-sqlite/compare/v2.9.3...v3.0.0
|
398 | [v2.9.3]: https://github.com/kriasoft/node-sqlite/compare/v2.9.2...v2.9.3
|
399 | [v2.9.2]: https://github.com/kriasoft/node-sqlite/compare/v2.9.1...v2.9.2
|
400 | [v2.7.0]: https://github.com/kriasoft/node-sqlite/compare/v2.6.0...v2.7.0
|
401 | [v2.6.0]: https://github.com/kriasoft/node-sqlite/compare/v2.5.0...v2.6.0
|
402 | [v2.5.0]: https://github.com/kriasoft/node-sqlite/compare/v2.4.0...v2.5.0
|
403 | [v2.4.0]: https://github.com/kriasoft/node-sqlite/compare/v2.3.0...v2.4.0
|
404 | [v2.3.0]: https://github.com/kriasoft/node-sqlite/compare/v2.2.4...v2.3.0
|
405 | [v2.2.4]: https://github.com/kriasoft/node-sqlite/compare/v2.2.3...v2.2.4
|
406 | [v2.2.3]: https://github.com/kriasoft/node-sqlite/compare/v2.2.2...v2.2.3
|
407 | [v2.2.2]: https://github.com/kriasoft/node-sqlite/compare/v2.2.1...v2.2.2
|
408 | [v2.2.1]: https://github.com/kriasoft/node-sqlite/compare/v2.2.0...v2.2.1
|
409 | [v2.2.0]: https://github.com/kriasoft/node-sqlite/compare/v2.0.2...v2.2.0
|
410 | [v2.0.2]: https://github.com/kriasoft/node-sqlite/compare/v1.0.0...v2.0.2
|
411 | [v1.0.0]: https://github.com/kriasoft/node-sqlite/compare/45c1f7904abca55510b45415fe75dccbfc3109a1...v1.0.0
|