Skip to content

Latest commit

 

History

History
401 lines (261 loc) · 15.4 KB

CHANGES.md

File metadata and controls

401 lines (261 loc) · 15.4 KB

Changes

cordova-sqlite-legacy 3.0.0

  • Use #if 0 for __has_feature(objc_arc) blocks (iOS)
  • SQLite 3.26.0 with build flag & other updates, using [email protected] (BLOB values are no longer automatically converted to Base64 format, as documented)
  • Rename SQLite3.UWP to SQLite3.UWP-legacy in this plugin version

cordova-sqlite-legacy 2.0.2

  • SQLITE_DEFAULT_SYNCHRONOUS=3 on iOS/macOS/Windows
cordova-sqlite-legacy-core 1.0.7
  • Add error info text in case of close error on Windows
  • Signal INTERNAL ERROR in case of attempt to reuse db on Windows (should never happen due to workaround solution to BUG 666)
  • SQLITE_DEFAULT_CACHE_SIZE build flag fix for macOS ("osx") and Windows
cordova-sqlite-legacy-express-core 1.0.5
  • iOS/macOS @synchronized guard for sqlite3_open operation
  • Signal INTERNAL ERROR in case of attempt to reuse db (Android/iOS) (should never happen due to workaround solution to BUG 666)

cordova-sqlite-legacy 2.0.1

cordova-sqlite-legacy 2.0.0

  • New cordova-sqlite-legacy plugin version branch based on cordova-sqlite-ext (0.10.7), with support added for Windows 8.1 and Windows Phone 8.1

cordova-sqlite-ext 0.10.7

  • cordova-sqlite-ext build flag fixes:
    • SQLite (3.15.2) build with SQLITE_THREADSAFE=2 on iOS as well as macOS to avoid possible malformed database due to multithreaded access ref: storesafe/cordova-sqlite-storage#703
    • Suppress warnings when building sqlite3.c on iOS/macOS
    • Some additional iOS build flag updates in this plugin version
cordova-sqlite-legacy-core 1.0.6
cordova-sqlite-legacy-express-core 1.0.4
  • Cleaned up workaround solution to BUG 666: close db before opening (ignore close error)
  • android.database end transaction if active before closing (needed for new BUG 666 workaround solution to pass selfTest in case of builtin android.database implementation)
cordova-sqlite-legacy-core 1.0.5
cordova-sqlite-legacy-express-core 1.0.3
cordova-sqlite-legacy-core 1.0.4
  • New workaround solution to BUG 666: close db before opening (ignore close error)
cordova-sqlite-legacy-core 1.0.3
  • Suppress warnings when building sqlite3.c & PSPDFThreadSafeMutableDictionary.m on iOS/macOS

cordova-sqlite-ext 0.10.6

  • SQLite 3.15.2 build with SQLITE_THREADSAFE=2 on macOS ONLY (SQLITE_THREADSAFE=1 on Android/iOS/Windows) and other flag fixes in this plugin version
cordova-sqlite-legacy-core 1.0.2
  • Fix log in case of transaction waiting for open to finish; doc fixes
  • Windows 10 (UWP) build with /SAFESEH flag on Win32 (x86) target
cordova-sqlite-legacy-express-core 1.0.2
cordova-sqlite-legacy-express-core 1.0.1
  • Fix bug 666 workaround to trigger ROLLBACK in the next event tick (needed to support version with pre-populated database on Windows)
cordova-sqlite-legacy-express-core 1.0.0
  • Workaround solution to BUG storesafe/cordova-sqlite-storage#666 (hanging transaction in case of location reload/change)
  • selfTest simulate scenario & test solution to BUG storesafe/cordova-sqlite-storage#666 (also includes string test and test of effects of location reload/change in this version branch, along with another internal check)
  • Drop engine constraints in package.json & plugin.xml (in this version branch)
  • Remove Lawnchair adapter from this version branch
  • Support macOS platform with builtin libsqlite3.dylib framework in this version branch

cordova-sqlite-ext 0.10.5

  • Part of openDatabase in nextTick as a hack to solve problem with workaround solution to storesafe/cordova-sqlite-storage#666 & pre-populated database on Windows
  • Completely remove engine constraints from package.json in this version branch
cordova-sqlite-legacy-express-core 1.0.0

cordova-sqlite-ext 0.10.4

cordova-sqlite-storage 1.5.2

  • Check transaction callback functions to avoid crash on Windows
  • Fix echoTest callback handling
  • Fix openDatabase/deleteDatabase exception messages
  • Move Lawnchair adapter to a separate project
  • Doc updates

cordova-sqlite-ext 0.10.3

cordova-sqlite-ext-common 0.1.0

  • BASE64 support

cordova-sqlite-ext-common 0.0.1

  • REGEXP for Android/iOS/macOS using sqlite3-regexp-cached
  • Build with sqlite 3.15.2, with the following settings:
    • SQLITE_TEMP_STORE=2
    • SQLITE_THREADSAFE=1
    • SQLITE_ENABLE_FTS3
    • SQLITE_ENABLE_FTS3_PARENTHESIS
    • SQLITE_ENABLE_FTS4
    • SQLITE_ENABLE_RTREE
    • SQLITE_OMIT_BUILTIN_TEST
    • SQLITE_OMIT_LOAD_EXTENSION
    • SQLITE_DEFAULT_PAGE_SIZE=1024 and SQLITE_DEFAULT_CACHE_SIZE=2000 to avoid "potentially distruptive change(s)" from SQLite 3.12.0 ref: http://sqlite.org/pgszchng2016.html
    • SQLITE_OS_WINRT for Windows only

cordova-sqlite-storage 1.5.1

  • Add engines rule to package.json to specify plugin version >= 2.0.0 in case of cordova-windows 4.4.2 or newer for Visual Studio 2017 (Preview)

cordova-sqlite-storage 1.5.0

  • Build with sqlite 3.15.1, with the following settings:
    • SQLITE_TEMP_STORE=2
    • SQLITE_THREADSAFE=2
    • FTS3, FTS4, and R-Tree enabled
    • SQLITE_DEFAULT_PAGE_SIZE=1024 and SQLITE_DEFAULT_CACHE_SIZE=2000 to avoid "potentially distruptive change(s)" from SQLite 3.12.0 ref: http://sqlite.org/pgszchng2016.html
  • Drop support for Windows 8.1 & Windows Phone 8.1

cordova-sqlite-storage 1.4.9

  • Minor JavaScript fix (generated by CoffeeScript 1.11.1)
  • Update test due to issue with u2028/u2029 on cordova-android 6.0.0
  • doc fixes
  • Cleanup plugin.xml: remove old engine constraint that was already commented out
  • Fix LICENSE.md

cordova-sqlite-ext 0.10.2

cordova-sqlite-storage 1.4.8

  • selfTest function add string test and test of effects of location reload/change
  • Support macOS ("osx" platform)
  • Signal an error in case of SQL with too many parameter argument values on iOS (in addition to Android & Windows)
  • Include proper SQL error code on Android (in certain cases)
  • Fix reporting of SQL statement execution errors in Windows version
  • Fix Windows version to report errors with a valid error code (0)
  • Some doc fixes

cordova-sqlite-storage 1.4.7

  • Minor JavaScript fixes to pass @brodybits/Cordova-sql-test-app

cordova-sqlite-storage 1.4.6

  • Stop remaining transaction callback in case of an error with no error handler returning false
  • Expand selfTest function to cover CRUD with unique record keys
  • Fix readTransaction to reject ALTER, REINDEX, and REPLACE operations
  • Fix Windows 10 ARM Release Build of SQLite3 by disabling SDL check (ARM Release only)
  • Fix Windows 8.1/Windows Phone 8.1 Release Build of SQLite3 by disabling SDL check
  • Some documentation fixes

cordova-sqlite-ext 0.10.1

cordova-sqlite-storage 1.4.5

  • Log/error message fixes; remove extra qid from internal JSON interface

cordova-sqlite-storage 1.4.4

  • Fix readTransaction to reject modification statements with extra semicolon(s) in the beginning
  • Announce new Cordova-sqlite-evcore-extbuild-free version
  • Additional tests
  • Other doc fixes

cordova-sqlite-storage 1.4.3

  • Handle executeSql with object sql value (solves another possible crash on iOS)

cordova-sqlite-storage 1.4.2

  • Fix sqlitePlugin.openDatabase and sqlitePlugin.deleteDatabase to check location/iosDatabaseLocation values
  • Fix sqlitePlugin.deleteDatabase to check that db name is really a string (prevents possible crash on iOS)
  • Fix iOS version to use DLog macro to remove extra logging from release build
  • Fix Lawnchair adapter to use new mandatory "location" parameter
  • Remove special handling of Blob parameters, use toString for all non-value parameter objects
  • Minor cleanup of Android version code

cordova-sqlite-storage 1.4.1

  • Minimum Cordova version no longer enforced in this version

cordova-sqlite-storage 1.4.0

  • Now using cordova-sqlite-storage-dependencies for SQLite 3.8.10.2 Android/iOS/Windows
  • Android-sqlite-connector implementation supported by this version again
  • Enforce minimum cordova-windows version (should be OK in Cordova 6.x)
  • Support Windows 10 along with Windows 8.1/Windows Phone 8.1

cordova-sqlite-ext 0.10.0

  • Code to read BLOB data fixed and enabled for iOS version (as well as Android version)
  • Now using cordova-sqlite-ext-deps for SQLite 3.8.10.2 Android/iOS/Windows
  • Enforce minimum cordova-windows version (should be OK in Cordova 6.x)

cordova-sqlite-storage 1.2.2

  • Self-test function to verify ability to open/populate/read/delete a test database

cordova-sqlite-storage 1.2.1

  • Close Android SQLiteStatement after INSERT/UPDATE/DELETE
  • Specify minimum Cordova version 6.0.0
  • Lawnchair adapter fix: Changed remove method to work with key array

cordova-sqlite-ext 0.9.1

  • Support Windows 8.1/Windows Phone 8.1 along with Windows 10
  • Fix PCH issue with Debug Win32 UWP (Windows 10) build

cordova-sqlite-storage 1.2.0

  • Rename Lawnchair adapter to prevent clash with standard webkit-sqlite adapter
  • Support location: 'default' setting in openDatabase & deleteDatabase

cordova-sqlite-storage 0.8.5

  • More explicit iosDatabaseLocation option
  • iOS database location is now mandatory
  • Split-up of some more spec test scripts

cordova-sqlite-ext 0.9.0-prep

  • Mark upcoming BREAKING CHANGES to openDatabase parameters

NOTICE: 0.8.6 release was published to npm based on the wrong branch and is withdrawn, to be completely superseded by the 0.9.* release.

cordova-sqlite-ext 0.8.4

  • Introduce Windows 10 UWP build (Windows 8.1 and Windows Phone 8.1 build disabled)

cordova-sqlite-ext 0.8.3

cordova-sqlite-storage 0.8.2

cordova-sqlite-ext 0.8.1

  • Fix pre-populated database for Windows 8.1(+)/Windows Phone 8.1(+)
  • Separate SQLiteConnectorDatabase class for Android
  • Renamed SQLiteProxy.js to sqlite-proxy.js in Windows version

cordova-sqlite-storage 0.8.0

  • Simple sql batch transaction function
  • Echo test function
  • Remove extra runInBackground: step from iOS version
  • Java source of Android version now using io.sqlc package

cordova-sqlite-ext 0.8.0

  • Support REGEXP on Android using PCRE (8.37)
  • Support REGEXP for iOS included
  • Support pre-populated database for Windows "Universal" (BROKEN)

0.7.15-pre

  • All iOS operations are now using background processing (reported to resolve intermittent problems with [email protected])
  • Java source of Android version now using io.sqlc package
  • Drop WP(8) support

0.7.14

  • REGEXP support completely removed from this version branch
  • Remove src/android/libs/.gitignore (inadvertently added in 0.7.13)

0.7.13

  • REGEXP support partially removed from this version branch
  • Rename Windows C++ Database close function to closedb to resolve conflict for Windows Store certification
  • Android version with sqlite 3.8.10.2 embedded (with error messages fixed)
  • Pre-populated database support removed from this version branch
  • Amazon Fire-OS support removed
  • Fix conversion warnings in iOS version

0.7.12

  • Fix to Windows "Universal" version to support big integers
  • Implement database close and delete operations for Windows "Universal"
  • Fix readTransaction to skip BEGIN/COMMIT/ROLLBACK

0.7.11

  • Fix plugin ID in plugin.xml to match npm package ID
  • Unpacked sqlite-native-driver.so libraries from jar
  • Fix conversion of INTEGER type (iOS version)
  • Disable code to read BLOB as Base-64 (iOS version) due to https://issues.apache.org/jira/browse/CB-9638

0.7.10

  • Use Android-sqlite-connector instead of sqlite4java

0.7.9

  • Build iOS and Windows versions with sqlite 3.8.10.2 embedded
  • Fix plugin id to match npm package id

0.7.8

  • Support FTS3/FTS4 and R-Tree in iOS and Windows "Universal" (8.1) versions
  • Build ARM target with Function Level Linking ref: http://www.monkey-x.com/Community/posts.php?topic=7739
  • SQLite3.Windows.vcxproj and SQLite3.WindowsPhone.vcxproj in their own directories to avoid problems due to temporary files

0.7.7

  • include build of sqlite4java for Android x86_64 and arm-64
  • clean publish to plugins.cordova.io

0.7.6

  • Small fix to plugin id
  • Disable use of gethostuuid() in sqlite3.c (only used in iOS version)
  • published to plugins.cordova.io - [BUG] published extra junk in workarea, causing problems with Windows (Universal) version

0.7.5

  • Windows (Universal) version now supports both Windows 8.1 and Windows Phone 8.1
  • iOS and Windows versions are now built with sqlite 3.8.9 embedded
  • Improved locking style and other optimizations applied for iOS version

0.7.4

  • iOS and Windows (8.1) versions built to keep non-essential temporary sqlite files in memory
  • Option to use legacy Android database library, with Android locking/closing issue (BUG #193) workaround included again

0.7.3

  • insertId & rowsAffected implemented for Windows (8.1)
  • plugin id changed

0.7.2

  • Android version with sqlite4java (sqlite 3.8.7 embedded), which solves BUG #193: Android closing/locking issue (ICU-UNICODE integration is now missing)
  • iOS version fixed to override the correct pluginInitialize method and built with sqlite 3.8.8.3 embedded

0.7.1

  • Project renamed
  • Initial version for Windows (8.1) [with sqlite 3.8.8.3 embedded]
  • Abort initially pending transactions for db handle (due to incorrect password key, for example) [from Cordova-sqlcipher-storage]
  • WP7 build enabled (NOT TESTED)

1.0.6

  • Proper handling of transactions that may be requested before the database open operation is completed
  • Report an error upon attempt to close a database handle object multiple times.

1.0.5

  • Workaround for Android db locking/closing issue
  • Fix double-precision REAL values in result (iOS version)
  • Fix query result truncation in case of NULL character (\0 or \u0000) (iOS version)
  • Convert array SQL parameters to string, according to match Web SQL spec
  • Fix closing of Android database
  • Some fixes for SQL API error handling to be consistent with Web SQL

1.0.4

  • Pre-populated database option (Android/iOS)
  • Option to select database location to disable iCloud backup (iOS ONLY)
  • Safeguard against closing of database while transaction is pending
  • Fix to prevent double marshaling of data

1.0.3

  • Fixed issue with multi-page apps on Android (due to problem when closing & re-opening app)

1.0.2

  • Workaround for issue with multiple UPDATE statements WP(8) (#128)

1.0.1

  • Support Cordova 3.3.0/3.4.0 to support Amazon-FireOS
  • Fixes for WP(8):
    • use one thread per db to solve open/close/delete issues
    • fix integer data binding
  • Fix open/close callbacks Android & WP(8)
  • Resolve issue with INSERT OR IGNORE (Android)