Skip to content

Latest commit

 

History

History
330 lines (173 loc) · 14.6 KB

CHANGELOG.md

File metadata and controls

330 lines (173 loc) · 14.6 KB

Changelog

1.11.3 (2025-02-25)

Bug Fixes

  • support relative path starting with "./" (#95) (73279f3)

1.11.2 (2024-09-28)

Bug Fixes

  • allow relativePath as alternative to webkitRelativePath (e5fd102)

1.11.1 (2024-07-14)

Bug Fixes

1.11.0 (2024-01-20)

Features

  • allow WebSource to have options (1b1a436)

1.10.2 (2023-08-17)

Bug Fixes

1.10.1 (2023-08-03)

Bug Fixes

1.10.0 (2023-06-12)

Features

  • add a parameter to allow or not recursive unzip (true by default) (82ccd18)
  • add logger (to warn when trying to unzip non zip file) (82ccd18)
  • we expose now 'Options' type for all the options in the various functions. In includes logger unzip ungzip filter (82ccd18)

Bug Fixes

  • unzip only if not ignored (82ccd18)
  • unzip only if not ignored (82ccd18)

Documentation

  • correct jsdoc from maybeFilter (f89d850)

1.9.0 (2023-05-11)

Features

  • add cache option for fileCollectionFromWebSource (41c0c6b)
  • if arrayBuffer is cached we convert it to text if required (01d2ea2)

1.8.1 (2023-04-24)

Bug Fixes

1.8.0 (2023-03-01)

Features

  • publish project on lactame.com (aefe82b)

Documentation

  • example of file or folder upload (890f215)

1.7.1 (2023-02-17)

Bug Fixes

  • fallback to location.href (1c4dac4)

Documentation

  • add comments in index.js (bc449d5)

1.7.0 (2023-02-06)

Features

  • add filter options to fileCollectionFromZip (#74) (e36ab0d)

1.6.0 (2023-02-03)

Features

  • add fileCollectionToZip (d31f6b9)
  • allow to 'zip' a fileCollection instance (6962cf6)

1.5.1 (2023-01-19)

Bug Fixes

1.5.0 (2022-12-15)

Features

  • fileCollectionFromFileArray as optional baseURL in options (c452721)

1.4.1 (2022-12-14)

Bug Fixes

  • baseURL become optional in fileCollectionFromFileArray (#67) (64a7024)

1.4.0 (2022-12-05)

Features

  • ensure a fileCollection result is always sorted (3c2bdff)

1.3.0 (2022-12-02)

Features

Documentation

  • add webservice example in html (06f3e96)

1.2.0 (2022-11-06)

Features

  • add fileCollectionFromPaths (cb71b52)

Bug Fixes

  • relativePath should always contain file.name and not '.' (#49) (bfd802c)

1.1.1 (2022-10-27)

Bug Fixes

  • ignore dotFolder and included files (9d0c6b4)

1.1.0 (2022-10-27)

Features

  • filter out .dotFiles by default (3f4622f)

1.0.1 (2022-10-15)

Bug Fixes

1.0.0 (2022-10-14)

Features

0.12.0 (2022-10-13)

Features

  • add fileCollectionFromFiles (de54391)
  • allow the absence of webkitRelativePath in FromFileList (b1f371b)

0.11.0 (2022-09-29)

⚠ BREAKING CHANGES

  • replace .items by .files

Miscellaneous Chores

  • replace .items by .files (87c8cf6)

0.10.0 (2022-09-29)

chore!: rename FileList to FileCollection chore!: rename File to FileCollectionItem chore!: rename webkitRelativePath to relativePath feat: add fileCollectionFromFileList refactor: remove baseName option and fix on Windows feat: default unzip ungzip using fromFileList and fromWebService

⚠ BREAKING CHANGES

  • rename FileList to FileCollection
  • rename File to FileCollectionItem
  • rename webkitRelativePath to relativePath
  • create internal class containing items

Features

  • add fileCollectionFromFileList
  • add fileCollectionFromPath
  • add fileCollectionFromWebservice
  • add fileCollectionFromZip

Miscellaneous Chores

  • create internal class containing items (4633c4a)

0.9.1 (2022-09-22)

Bug Fixes

0.9.0 (2022-09-22)

⚠ BREAKING CHANGES

  • rename fileCollectionFromWS to fileCollectionFromWebservice

Miscellaneous Chores

  • rename fileCollectionFromWS to fileCollectionFromWebservice (df98fac)

0.8.0 (2022-09-19)

Features

  • add fileCollectionFromWS (ccd0c8b)

0.7.1 (2022-08-24)

Bug Fixes

  • keep ebkitRelativePath after gunzip and only change the name (05eacf1)

0.7.0 (2022-08-24)

Features

  • ungzip using native nodejs (20d3afb)

0.6.0 (2022-08-19)

⚠ BREAKING CHANGES

  • fileCollectionFromPath is now async and ungzip and unzip

Features

  • fileCollectionFromPath is now async and ungzip and unzip (8245843)
  • first implementation of stream (2c060da)
  • implementation of stream (59e182c)

0.5.0 (2022-04-13)

Features

  • add fileCollectionItemsUngzip (c09e3d5)

0.4.0 (2022-04-08)

Features

  • add groupFiles (4d16f7b)
  • expose FileItem and FileCollection (c451ac3)

0.3.0 (2022-03-18)

Features

  • add fileCollectionItemUnzip method (#13) (4876215)

0.2.4 (2022-03-08)

Bug Fixes

  • fileCollectionFromPath and relativePath (2e3b7f1)
  • fileCollectionFromZip and correct relativePath (a136530)

0.2.3 (2022-03-03)

Bug Fixes

  • replace back in relativePath (#8) (84ae282)

0.2.2 (2022-03-02)

Bug Fixes

  • correctly return a filelist from zip (b579d2a)

0.2.1 (2022-03-01)

Bug Fixes

  • export the type FileCollection (818a69c)

0.2.0 (2022-02-28)

Features

  • expose ZipFileContent type (c478ae7)

Bug Fixes

  • File with omited properties (9d5ecb8)
  • lastModified set to milliseconds since unix epoch (#3) (de58110)

0.1.0 (2022-02-25)

Features