@capacitor-community/sqlite 3.3.3-test211 → 3.4.0-2

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 (25) hide show
  1. package/README.md +37 -14
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/getcapacitor/community/database/sqlite/CapacitorSQLite.java +127 -6
  4. package/android/src/main/java/com/getcapacitor/community/database/sqlite/CapacitorSQLitePlugin.java +95 -13
  5. package/android/src/main/java/com/getcapacitor/community/database/sqlite/SQLite/BiometricListener.java +8 -0
  6. package/android/src/main/java/com/getcapacitor/community/database/sqlite/SQLite/Database.java +5 -3
  7. package/android/src/main/java/com/getcapacitor/community/database/sqlite/SQLite/SqliteConfig.java +32 -0
  8. package/android/src/main/java/com/getcapacitor/community/database/sqlite/SQLite/UtilsBiometric.java +123 -0
  9. package/android/src/main/java/com/getcapacitor/community/database/sqlite/SQLite/UtilsSQLite.java +19 -0
  10. package/android/src/main/java/com/getcapacitor/community/database/sqlite/SQLite/UtilsSecret.java +7 -2
  11. package/dist/esm/definitions.d.ts +7 -0
  12. package/dist/esm/definitions.js.map +1 -1
  13. package/electron/dist/plugin.js +14 -21
  14. package/electron/dist/plugin.js.map +1 -1
  15. package/ios/Plugin/BiometricIDAuthentication.swift +79 -0
  16. package/ios/Plugin/CapacitorSQLite.swift +144 -24
  17. package/ios/Plugin/CapacitorSQLitePlugin.swift +52 -9
  18. package/ios/Plugin/Database.swift +17 -4
  19. package/ios/Plugin/Extensions/Notification.Name.swift +6 -2
  20. package/ios/Plugin/Models/KeychainServices.swift +1 -1
  21. package/ios/Plugin/SqliteConfig.swift +3 -0
  22. package/ios/Plugin/Utils/UtilsSQLCipher.swift +5 -4
  23. package/ios/Plugin/Utils/UtilsSecret.swift +54 -22
  24. package/package.json +6 -6
  25. package/CHANGELOG.md +0 -1247
package/CHANGELOG.md DELETED
@@ -1,1247 +0,0 @@
1
- ## 3.3.3-5 (2022-01-07)
2
-
3
- ### Bug Fixes
4
-
5
- - fix getUrl integrate "file://" in the returned url
6
- - fix create databaselocation in iOS
7
-
8
- ## 3.3.3-4 (2022-01-06)
9
-
10
- ### Added Features
11
-
12
- - add getUrl method Get DB Path iOS & Android
13
-
14
- ### Bug Fixes
15
-
16
- - fix Get DB Path or file URI issue#208
17
-
18
- ## 3.3.3-3 (2022-01-03)
19
-
20
- ### Bug Fixes
21
-
22
- - fix Android Error during database version upgrade issue#209
23
-
24
- ## 3.3.3-2 (2022-01-03)
25
-
26
- ### Added Features
27
-
28
- - iOS Support for databases that are not visible to iTunes and are not backed up by iCloud issue#207
29
-
30
- ### Bug Fixes
31
-
32
- - fix README.md
33
- - fix API.md
34
-
35
- ## 3.3.3-1 (2021-12-18)
36
-
37
- ### Chore
38
-
39
- - Update to @capacitor/core 3.3.3
40
- - Update to @capacitor/ios 3.3.3
41
- - Update to @capacitor/android 3.3.3
42
-
43
- ### Added Features
44
-
45
- - Open in Read-Only Mode databases without SQLite suffix
46
- - getNCDatabasePath, createNCConnection, closeNCConnection, isNCDatabase
47
- - add NonConformedDatabase.md documentation
48
-
49
- ### Bug Fixes
50
-
51
- - fix mode "UNIQUE" not case sensitive in importToJson index issue#203
52
- - fix support non-conformed database in read-only mode issue#201
53
-
54
-
55
- ## 3.3.2 (2021-12-13)
56
-
57
- ### Chore
58
-
59
- - Update to @capacitor/core 3.3.2
60
- - Update to @capacitor/ios 3.3.2
61
- - Update to @capacitor/android 3.3.2
62
-
63
- ### Bug Fixes
64
-
65
- - fix addSQLiteSuffix skips databases without .db extension issue#200
66
-
67
- ## 3.3.1 (2021-11-25)
68
-
69
- ### Chore
70
-
71
- - Update to @capacitor/core 3.3.1
72
- - Update to @capacitor/ios 3.3.1
73
- - Update to @capacitor/android 3.3.1
74
-
75
- ### Added Features
76
-
77
- - add link to React-Vite and Vue-Vite application
78
-
79
- ### Bug Fixes
80
-
81
- - fix Plugin failed to register in Android 11 physical device issue#196
82
- - fix Ionic-React-Usage.md
83
- - fix Ionic-Vue-Usage.md
84
- - fix Electron `npm install --save jszip`in README issue#197
85
-
86
- ## 3.2.5 (2021-11-07)
87
-
88
- - stable release
89
-
90
- ## 3.2.5-2 (2021-11-03)
91
-
92
- ### Added Features
93
-
94
- - add importing zipped files using copyFromAssets method
95
-
96
- ### Bug Fixes
97
-
98
- - fix issue#191
99
-
100
- ## 3.2.5-1 (2021-10-22)
101
-
102
- ### Chore
103
-
104
- - Update to @capacitor/core 3.2.5
105
- - Update to @capacitor/ios 3.2.5
106
- - Update to @capacitor/android 3.2.5
107
-
108
- ### Bug Fixes
109
-
110
- - fix Electron isTable issue#188
111
- - fix iOS closeAllConnections issue#190
112
-
113
- ## 3.2.4 (2021-10-15)
114
-
115
- ### Bug Fixes
116
-
117
- - fix Electron + TypeORM - Transaction error issue#186
118
-
119
- ## 3.2.4-2 (2021-10-11)
120
-
121
- ### Added Features
122
-
123
- - add getMigratableDbList requested in issue#182
124
-
125
- ### Bug Fixes
126
-
127
- - fix MigratingCordovaDatabases.md
128
-
129
- ## 3.2.4-1 (2021-10-11)
130
-
131
- ### Chore
132
-
133
- - Update to @capacitor/core 3.2.4
134
- - Update to @capacitor/ios 3.2.4
135
- - Update to @capacitor/android 3.2.4
136
-
137
- ### Added Features
138
-
139
- - Extend addSQLiteSuffix and deleteOldDatabases by providing a database name's list
140
-
141
- ### Bug Fixes
142
-
143
- - fix issue#182
144
-
145
- ## 3.2.3 (2021-10-09)
146
-
147
- ### Bug Fixes
148
-
149
- - Update Web-Usage.md for React and Vue frameworks
150
-
151
- ## 3.2.3-1 (2021-09-24)
152
-
153
- ### Chore
154
-
155
- - Update to @capacitor/core 3.2.3
156
- - Update to @capacitor/ios 3.2.3
157
- - Update to @capacitor/android 3.2.3
158
-
159
- ### Added Features
160
-
161
- - add initWebStore and saveToStore methods to the web plugin
162
-
163
- ### Bug Fixes
164
-
165
- - Update API.md databases location for Web platform
166
- - Update Ionic-Vue-Usage.md
167
-
168
-
169
- ## 3.2.2 (2021-09-17)
170
-
171
- ### Bug Fixes
172
-
173
- - Update API.md databases location for Web platform
174
-
175
- ## 3.2.2-3 (2021-09-15)
176
-
177
- ### Bug Fixes
178
-
179
- - Fix Web Platform, add componentOnReady on constructor
180
-
181
- ## 3.2.2-2 (2021-09-15)
182
-
183
- ### Bug Fixes
184
-
185
- - Fix All Platforms, executeSet breaks with empty array issue#170
186
-
187
- ## 3.2.2-1 (2021-09-11)
188
-
189
- ### Chore
190
-
191
- - Update to @capacitor/core 3.2.2
192
- - Update to @capacitor/ios 3.2.2
193
- - Update to @capacitor/android 3.2.2
194
-
195
- ### Added Features
196
-
197
- - Add Views in JsonSQLite (issue#167)
198
-
199
- ## 3.2.0 (2021-08-31)
200
-
201
- ### Added Features
202
-
203
- - Add getVersion method
204
-
205
- ## 3.2.0-11 (2021-08-30)
206
-
207
- ### Bug Fixes
208
-
209
- - Fix Android importFromJson change in version throwing error mentioned in issue#164
210
- - Fix iOS importFromJson change in version throwing error mentioned in issue#164
211
- - Fix Electron importFromJson change in version throwing error mentioned in issue#164
212
- - Fix Web importFromJson change in version throwing error mentioned in issue#164
213
-
214
-
215
- ## 3.2.0-10 (2021-08-29)
216
-
217
- ### Added Features
218
-
219
- - Add Ionic/React App to Web_Usage.md
220
-
221
- ### Bug Fixes
222
-
223
- - fix README.md
224
-
225
- ## 3.2.0-9 (2021-08-29)
226
-
227
- ### Bug Fixes
228
-
229
- - Fix Android importFromJson throwing error mentioned in issue#164
230
- - Fix iOS importFromJson throwing error mentioned in issue#164
231
-
232
- ## 3.2.0-8 (2021-08-28)
233
-
234
- ### Added Features
235
-
236
- - Add Ionic/Vue App to Web_Usage.md
237
-
238
- ### Bug Fixes
239
-
240
- - Fix Electron with "electron" in the app name issue#163
241
- - Fix Electron `assets/databases` under `public` folder for Vue and React frameworks
242
-
243
- ## 3.2.0-7 (2021-08-27)
244
-
245
- ### Bug Fixes
246
-
247
- - Fix web store initialization
248
-
249
- ## 3.2.0-6 (2021-08-26)
250
-
251
- ### Bug Fixes
252
-
253
- - Fix Electron echo method
254
-
255
- ## 3.2.0-5 (2021-08-25)
256
-
257
- ### Added Features
258
-
259
- - Add Web plugin part based on `sql.js@1.5.0` and `localeforage@1.9.0`for database persistency.
260
- - Add Web_Usage.md doc
261
-
262
- ## 3.2.0-4 (2021-08-25)
263
-
264
- ### Bug Fixes
265
-
266
- - android in partial model importFromJson failed of update data: NIQUE constraint failed: xxx.id issue#160
267
-
268
- ## 3.2.0-3 (2021-08-25)
269
-
270
- ### Chore
271
-
272
- - Update to @capacitor-community/electron 4.0.3
273
-
274
- ## 3.2.0-2 (2021-08-23)
275
-
276
- ### Chore
277
-
278
- - Update to @capacitor/core 3.2.0
279
-
280
- ### Added Features
281
-
282
- - Add Electron plugin part based on sqlite3 and @capacitor-community/electron 3.1.0
283
-
284
- ## 3.2.0-1 (2021-08-23)
285
-
286
- ### Bug Fixes
287
-
288
- - in checkConnectionsConsistency close all connections when not consistent
289
- - Support for Android API level 21 issue#132
290
- - remove temporary fix for Wrong values on insert and query issue#125 fix by Capacitor 3.1.2
291
-
292
- ## 3.1.3-3 (2021-07-28)
293
-
294
- ### Bug Fixes
295
-
296
- - remove trial web implementation with sql.js
297
-
298
- ## 3.1.3-2 (2021-07-27)
299
-
300
- ### Bug Fixes
301
-
302
- - copyFromAssets only takes files with SQLite.db suffix on iOS (contrary to Android) issue#152
303
-
304
- ## 3.1.3-1 (2021-07-24)
305
-
306
- ### Bug Fixes
307
-
308
- - put back temporary fix for Wrong values on insert and query issue#125 not fixed by Capacitor 3.1.2
309
-
310
- ## 3.1.2 (2021-07-24)
311
-
312
- ### Chore
313
-
314
- - Update to Capacitor 3.1.2
315
-
316
- ### Bug Fixes
317
-
318
- - copyFromAssets fails on Android 6 issue#151
319
- - CapacitorSQLite.toJSON Android #144 fix by Capacitor 3.1.2
320
- - remove temporary fix for Wrong values on insert and query issue#125 fix by Capacitor 3.1.2
321
-
322
- ## 3.1.2-1 (2021-07-14)
323
-
324
- ### Bug Fixes
325
-
326
- - Fix issue#147
327
-
328
- ## 3.1.1 (2021-07-13)
329
-
330
- ### Chore
331
-
332
- - Update to Capacitor 3.1.1
333
-
334
- ### Bug Fixes
335
-
336
- - Remove console.log in SQLiteDBConnection
337
- - update npm Version in README.md
338
-
339
- ## 3.0.0 (2021-07-07)
340
-
341
- ### Chore
342
-
343
- - Update to Capacitor 3.0.2
344
-
345
- ### Bug Fixes
346
-
347
- - Update README.md
348
- - Fix Insert Null as Foreign Key Android issue#125
349
- - Fix SetEncryptionSecret Android issue#141
350
-
351
- ## 3.0.0-rc.2 (2021-06-13)
352
-
353
- ### Added Features
354
-
355
- - Thanks to Chris, a driver to TypeORM is now available.
356
- - TypeORM-Usage.md
357
-
358
- ### Bug Fixes
359
-
360
- - Double precision type numbers are read as floats Android #issue124
361
-
362
- ## 3.0.0-rc.1 (2021-06-02)
363
-
364
- ### Bug Fixes
365
-
366
- - CapacitorSQLite.isSecretStored()" is not implemented on android #issue123
367
-
368
- ## 3.0.0-beta.14 (2021-05-29)
369
-
370
- ### Chore
371
-
372
- - Update to Capacitor 3.0.0
373
-
374
- ### Bug Fixes
375
-
376
- - iOS null or empty column return as string "NULL" #issue119, #issue120
377
- - JS float numbers are rejected in run statements (iOS) #issue121
378
-
379
- ## 3.0.0-beta.13 (2021-05-06)
380
-
381
- ### Chore
382
-
383
- - Update to Capacitor 3.0.0-rc.1
384
-
385
- ### Added Features
386
-
387
- - Allow users to set secret #issue88
388
- - add isSecretStored, setEncryptionSecret, changeEncryptionSecret methods
389
-
390
- ### Bug Fixes
391
-
392
- - ImportFromJson in Partial Mode without schema changes #issue113
393
-
394
- ## 3.0.0-beta.12 (2021-04-24)
395
-
396
- ### Added Features
397
-
398
- - Event Listeners for Import and Export Json #issue112
399
-
400
- ## 3.0.0-beta.11 (2021-04-21)
401
-
402
- ### Bug Fixes
403
-
404
- - Checking on Types has been removed #issue108
405
- - NULL values are now returned as null #issue109
406
- - values in Query method accepts from now an Array of any #issue110
407
- - fix disable transaction #issue111
408
-
409
-
410
- ## 3.0.0-beta.10 (2021-04-14)
411
-
412
- ### Bug Fixes
413
-
414
- - Fix Android app crashes when creating connection with wrong secret issue#105
415
- - Fix reload of webview breaks connection handling #issue106
416
- - Fix user provides a name that ends on ".db" #issue107
417
- - Fix add an option to disable transactions #issue111
418
- - add Supported SQLite Types in README.md #issue108
419
-
420
- ## 3.0.0-beta.9 (2021-04-02)
421
-
422
- ### Bug Fixes
423
-
424
- - Fix prepareSQL Android for null value
425
-
426
- ## 3.0.0-beta.8 (2021-04-02)
427
-
428
- ### Bug Fixes
429
-
430
- - Fix ImportFromJson db is Locked issue#101
431
-
432
- ## 3.0.0-beta.7 (2021-03-20)
433
-
434
- ### Added Features
435
-
436
- - add `Library` folder to iOS addSQLiteSuffix method
437
- - update MigratingCordovaDatabases.md accordingly
438
-
439
- ## 3.0.0-beta.6 (2021-03-19)
440
-
441
- ### Bug Fixes
442
-
443
- - Fix executeSet on iOS not accept null values issue#89
444
-
445
- ## 3.0.0-beta.5 (2021-03-18)
446
-
447
- ### Chore
448
-
449
- - Update to Capacitor 3.0.0-rc.0
450
-
451
- ### Added Features
452
-
453
- - isConnection method
454
- - isDatabase method
455
- - getDatabaseList method
456
- - isTable method
457
- - addSQLiteSuffix method
458
- - deleteOldDatabases method
459
- - isDBOpen
460
- - MigratingCordovaDatabases.md
461
-
462
- ### Bug Fixes
463
-
464
- - Fix Copy db from storage issue#77
465
- - Fix Is there a way to connect to a db file, that not has the prefix SQLite.db issue#79
466
- - Fix More precise error message on failing statements issue#82
467
- - Fix issue#84 Android
468
- - Fix executeSet on android not accept null values issue#89
469
- - Fix issue#97
470
-
471
- ## 3.0.0-beta.4 (2021-02-01)
472
-
473
- ### Bug Fixes
474
-
475
- - Fix Data import where the ID is a UUID issue#75
476
- - Fix Can't create my own DB Trigger issue#76
477
-
478
- ## 3.0.0-beta.3 (2021-01-30)
479
-
480
- ### Bug Fixes
481
-
482
- - fix issue#71 Compound primary Key when ImportFromJSON
483
- - getSyncDate returns a toISOString() data and not an Unix Epoch
484
- - update documentation
485
-
486
- ## 3.0.0-beta.2 (2021-01-23)
487
-
488
- ### Bug Fixes
489
-
490
- - add SQLCipher dependency in CapacitorCommunitySqlite.pod
491
-
492
- ## 3.0.0-beta.1 (2021-01-23)
493
-
494
- ### Bug Fixes
495
-
496
- - update API Docs
497
- - update README, CHANGELOG
498
-
499
- ### Chore
500
-
501
- - update to @capacitor/core@3.0.0-beta.1
502
-
503
- ### Added Features
504
-
505
- - better Error handling throught try...catch
506
-
507
- ## 2.9.16 (2021-04-13) REFACTOR
508
-
509
- ### Bug Fixes
510
-
511
- - Fix Android app crashes when creating connection with wrong secret issue#105
512
-
513
- ## 2.9.15 (2021-04-01) REFACTOR
514
-
515
- ### Bug Fixes
516
-
517
- - Fix ImportFromJson db is Locked issue#101
518
-
519
- ## 2.9.14 (2021-03-19) REFACTOR
520
-
521
- ### Chore
522
-
523
- - update to @capacitor/core@2.4.7
524
-
525
- ### Bug Fixes
526
-
527
- - Fix issue#89 Android, iOS
528
- - Fix issue#97
529
-
530
- ## 2.9.13 (2021-02-24) REFACTOR
531
-
532
- ### Bug Fixes
533
-
534
- - Fix issue#84 Android
535
-
536
- ## 2.9.12 (2021-02-15) REFACTOR
537
-
538
- ### Bug Fixes
539
-
540
- - Fix isDBOpen method Android
541
-
542
- ## 2.9.11 (2021-02-15) REFACTOR
543
-
544
- ### Added Features
545
-
546
- - isDBOpen method
547
-
548
- ## 2.9.10 (2021-02-14) REFACTOR
549
-
550
- ### Added Features
551
-
552
- - isConnection method
553
- - isDatabase method
554
- - getDatabaseList method
555
- - isTable method
556
- - addSQLiteSuffix method
557
- - deleteOldDatabases method
558
- - MigratingCordovaDatabases.md
559
-
560
- ### Bug Fixes
561
-
562
- - Fix Copy db from storage issue#77
563
- - Fix Is there a way to connect to a db file, that not has the prefix SQLite.db issue#79
564
- - Fix More precise error message on failing statements issue#82
565
-
566
- ## 2.9.9 (2021-02-01) REFACTOR
567
-
568
- ### Bug Fixes
569
-
570
- - Fix Android export 'Partial' triggers
571
-
572
- ## 2.9.8 (2021-02-01) REFACTOR
573
-
574
- ### Bug Fixes
575
-
576
- - Fix Data import where the ID is a UUID issue#75
577
- - Fix Can't create my own DB Trigger issue#76
578
-
579
- ## 2.9.7 (2021-01-30) REFACTOR
580
-
581
- ### Bug Fixes
582
-
583
- - Fix Compound primary Key when ImportFromJSON issue#71
584
- - Update ImportExportJson
585
-
586
- ## 2.9.6 (2021-01-24) REFACTOR
587
-
588
- ### Chore
589
-
590
- - Move to latest tag
591
-
592
- ### Bug Fixes
593
-
594
- - Fix isIdExists on Electron
595
- - Readme all links to apps and docs
596
-
597
-
598
- ## 2.9.5 (2021-01-20) REFACTOR
599
-
600
- ### Bug Fixes
601
-
602
- - importFromJson not working with REAL
603
-
604
- ## 2.9.4 (2021-01-17) REFACTOR
605
-
606
- ### Bug Fixes
607
-
608
- - Fix 'build-electron' missing before publish
609
- - update CHANGELOG
610
-
611
- ## 2.9.3 (2021-01-17) REFACTOR
612
-
613
- ### Move to Master
614
-
615
- ### Bug Fixes
616
-
617
- - Fix in definition.ts Since 2.4.9 in 2.9.0
618
- - Fix documentation links from 'refactor' to 'master'
619
- - update README and CHANGELOG
620
-
621
- ## 2.9.2 (2021-01-16) REFACTOR
622
-
623
- ### Bug Fixes
624
-
625
- - Fix issue#64 create UNIQUE Indexes with combined columns
626
- - update ImportExport documentation
627
- - update README and CHANGELOG
628
-
629
- ## 2.9.1 (2021-01-16) REFACTOR
630
-
631
- ### Bug Fixes
632
-
633
- - Fix issue#63 by removing encryption for Windows
634
- - update README and CHANGELOG
635
-
636
- ## 2.9.0 (2021-01-14) REFACTOR
637
-
638
- ### Chore
639
-
640
- - update to @capacitor/core@2.4.6
641
-
642
- ### Bug Fixes
643
-
644
- - remove Android permissions issue#60
645
- - update usage docs
646
- - update README and CHANGELOG
647
-
648
- ## 2.9.0-beta.3 (2021-01-05) REFACTOR
649
-
650
- ### Bug Fixes
651
-
652
- - fix Ionic-React-Usage.md documentation
653
- - fix Ionic-Vue-Usage.md documentation
654
- - update README and CHANGELOG
655
-
656
- ## 2.9.0-beta.2 (2021-01-04) REFACTOR
657
-
658
- ### Chore
659
-
660
- - update to @capacitor/core@2.4.5
661
-
662
- ### Added Features
663
-
664
- - Ionic-React-Usage.md documentation
665
- - Ionic-Vue-Usage.md documentation
666
- - copyFromAssets
667
-
668
- ### Bug Fixes
669
-
670
- - update README and CHANGELOG
671
-
672
- ## 2.9.0-beta.1 (2020-12-25) REFACTOR
673
-
674
- ### Added Features
675
-
676
- - importFromJson (Android, iOS, Electron)
677
- - exportToJson (Android, iOS, Electron)
678
- - isJsonValid (Android, iOS, Electron)
679
- - getSyncDate (Android, iOS, Electron)
680
-
681
- ### Bug Fixes
682
-
683
- - update README and CHANGELOG
684
-
685
- ## 2.9.0-alpha.7 (2020-12-14) REFACTOR
686
-
687
- ### Bug Fixes
688
-
689
- - Update the README and add a link to a Ionic/React app.
690
-
691
- ## 2.9.0-alpha.6 (2020-12-14) REFACTOR
692
-
693
- ### Chore
694
-
695
- - update to @capacitor/core@2.4.4
696
-
697
- ### Added Features Electron platform
698
-
699
- - createConnection
700
- - closeConnection
701
- - open (non-encrypted DB)
702
- - open (encrypted DB)
703
- - close
704
- - execute
705
- - executeSet
706
- - run
707
- - query
708
- - deleteDatabase
709
- - createSyncTable
710
- - setSyncDate
711
- - isDBExists
712
- - addUpgradeStatement
713
-
714
- ### Added Features All Platforms
715
-
716
- - in capSQLiteSet the values can be an any[] or any[][]
717
-
718
- ### Bug Fixes
719
-
720
- - Update the README and add a link to a Ionic/React app.
721
- - Update the API documentation
722
-
723
- ## 2.9.0-alpha.5 (2020-12-02) REFACTOR
724
-
725
- ### Added Features
726
-
727
- - retrieveConnection (Wrapper Connection)
728
- - retrieveAllConnections (Wrapper Connection)
729
- - closeAllConnections (Wrapper Connection)
730
-
731
- ### Bug Fixes
732
-
733
- - fix rollback transaction in iOS
734
-
735
- ## 2.9.0-alpha.4 (2020-11-29) REFACTOR
736
-
737
- ### Added Features iOS platform
738
-
739
- - createConnection
740
- - closeConnection
741
- - open (non-encrypted DB)
742
- - open (encrypted DB)
743
- - close
744
- - execute
745
- - executeSet
746
- - run
747
- - query
748
- - deleteDatabase
749
- - createSyncTable
750
- - setSyncDate
751
- - isDBExists
752
- - addUpgradeStatement
753
-
754
- ### Bug Fixes
755
-
756
- - Android addUpgradeStatement backup and restore
757
-
758
- ## 2.9.0-alpha.3 (2020-11-25) REFACTOR
759
-
760
- ### Added Features Android platform only
761
-
762
- - add addUpgradeStatement method
763
- - add createSyncTable method
764
- - add setSyncDate method
765
- - update refactor app
766
-
767
- ### Bug Fixes
768
-
769
- - creating database directory in physical device
770
- - app crash when querying non existing tables or columns
771
-
772
- ## 2.9.0-alpha.2 (2020-11-23) REFACTOR
773
-
774
- ### Chore
775
-
776
- - update to @capacitor/core@2.4.3
777
-
778
- ### Added Features Android platform only
779
-
780
- - add Wrappers documentation (APIConnection && APIDBConnection)
781
- - add `isDBExists`, `deleteDatabase` methods
782
-
783
- ## 2.9.0-alpha.1 (2020-11-22) REFACTOR
784
-
785
- ### Added Features Android platform only
786
-
787
- - createConnection method
788
- - closeConnection method
789
- - SQLiteConnection Interface & Class
790
- - SQLiteDBConnection Interface & Class
791
-
792
- ## 2.4.6 (2021-01-24)
793
-
794
- ### Chore
795
-
796
- - update to @capacitor/core@2.4.6
797
-
798
- - move it from tag latest to tag initial
799
-
800
- ## 2.4.5 (2021-01-13)
801
-
802
- ### Bug Fixes
803
-
804
- - Fix README and CHANGELOG
805
-
806
- ## 2.4.5-3 (2021-01-13)
807
-
808
- ### Bug Fixes
809
-
810
- - Fix Electron rebuild
811
-
812
- ## 2.4.5-2 (2021-01-13)
813
-
814
- ### Bug Fixes
815
-
816
- - Fix Permission request Android issue#60
817
- - Fix README and CHANGELOG
818
- - Fix API.md
819
-
820
- ## 2.4.5-1 (2021-01-05)
821
-
822
- ### Chore
823
-
824
- - update to @capacitor/core@2.4.5
825
-
826
- ### Bug Fixes
827
-
828
- - Fix README and CHANGELOG
829
-
830
- ## 2.4.4 (2020-12-26)
831
-
832
- ### Chore
833
-
834
- - update to @capacitor/core@2.4.4
835
-
836
- ### Bug Fixes
837
-
838
- - Fix README
839
- - Fix setSyncDate (iOS)
840
- - Fix exportToJson (Android)
841
- - Fix lastId to Int64 (iOS)
842
-
843
- ## 2.4.3 (2020-12-19)
844
-
845
- ### Bug Fixes
846
-
847
- - Fix issue#59 ExportToJson
848
-
849
- ## 2.4.3-1 (2020-11-23)
850
-
851
- ### Chore
852
-
853
- - update to @capacitor/core@2.4.3
854
-
855
- ### Bug Fixes
856
-
857
- - Fix issue#56 INSERT null value on iOS
858
-
859
- ## 2.4.2 (2020-11-22)
860
-
861
- - Stable release before looking at a refactor for solving issue#1
862
-
863
- ## 2.4.2-9 (2020-11-12)
864
-
865
- ### Added Features
866
-
867
- - Add Listener for request permissions (Android)
868
- - Add Vue and Ionic/Vue demonstrating apps
869
-
870
- ### Bug Fixes
871
-
872
- - Update documentation
873
-
874
- ## 2.4.2-8 (2020-10-22)
875
-
876
- ### Bug Fixes
877
-
878
- - Fix iOS plugin open bug
879
-
880
- ## 2.4.2-7 (2020-10-22)
881
-
882
- ### Added Features
883
-
884
- - Add addUpgradeStatement for version upgrade (Android)
885
-
886
- ### Bug Fixes
887
-
888
- - Fix README issue#47
889
-
890
- ## 2.4.2-6 (2020-10-16)
891
-
892
- ### Added Features
893
-
894
- - Add addUpgradeStatement for version upgrade (iOS & Electron)
895
- - Add UgradeDatabaseVersion.md documentation
896
-
897
- ## 2.4.2-5 (2020-10-08)
898
-
899
- ### Bug Fixes
900
-
901
- - Fix iOS plugin build failed
902
-
903
- ## 2.4.2-4 (2020-10-07)
904
-
905
- ### Bug Fixes
906
-
907
- - Fix Android Trigger on multi-lines
908
-
909
- ## 2.4.2-3 (2020-10-06)
910
-
911
- ### Added Features
912
-
913
- - Add docgen to generate API documentation
914
-
915
- - Add a trigger for last_modified in importFromJson method to update the last-modified field when a data in an another field is updated
916
-
917
- ### Bug Fixes
918
-
919
- - Split up capSQLiteOptions capSQLiteResult in multiple interfaces issue#4
920
-
921
- ## 2.4.2-2 (2020-09-29)
922
-
923
- ### Bug Fixes
924
-
925
- - Fix podspec file name (iOS)
926
-
927
- ## 2.4.2-1 (2020-09-29)
928
-
929
- ### Chores
930
-
931
- - Capacitor: update 2.4.2
932
-
933
- ### ### Added Features
934
-
935
- - The electron plugin is now compatible with @capacitor-community/electron
936
-
937
- ## 2.4.1-1 (2020-09-22)
938
-
939
- ### Bug Fixes
940
-
941
- - Fix Better permission request on Android issue#40
942
- - Update APIdocumentation.md, .gitignore & .npmignore
943
- - Fix bug in setSyncDate iOS & electron
944
-
945
- ## 2.4.0 (2020-08-07)
946
-
947
- ### Chores
948
-
949
- - Capacitor: update 2.4.0
950
-
951
- ### Bug Fixes
952
-
953
- - Fix Android sqlite3_close issue#36
954
- - Fix iOS encryption issue
955
-
956
- ## 2.4.0-beta.2 (2020-08-07)
957
-
958
- ### Bug Fixes
959
-
960
- - Fix iOS encryption issue
961
-
962
- ## 2.4.0-beta.1 (2020-08-07)
963
-
964
- ### Chores
965
-
966
- - Capacitor: update 2.4.0
967
-
968
- ### Bug Fixes
969
-
970
- - Fix Android sqlite3_close issue#36
971
-
972
- ## 2.3.0 (2020-08-03)
973
-
974
- - Publish from 2.3.0-beta3
975
-
976
- ## 2.3.0-beta3 (2020-08-03)
977
-
978
- ### Bug Fixes
979
-
980
- - Rewrite the iOS Plugin to pass through SwiftLint
981
-
982
- ## 2.3.0-beta.2 (2020-07-28)
983
-
984
- ### Bug Fixes
985
-
986
- - Fix iOS issues due to the move to capacitor-community
987
-
988
- ## 2.3.0-2 (2020-07-25)
989
-
990
- ### Added Features
991
-
992
- - add API documentation
993
- - modify ImportExportJson documentation
994
-
995
- ### Bug Fixes
996
-
997
- - Fix podspec file name
998
-
999
- ## 2.3.0-1 (2020-07-24)
1000
-
1001
- ### Ownership
1002
-
1003
- - give the ownership to capacitor-community
1004
- - rename the plugin from capacitor-sqlite to sqlite
1005
-
1006
- ### Chores
1007
-
1008
- - Capacitor: update 2.3.0
1009
-
1010
- ## 2.2.1-3 (2020-07-15)
1011
-
1012
- ### Bug Fixes
1013
-
1014
- - Fix issue#31 Android query value array types MUST be an Array
1015
-
1016
- ## 2.2.1-2 (2020-07-12)
1017
-
1018
- ### Bug Fixes
1019
-
1020
- - Fix issue#29 iOS exportToJson converting zero and empty string values to "NULL"
1021
-
1022
- ## 2.2.1-1 (2020-07-08)
1023
-
1024
- ### Chores
1025
-
1026
- - Capacitor: update 2.2.1
1027
-
1028
- ### Bug Fixes
1029
-
1030
- - Fix return changes in IOS plugin when FOREIGN KEY and ON DELETE CASCADE
1031
-
1032
- ## 2.2.0 (2020-07-07)
1033
-
1034
- ### Bug Fixes
1035
-
1036
- - Improve the readme
1037
-
1038
- ## 2.2.0-4 (2020-07-04)
1039
-
1040
- ### Bug Fixes
1041
-
1042
- - Fix issue#26, issue#27 in IOS plugin If an insert query fails, all subsequent database commands fail
1043
-
1044
- ## 2.2.0-3 (2020-06-25)
1045
-
1046
- ### Bug Fixes
1047
-
1048
- - Fix in IOS plugin the changes return in Run method (ON DELETE CASCADE)
1049
-
1050
- ## 2.2.0-2 (2020-06-24)
1051
-
1052
- ### Added Features
1053
-
1054
- - add Batch Execution with values (method executeSet)
1055
-
1056
- ## 2.2.0-1 (2020-06-16)
1057
-
1058
- ### Chores
1059
-
1060
- - Capacitor: update 2.2.0
1061
-
1062
- ## 2.1.0 (2020-06-16)
1063
-
1064
- ### Added Features
1065
-
1066
- - Add Capitalization characters in IOS table column names issue#25
1067
- - Add import in two steps table schema & indexes and table data to importFromJson
1068
-
1069
- ## 2.1.0-7 (2020-06-01)
1070
-
1071
- ### Bug Fixes
1072
-
1073
- - Fix issue#24
1074
-
1075
- ## 2.1.0-6 (2020-05-28)
1076
-
1077
- ### Bug Fixes
1078
-
1079
- - Fix issue#23
1080
- - Fix issue#22 index column value
1081
-
1082
- ## 2.1.0-5 (2020-05-26)
1083
-
1084
- ### Bug Fixes
1085
-
1086
- - Fix issue#22
1087
-
1088
- ## 2.1.0-4 (2020-05-24)
1089
-
1090
- ### Added Features
1091
-
1092
- - add FOREIGN KEY support in importFrom & exportTo Json
1093
-
1094
- ### Bug Fixes
1095
-
1096
- - Fix issue#20
1097
- - Fix issue#21
1098
-
1099
- ## 2.1.0-3 (2020-05-14)
1100
-
1101
- ### Chores
1102
-
1103
- - SQLCipher: update 4.4.0
1104
-
1105
- ### Bug Fixes
1106
-
1107
- - fix issue#17 Android importFromJson inserting a large amount of data
1108
-
1109
- ## 2.1.0-2 (2020-05-13)
1110
-
1111
- ### Bug Fixes
1112
-
1113
- - fix README
1114
-
1115
- ## 2.1.0-1 (2020-05-12)
1116
-
1117
- ### Chores
1118
-
1119
- - capacitor: update to capacitor 2.1.0
1120
-
1121
- ### Bug Fixes
1122
-
1123
- - fix issue#16: Electron Databases get deleted with app update
1124
-
1125
- ## 2.0.1-3 (2020-05-05)
1126
-
1127
- ### Bug Fixes
1128
-
1129
- - fix issue#15
1130
-
1131
- ## 2.0.1-2 (2020-04-30)
1132
-
1133
- ### Bug Fixes
1134
-
1135
- - fix the readme, test-angular-jeep-capacitor-plugins link
1136
-
1137
- ## 2.0.1-1 (2020-04-28)
1138
-
1139
- ### Chores
1140
-
1141
- - capacitor: update to capacitor 2.0.1
1142
-
1143
- ### Added Features
1144
-
1145
- - add method IsDBExists to check if a database already exists
1146
- - add method IsJsonValid to validate the Json Object before proceeding
1147
- - add method exportToJson to download a database full or partial
1148
- - add method createSyncTable to create a synchronization table
1149
- - add method setSyncDate to store a syncronization date for partial export
1150
-
1151
- ### Bug Fixes
1152
-
1153
- - the delete database for safety issue requires now to open the database first
1154
-
1155
- ## 2.0.0 (2020-04-21)
1156
-
1157
- ### Added Features
1158
-
1159
- - add upload of image (base64 string) to the database
1160
- - add the management of NULL in the importFromJson method
1161
- a NULL value as to be given with the "NULL" string
1162
- - add the lastId returned by the run method
1163
- changes is now a JSON object {changes:number,lastId:number}
1164
- - add the transaction (begin and commit) to the run method
1165
-
1166
- ### Bug Fixes
1167
-
1168
- - fix the changes return by the execute method
1169
-
1170
- ## 2.0.0-4 (2020-04-15)
1171
-
1172
- ### Added Features
1173
-
1174
- - add importFromJson method to IOS Platform
1175
-
1176
- ## 2.0.0-3 (2020-04-14)
1177
-
1178
- ### Added Features
1179
-
1180
- - add importFromJson method to Android Platform
1181
- - add importFromJson method to Electron Platform
1182
-
1183
- ## 2.0.0-2 (2020-04-10)
1184
-
1185
- ### Bug Fixes
1186
-
1187
- - Fix issue#6 commands return -1 when failure
1188
-
1189
- ## 2.0.0-1 (2020-04-09)
1190
-
1191
- ### Chores
1192
-
1193
- - capacitor: update to capacitor 2.0.0
1194
- - android: update to androidX
1195
-
1196
- ### Added Features
1197
-
1198
- - add a .gitignore file
1199
-
1200
- ## 1.5.3 (2020-04-06)
1201
-
1202
- ### Added Features
1203
-
1204
- - Add Electron Plugin based on sqlite3. Works only for non-encrypted databases
1205
-
1206
- ## 1.5.2 (2020-04-01)
1207
-
1208
- ### Chores
1209
-
1210
- - capacitor: update to capacitor 1.5.2
1211
-
1212
- ## 1.5.2-1 (2020-03-18)
1213
-
1214
- ### Bug Fixes
1215
-
1216
- - Fix Cursor not close in Android plugin
1217
-
1218
- ## 1.5.1 (2020-03-17)
1219
-
1220
- ### Bug Fixes
1221
-
1222
- - fix README link to applications
1223
-
1224
- ## 1.5.1-3 (2020-03-17)
1225
-
1226
- ### Bug Fixes
1227
-
1228
- - fix Plugin Name as CapacitorSQLite
1229
-
1230
- ## 1.5.1-2 (2020-03-17)
1231
-
1232
- ### Bug Fixes
1233
-
1234
- - fix interface PluginRegistry
1235
-
1236
- ## 1.5.1-1 (2020-03-17)
1237
-
1238
- ### Added Features
1239
-
1240
- - Undeprecating the npm package to allow user to load only this capacitor plugin in there applications (advise by the Ionic Capacitor team)
1241
-
1242
- ### Chores
1243
-
1244
- - @capacitor/cli: update to 1.5.1
1245
- - @capacitor/core: update to 1.5.1
1246
- - @capacitor/ios: update to 1.5.1
1247
- - @capacitor/android: update to 1.5.1