Skip to content

Latest commit

 

History

History
105 lines (87 loc) · 6.28 KB

File metadata and controls

105 lines (87 loc) · 6.28 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[4.0.0] - 2026-04-14

Removed

  • Removed FilePickerOptionsStartInWellKnownDirectory and FilePickerOptionsStartInFileSystemHandle and replaced their usages with the new FilePickerOptions class.
  • Removed DirectoryPickerOptionsStartInWellKnownDirectory and DirectoryPickerOptionsStartInFileSystemHandle. Use DirectoryPickerOptions instead.
  • Removed OpenFilePickerOptionsStartInWellKnownDirectory and OpenFilePickerOptionsStartInFileSystemHandle. Use OpenFilePickerOptions instead.
  • Removed SaveFilePickerOptionsStartInWellKnownDirectory and SaveFilePickerOptionsStartInFileSystemHandle. Use SaveFilePickerOptions instead.
  • Removed FileSystemAccessOptions as we can achieve the same by using an import map to reduce cluttered and inconsistent APIs.

Changed

  • Reduced number of overloads for the ShowDirectoryPickerAsync method in IFileSystemAccessService and IFileSystemAccessServiceInProcess to only include a single that has an optional DirectoryPickerOptions parameter.
  • Reduced number of overloads for the ShowOpenFilePickerAsync method in IFileSystemAccessService and IFileSystemAccessServiceInProcess to only include a single that has an optional OpenFilePickerOptions parameter.
  • Reduced number of overloads for the ShowSaveFilePickerAsync method in IFileSystemAccessService and IFileSystemAccessServiceInProcess to only include a single that has an optional SaveFilePickerOptions parameter.
  • Changed the version of Blazor.FileSystem to use the newest version which is 1.0.3.

Added

  • Added DirectoryPickerOptions that encompases all the ways that we can adjust how we open a directory.
  • Added OpenFilePickerOptions that encompases all the ways that we can adjust how we open a file.
  • Added SaveFilePickerOptions that encompases all the ways that we can adjust how we save a file.
  • Added FilePickerOptions which better reflects the same as the WebIDL specification.

[3.3.0] - 2025-04-08

Added

  • Added Mode option for BaseDirectoryPickerOptions. By @datvm.

[3.2.2] - 2023-10-19

Changed

  • Changed the version of Blazor.FileSystem to use the newest version which is 0.3.1.

[3.2.1] - 2023-10-05

Fixed

  • Fixed to conform to change in spec where FilePickerAcceptType.Description now has the empty string as default value i.e. "".

[3.2.0] - 2023-03-16

Changed

  • Changed .NET version to 7.0.
  • Changed the version of Blazor.FileSystem to use the newest version which is 0.3.0.

Added

  • Added the generation of a documentation file packaging all XML comments with the package.

[3.1.0] - 2023-02-15

Changed

  • Changed the version of Blazor.FileSystem to use the newest version which is 0.2.0.

[3.0.0] - 2023-01-11

Changed

  • Changed to use FileSystemHandle, FileSystemFileHandle, FileSystemDirectoryHandle, and their InProcess variants from Blazor.FileSystem.

[2.1.0] - 2022-11-18

Added

  • Added FileSystemAccessOptions class that can customize the helper script path. By @datvm.
  • Added overloads for methods in FileSystemAccessService and FileSystemAccessServiceInProcess methods that takes a FileSystemAccessOptions. By @datvm.
  • Added overloads for creator methods on FileSystemHandle, FileSystemFileHandle, and FileSystemDirectoryHandle and their inProcess counterparts that takes a FileSystemAccessOptions. By @datvm.
  • Added Create method to FileSystemWritableFileStream.

Changed

  • Changed the version of Blazor.FileAPI to use the newest version which is 0.2.0.

[2.0.0] - 2022-11-10

Added

  • Added interfaces for FileSystemAccessService and FileSystemAccessServiceInProcess so that they are test friendly.
  • Added InProcess variants of the following wrapper classes: FileSystemDirectoryHandle, FileSystemFileHandle, FileSystemHandle and FileSystemWritableFileStream.

Changed

  • Changed the Blazor WebAssembly compatible service to be named FileSystemAccessServiceInProcess instead of FileSystemAccessService so that Blazor Server support is the standard.
  • Changed to use the Blazor.FileAPI's definition of Blobs and Files.
  • Changed to have FileSystemWritableFileStream extend Blazor.Streams's WritableStream instead of .NET Stream.
  • Changed creator methods CreateAsync to take IJSRuntime first to normalize standards with other wrappers.

[1.2.1] - 2022-10-10

Fixed

  • Fixed that BlobWriteParams, StringWriteParams, and ByteArrayWriteParams didn't set their WriteCommandType given from the constructor.
  • Fixed naming of GetOriginPrivateDirectoryAsync and IsSupportedAsync to have Async in name.

[1.2.0] - 2022-10-07

Added

  • Added ArrayBufferAsync method to Blob to read as byte array. By @fixnil.
  • Added public CreateAsync methods to FileSystemHandle, FileSystemFileHandle, and FileSystemDirectoryHandle.

Fixed

  • Fixed naming of QueryPermissionAsync and RequestPermissionAsync to have Async in name.
  • Fixed that there was an extra in in the name of OpenFilePickerOptionsStartInFileSystemHandle.

[1.1.0] - 2022-08-19

Added

  • FileSystemWritableFileStream now extends the Stream.

[1.0.1] - 2022-07-12

Fixed

  • Fixed error of Multiple in OpenFilePickerOptionsStartInWellKnownDirectory not being serialized correctly. By @AlexanderNorup.

[1.0.0] - 2022-06-28

Added

  • Added support for Origin Private File System via GetOriginPrivateDirectory method that wraps the JS call navigator.storage.getDirectory.

Changed

  • Changed RemoveEntryAsync to use FileSystemRemoveOptions instead of FileSystemGetFileOptions and created the FileSystemRemoveOptions class.

Removed

  • Constructor with keepExistingData parameter in FileSystemCreateWritableOptions was removed for consistency.

[0.2.0] - 2022-06-14

Added

  • Added support for writing byte arrays to files using FileSystemWritableFileStream. By @nzmangan.