Releases: konnectors/libs
Releases · konnectors/libs
[email protected]
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]
ADD:
- persistent cozy-run-standalone with --persist option
[email protected]
FIX:
- saveFiles: always pass the contentType option
[email protected]
UPDATE:
- integration of cozy-konnector-libs 4.5.4
Release version 4.5.3
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
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
Fixed
- html2pdf: now works when the colspan is in the first row
- requestFactory: refactoring
Release 4.4.0 version
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
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
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