Skip to content

Releases: cozy/cozy-client-js

v0.2.1

21 Apr 14:18
a4e266f
Compare
Choose a tag to compare

Changed

  • Checks if there is a connection before starting replication
  • Return client registered on offline mode
  • Do not try to refresh token if retreiving a token fails

Fixed

  • Break an infinite loop of retry/failure when fetch returns a 400 but client is not revoked

Added

  • Add cozy version parameter to remove '/status/' request on offline mode

v0.2.0

12 Apr 09:52
Compare
Choose a tag to compare

Removed

V0.1.11

10 Apr 07:04
Compare
Choose a tag to compare

Fixed

  • Missing min.js files. Oops !

Added

  • Documentation about intents API

v0.1.10

06 Apr 16:10
Compare
Choose a tag to compare

Changed

  • Doc now use cozy.tools:8080 as example and default domain. No need to edit /etc/hosts.

Added

  • Add cozy.client.intents.create to create an intent. Allow next to start into an HTML element.
  • Add cozy.client.intents.createService to instanciate a service able to deal with a client.

Fixed

  • Documentation improvements

v0.1.9

24 Mar 09:59
v0.1.9
db56df8
Compare
Choose a tag to compare

Changed

  • PouchDB replication can refresh its token if needed

Fixed

  • mime-type was badly detected when uploading within cordova app

v0.1.8

13 Mar 13:27
Compare
Choose a tag to compare

Changed

  • onComplete & onError are call after replication end.
  • The offline database is created during a replication if it does not exist

v0.1.5

07 Mar 14:31
Compare
Choose a tag to compare

Changed

  • getClient throws a specific error for revoked client

v0.1.4

06 Mar 16:25
Compare
Choose a tag to compare

Added

  • Add cozy.client.getFilePath to generate path for a given file.
  • Handling custom code on replication complete or error

Fixed

  • Fix typo 🐛 getDowloadLink -> getDownloadLink

v0.1.3

03 Mar 16:31
Compare
Choose a tag to compare

Changed

  • Refactoring on offline to return Promise

v0.1.2

02 Mar 12:49
Compare
Choose a tag to compare
Release v0.1.2