UNPKG

filestack-js

Version:

Official JavaScript library for Filestack

1,220 lines (603 loc) 61.3 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [3.39.5](https://github.com/filestack/filestack-js/compare/3.38.5...3.39.5) (2025-03-31) * **sentry:** Upgraded sentry version ([579](https://github.com/filestack/filestack-js/pull/579)) ([578](https://github.com/filestack/filestack-js/pull/578)) ([577](https://github.com/filestack/filestack-js/pull/577)) ([575](https://github.com/filestack/filestack-js/pull/575)) ## [3.38.5](https://github.com/filestack/filestack-js/compare/3.37.5...3.38.5) (2025-02-18) * **getMimeType:** Fixed getMimetype response ([61741c](https://github.com/filestack/filestack-js/commit/61741c3e01926277e2b96dcb1b1b052d26ea2857)) * **picker:** Updated picker with fixed seperated camera and microphone permission. ([f380e6](https://github.com/filestack/filestack-js/commit/f380e61b5eb9832c0f081f158c4262a83622ed2e)) ## [3.37.4](https://github.com/filestack/filestack-js/compare/3.36.4...3.37.4) (2025-01-22) * **getMimeType:** Fixed getMimetype response ([6c0615](https://github.com/filestack/filestack-js/commit/6c0615f644bc2279e850df077f1308b6ef9c8564)) ## [3.36.4](https://github.com/filestack/filestack-js/compare/3.35.4...3.36.4) (2024-12-11) * **picker:** Updated picker v1.31.4 ## [3.35.4](https://github.com/filestack/filestack-js/compare/3.34.4...3.35.4) (2024-10-14) * **picker:** Updated picker v1.30.4 * **picker:** Added disableAltText option ([3164a1](https://github.com/filestack/filestack-js/commit/3164a17ddf2ae782c41f8a98b77f2d0d0dba5eef)) ## [3.34.4](https://github.com/filestack/filestack-js/compare/3.34.3...3.34.4) (2024-10-18) * **picker:** Updated picker v1.29.4 * **client.upload:** Added check for altText check ([df5a23](https://github.com/filestack/filestack-js/commit/df5a23ab5f05b58664d8545944504988fde177a0)) ## [3.34.3](https://github.com/filestack/filestack-js/compare/v3.33.3...v3.34.3) (2024-10-01) * **picker:** Updated picker v1.29.3 disabled transformations ui as default editor ([0ff66c85177](https://github.com/filestack/filestack-js/commit/0ff66c851778b02396292b7eb5cb67b2ecbe1848)) ## [3.33.3](https://github.com/filestack/filestack-js/compare/v3.32.3...v3.33.3) (2024-09-30) * **picker:** Updated picker v1.28.3 with transformations-ui as default editor * **fromSources:** Added back picasa as a potential source ([#567](https://github.com/filestack/filestack-js/pull/567) * **fix(dependency):** Updated fast-xml-parser ([#7b862752f6](https://github.com/filestack/filestack-js/commit/7b862752f64e242e1dac9c269bab03105667cc3c) ## [3.32.3](https://github.com/filestack/filestack-js/compare/v3.32.2...v3.32.3) (2024-06-18) * **fromSources:** revert version ([b2767e5](https://github.com/filestack/filestack-js/commit/b2767e5)) ## [3.32.2](https://github.com/filestack/filestack-js/compare/v3.32.1...v3.32.2) (2024-06-14) * **picker:** Upgraded picker to v1.27.3. * **fromSources:** Fixed declaring the custom source at first place in fromSources array ## [3.32.1](https://github.com/filestack/filestack-js/compare/v3.32.0...v3.32.1) (2024-05-30) * **miemtypes:** Fixed support for vsdx file using through accept params ## [3.32.0](https://github.com/filestack/filestack-js/compare/v3.31.0...v3.32.0) (2024-04-03) ### Updgrade * **picker:** Upgraded picker to v1.27.1. * **picker:** Fixed support for hpt file type ([558](https://github.com/filestack/filestack-js/pull/558/)) ## [3.30.2](https://github.com/filestack/filestack-js/compare/v3.30.2...v3.31.0) (2024-03-10) ### Updgrade * **picker:** Upgraded picker to v1.27.0. ## [3.30.2](https://github.com/filestack/filestack-js/compare/v3.30.1...v3.30.2) (2024-03-04) ### Updgrade * **picker:** Upgraded picker to v1.26.2. ## [3.30.1](https://github.com/filestack/filestack-js/compare/v3.30.0...v3.30.1) (2024-02-07) ### Updgrade * **picker:** Upgraded picker to v1.26.1. ## [3.30.0](https://github.com/filestack/filestack-js/compare/v3.29.0...v3.30.0) (2024-01-18) ### Updgrade * **picker:** Upgraded picker to v1.26.0. ## [3.29.0](https://github.com/filestack/filestack-js/compare/v3.28.0...v3.29.0) (2024-01-05) ### Updgrade * **file-type:** Upgraded file-type to v16.5.4. ## [3.28.0](https://github.com/filestack/filestack-js/compare/v3.27.0...v3.28.0) (2023-12-12) ### Updgrade * **Dependency-upgrade:** Upgraded packages to the latest possible version while maintaining backward compatibility. ## [3.27.0](https://github.com/filestack/filestack-js/compare/v3.26.1...v3.27.0) (2023-08-07) ### Fix * **fast-xml-parser:** It's a security upgrade based on ([#518](https://github.com/filestack/filestack-js/issues/518)) . Dependabot did the version bump and then fixed the tests([#521](https://github.com/filestack/filestack-js/pull/521)). ## [3.26.1](https://github.com/filestack/filestack-js/compare/v3.26.0...v3.26.1) (2023-04-06) ### Fix * **picker:** Fixed console error during file select and upload ## [3.26.0](https://github.com/filestack/filestack-js/compare/v3.25.0...v3.26.0) (2023-03-30) ### Feature * **picker:** Added possibility to predefine the results for the imagesearch in Picker * **picker:** Picker - Display Unsplash Search and Good Old Image Search as two tabs of one "source" ## [3.25.0](https://github.com/filestack/filestack-js/compare/v3.24.1...v3.25.0) (2021-10-05) ### Features * **picker:** bump version ([f047a4e](https://github.com/filestack/filestack-js/commit/f047a4e1552ba433f7f9f027c74cc4bf4ff90b8e)) * **picker:** Picker paste event add configuration options ([#454](https://github.com/filestack/filestack-js/issues/454)) ([a5a249b](https://github.com/filestack/filestack-js/commit/a5a249b0c9233f8eae7160bf5eef0f05dccd0920)) * **picker:** support callback for tags ([#461](https://github.com/filestack/filestack-js/issues/461)) ([cf89ee0](https://github.com/filestack/filestack-js/commit/cf89ee08486dc28f352a2523a96b53e7c58ce3b0)) * **upload:** emit event on file upload start ([#462](https://github.com/filestack/filestack-js/issues/462)) ([c676b48](https://github.com/filestack/filestack-js/commit/c676b483c8af519f0360fee0bf84446df1810494)) ### [3.24.1](https://github.com/filestack/filestack-js/compare/v3.24.0...v3.24.1) (2021-07-28) ### Bug Fixes * **picker:** bump picker version for multiple fixes ([3e364e9](https://github.com/filestack/filestack-js/commit/3e364e976001bb510778b580ffb8599a1a97c847)) * **request:** Large file upload memory leak ([#453](https://github.com/filestack/filestack-js/issues/453)) ([8f7f7a8](https://github.com/filestack/filestack-js/commit/8f7f7a88e695b477325cafa33d0738d9c5bdc872)) * **schema-validation:** disable bucker region validation ([#448](https://github.com/filestack/filestack-js/issues/448)) ([70b7e38](https://github.com/filestack/filestack-js/commit/70b7e38e41a6c24e8e644ff5f918019a20840a0a)) ## [3.24.0](https://github.com/filestack/filestack-js/compare/v3.23.2...v3.24.0) (2021-06-28) ### Features * **picker:** add onFileUploadCancel callback ([c1e5bab](https://github.com/filestack/filestack-js/commit/c1e5bab3b4962fd81d6226c5d705650c6d0449f2)) ### [3.23.2](https://github.com/filestack/filestack-js/compare/v3.23.1...v3.23.2) (2021-06-14) ### Bug Fixes * **examples:** fix uplad example ([160a1bd](https://github.com/filestack/filestack-js/commit/160a1bdc96ed298408048e8d9201c00c18eec1c6)) * **picker:** fix problems with exif cleanup ([27774da](https://github.com/filestack/filestack-js/commit/27774da20dc2e523bdcff59cc67c976d3445a7ca)) * **upload/onprogress:** add if statement for progress callback ([#435](https://github.com/filestack/filestack-js/issues/435)) ([2c61d53](https://github.com/filestack/filestack-js/commit/2c61d53a655e0eeb85dd430fc403147654ea370c)) ### [3.23.1](https://github.com/filestack/filestack-js/compare/v3.23.0...v3.23.1) (2021-03-31) ### Bug Fixes * **getfile:** fix get file for b64 encoded string ([dbc65b7](https://github.com/filestack/filestack-js/commit/dbc65b7db052fa6d6da46a51481639c6b39437a9)) ## [3.23.0](https://github.com/filestack/filestack-js/compare/v3.22.1...v3.23.0) (2021-03-31) ### Features * **acceptfn:** add acceptFn to picker schema ([f349094](https://github.com/filestack/filestack-js/commit/f349094c3c84c3600cd4844ca8d0c58fb78bcdf1)) * **github:** add issue template ([b45ae45](https://github.com/filestack/filestack-js/commit/b45ae45de0cd3ae58b3079a52fe3ead9d45466aa)) * **picker:** bump picker to v.1.21.1 ([00677a6](https://github.com/filestack/filestack-js/commit/00677a61ebc75ac83635dc365ceaaac5829f7a6f)) ### Bug Fixes * **nodejs/base64:** fix base64 upload ([815fbed](https://github.com/filestack/filestack-js/commit/815fbed140e76ffa410b6787b9fd7e31b412a81e)) ### [3.22.1](https://github.com/filestack/filestack-js/compare/v3.22.0...v3.22.1) (2021-03-08) ### Bug Fixes * **deploy:** fix deployment script ([#424](https://github.com/filestack/filestack-js/issues/424)) ([89683cf](https://github.com/filestack/filestack-js/commit/89683cf8950ac8749df21727088796b80e1d7c82)) ## [3.22.0](https://github.com/filestack/filestack-js/compare/v3.21.1...v3.22.0) (2021-03-08) ### Features * **download:** Add download file method ([#415](https://github.com/filestack/filestack-js/issues/415)) ([5ed6afd](https://github.com/filestack/filestack-js/commit/5ed6afddf56eae0910420de1f0244b6d3131398a)) * **picker:** bump picker version to 1.21.0 ([162673f](https://github.com/filestack/filestack-js/commit/162673f70d5992df8a0ed1bfd3204173a296416d)) ### Bug Fixes * **pickerschema:** update missing picker options ([5ab80b5](https://github.com/filestack/filestack-js/commit/5ab80b50abd123de0c3f1baf8876f7e621b0a4b8)) * **publish:** fix error in publis script ([#410](https://github.com/filestack/filestack-js/issues/410)) ([3170f29](https://github.com/filestack/filestack-js/commit/3170f295608f6da912746b59e624426de8d6f016)) * **sentry:** remove discouraged configureScope ([#417](https://github.com/filestack/filestack-js/issues/417)) ([e20cc10](https://github.com/filestack/filestack-js/commit/e20cc108a099f38540b4c489383aeafd7c5e6a56)) * **storeurl:** support for workflows to storeURL ([#406](https://github.com/filestack/filestack-js/issues/406)) ([2e8ba7c](https://github.com/filestack/filestack-js/commit/2e8ba7ce7375f1138963e9450400955caba05efd)) ### [3.21.1](https://github.com/filestack/filestack-js/compare/v3.21.0...v3.21.1) (2021-01-25) ### Bug Fixes * **picker:** fix accept option in picker, bump version to 1.20.1 ([7e48a30](https://github.com/filestack/filestack-js/commit/7e48a307f898a40f131e2b72c188adc3c259bab5)) ## [3.21.0](https://github.com/filestack/filestack-js/compare/v3.20.0...v3.21.0) (2021-01-13) ### Features * **picker:** bump picker to 1.20.0 ([7b0d9ed](https://github.com/filestack/filestack-js/commit/7b0d9ed079812ad627dbfc03f04d37bd93d3f012)) ## [3.20.0](https://github.com/filestack/filestack-js/compare/v3.19.0...v3.20.0) (2020-11-18) ### Features * **picker:** bump picker version ([4b155b3](https://github.com/filestack/filestack-js/commit/4b155b359b1b939ec80ad224703e194effc4a791)) * **utils:** add converting extension to mimetype ([#400](https://github.com/filestack/filestack-js/issues/400)) ([669e178](https://github.com/filestack/filestack-js/commit/669e178ef9d6cbd4d2303cec0f8cbbbf208b50fd)) ### Bug Fixes * **sentry:** update sentry errors ([5a53ddd](https://github.com/filestack/filestack-js/commit/5a53ddd75db9c41396b1c2d9c23dab5784ca2419)) ## [3.19.0](https://github.com/filestack/filestack-js/compare/v3.18.0...v3.19.0) (2020-11-03) ### Features * **picker:** add custom source to picker - v 1.19.0 ([9038607](https://github.com/filestack/filestack-js/commit/903860701438053d0a7ef51cd7dd42053f62baa2)) ## [3.18.0](https://github.com/filestack/filestack-js/compare/v3.17.0...v3.18.0) (2020-10-01) ### Features * **miemtypes:** add key extension to list ([a12b477](https://github.com/filestack/filestack-js/commit/a12b4775c42fe69adee7f6056f450d4ac233779b)) * **mimetypes:** check apple mimetypes based on extensions ([#386](https://github.com/filestack/filestack-js/issues/386)) ([08f1154](https://github.com/filestack/filestack-js/commit/08f11548b8fa987698fc2150c7e9e3fc5dcedfd1)) * **picker:** bump picker version to 18 (multiple bugfixes) ([a304076](https://github.com/filestack/filestack-js/commit/a30407661046345bd60dcaf19346c222e00077be)) * **utils:** Replace 'getVersion' function's return statement to use static constant instead of dynamic require. ([77fa52d](https://github.com/filestack/filestack-js/commit/77fa52d3ce7c8488852f0b8e71650ff5c39c1319)) ### Bug Fixes * **cancelToken:** move cancel token to event emmiter ([#384](https://github.com/filestack/filestack-js/issues/384)) ([b1cada8](https://github.com/filestack/filestack-js/commit/b1cada8cf7fefa0664774b79e66e1afef7fa01a7)) * **mimetypes:** if we have mimetype and we cant find excluded type by extension fallback to magic by ([20cfa49](https://github.com/filestack/filestack-js/commit/20cfa49472163f90a7fd96c76d9231445d0a5948)) * **prefetch:** clone deep config before send to avoid referances ([#388](https://github.com/filestack/filestack-js/issues/388)) ([7f3c153](https://github.com/filestack/filestack-js/commit/7f3c1536e3ca745b59597d724eefe123617b17ef)) ## [3.17.0](https://github.com/filestack/filestack-js/compare/v3.16.0...v3.17.0) (2020-08-24) ### Features * **clouds:** add mimetype filtering in clouds ([#375](https://github.com/filestack/filestack-js/issues/375)) ([5acd6b4](https://github.com/filestack/filestack-js/commit/5acd6b4d71b253ce699353523e915c6d8aeddc35)) * **clouds:** add store adapter for better localstore/sessionstore support ([#376](https://github.com/filestack/filestack-js/issues/376)) ([ecb922e](https://github.com/filestack/filestack-js/commit/ecb922ed8e66e7e1250b21f5da2af9b68308da83)) * **picker:** bump picker version to 1.17.0 ([6078164](https://github.com/filestack/filestack-js/commit/6078164d40bdd64a04c8e6c356da1d6d7e1d14b2)) ### Bug Fixes * **s3/complete:** fix target for complete request ([#371](https://github.com/filestack/filestack-js/issues/371)) ([9536c27](https://github.com/filestack/filestack-js/commit/9536c27aa6731e995a70b73b3cc7a5a9367419e2)) ## [3.16.0](https://github.com/filestack/filestack-js/compare/v3.15.0...v3.16.0) (2020-07-09) ### Features * **picker:** bump picker version to 1.16.0 ([f595695](https://github.com/filestack/filestack-js/commit/f5956958e4301e8831851402cac72ff62ff36869)) ## [3.15.0](https://github.com/filestack/filestack-js/compare/v3.14.0...v3.15.0) (2020-05-14) ### Features * **picker:** Fix picker problems with cropFiles, erorrHandlers, add better mime detection ([9dbe806](https://github.com/filestack/filestack-js/commit/9dbe8061b0db524a14766b71c9d018ad62ad93a5)) * **pickerOptions:** add support email to picker options ([09d40b0](https://github.com/filestack/filestack-js/commit/09d40b06e0e8524a5b4a770694616b3a38931f45)) ### Bug Fixes * **mimetype:** Update mimetype detection function ([#356](https://github.com/filestack/filestack-js/issues/356)) ([bf4146d](https://github.com/filestack/filestack-js/commit/bf4146d9a4d0cf605d34424f510ca00ddfe6b8d6)) ## [3.14.0](https://github.com/filestack/filestack-js/compare/v3.13.2...v3.14.0) (2020-04-21) ### [3.13.2](https://github.com/filestack/filestack-js/compare/v3.13.1...v3.13.2) (2020-04-07) ### Bug Fixes * **build:** Fix build webpack scripts ([37b2617](https://github.com/filestack/filestack-js/commit/37b2617ccde4ff9da298d24102d525fcbb3eb447)) ### [3.13.1](https://github.com/filestack/filestack-js/compare/v3.13.0...v3.13.1) (2020-04-07) ### Bug Fixes * **prefetch:** always ask for inapp_browser setting ([61764f7](https://github.com/filestack/filestack-js/commit/61764f794c75a582dcd21c143f76581221ec76ac)) ## [3.13.0](https://github.com/filestack/filestack-js/compare/v3.12.4...v3.13.0) (2020-04-01) ### Features * **picker:** bump picker version with new prefetch request ([77bc025](https://github.com/filestack/filestack-js/commit/77bc02568dc10f5a3c7c2c4ff3c405acc113eda7)) * **prefetch:** Separate and update new prefetch request ([7132ab1](https://github.com/filestack/filestack-js/commit/7132ab1eef38141e379c1cdf3f675f8dec30fe9e)) * **request/http:** add progress monitor to node http library ([96ead9b](https://github.com/filestack/filestack-js/commit/96ead9bd4d2fbefb5eb788fabc48b802407e09d4)) ### [3.12.4](https://github.com/filestack/filestack-js/compare/v3.12.3...v3.12.4) (2020-02-17) ### Bug Fixes * **picker:** fix problems with picker minimalization ([d23b79e](https://github.com/filestack/filestack-js/commit/d23b79e810045ae6906e667b148af71771bd5236)) ### [3.12.3](https://github.com/filestack/filestack-js/compare/v3.12.2...v3.12.3) (2020-02-12) ### [3.12.2](https://github.com/filestack/filestack-js/compare/v3.12.1...v3.12.2) (2020-02-12) ### Bug Fixes * **api/file:** remove new debug headers from old api requests ([a9a03fb](https://github.com/filestack/filestack-js/commit/a9a03fbf71fd837763c531152c8e93bc69938d62)) ### [3.12.1](https://github.com/filestack/filestack-js/compare/v3.12.0...v3.12.1) (2020-02-12) ### Bug Fixes * **request:** add missing filestack debug headers in request library ([0356cd1](https://github.com/filestack/filestack-js/commit/0356cd17bd12973d3a76d6b0aa8f3c067342aeef)) ## [3.12.0](https://github.com/filestack/filestack-js/compare/v3.11.2...v3.12.0) (2020-02-12) ### Features * **request:** Change axios library to filestack one ([52a605a](https://github.com/filestack/filestack-js/commit/52a605aac5db6646e26f5bb8d8ac431afde2a768)) ### [3.11.2](https://github.com/filestack/filestack-js/compare/v3.11.1...v3.11.2) (2020-01-24) ### Bug Fixes * **polymorphic:** Split libs into node and browser env, update webpack config ([82689c2](https://github.com/filestack/filestack-js/commit/82689c2)) ### [3.11.1](https://github.com/filestack/filestack-js/compare/v3.11.0...v3.11.1) (2020-01-22) ### Bug Fixes * **require:** fix problem during builds libs for browser - missing fs lib ([f77e4d1](https://github.com/filestack/filestack-js/commit/f77e4d1)), closes [#319](https://github.com/filestack/filestack-js/issues/319) ## [3.11.0](https://github.com/filestack/filestack-js/compare/v3.10.1...v3.11.0) (2020-01-15) ### Features * **picker:** bump picker version to 1.11.1 ([#318](https://github.com/filestack/filestack-js/issues/318)) ([e1bdb2c](https://github.com/filestack/filestack-js/commit/e1bdb2c)) ### [3.10.1](https://github.com/filestack/filestack-js/compare/v3.10.0...v3.10.1) (2019-11-14) ### Features * **clouds:** Fix problems in in-app browsers like facebook, instagram, twitter ([0cf0df1](https://github.com/filestack/filestack-js/commit/0cf0df1)) ## [3.10.0](https://github.com/filestack/filestack-js/compare/v3.9.0...v3.10.0) (2019-11-12) ### Features * **picker:** remove clouddrive from sources - now this one is deprecated ([#305](https://github.com/filestack/filestack-js/issues/305)) ([cd47a38](https://github.com/filestack/filestack-js/commit/cd47a38)) ## [3.9.0](https://github.com/filestack/filestack-js/compare/v3.8.0...v3.9.0) (2019-10-29) ### Features * **upload:** add posibility to disable s3 integrity check (md5 gener… ([#299](https://github.com/filestack/filestack-js/issues/299)) ([207e4c7](https://github.com/filestack/filestack-js/commit/207e4c7)) ## [3.8.0](https://github.com/filestack/filestack-js/compare/v3.7.0...v3.8.0) (2019-10-07) ### Bug Fixes * **getMimetype:** Check x-msi by an extension ([#280](https://github.com/filestack/filestack-js/issues/280)) ([3e4c35b](https://github.com/filestack/filestack-js/commit/3e4c35b)) * **picker:** Fix Spanish translation ([a9fa2f7](https://github.com/filestack/filestack-js/commit/a9fa2f7)) * 🐛 Update old sdk references ([#281](https://github.com/filestack/filestack-js/issues/281)) ([494d774](https://github.com/filestack/filestack-js/commit/494d774)) ### Build System * **gzip:** Remove gzip script, use cdn in-fly gzip feature ([#282](https://github.com/filestack/filestack-js/issues/282)) ([35cca80](https://github.com/filestack/filestack-js/commit/35cca80)) ### Features * **s3:** add disablele storage key to uplaoder ([#291](https://github.com/filestack/filestack-js/issues/291)) ([2cf27fd](https://github.com/filestack/filestack-js/commit/2cf27fd)) ## [3.7.0](https://github.com/filestack/filestack-js/compare/v3.6.0...v3.7.0) (2019-08-23) ### Bug Fixes * **picker:** fix onFileSelected problem ([#278](https://github.com/filestack/filestack-js/issues/278)) ([22454fd](https://github.com/filestack/filestack-js/commit/22454fd)) * **README:** Add String.prototype.includes to polyfill ([#277](https://github.com/filestack/filestack-js/issues/277)) ([460d585](https://github.com/filestack/filestack-js/commit/460d585)) ### Features * **transforms:** Add animate transformation ([#274](https://github.com/filestack/filestack-js/issues/274)) ([3a82f02](https://github.com/filestack/filestack-js/commit/3a82f02)) * **transforms:** Add autoImage transformation ([#276](https://github.com/filestack/filestack-js/issues/276)) ([d371552](https://github.com/filestack/filestack-js/commit/d371552)) * **transforms:** Update enhance preset definition ([#275](https://github.com/filestack/filestack-js/issues/275)) ([32afd54](https://github.com/filestack/filestack-js/commit/32afd54)) * **uploader/s3:** Regular upload - display error when there is missing etag field in s3 response ([#267](https://github.com/filestack/filestack-js/issues/267)) ([747e3b1](https://github.com/filestack/filestack-js/commit/747e3b1)) ## [3.6.0](https://github.com/filestack/filestack-js/compare/v3.5.0...v3.6.0) (2019-08-07) ### Features * **filelink:** add set soruce method ([#270](https://github.com/filestack/filestack-js/issues/270)) ([4480d5e](https://github.com/filestack/filestack-js/commit/4480d5e)) * **picker:** Change picker version ([#272](https://github.com/filestack/filestack-js/issues/272)) ([813de22](https://github.com/filestack/filestack-js/commit/813de22)) ## [3.5.0](https://github.com/filestack/filestack-js/compare/v3.4.2...v3.5.0) (2019-07-25) ### Features * **picker:** Add onFileCropped callback ([#264](https://github.com/filestack/filestack-js/issues/264)) ([a598ea6](https://github.com/filestack/filestack-js/commit/a598ea6)) * **sdk:** Export additional interface ([#262](https://github.com/filestack/filestack-js/commit/968555e7822df1bbafc5db7f2cfe01c853dd30aa)) ### [3.4.2](https://github.com/filestack/filestack-js/compare/v3.4.1...v3.4.2) (2019-07-15) ### Bug Fixes * **file_tools:** Fix problems with uploading large files ([f2c1ab9](https://github.com/filestack/filestack-js/commit/f2c1ab9)) ### [3.4.1](https://github.com/filestack/filestack-js/compare/v3.4.0...v3.4.1) (2019-07-11) ### Bug Fixes * **p-queue:** revert version ([737baff](https://github.com/filestack/filestack-js/commit/737baff)) ### Build System * **aws-sdk:** revert aws-sdk in dev-deps ([c020a0a](https://github.com/filestack/filestack-js/commit/c020a0a)) ## [3.4.0](https://github.com/filestack/filestack-js/compare/v3.3.5...v3.4.0) (2019-07-11) ### Features * **errors:** Update error event, update libs ([#254](https://github.com/filestack/filestack-js/issues/254)) ([983084c](https://github.com/filestack/filestack-js/commit/983084c)) ### [3.3.5](https://github.com/filestack/filestack-js/compare/v3.3.4...v3.3.5) (2019-07-03) ### Bug Fixes * **base64:** Fix b64 url safe creation in filelink ([#253](https://github.com/filestack/filestack-js/issues/253)) ([80fa3a7](https://github.com/filestack/filestack-js/commit/80fa3a7)) ### [3.3.4](https://github.com/filestack/filestack-js/compare/v3.3.3...v3.3.4) (2019-06-25) ### Bug Fixes * **picker:** Fix opentok integration ([#249](https://github.com/filestack/filestack-js/issues/249)) ([80029db](https://github.com/filestack/filestack-js/commit/80029db)) ### [3.3.3](https://github.com/filestack/filestack-js/compare/v3.3.2...v3.3.3) (2019-06-11) ### [3.3.2](https://github.com/filestack/filestack-js/compare/v3.3.1...v3.3.2) (2019-06-07) ### Bug Fixes * **cloud/store:** bring back "/" at the end of url ([14ba091](https://github.com/filestack/filestack-js/commit/14ba091)) * **README:** fix typo ([ec33eb5](https://github.com/filestack/filestack-js/commit/ec33eb5)) ### [3.3.1](https://github.com/filestack/filestack-js/compare/v3.3.0...v3.3.1) (2019-06-07) ### Bug Fixes * **promises:** Remove finally from promises, there was some problems with polyfils ([2fab112](https://github.com/filestack/filestack-js/commit/2fab112)) ## [3.3.0](https://github.com/filestack/filestack-js/compare/v3.2.0...v3.3.0) (2019-06-07) ### Bug Fixes * **cloud:** fix cloud urls ([#239](https://github.com/filestack/filestack-js/issues/239)) ([7c0ce47](https://github.com/filestack/filestack-js/commit/7c0ce47)) ### Features * **picker:** Bump picker version ([fbd35ba](https://github.com/filestack/filestack-js/commit/fbd35ba)) * **webhookValidator:** Add wh signature validator ([a4975aa](https://github.com/filestack/filestack-js/commit/a4975aa)) ## [3.2.0](https://github.com/filestack/filestack-js/compare/v3.1.1...v3.2.0) (2019-06-03) ### Bug Fixes * **types:** Fix path in types file ([793b8f1](https://github.com/filestack/filestack-js/commit/793b8f1)) ### Features * **picker:** update picker version ([037bbed](https://github.com/filestack/filestack-js/commit/037bbed)) * **picker:** Update pickerOptions interface ([#236](https://github.com/filestack/filestack-js/issues/236)) ([2d6b533](https://github.com/filestack/filestack-js/commit/2d6b533)) ### [3.1.1](https://github.com/filestack/filestack-js/compare/v3.1.0...v3.1.1) (2019-05-31) ## [3.1.0](https://github.com/filestack/filestack-js/compare/v3.0.0...v3.1.0) (2019-05-31) ### Features * **validation:** add all supported regions to validation ([#233](https://github.com/filestack/filestack-js/issues/233)) ([4cf82e7](https://github.com/filestack/filestack-js/commit/4cf82e7)) ## [3.0.0](https://github.com/filestack/filestack-js/compare/v2.1.0...v3.0.0) (2019-05-30) <a name="2.1.0"></a> # [2.1.0](https://github.com/filestack/filestack-js/compare/v2.0.7...v2.1.0) (2019-05-06) ### Features * **config:** Update version of picker ([#226](https://github.com/filestack/filestack-js/issues/226)) ([11be0cc](https://github.com/filestack/filestack-js/commit/11be0cc)) <a name="2.0.7"></a> ## [2.0.7](https://github.com/filestack/filestack-js/compare/v2.0.6...v2.0.7) (2019-04-18) * **picker** Update version of picker (1.4.7) <a name="2.0.6"></a> ## [2.0.6](https://github.com/filestack/filestack-js/compare/v2.0.5...v2.0.6) (2019-04-15) * **filelink:** Add zip, minifyCss and minifyJs tasks * **picker** Update version of picker (1.4.6) <a name="2.0.5"></a> ## [2.0.5](https://github.com/filestack/filestack-js/compare/v2.0.4...v2.0.5) (2019-04-08) ### Bug Fixes * **transforms:** Fix typo in schema ([d6cf4b0](https://github.com/filestack/filestack-js/commit/d6cf4b0)) <a name="2.0.4"></a> ## [2.0.4](https://github.com/filestack/filestack-js/compare/v2.0.3...v2.0.4) (2019-04-08) * **filelink:** Add possibility to disable validation on tasks params ([2d3eb7f](https://github.com/filestack/filestack-js/commit/2d3eb7f)) <a name="2.0.3"></a> ## [2.0.3](https://github.com/filestack/filestack-js/compare/v2.0.2...v2.0.3) (2019-03-28) ### Features * **filelink:** Add support for fallback task ([dbb0b4b](https://github.com/filestack/filestack-js/commit/dbb0b4b)) <a name="2.0.2"></a> ## [2.0.2](https://github.com/filestack/filestack-js/compare/v2.0.1...v2.0.2) (2019-03-19) ### Bug Fixes * **urllib:** Add url dep to build ([6c17c47](https://github.com/filestack/filestack-js/commit/6c17c47)) <a name="2.0.1"></a> ## [2.0.1](https://github.com/filestack/filestack-js/compare/v2.0.0...v2.0.1) (2019-03-15) <a name="2.0.0"></a> # [2.0.0](https://github.com/filestack/filestack-js/compare/v1.14.6...v2.0.0) (2019-03-15) ### Bug Fixes * **es5:** replace ajv with jsonschema in transform validator ([e59a5ba](https://github.com/filestack/filestack-js/commit/e59a5ba)) ### BREAKING CHANGES * **es5:** Validation errors from transform are updated to ValidationError from jsonschema * feat(Gzip): Add info about gzip support in README * ci(publish script): Udpate publish script for supporting gzip ContentEncoding <a name="1.14.6"></a> ## [1.14.6](https://github.com/filestack/filestack-js/compare/v1.14.5...v1.14.6) (2019-03-01) ### Bug Fixes * **trasnformSchema:** Fix regexp for video convert task clip params ([e572698](https://github.com/filestack/filestack-js/commit/e572698)) <a name="1.14.5"></a> ## [1.14.5](https://github.com/filestack/filestack-js/compare/v1.14.4...v1.14.5) (2019-02-27) <a name="1.14.2"></a> ## [1.14.2](https://github.com/filestack/filestack-js/compare/v1.14.1...v1.14.2) (2019-02-15) ### Bug Fixes * **filelink:** Fix regexp for safari browser ([11c46db](https://github.com/filestack/filestack-js/commit/11c46db)) <a name="1.14.1"></a> ## [1.14.1](https://github.com/filestack/filestack-js/compare/v1.14.0...v1.14.1) (2019-02-12) ### Bug Fixes * **filelink:** Add check hasOwnProperty to loop ([c3e930f](https://github.com/filestack/filestack-js/commit/c3e930f)) <a name="1.14.0"></a> # [1.14.0](https://github.com/filestack/filestack-js/compare/v1.13.4...v1.14.0) (2019-02-11) ### Features * **picker:** Add tr language pack to picker ([#202](https://github.com/filestack/filestack-js/issues/202)) ([4448986](https://github.com/filestack/filestack-js/commit/4448986)) <a name="1.13.4"></a> ## [1.13.4](https://github.com/filestack/filestack-js/compare/v1.13.3...v1.13.4) (2019-02-07) ### Bug Fixes * **storeUrl:** Add missing security ([a6b0404](https://github.com/filestack/filestack-js/commit/a6b0404)), closes [#198](https://github.com/filestack/filestack-js/issues/198) <a name="1.13.3"></a> ## [1.13.3](https://github.com/filestack/filestack-js/compare/v1.13.2...v1.13.3) (2019-02-07) <a name="1.13.2"></a> ## [1.13.2](https://github.com/filestack/filestack-js/compare/v1.13.1...v1.13.2) (2019-02-06) <a name="1.13.1"></a> ## [1.13.1](https://github.com/filestack/filestack-js/compare/v1.13.0...v1.13.1) (2019-02-04) ### Bug Fixes * **transformations:** Fix videoconvert params ([978d763](https://github.com/filestack/filestack-js/commit/978d763)) <a name="1.13.0"></a> # [1.13.0](https://github.com/filestack/filestack-js/compare/v1.12.1...v1.13.0) (2019-01-31) ### Features * **Filelink:** Add Filelink class to replace client.transform ([#195](https://github.com/filestack/filestack-js/issues/195)) ([5738b37](https://github.com/filestack/filestack-js/commit/5738b37)) ### BREAKING CHANGES * **Filelink:** Add new Filelink class for better transforms support * docs(Filelink): Add documentation to filelink <a name="1.12.1"></a> ## [1.12.1](https://github.com/filestack/filestack-js/compare/v1.12.0...v1.12.1) (2019-01-29) ### Bug Fixes * **transformations:** Fix pdfconvert schema oneOf -> anyOf ([c95bab2](https://github.com/filestack/filestack-js/commit/c95bab2)) <a name="1.12.0"></a> # [1.12.0](https://github.com/filestack/filestack-js/compare/v1.11.0...v1.12.0) (2019-01-29) ### Features * **transforms:** add pdfinfo and pdfconvert to transforms ([#192](https://github.com/filestack/filestack-js/issues/192)) ([da62507](https://github.com/filestack/filestack-js/commit/da62507)) <a name="1.11.0"></a> # [1.11.0](https://github.com/filestack/filestack-js/compare/v1.10.0...v1.11.0) (2019-01-23) ### Features * **transforms:** add base64 support to transforms ([83f07e2](https://github.com/filestack/filestack-js/commit/83f07e2)) <a name="1.10.0"></a> # [1.10.0](https://github.com/filestack/filestack-js/compare/v1.9.0...v1.10.0) (2019-01-15) ### Bug Fixes * **security:** fix call validator ([#188](https://github.com/filestack/filestack-js/issues/188)) ([adf9388](https://github.com/filestack/filestack-js/commit/adf9388)) * **upload:** fix problems with file partitioning ([#187](https://github.com/filestack/filestack-js/issues/187)) ([9c09c4c](https://github.com/filestack/filestack-js/commit/9c09c4c)) ### Features * **picker:** Update picker version ([#189](https://github.com/filestack/filestack-js/issues/189)) ([771edb4](https://github.com/filestack/filestack-js/commit/771edb4)) <a name="1.9.0"></a> # [1.9.0](https://github.com/filestack/filestack-js/compare/v1.8.3...v1.9.0) (2018-12-18) ### Features * **picker:** Add exif removal option to picker ([9ca93b4](https://github.com/filestack/filestack-js/commit/9ca93b4)) <a name="1.8.3"></a> ## [1.8.3](https://github.com/filestack/filestack-js/compare/v1.8.2...v1.8.3) (2018-12-11) ### Bug Fixes * **transforms:** allow uppercased values in transform ([#179](https://github.com/filestack/filestack-js/issues/179)) ([9b7c3ba](https://github.com/filestack/filestack-js/commit/9b7c3ba)) <a name="1.8.2"></a> ## [1.8.2](https://github.com/filestack/filestack-js/compare/v1.8.1...v1.8.2) (2018-12-10) <a name="1.8.1"></a> ## [1.8.1](https://github.com/filestack/filestack-js/compare/v1.8.0...v1.8.1) (2018-11-22) ### Bug Fixes * **tslib:** move tslib to deps ([121d233](https://github.com/filestack/filestack-js/commit/121d233)) <a name="1.8.0"></a> # [1.8.0](https://github.com/filestack/filestack-js/compare/v1.7.7...v1.8.0) (2018-11-21) ### Bug Fixes * **har-validator:** fix har-validator in package json ([d4475a0](https://github.com/filestack/filestack-js/commit/d4475a0)) * **har-validator:** fix version for har-validator ([1a5d343](https://github.com/filestack/filestack-js/commit/1a5d343)) * **har-validator:** fix version in package-json lock ([#172](https://github.com/filestack/filestack-js/issues/172)) ([5f585a6](https://github.com/filestack/filestack-js/commit/5f585a6)) * **storeURL:** fix if statement for replacing special chars in store url ([41188ec](https://github.com/filestack/filestack-js/commit/41188ec)) <a name="1.7.7"></a> ## [1.7.7](https://github.com/filestack/filestack-js/compare/v1.7.6...v1.7.7) (2018-10-29) ### Bug Fixes * **browser_utils:** fix slice file in browser utils ([#166](https://github.com/filestack/filestack-js/issues/166)) ([9210eb7](https://github.com/filestack/filestack-js/commit/9210eb7)) <a name="1.7.6"></a> ## [1.7.6](https://github.com/filestack/filestack-js/compare/v1.7.5...v1.7.6) (2018-10-25) ### Bug Fixes * **workflows:** fix condition in workflows ([03738ba](https://github.com/filestack/filestack-js/commit/03738ba)) <a name="1.7.5"></a> ## [1.7.5](https://github.com/filestack/filestack-js/compare/v1.7.4...v1.7.5) (2018-10-25) ### Bug Fixes * **workflows:** fix workflows in uploads ([95d90e1](https://github.com/filestack/filestack-js/commit/95d90e1)) <a name="1.7.4"></a> ## [1.7.4](https://github.com/filestack/filestack-js/compare/v1.7.3...v1.7.4) (2018-10-25) <a name="1.7.3"></a> ## [1.7.3](https://github.com/filestack/filestack-js/compare/v1.7.2...v1.7.3) (2018-10-23) ### Bug Fixes * **upload:** add signature and policy to complete upload event ([#164](https://github.com/filestack/filestack-js/issues/164)) ([7d98a27](https://github.com/filestack/filestack-js/commit/7d98a27)) <a name="1.7.2"></a> ## [1.7.2](https://github.com/filestack/filestack-js/compare/v1.7.1...v1.7.2) (2018-10-11) <a name="1.7.1"></a> ## [1.7.1](https://github.com/filestack/filestack-js/compare/v1.7.0...v1.7.1) (2018-10-10) ### Bug Fixes * **pickerOptions/workflows:** Fix workflowIds name in options ([#160](https://github.com/filestack/filestack-js/issues/160)) ([b53af12](https://github.com/filestack/filestack-js/commit/b53af12)) <a name="1.7.0"></a> # [1.7.0](https://github.com/filestack/filestack-js/compare/v1.6.1...v1.7.0) (2018-10-10) ### Features * **workflows:** Add workflows ids to store options ([#159](https://github.com/filestack/filestack-js/issues/159)) ([4ca1b34](https://github.com/filestack/filestack-js/commit/4ca1b34)) <a name="1.6.1"></a> ## [1.6.1](https://github.com/filestack/filestack-js/compare/v1.6.0...v1.6.1) (2018-10-05) ### Bug Fixes * **picker/cname:** Load assets from given cname instead of fielstackapi domain - picker v1.2.2 ([#156](https://github.com/filestack/filestack-js/issues/156)) ([e3ea711](https://github.com/filestack/filestack-js/commit/e3ea711)) <a name="1.6.0"></a> # [1.6.0](https://github.com/filestack/filestack-js/compare/v1.5.1...v1.6.0) (2018-09-24) ### Features * **workflows:** Add support for workflows ([#150](https://github.com/filestack/filestack-js/issues/150)) ([ddeb93a](https://github.com/filestack/filestack-js/commit/ddeb93a)) <a name="1.5.1"></a> ## [1.5.1](https://github.com/filestack/filestack-js/compare/v1.5.0...v1.5.1) (2018-08-13) ### Bug Fixes * **ie11:** downgrade atob lib ([#139](https://github.com/filestack/filestack-js/issues/139)) ([d87c834](https://github.com/filestack/filestack-js/commit/d87c834)) <a name="1.5.0"></a> # [1.5.0](https://github.com/filestack/filestack-js/compare/v1.4.0...v1.5.0) (2018-08-08) ### Features * Add support for buffers ([#137](https://github.com/filestack/filestack-js/issues/137)) ([7254ce4](https://github.com/filestack/filestack-js/commit/7254ce4)) <a name="1.4.1"></a> ## [1.4.1](https://github.com/filestack/filestack-js/compare/v1.4.0...v1.4.1) (2018-07-25) ### Picker Updates * fix issue with `storeTo` not being respected in `dropPane` mode with `cropFiles: true` <a name="1.4.0"></a> # [1.4.0](https://github.com/filestack/filestack-js/compare/v1.3.2...v1.4.0) (2018-07-19) ### Bug Fixes * downgrade rollup to fix ES module bundling ([6c05b40](https://github.com/filestack/filestack-js/commit/6c05b40)) * respect empty values for transform tasks without props ([4b4f9a6](https://github.com/filestack/filestack-js/commit/4b4f9a6)) ### Features * add removeMetadata method to allow file delete calls with skip_storage param ([#125](https://github.com/filestack/filestack-js/issues/125)) ([45e628a](https://github.com/filestack/filestack-js/commit/45e628a)) <a name="1.3.2"></a> ## [1.3.2](https://github.com/filestack/filestack-js/compare/v1.3.1...v1.3.2) (2018-07-17) <a name="1.3.1"></a> ## [1.3.1](https://github.com/filestack/filestack-js/compare/v1.3.0...v1.3.1) (2018-07-17) ### Bug Fixes * **transform:** Transform cache option can be boolean ([#127](https://github.com/filestack/filestack-js/issues/127)) ([b4e15d4](https://github.com/filestack/filestack-js/commit/b4e15d4)) <a name="1.3.0"></a> # [1.3.0](https://github.com/filestack/filestack-js/compare/v1.2.1...v1.3.0) (2018-07-17) ### Features * **transforms:** add compress option ([#126](https://github.com/filestack/filestack-js/issues/126)) ([a2a0e2d](https://github.com/filestack/filestack-js/commit/a2a0e2d)) <a name="1.2.1"></a> ## [1.2.1](https://github.com/filestack/filestack-js/compare/v1.2.0...v1.2.1) (2018-07-05) ### Bug Fixes * resolve some issues with types ([1455632](https://github.com/filestack/filestack-js/commit/1455632)) <a name="1.2.0"></a> # [1.2.0](https://github.com/filestack/filestack-js/compare/1.1.0...1.2.0) (2018-07-02) ### Picker Updates * add new option `customText` for replacing strings in the picker UI [Read more](https://filestack.github.io/filestack-js/interfaces/pickeroptions.html#customtext) * add new `cropped` and `rotated` fields to the returned picker metadata [Read more](https://filestack.github.io/filestack-js/interfaces/pickerfilemetadata.html) * fix issue related to minified CSS namespace collision in animations * update Danish and Korean translations <a name="1.1.0"></a> # [1.1.0](https://github.com/filestack/filestack-js/compare/1.0.2...1.1.0) (2018-06-13) ### Features * **transforms:** Add safe for work and tags transform ([#121](https://github.com/filestack/filestack-js/issues/121)) ([ed0f4c6](https://github.com/filestack/filestack-js/commit/ed0f4c6)) <a name="1.0.2"></a> # [1.0.2](https://github.com/filestack/filestack-js/compare/1.0.1...1.0.2) (2018-06-11) ### Bug Fixes * **transform:** correct typo in video locations enum ([6fcf41b](https://github.com/filestack/filestack-js/commit/6fcf41b)) * **picker:** fix bug where onUploadDone was called twice if allowManualRetry was true * **picker:** fix issue where event listeners were being unnecessarily removed <a name="1.0.1"></a> ## [1.0.1](https://github.com/filestack/filestack-js/compare/1.0.0...1.0.1) (2018-05-31) ### Bug Fixes * **picker:** fix syntax error in IE11 related to untransformed module import ([51e4873](https://github.com/filestack/filestack-js/commit/51e4873)) ## 1.0.0 (2018-05-31) The source code for this repository has been made available under the Apache 2.0 license. Contributions are more than welcome, and we will be working to improve the contribution experience over time. It should be noted that the source code for the picker UI is not yet licensed for sharing. ### Module Updates * Browser and Node runtimes are now both supported. This is accomplished using the appropriate module fields in `package.json`. [Read more.](https://github.com/filestack/filestack-js#module-overview) * All modules have been rewritten in TypeScript. Generated docs are now derived from the interfaces used within the source code. [API Docs](https://filestack.github.io/filestack-js/index.html) ### Breaking Changes * `filestack.init` now takes 2 arguments, `apikey` and `options`. [Read more.](https://filestack.github.io/filestack-js/globals.html#init) * No more default export. The ES module must be imported using qualified imports, such as `import * as filestack from 'filestack-js'`. * Custom source in the picker must now use `customSourceName` to configure the name of the source in the UI. This is no longer pulled from the Filestack application. * `rejectOnCancel` has been removed from the picker options. * `hideWhenUploading` has been renamed to `hideModalWhenUploading`, since it applies only when `displayMode` is `'overlay'` * `pick`, `makeDropPane`, and `cropFiles` have been replaced by a unifying `picker` instance that exposes methods for controlling the picker lifecycle. Supporting this change are two new picker options, `displayMode` and `container`, which allow users to configure how their pickers are integrated into the document. #### Migration path for filestack.init: ```js const security = { policy: '12345', signature: 'abcdef' }; const cname = 'fs.mydomain.com'; // pre 1.0 filestack.init(apikey, security, cname); // ---> 1.0 const options = { security, cname, }; filestack.init(apikey, options); ``` ### Picker Changes We have changed the interface for using the picker. This was necessitated by new features and motivated by developer feedback. Because the picker now supports being embedded in addition to being a one-time modal, the Promise interface has been removed. This means `client.pick` is replaced by `client.picker`, which returns a Picker instance that exposes methods `open`, `close`, `cancel`, and `crop`. The picker instance can be configured to open in `overlay`, `inline`, or `dropPane` modes. The recommended way moving forward is to replace your usage of `client.pick` with `picker.open` and set up any callbacks you need as options when instantiating the picker. For example: ```js // pre-1.0 const client = filestack.init('apikey'); const pickOptions = { accept: ['image/jpeg', '.jpg', '.jpeg'], maxFiles: 4, imageMax: [1280, 720] // etc. }; client.pick(pickOptions).then(callback); // ---> 1.0 const client = filestack.init('apikey'); const pickOptions = { accept: ['image/jpeg', '.jpg', '.jpeg'], maxFiles: 4, imageMax: [1280, 720], onUploadDone: callback, }; client.picker(pickOptions).open(); ``` In line with this change, we have removed the helper methods `cropFiles` and `makeDropPane`, but the same functionality can still be retained. The old `makeDropPane` method can be achieved with this adapter: ```js const makeDropPane = (dropPaneOptions, pickerOptions) => { const options = { ...pickerOptions, displayMode: 'dropPane', container: dropPaneOptions.id, // container can be a CSS selector or DOM node dropPane: dropPaneOptions, }; const picker = client.picker(options); picker.open(); // close drop pane with picker.close() }; ``` `cropFiles` is replaced by the `crop` method on the picker instance. This can only be used when displayMode is overlay (default) or inline. The crop method will take the input files and apply the force crop mode automatically for those files. ```js const pickerOptions = { onUploadDone: res => console.log(res), }; const picker = client.picker(pickerOptions); picker.crop('http://link-to-an-image'); // can pass an array of Blobs or URLs ``` ### OAuth Changes The OAuth flow for our cloud service has been updated to remove the need for cross-origin cookies. Unfortunately this is only possible by leveraging a feature of the OAuth 2 specification, which some cloud sources do not yet support. Because of this the following cloud sources are currently unsupported in the new picker: * Flickr * Evernote Due to how these services implement OAuth we cannot reliably track end-user sessions in our system. These providers will still operate in previous versions, and we will continue to search for a solution moving forward. ### Picker Changes Summary * New options `displayMode` and `container` to enable better DOM integration * MutationObserver is now used to clean up picker resources when its root node is destroyed in the DOM * `onOpen` now passes the picker instance and adds the `app` property to it which is a reference to the Vue instance * Non-local source views can now be toggled between list and grid * Shift-click for range selection is now supported in cloud source views * Fix issue related to folder limit in drag events * Fix issue where infinite scroll for some cloud sources made duplicate requests * Fix issue where `accept` parameter was not passed to mobile local file selection * Change `accept` to reject files without extensions if extension types are whitelisted * The modal sidebar will now auto-hide if only one source exists in `fromSources` * First-time render speed has been improved due to removing a blocking network request * Cross-origin cookies have been removed in favor of localStorage. This should resolve issues in Safari 11 and removes the need for the OAuth relay hosted by Filestack. This also means that Filestack cloud sessions will not persist across separate domains. * New option `customSourceName` for specifying the name of the custom source. This needs to be used if you were defining your custom source name in the dev portal. * `webcam`, `audio` and `video` sources on mobile are no longer hidden. Their behavior will be to open the device menu instead of using the desktop functionality. * Update Dutch translations * Add Catalan translations ### API Client Updates * `transform` has been rewritten and now supports all image tasks from the Filestack catalog. [Read more.](https://filestack.github.io/filestack-js/interfaces/transformoptions.html) * `preview` will now respect the CNAME option passed to the client when constructing URLs. * New option `sessionCache` to enable/disable storing the Filestack Cloud API token in the browser. Defaults to false. When true then users will not need to re-authorize their cloud sources if their session has not expired yet on the backend. ## 0.11.2 (2018-01-24) **Picker changes** - Prevent ICC profile from being stripped on transformed images - Update Norwegian translations ## 0.11.1 (2018-01-18) **Picker changes** - Fix a regression introduced in 0.10 where deselection of files prevented further uploads ## 0.11.0 (2018-01-12) **Picker changes** - Remove global event handlers from drop pane components on destroy **Client changes** - Update `preview` to use the new file viewer service (/preview instead of /api/preview) - Update `preview` to support storage aliases (e.g. src://my-alias/my-file) - Add preview option `v1` for users who wish to continue using the deprecated file viewer **Note** The new file viewer has been redesigned so custom CSS may no longer work as intended. Users can continue using the old viewer by passing `{ v1: true }` in the `client.preview` options. ## 0.10.1 (2017-12-14) **Picker changes** - Fix regression with `uploadConfig.timeout` not being respected ## 0.10.0 (2017-12-07) **Picker changes** - Add new option `concurrency` to control maximum amount of running uploads - Fix a memory issue related to image resize and upload concurrency - Fix issue where `'fallback'` for intelligent uploads was not respected - Fix issue where editing cloud images stripped EXIF metadata - Fix `disableThumbnails` option to respect edited cloud images - Refactor resize logic to provide better UX -- image resize operations no longer block user actions (like upload and edit) - Update Polish and Mandarin translations - Add Korean (`ko`), Norwegian (`no`), Swedish (`sv`), and Vietnamese (`vi`) translations ## 0.9.12 (2017-11-08) **Client changes** - Introduce `'fallback'` mode for intelligent uploads. When `intelligent: 'fallback'` is specified parts will only go through the intelligent ingestion flow when network conditions are degraded. The default behavior of `intelligent: true` remains unchanged -- when true all parts go through the intelligent flow regardless of network state. Note: This feature still requires intelligent ingestion to be enabled on your Filestack application. ## 0.9.11 (2017-11-01) **Client changes** - Fix bug with form data being parsed incorrectly when storing URLs ## 0.9.10 (2017-11-01) **Picker changes** - Fix browser crash in Chrome when bulk resizing images - Add some UX around currently resizing images in summary view (Upload button now say