Skip to content

Releases: konnectors/libs

[email protected]

27 Jul 16:14
Compare
Choose a tag to compare

ADD:

  • saveBills: check that all entries have the required attributes : amount, date, vendor

FIX:

  • better requestFactory defaults got saveFiles/saveBills to keep the cookie jar from the connector main file and also normal browser user agent.

[email protected]

27 Jul 16:09
Compare
Choose a tag to compare

ADD:

  • persistent cozy-run-standalone with --persist option

[email protected]

20 Jun 08:20
Compare
Choose a tag to compare

FIX:

  • saveFiles: always pass the contentType option

[email protected]

20 Jun 08:20
Compare
Choose a tag to compare

UPDATE:

  • integration of cozy-konnector-libs 4.5.4

Release version 4.5.3

19 Jun 15:44
Compare
Choose a tag to compare

FIXES:

  • html2pdf : handle more edge cases
  • requestFactory : can be called without arguments (for retro-compatibility)

FEATURES:

  • signin: now the validate function also gets the full response as third argument
  • saveBills, saveFiles: the mime type of the files is now really forced if the contentType option
    is specified

Release 1.4.0

19 Jun 15:45
Compare
Choose a tag to compare

FEATURES:

  • cozy-run-dev: files are saved in /cozy-konnector-dev-root path by default
  • global openInBrowser function available if the connector is run with cozy-run-standalone, cozy-run-dev and also in the shell. It takes a html string or a cheerio object, saves the html in tmp directory and opens it in the default browser. Can be usefull for debugging
  • cozy-run-shell: documentation
  • cozy-run-shell: cheerio objects are display in a better way
  • cozy-run-shell: cookies are activated by default
  • cozy-run-shell: global debug function to activate debug mode for requests

Release 4.5.1 version

07 Jun 13:00
Compare
Choose a tag to compare

Fixed

  • html2pdf: now works when the colspan is in the first row
  • requestFactory: refactoring

Release 4.4.0 version

07 Jun 12:54
Compare
Choose a tag to compare

ADDED

  • saveBills: Add a convertCurrency function to get iso code easily

ENHANCEMENTS

  • saveBills,saveFiles: count downloaded files and doctypes and warn if count = 0

FIXED

  • requestFactory: instanciate the request object later so that the request object gets all the cookie context when called.
  • saveFiles: avoid the 'The fileStream attribute is a undefined' message in logs

Release 1.3.0 version

07 Jun 12:57
Compare
Choose a tag to compare

ADDED

  • now properly handle default path creation in standalone command and not in stub
  • add doctype in imported data and save importedData.json file in ./data

FIXED

  • 🐝 prevent jest watch from infinite restart

Release 4.3.0 version

25 May 14:05
Compare
Choose a tag to compare

ADDED

  • Add html2pdf to generate PDF bills from website content

ENHANCEMENTS

  • Better documentation for scrape
  • saveFiles: do not display filestream content in logs

FIXED

  • requestFactory: do not override userAgent requested by the user