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 #
query
method toDatabases
class.- 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
Component
is the base class for others derivative. And all transitive files was deleted (DocumentModelBase
and so on...).Model
word is removed from all classes.DbResponse
is renamed intoResponse
. - Fix:
docId
inLocalDocument
now 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.yaml
topedantic
package.
0.5.4 #
- Convert
DbResponse
result object directly toDatabaseModelResponse
inchangesIn()
andpostChangesIn()
methods ofDatabaseModel
class. - 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
username
andpassword
parameters ofCouchDbClient
@required and addscheme
parameter. - Add
CouchDbClient.fromString
andCouchDbClient.fromUri
constructors. - Fix passing to
CouchDbClient(...)
constructor value ofhost
parameter with protocol likehttp://0.0.0.0
according to this issue. - Remove
origin
parameter fromCouchDbClient
constructors. - Add CONTRIBUTING.
0.4.3 #
- Change signature of
CouchDbClient
to provideorigin
parameter. - Small fix of docs.
0.4.2 #
- Fix
secret
encoding for non-proxy authentication. - Make most fields in
CouchDbClient
final. - Add
shards()
,shard()
andsynchronizeShards()
methods toDatabaseModel
class. - Fix
Origin
construction.
0.4.1 #
- Add
secret
field toCouchDbClient
class for proxy authentication. - Edit README.
0.4.0 #
- Add cookie authentication.
- Add proxy authentication.
- Add
authenticate()
,logout()
anduserInfo()
methods toCouchDbClient
class. - Add related to authentication fields to
ServerModelResponse
class.
0.3.0 #
- Unit
CouchDbWebClient
andCouchDbServerClient
toCouchDbClient
class. - Add
streamed()
method toCouchDbClient
class. - Change
DatabaseModel.changesIn()
andDatabaseModel.postChangesIn()
methods to return stream of event responses (fix for alive connection). - Makes all fields of
...Response
classes final.
0.2.1 #
- Fix cast
revsDiff
property inDbResponse
class.
0.2.0 #
-
Split
DbResponse
to 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()
toDatabaseModel
class. -
Improve docs in API docs (add return's JSON example).
-
Move
headers
to separate field inDbResponse
from json. -
Improved README.
0.1.4+1 #
- Downgrade required Dart SDK to
2.1.0-dev.9.4
.
0.1.4 #
- Move
cors
field toCouchDbWebClient
class. - Remove
cors
parameter from constructor ofCouchDbServerClient
andCouchDbBaseClient
classes.
0.1.3 #
- Add
_headers
field,headers
getter and improvemodifyRequestHeaders()
method ofCouchDbBaseClient
class. - Move fields and getters from
CouchDb(Server/Web)Client
toCouchDbBaseClient
. - Remove
_client
fromCouchDb(Server/Web)Client
and change constructors from beingfactory
to usual. - Add
cors
field toCouchDbBaseClient
class and its constructor.
0.1.2 #
- Improve README.
- Rename
getAllDocs()
toallDocs()
,getAllDesignDocs()
toallDesignDocs()
,getBulkDocs()
tobulkDocs()
,getDocsByKeys()
todocsByKeys()
methods ofDatabaseModel
class. - Rename
getDesignDoc()
todesignDoc()
,getAttachment()
toattachment()
methods ofDesignDocumentModel
class. - Rename
getDoc()
todoc()
,getAttachment()
toattachment()
methods ofDocumentModel
class. - Rename
getLocalDocs()
tolocalDocs()
,getLocalDocsWithKeys()
tolocalDocsWithKeys()
,getLocalDoc()
tolocalDoc()
methods ofLocalDocumentModel
class. - Rename
getClusterSetup()
toclusterSetupStatus()
method ofServerModel
class. - Add
includeDocs
parameter toallDocs()
method ofDatabaseModel
class.
0.1.1 #
- Small changes that don't touch main classes.
0.1.0 #
- Introducing beta-version of library.
- Implement all methods of
ServerModel
class. - Implement all methods of
DesignDocumentModel
class. - Add library description to
CouchDb(Server/Web)Client
classes. - Add
raw
field toDbResponse
class (priorrawBody
). - Change
body
parameter ofpost()
method inCouchDb(Server/Web)Client
toObject
type.
0.0.8 #
- Implements
schedulerJobs()
,schedulerDocs()
,schedulerDocsWithReplicatorDbName()
,schedulerDocsWithDocId()
,nodeStats()
,systemStatsForNode()
,up()
anduuids()
methods ofServerModel
class. - Add some fields to
DbResponse
class.
0.0.7 #
- Change
toString()
method ofCouchDbException
class - it shows error code, name error and reason. - Add
allNodes
,clusterNodes
,history
,replicationIdVersion
,sessionId
andsourceLastSeq
fields toDbResponse
class. - Implements
configureCouchDb()
,dbUpdates()
,membership()
andreplicate()
methods ofServerModel
class.
0.0.6 #
- Moving
CouchDbWebClient
andCouchDbServerClient
to the separate export. - Delete
rawBody
field fromDbResponse
class. - Add
state
field toDbResponse
class. - Implements
couchDbInfo()
,activeTasks()
,allDbs()
,dbsInfo()
andgetClusterSetup()
methods ofServerModel
class. - Small changes in
CouchDb(Server/Web)Client
classes.
0.0.5 #
- Implement
CouchDbWebClient
class for interacting with CouchDB. - Moving all examples to
example/README.md
.
0.0.4 #
- Implements
attachmentInfo()
,getAttachment()
,insertAttachment()
anddeleteAttachment()
methods ofDocumentModel
class. - Implement
setRevsLimit()
method ofDatabaseModel
class. - Method
put()
now accept any body type. - Non-json response body now available in
rawBody
field ofDbResponse
class.
0.0.3 #
- Implements
insertDoc()
,deleteDoc()
andcopyDoc()
methods ofDocumentModel
class. - All methods of
CouchDb(Server/Web)Client
can set custom headers.
0.0.2 #
- Implements
docInfo()
andgetDoc()
methods ofDocumentModel
class. - Add documentation to
DatabaseModel
methods. - Add opportunity to add headers to
head()
method ofCouchDb(Server/Web)Client
classes.
0.0.1 #
- Initial version.
- Implement
CouchDbServerClient
for interacting with CouchDB. - Implements
DatabaseBaseModel
methods.