Dstore Versions Save

A data infrastructure framework, providing the tools for modelling and interacting with data collections and objects.

v1.2.1

4 years ago

Enhancements

  • Collection: add documentation on SimpleQuery nested property shorthand (#231)
  • Add documentation on GET response requirement for Rest store (#217)
  • Add information about item total to Request store documentation (#192)
  • Improve TypeScript experience with updates to package.json and dstore.d.ts (#209)
  • Update build configuration (package.js) for Dojo build tool (#240)

Bug fixes

  • Allow empty object to be passed to Collecton#filter() (#232)
  • DstoreAdapter: avoid mutating sort parameter so sort() works when called repeatedly (#184)
  • Store#emit: if storage.emit throws an error, log it instead of hiding it (#187)
  • SimpleQuery: only call array.sort if sort criteria are provided (#159)

v1.2.0

4 years ago

Enhancements

  • Support passing a function as the query in dstore/legacy/StoreAdapter (#215)
  • Improve performance of putSync in dstore/Memory (#227)
  • Add filtering to event notifications in dstore/Store (#188)
  • Add refresh method to dstore/RequestMemory (#106)

Bug fixes

  • Reject promise when fetch or put fail in dstore/Cache (#213)
  • Return object (instead of id) from put method in dstore/db/IndexedDB (#162)
  • Correctly handle idProperty in dstore/db/IndexedDB (#160)
  • Wait for 'complete' event to resolve promise for transactions in dstore/db/IndexedDB (#221)
  • Remove unused dependency in dstore/Store (#225)
  • Fix logic to pass result to caching store in add/put in dstore/Cache (#228)
  • Fix XHR query string for complex filters in dstore/Request (#121)

v1.1.2

6 years ago

Enhancements

  • Added TypeScript interfaces.
  • Added Model assignment to LocalDbs (#126)
  • Added select to the methods that are cached in Cache.
  • Improved performance of Cache. (#180)
  • Improved the Memory documentation. (#196)
  • Updated Request to allow the HTTP request call to be easily overridden. (#206)

Bug Fixes

  • Fixed the way Filter builds logical operators. (#123)
  • Fixed how SimpleQuery treats undefined in a compare. (#131)
  • Fixed how CSV unit tests handle end of line characters. (#132)
  • Updated StoreAdapter#fetch to always return a promise. (#124)
  • Fixed LocalDB unit test for IE. (#170)
  • Fixed how comparators are combined in SimpleQuery. (#189)
  • Fixed Cache#put to not always remove items before calling the base store's put method. (#117)
  • Fixed an issue in IndexedDB that could result in items being duplicated. (#195)
  • Fixed in issue in Trackable when using the beforeId option can result in an item being removed from the tracking caches. (#207)

v1.1.1

8 years ago

This release includes all of the fixes available in 1.0.3, plus:

  • Fixed the LocalDB store implementations to support models. (#126)

v1.0.3

8 years ago
  • Fixed Csv's serialization of non-string values.
  • Updated Request to tolerate receiving an empty response to PUT calls. (#104)
  • Fixed Request to retrieve total from data after parsing it. (#113)
  • Fixed StoreAdapter to always return promises from fetch and fetchRange. (#124)
  • Made SimpleQuery sort null and undefined values consistently. (#131)
  • Fixed Csv tests to pass on all platforms regardless of newline format. (#132)

Additionally, dstore's license has been simplified to simply use the "New" (3-clause) BSD license.

v1.1.0

9 years ago

Several new features:

  • New LocalDB stores, implementing dstore API with complex querying functionality, including stores:
    • IndexedDB, SQL, and LocalStorage
  • New contains filter operator for matching array values
  • New select query method for selecting certain properties from results
  • Support for cross-store "relational" querying"

This release also includes refinements to query result handling.

v1.0.2

9 years ago

Several fixes for ensuring fetch results are returned in the correct form:

  • Trackable fetch() results should now properly preserve totalLength, issue #97 7064a1c, 380e1eb
  • Properly return query results, with totalLength as a promise, from DstoreAdapter regardless of options provided fd3d734
  • Ensuring that add/put return a promise for read-only master stores 9a4a777

Thanks to @kfranqueiro and @edhager for help with these issues.

v1.0.1

9 years ago
  • Various documentation improvements and fixes
  • Fix sorting with dates and nulls #78
  • Fix forEach callback arguments #39
  • Add license file #84
  • Remove fixed dependency on rql package #64

v1.0.0

9 years ago

dstore builds upon the dojo store architecture with numerous API and implementation improvements, including:

  • A selection of useful stores including Memory, RequestMemory, and Rest
  • Query encapsulation - each query method returns a collection representing the query
  • Advanced filtering - filters can be composed using different conditions and conjunctions for use across stores
  • Modeling support - collection results can be provided as modeled objects
  • Trackable collections over multiple, paged result sets
  • Caching of queries and individual objects
  • A sensible hierarchical collection implementation via the Tree mixin
  • Adapters to and from the dojo/store API
  • All operational methods return promises (and have *Sync equivalence if available)