A data infrastructure framework, providing the tools for modelling and interacting with data collections and objects.
Collection
: add documentation on SimpleQuery
nested property shorthand (#231)Rest
store (#217)Request
store documentation (#192)package.json
and dstore.d.ts
(#209)package.js
) for Dojo build tool (#240)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)dstore/legacy/StoreAdapter
(#215)putSync
in dstore/Memory
(#227)dstore/Store
(#188)refresh
method to dstore/RequestMemory
(#106)fetch
or put
fail in dstore/Cache
(#213)put
method in dstore/db/IndexedDB
(#162)idProperty
in dstore/db/IndexedDB
(#160)dstore/db/IndexedDB
(#221)dstore/Store
(#225)add
/put
in dstore/Cache
(#228)dstore/Request
(#121)Enhancements
Cache
.Cache
. (#180)Memory
documentation. (#196)Request
to allow the HTTP request call to be easily overridden. (#206)Bug Fixes
Filter
builds logical operators. (#123)SimpleQuery
treats undefined
in a compare. (#131)StoreAdapter#fetch
to always return a promise. (#124)LocalDB
unit test for IE. (#170)SimpleQuery
. (#189)Cache#put
to not always remove items before calling the base store's put method. (#117)IndexedDB
that could result in items being duplicated. (#195)Trackable
when using the beforeId
option can result in an item being removed from the tracking caches. (#207)This release includes all of the fixes available in 1.0.3, plus:
LocalDB
store implementations to support models. (#126)Csv
's serialization of non-string values.Request
to tolerate receiving an empty response to PUT calls. (#104)Request
to retrieve total
from data after parsing it. (#113)StoreAdapter
to always return promises from fetch
and fetchRange
. (#124)SimpleQuery
sort null and undefined values consistently. (#131)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.
Several new features:
contains
filter operator for matching array valuesselect
query method for selecting certain properties from resultsThis release also includes refinements to query result handling.
Several fixes for ensuring fetch results are returned in the correct form:
fetch()
results should now properly preserve totalLength
, issue #97 7064a1c, 380e1ebtotalLength
as a promise, from DstoreAdapter regardless of options provided fd3d734Thanks to @kfranqueiro and @edhager for help with these issues.
dstore builds upon the dojo store architecture with numerous API and implementation improvements, including: