- Delete deprecated classes.
query
method toDatabases
class.- New entities for working with CouchDb parts (thanks to Philippe Jausions).
- Lower constraints of SDK is
2.2.0
(thanks to Philippe Jausions).
- Old entities for working with CouchDb parts (thanks to Philippe Jausions).
- 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.
- Change own rules of
analysis_options.yaml
topedantic
package.
- Convert
DbResponse
result object directly toDatabaseModelResponse
inchangesIn()
andpostChangesIn()
methods ofDatabaseModel
class. - Update supported Dart SDK to
>=2.2.0 <3.0.0
.
- Add missing parameters to
DatabaseModel.allDocs()
. Thanks to dominickj-tdi. - Fix pana warnings.
- 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.
- 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.
- 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.
- Downgrade
meta
dependency to^1.1.6
according to this issue.
- Change signature of
CouchDbClient
to provideorigin
parameter. - Small fix of docs.
- Fix
secret
encoding for non-proxy authentication. - Make most fields in
CouchDbClient
final. - Add
shards()
,shard()
andsynchronizeShards()
methods toDatabaseModel
class. - Fix
Origin
construction.
- Add
secret
field toCouchDbClient
class for proxy authentication. - Edit README.
- Add cookie authentication.
- Add proxy authentication.
- Add
authenticate()
,logout()
anduserInfo()
methods toCouchDbClient
class. - Add related to authentication fields to
ServerModelResponse
class.
- 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.
- Fix cast
revsDiff
property inDbResponse
class.
-
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.
- Downgrade required Dart SDK to
2.1.0-dev.9.4
.
- Move
cors
field toCouchDbWebClient
class. - Remove
cors
parameter from constructor ofCouchDbServerClient
andCouchDbBaseClient
classes.
- 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.
- 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.
- Small changes that don't touch main classes.
- 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.
- Implements
schedulerJobs()
,schedulerDocs()
,schedulerDocsWithReplicatorDbName()
,schedulerDocsWithDocId()
,nodeStats()
,systemStatsForNode()
,up()
anduuids()
methods ofServerModel
class. - Add some fields to
DbResponse
class.
- 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.
- 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.
- Implement
CouchDbWebClient
class for interacting with CouchDB. - Moving all examples to
example/README.md
.
- 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.
- Implements
insertDoc()
,deleteDoc()
andcopyDoc()
methods ofDocumentModel
class. - All methods of
CouchDb(Server/Web)Client
can set custom headers.
- Implements
docInfo()
andgetDoc()
methods ofDocumentModel
class. - Add documentation to
DatabaseModel
methods. - Add opportunity to add headers to
head()
method ofCouchDb(Server/Web)Client
classes.
- Initial version.
- Implement
CouchDbServerClient
for interacting with CouchDB. - Implements
DatabaseBaseModel
methods.