Skip to content

Releases: EasyAbp/FileManagement

5.4.0

27 Oct 18:29
80242f9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.3.0...5.4.0

5.3.0

30 Jul 12:42
6ad642a
Compare
Choose a tag to compare

What's Changed

  • Allows file renaming with only case differences by @gdlcf88 in #130
  • Add a File.HasSubdirectories property by @gdlcf88 in #131
  • Add a File.HasSubdirectories property: part 2 by @gdlcf88 in #132
  • Skip handling of statistic data update if dir is not found by @gdlcf88 in #133
  • Upgrade to ABP 8.2.0 by @gdlcf88 in #134

Full Changelog: 5.2.0...5.3.0

5.2.0

12 Apr 14:54
accc497
Compare
Choose a tag to compare

Breaking Changes

Please add migrations for EF Core as the length of the File.MimeType property is updated to 128 chars.

What's Changed

Full Changelog: 5.1.0...5.2.0

5.1.0

31 Dec 16:33
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.0.0...5.1.0

5.0.0

28 Nov 07:16
bdf8bbd
Compare
Choose a tag to compare

image

How To Upgrade?

  1. This module no longer provides a default file manager page and menu item.
    Now you need to create a page yourself with code like this:

        @await Component.InvokeAsync("FileManager", new
               {
                   fileContainerName = "default", // specify a container
                   ownerUserId = CurrentUser.GetId(), // can be null if it's a shared container
                   parentId = (Guid?)null, // the root directory
                   policy = new FileManagerPolicyModel // with a custom policy model
                   { CanUploadFile = false, CanMoveFile = false }
               })

    The policy arg is not required. See the demo file manager page and menu item.

  2. Make sure that the FileName of the File entities doesn't exceed a length of 255 chars. Then you can add an EF Core migration and update the database.

What's Changed

Full Changelog: 4.0.3...5.0.0

4.0.0

15 Oct 19:34
Compare
Choose a tag to compare

Refactored FileAppService and FileManager

Inserting and updating File entities, BLOB saving, and file upload quantity/size/extension checks are now processed in FileManager instead of FileAppService.

Refactored FileOperationAuthorizationHandler

It now uses different resource models for different operations.

Removed File Re-upload APIs

They are removed since re-uploading an already existing file doesn't make sense.

Decoupled With the ABP BLOB Storing Module

The Domain module has been split into Domain and Domain.Core. If you need to use another way to implement file persistence (such as Azure Data Lake Storage Gen2), your project can simply depend on the Domain.Core module and implement the IFileManager interface on your own.

What's Changed

  • Decouple with the ABP BLOB storing module by @gdlcf88 in #98
  • Remove file re-upload APIs by @gdlcf88 in #99
  • Refactor FileOperationAuthorizationHandler by @gdlcf88 in #100
  • Remove the app layer's dependency on the domain layer by @gdlcf88 in #101
  • Revised FileManagementOptionsBase by @gdlcf88 in #105
  • Move RecursiveDirectoryStatisticDataUpdater to the domain core module by @gdlcf88 in #106
  • Move more methods to FileManagerBase by @gdlcf88 in #107
  • Remove the Domain layer dependency from the EF layer by @gdlcf88 in #108

Full Changelog: 3.0.0...4.0.0

3.0.0

24 Jul 07:59
Compare
Choose a tag to compare

What's Changed

  • Refactor statistics data update by @gdlcf88 in #95
  • Fix statistic data updater and support local event bus by @gdlcf88 in #96
  • Upgrade to ABP 7.3.0 by @gdlcf88 in #97

Full Changelog: 2.4.1...3.0.0

2.0.0

28 Dec 19:20
Compare
Choose a tag to compare

What's Changed

  • Support RemoteStreamContent by @JadynWong in #51
  • Upgrade to ABP v5.0.1 5179be6
  • Refactor UnusedBlobCleaner 5179be6
  • Redesign the demo to make admin can do anything 5179be6

New Contributors

Full Changelog: 1.6.0...2.0.0