Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Releases: withspectrum/rethinkdb-inspector

v0.3.1: Hotfix size calculation

08 Nov 10:28
460a015
Compare
Choose a tag to compare

The module I used for the size calculation introduced in 0.3.1 handled complex objects very badly and crashed most of the time. (or went into an infinite loop)

This patch hotfixes it by just using JSON.stringify.

v0.3.0: New onQueryComplete API, add size information

08 Nov 09:39
c854e0a
Compare
Choose a tag to compare

onQueryComplete now has a new API which returns an object as the second argument to the callback, and also returns the size information of the response from the database:

inspect(r, {
  onQueryComplete: (query, { size, time }) => {
    console.log(query, size, time);
  }
})

This will allow for more extensibility in the future.

v0.2.0: onQueryComplete

29 Oct 12:10
c8f2519
Compare
Choose a tag to compare

Add onQueryComplete callback to get performance information from queries! 🎉

inspect(r, {
  onQueryComplete: (query, time) => {
    console.log(query, time);
  },
});

The First Release

14 Oct 14:38
b0eba9d
Compare
Choose a tag to compare

rethinkdb-inspector is alive! This initial release supports one callback, onQuery:

inspect(r, {
  onQuery: (query) => {
    console.log(query);
  }
})