Releases: EasyAbp/FileManagement
5.4.0
5.3.0
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
Breaking Changes
Please add migrations for EF Core as the length of the File.MimeType
property is updated to 128 chars.
What's Changed
- Add get file by path API by @gdlcf88 in #120
- Add
GetFileListInput.Filter
property by @gdlcf88 in #121 - Upgrade to bootstrap-fileinput v5.5.3 by @gdlcf88 in #122
- Refactor the get-by-path API by @gdlcf88 in #123
- Fix the MongoDB module dependencies by @gdlcf88 in #124
- Upgrade to ABP 8.1.0 by @gdlcf88 in #129
Full Changelog: 5.1.0...5.2.0
5.1.0
5.0.0
How To Upgrade?
-
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.
-
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
- Fix the sorting of the file list API by @gdlcf88 in #110
- Introduce the file manager UI widget by @gdlcf88 in #111
- Add configurations for
File
entity property constraints by @gdlcf88 in #113 - Introduce
SoftDeletionToken
and fix indexes by @gdlcf88 in #115 - Introduce
FileUser
and file details panel by @gdlcf88 in #116 - Upgrade to ABP 8.0.0 by @gdlcf88 in #118
Full Changelog: 4.0.3...5.0.0
4.0.0
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
2.0.0
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
- @JadynWong made their first contribution in #51
Full Changelog: 1.6.0...2.0.0