1.0.0 #5
CarlosEGuerraSilva
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v1.0.0 (2024-07-21)
⚠BREAKING CHANGES
FileManager:
checkDiskSpace() and checkAppDiskUsage() methods replaced with isMinimumDiskSpaceAvailable() and isStorageUsageWithinLimits() respectivelyFileManager:
isMinimumDiskSpaceAvailable() and isStorageUsageWithinLimits() no longer throw Exceptions; they now return a boolean value based on their checkFileManager:
File operations such as create, copy, append, etc., with the option to ignore the storage usage limitation, no longer throw Exceptions if the option is not ignored but there isn't enough storage for the application due to modifying the check behavior as it is described in the previous point. Additionally, the operations will still throw exceptions on their own if the disk does not have the minimum available storage.FileManager:
The functiongetFileType
was renamed togetFileMimeType
. Additionally, it now throws an exception if the file is not found.FileManager:
ThedeleteFile
function now throws an exception if the file to be deleted is not found.Cryptography:
The use of a self-generated backup encryption key has been removed if the encryption key as an environment variable was not configured or was inaccessible. Now, it is necessary to use the encryption key as an environment variable; if it is not configured or is inaccessible, a SecurityException will be thrown.Database:
The database connection settings are now established in the Configuration class. The user and password credentials are no longer written in the code, now are obtained from environment variables. The keys of the variables are customizable as well.Server
: Now all requests are processed by index.php, it is no longer possible to access existing files in the root directory of the app.Features:
What's Changed
Full Changelog: 1.0.0-pre.1...v1.0.0
This discussion was created from the release 1.0.0: Merge pull request #4 from Expringsoft/prerelease.
Beta Was this translation helpful? Give feedback.
All reactions