Wilt is based on the lightweight SAG PHP CouchDB library available here. Users of this library should recognise the structure of Wilt easily. A common processing body is specialised by the use of browser(dart:html) or server(dart:io) HTTP adapters to allow operation in the browser or the server.
Wilt implements the document/attachment/database storage and manipulation interfaces of SAG along with the utility functions such as get session information etc. It does not directly implement the manipulation of design documents, clients however can manipulate these items by constructing their own URL's and using the basic httpRequest method.
Asynchronicity through the HTTP adapter is provided by the use of a standard Dart futures based interface or by using client supplied completion callbacks.
Authentication is provided using the Basic HTML method, cookie authentication is not supported, see the CouchDB_and CORS.txt document in the doc directory for more details here.
Wilt is a fully functional standalone library, however it is envisaged that higher level client specific application layers will be wrapped around Wilt to add specific CouchDB response parsing as Wilt returns JSON Objects(or strings) to the client. It has no knowledge of correct/incorrect responses such as conflict errors for instance, i.e it has no real CouchDB intelligence other than supplying success or error responses from its HTTP interface adapter.
Please read the STARTHERE.txt document in the docs directory for more detailed information.
Numerous examples of Wilt usage in both browser and server environments are coded as tests in the unit test suite under the test directory. Please read the Testing.txt document in doc/testing for further details.
Strong mode updates, switch to json_object_lite. Major test refactor Wilt now compiles under the dev compiler, tests factored into common and platform specific.
Update to latest packages/Dart environment. Retire the completion tests.
Issues 15, 21, 22 and 23.
Update to latest HTTP package
Issue 17, CouchDb 1.6.1 updates
Updates for Issues 13, 11 and 14
Updates for Dart V1.5.3, all tests running.
Issues 8 and 9, this makes Wilt both Browser and Server capable
Issue 7 fixed
Issue 6 fixed
Issue 5 fixed
Issues 3 and 4 fixed.
Standalone attachments added Change notification interface added
Updated for Dart 1.0 release Unit tests now use expectAsync0(() Native adapter success/error response hardening Various bugs NOTE - No API changes.
API docs generated
Updated to use dart:convert
Add this to your package's pubspec.yaml file:
dependencies: wilt: ^3.4.0
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|4.0.1||Sep 3, 2018|
|4.0.0||Sep 3, 2018|
|3.4.1||Apr 2, 2018|
|3.4.0||Dec 13, 2017|
|3.3.0||Jul 19, 2017|
|3.2.0||Nov 26, 2015|
|3.1.2||Nov 5, 2015|
|3.1.1||Aug 24, 2015|
|3.1.0||Sep 4, 2014|
|3.0.0||Mar 12, 2014|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.
|Dart SDK||>=1.0.0 <2.0.0-dev.infinity|