couchdb 0.7.0
couchdb: ^0.7.0 copied to clipboard
CouchDB client written in Dart
Unreleased #
- Delete deprecated classes.
[0.7.0]- 2020-06-21 #
Added #
querymethod toDatabasesclass.- New entities for working with CouchDb parts (thanks to Philippe Jausions).
Changed #
- Lower constraints of SDK is
2.2.0(thanks to Philippe Jausions).
Deprecated #
- Old entities for working with CouchDb parts (thanks to Philippe Jausions).
0.6.0 #
- Remove models classes and relative concept. Now
Componentis the base class for others derivative. And all transitive files was deleted (DocumentModelBaseand so on...).Modelword is removed from all classes.DbResponseis renamed intoResponse. - Fix:
docIdinLocalDocumentnow must accept exactly id of document without _local/ appendix. - Update supported Dart SDK to
>=2.4.0 <3.0.0. - Upgrade packages.
- Update example.
0.5.5 #
- Change own rules of
analysis_options.yamltopedanticpackage.
0.5.4 #
- Convert
DbResponseresult object directly toDatabaseModelResponseinchangesIn()andpostChangesIn()methods ofDatabaseModelclass. - Update supported Dart SDK to
>=2.2.0 <3.0.0.
0.5.3 #
- Add missing parameters to
DatabaseModel.allDocs(). Thanks to dominickj-tdi. - Fix pana warnings.
0.5.2 #
- Added a path parameter to the CouchDbClient constructor. Thanks to dominickj-tdi.
- Fixed bugs in
CouchDBClient.copy()andDocumentModel.copyDoc(). Thanks to dominickj-tdi. - Update README.
0.5.1 #
- Add possibility to connect to CouchDb as anonymous user.
- Rewrite methods of model classes to return more concrete response. Thanks to dominickj-tdi.
- Update README.
0.5.0 #
- Make
usernameandpasswordparameters ofCouchDbClient@required and addschemeparameter. - Add
CouchDbClient.fromStringandCouchDbClient.fromUriconstructors. - Fix passing to
CouchDbClient(...)constructor value ofhostparameter with protocol likehttp://0.0.0.0according to this issue. - Remove
originparameter fromCouchDbClientconstructors. - Add CONTRIBUTING.
0.4.3 #
- Change signature of
CouchDbClientto provideoriginparameter. - Small fix of docs.
0.4.2 #
- Fix
secretencoding for non-proxy authentication. - Make most fields in
CouchDbClientfinal. - Add
shards(),shard()andsynchronizeShards()methods toDatabaseModelclass. - Fix
Originconstruction.
0.4.1 #
- Add
secretfield toCouchDbClientclass for proxy authentication. - Edit README.
0.4.0 #
- Add cookie authentication.
- Add proxy authentication.
- Add
authenticate(),logout()anduserInfo()methods toCouchDbClientclass. - Add related to authentication fields to
ServerModelResponseclass.
0.3.0 #
- Unit
CouchDbWebClientandCouchDbServerClienttoCouchDbClientclass. - Add
streamed()method toCouchDbClientclass. - Change
DatabaseModel.changesIn()andDatabaseModel.postChangesIn()methods to return stream of event responses (fix for alive connection). - Makes all fields of
...Responseclasses final.
0.2.1 #
- Fix cast
revsDiffproperty inDbResponseclass.
0.2.0 #
-
Split
DbResponseto five classes corresponds to categories of CouchDB:1. Server 2. Database 3. Documents 4. Design documents 5. Local documents -
Change signatures of some methods (check your code for error and reference to Docs).
-
Add
purgedInfosLimit()andsetPurgedInfosLimit()toDatabaseModelclass. -
Improve docs in API docs (add return's JSON example).
-
Move
headersto separate field inDbResponsefrom json. -
Improved README.
0.1.4+1 #
- Downgrade required Dart SDK to
2.1.0-dev.9.4.
0.1.4 #
- Move
corsfield toCouchDbWebClientclass. - Remove
corsparameter from constructor ofCouchDbServerClientandCouchDbBaseClientclasses.
0.1.3 #
- Add
_headersfield,headersgetter and improvemodifyRequestHeaders()method ofCouchDbBaseClientclass. - Move fields and getters from
CouchDb(Server/Web)ClienttoCouchDbBaseClient. - Remove
_clientfromCouchDb(Server/Web)Clientand change constructors from beingfactoryto usual. - Add
corsfield toCouchDbBaseClientclass and its constructor.
0.1.2 #
- Improve README.
- Rename
getAllDocs()toallDocs(),getAllDesignDocs()toallDesignDocs(),getBulkDocs()tobulkDocs(),getDocsByKeys()todocsByKeys()methods ofDatabaseModelclass. - Rename
getDesignDoc()todesignDoc(),getAttachment()toattachment()methods ofDesignDocumentModelclass. - Rename
getDoc()todoc(),getAttachment()toattachment()methods ofDocumentModelclass. - Rename
getLocalDocs()tolocalDocs(),getLocalDocsWithKeys()tolocalDocsWithKeys(),getLocalDoc()tolocalDoc()methods ofLocalDocumentModelclass. - Rename
getClusterSetup()toclusterSetupStatus()method ofServerModelclass. - Add
includeDocsparameter toallDocs()method ofDatabaseModelclass.
0.1.1 #
- Small changes that don't touch main classes.
0.1.0 #
- Introducing beta-version of library.
- Implement all methods of
ServerModelclass. - Implement all methods of
DesignDocumentModelclass. - Add library description to
CouchDb(Server/Web)Clientclasses. - Add
rawfield toDbResponseclass (priorrawBody). - Change
bodyparameter ofpost()method inCouchDb(Server/Web)ClienttoObjecttype.
0.0.8 #
- Implements
schedulerJobs(),schedulerDocs(),schedulerDocsWithReplicatorDbName(),schedulerDocsWithDocId(),nodeStats(),systemStatsForNode(),up()anduuids()methods ofServerModelclass. - Add some fields to
DbResponseclass.
0.0.7 #
- Change
toString()method ofCouchDbExceptionclass - it shows error code, name error and reason. - Add
allNodes,clusterNodes,history,replicationIdVersion,sessionIdandsourceLastSeqfields toDbResponseclass. - Implements
configureCouchDb(),dbUpdates(),membership()andreplicate()methods ofServerModelclass.
0.0.6 #
- Moving
CouchDbWebClientandCouchDbServerClientto the separate export. - Delete
rawBodyfield fromDbResponseclass. - Add
statefield toDbResponseclass. - Implements
couchDbInfo(),activeTasks(),allDbs(),dbsInfo()andgetClusterSetup()methods ofServerModelclass. - Small changes in
CouchDb(Server/Web)Clientclasses.
0.0.5 #
- Implement
CouchDbWebClientclass for interacting with CouchDB. - Moving all examples to
example/README.md.
0.0.4 #
- Implements
attachmentInfo(),getAttachment(),insertAttachment()anddeleteAttachment()methods ofDocumentModelclass. - Implement
setRevsLimit()method ofDatabaseModelclass. - Method
put()now accept any body type. - Non-json response body now available in
rawBodyfield ofDbResponseclass.
0.0.3 #
- Implements
insertDoc(),deleteDoc()andcopyDoc()methods ofDocumentModelclass. - All methods of
CouchDb(Server/Web)Clientcan set custom headers.
0.0.2 #
- Implements
docInfo()andgetDoc()methods ofDocumentModelclass. - Add documentation to
DatabaseModelmethods. - Add opportunity to add headers to
head()method ofCouchDb(Server/Web)Clientclasses.
0.0.1 #
- Initial version.
- Implement
CouchDbServerClientfor interacting with CouchDB. - Implements
DatabaseBaseModelmethods.