Skip to content

Releases: crkn-rcdr/kivik

v2.0.0-alpha.9

12 Apr 15:02
Compare
Choose a tag to compare
v2.0.0-alpha.9 Pre-release
Pre-release
  • Improved TypeScript generics (#65)

v2.0.0-alpha.8

08 Apr 20:58
c5bca03
Compare
Choose a tag to compare
v2.0.0-alpha.8 Pre-release
Pre-release
  • kivik deploy local deploys to a running Kivik instance, unless a deployment with key local exists in the RC file.
  • kivik start does not deploy by default.
  • RC file deployments can set a fixtures flag to determine if deployments should also deploy fixtures. This is false by default.
  • kivik deploy checks this flag (as well as the local.fixtures for kivik deploy local) when deploying.
  • instance.deployDb(db: string, suffix?: string) lets test suites deploy one database at a time.

v2.0.0-alpha.7

08 Apr 17:51
21eaea0
Compare
Choose a tag to compare
v2.0.0-alpha.7 Pre-release
Pre-release
  • New CLI invocations: kivik start, kivik watch, kivik stop. kivik inspect, kivik dev and kivik instance are aliases of kivik watch, and nothing particularly new happens if you keep using those like you used to. kivik start and kivik stop start and stop the Kivik instance in the background.
  • Log output has changed a bit. The new CLI option --log-timestamp toggles whether or not a timestamp is displayed.
  • Use Kivik.getInstance(directory: string, config?: InstanceConfig) to interface with a running instance programmatically.
  • Kivik.createInstance(directory: string, attach?: boolean, config?: InstanceConfig) accepts the attach boolean which causes it to attach to a running instance instead of creating a new one. If attach === false, createInstance will throw an exception if an instance is already running.

v2.0.0-alpha.6

06 Apr 20:56
Compare
Choose a tag to compare
v2.0.0-alpha.6 Pre-release
Pre-release
  • Dependency upgrade. Nano instances use one socket at a time, for safety.

v2.0.0-alpha.5

31 Mar 15:17
Compare
Choose a tag to compare
v2.0.0-alpha.5 Pre-release
Pre-release
  • Big TypeScript rewrite.
  • BREAKING CHANGE: new RC file configuration, and a bunch of command-line options no longer work. See the README for details.
  • RC file is read when invoking Kivik programmatically. (#46)
  • kivik dev (a.k.a. kivik instance, a.k.a. kivik inspect) listens for changes you make to Kivik files and redeploys them.
  • kivik dev config is handled in the RC file, in an instance object.
    • You can turn off deploying fixtures in this mode by setting "fixtures": false (#52)
  • kivik fixtures: Test whether your database fixtures validate.
  • CommonJS modules in ${db}/design/${ddoc}/lib/*.js get added to the lib view of that design doc and can be referenced in other design doc functions. Kivik will follow symlinks for these (and anything else). (#3)

v2.0.0-alpha.4

10 Mar 01:00
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release
  • Incorporates the new @crkn-rcdr/nano package
  • De-opinionates Kivik when it comes to validation. Supply any old function that returns a boolean (or an object where the valid property is a boolean) and Kivik will validate things based on that.

v2.0.0-alpha.3

23 Feb 22:41
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release
  • Validation checks subdirectories of schemas/ for JSON files
  • Database schemas found in $DB/schema.json are the only ones that can be referenced by getValidator

v2.0.0-alpha.2

22 Feb 17:16
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release
  • kivik validate positional arguments are saved

v2.0.0-alpha.1

22 Feb 17:13
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release
  • kivik inspect actually deploys Couch config

v2.0.0-alpha.0

19 Feb 20:46
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release

Just about everything has changed. See the README for more information.