github dexie/Dexie.js v3.0.3
Dexie v3.0.3

latest releases: v4.0.0-alpha.4, v3.0.4, v4.0.0-alpha.3...
3 years ago

Changes since 3.0.2

This release contains fixes that improves error resilience, typing correctness and bug fixes for some edge cases.

Typing fixes

  • Fix Table.bulkGet return typing to include undefined #1098
  • Allow readonly arrays for bulk put & get methods #1106
  • Use error keys insted of values for typescript #1115

NOTE: Conditional types is now being used in dist/dexie.d.ts. If you are on an ancient typescript version (below 2.8) you will need to update typescript in your dev deps!

Improvements

  • Verify schema on open #1108
  • Repro + resolve issue #1112: typescript declaration of id makes autoInc fail #1119
  • #1136: Allow declaration-only tables for TS users

Bugfixes

  • Allow middleware hooks to return objects that contained field names that contain dotted strings #1130
  • Resolve #1127 #1131
  • #1146: Resolve #1145 Regression: SchemaError during version upgrade
  • Bugfix of #1154 (PR #1155): WhereClause.equals(undefined) should fail, but it does not fail in dexie 3.0.0-3.0.2. It behaved correctly in dexie 2.x so it's a regression. It is important that libraries fail on invalid arguments so that subtle application bugs are nailed down more easily.

Addons

  • Issue 1048 Typings of addons for Dexie 3.0 #1117
    The addons are released with the "next" tag on npm, so please test them and help me verify that #1048 is solved:
    npm i dexie-observable@3.0.0-beta.9
    npm i dexie-syncable@3.0.0-beta.9
    
  • #1138: Dexie.Observable: startObserving function: remove read-only query in order to avoid TransactionInactiveError
  • Bugfix of #1148 (PR #1149).

Don't miss a new Dexie.js release

NewReleases is sending notifications on new releases.