Skip to content

Releases: GoogleChromeLabs/browser-fs-access

v0.35.0

14 Sep 08:57
Compare
Choose a tag to compare
  • Fix cross-origin iframe detection. The minifier logic changed and replaced self.top.location + '' to just top, causing the exception to no longer throw.

v0.34.1

22 May 10:53
Compare
Choose a tag to compare
  • Don't use useCapture. (#142)

v0.34.0

19 May 13:35
Compare
Choose a tag to compare
  • Set useCapture option for removeEventListener() (#142).

v0.33.0

27 Feb 11:40
Compare
Choose a tag to compare
  • Properly detect support in same- and cross-origin iframes. Before, it would erroneously use the fallback solution. (#138)

v0.32.1

20 Feb 19:04
Compare
Choose a tag to compare
  • When the File System Access API is supported, the directoryOpen() function now returns the directory handle in the results array in case the directory is empty. Before, the function would return an empty array. This is a breaking change.

Warning

Breaking change:

// If the directory is empty, rather than `[]`,
// this function now returns `[directoryHandle]`
// when the File System Access API is supported.
const files = await directoryOpen();
// Check if there are files in the directory.
if (files.length && !(files[0] instanceof File)) {
  // The directory is empty and the returned item
  // is a `FileSystemDirectoryHandle`.
  const directoryHandle = files[0];
  return directoryHandle;
}
// There are files in the directory.
for (file of files) {
  // Iterate over the files.
}

v0.31.2

12 Jan 15:43
Compare
Choose a tag to compare
  • Add exported types to package resolution (#137)

v0.31.1

07 Oct 11:17
Compare
Choose a tag to compare
  • Use HTMLInputElement.showPicker() when possible (#126).

v0.31.0

11 Jul 14:49
Compare
Choose a tag to compare
  • Add mode to directoryOpen() (#120).

v0.30.2

29 Jun 11:26
Compare
Choose a tag to compare

v0.30.1

22 Jun 14:25
Compare
Choose a tag to compare
  • Pass FileSystemFileHandle in filePickerShown() callback. (#116)