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

Releases: withspectrum/rethinkdb-inspector

v0.3.1: Hotfix size calculation

Choose a tag to compare

@mxstbr mxstbr released this 08 Nov 10:28
460a015

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

Choose a tag to compare

@mxstbr mxstbr released this 08 Nov 09:39
c854e0a

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

Choose a tag to compare

@mxstbr mxstbr released this 29 Oct 12:10
c8f2519

Add onQueryComplete callback to get performance information from queries! 🎉

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

The First Release

Choose a tag to compare

@mxstbr mxstbr released this 14 Oct 14:38
b0eba9d

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

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