Releases: Meteor-Community-Packages/ground-db
v2.1.3
What's Changed
- fixes #220 changed .remove hashMap to .delete by @salmanhasni in #223
Full Changelog: v2.1.1...v2.1.3
v2.1.1
What's Changed
- Bump tough-cookie and semantic-release by @dependabot in #219
- Bump follow-redirects and semantic-release by @dependabot in #218
- Bump parse-url and semantic-release by @dependabot in #217
- fixes #220 by @salmanhasni in #221
New Contributors
- @dependabot made their first contribution in #219
- @salmanhasni made their first contribution in #221
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- Remove underscore, update localforge to 1.7.3 and raix:eventstate to 0.0.5 by @CaptainN in #211
- remove method handle multiple doc removes by @brucejo75 in #209
- Remove eventstate by @CaptainN in #213
- Add Meteor 2.3 as a build target @StorytellerCZ
New Contributors
- @CaptainN made their first contribution in #211
- @brucejo75 made their first contribution in #209
- @StorytellerCZ made their first contribution
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Added better compression and more tests
This feature enables features recently added to the ground:dictionary and ground:minimax.
The dictionary is upgraded to allow the Date
object as values. Now why is that important?
So Ground db rely on Minimax to compress the data, allowing more data in local storage. The Date fix allows Minimax to scan progressively meaning it now also adds values to the keyword dictionary.
Minimax was added a feature to have an initial dictionary, this will not be stored by Minimax since this is constant, by default false
, true
, null
, undefined
is added. Ground db adds _id
, createdAt
, createdBy
, updatedAt
, updatedBy
to the database dictionary.
Looking at typical data much of the data is repeated like dates, ids and so on - for typical data the progressive mode will compress date better than before.
The ground db it self has improved in some areas like method resume - this is now much more fine-grained pr. connection. And the ground:stubfence solves some issues where data got added on reloads - because the method stubs ran again and could mutate data.
Scope has changed! The old GroundDB
is now Ground.Collection
The grounddb
object is now placed as an object on the collection instance.
The returned collection is an event emitter making event hook integrations much easier - events are changed
, sync
, cache
, cached
, method
, methodcall
, flush
, error
, resume
, resumed
.
The ground:test package is also supported now - The enables the automated qa test to integrate and give more detailed debugging details. Running ground db to run in a multi client / server test environment allows for some more complex scenarios - making the released versions less likely to break.