Releases: crkn-rcdr/kivik
Releases · crkn-rcdr/kivik
v2.0.0-alpha.9
- Improved TypeScript generics (#65)
v2.0.0-alpha.8
kivik deploy local
deploys to a running Kivik instance, unless a deployment with keylocal
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 thelocal.fixtures
forkivik deploy local
) when deploying.instance.deployDb(db: string, suffix?: string)
lets test suites deploy one database at a time.
v2.0.0-alpha.7
- New CLI invocations:
kivik start
,kivik watch
,kivik stop
.kivik inspect
,kivik dev
andkivik instance
are aliases ofkivik watch
, and nothing particularly new happens if you keep using those like you used to.kivik start
andkivik 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 theattach
boolean which causes it to attach to a running instance instead of creating a new one. Ifattach === false
,createInstance
will throw an exception if an instance is already running.
v2.0.0-alpha.6
- Dependency upgrade. Nano instances use one socket at a time, for safety.
v2.0.0-alpha.5
- 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 aninstance
object.- You can turn off deploying fixtures in this mode by setting
"fixtures": false
(#52)
- You can turn off deploying fixtures in this mode by setting
kivik fixtures
: Test whether your database fixtures validate.- CommonJS modules in
${db}/design/${ddoc}/lib/*.js
get added to thelib
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
- 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
- Validation checks subdirectories of
schemas/
for JSON files - Database schemas found in
$DB/schema.json
are the only ones that can be referenced bygetValidator
v2.0.0-alpha.2
kivik validate
positional arguments are saved
v2.0.0-alpha.1
kivik inspect
actually deploys Couch config
v2.0.0-alpha.0
Just about everything has changed. See the README for more information.