Changes since 24.8.0.alpha13
New features
-
Initialize signals environment (#21490)
Commit · Pull request -
Create transfer util (#21478)
Commit · Pull request · IssueCreate a TransferUtil for handling data transfer for upload and download. For upload handle xhr vs multipart part vs multipart iterator. This makes the UploadHanlder interface easier to handle.
-
Make current user available without an AuthenticationContext instance
Commit · Pull requestMakes it possible to write an application method like
public static Optional<User> getCurrentUser() { return AuthenticationContext.getCurrentAuthenticatedUser(AppUserInfo.class).map(AppUserInfo::user); }
instead of re-implementing everything from AuthenticationContext -
Add a shortcut to get DeploymentConfiguration from UIInternals
Commit · Pull requestSummary of Change: Added a helper method in UIInternals to get deployment configurations from the service from the session. Motivation and Context: There are many areas of code that need to access deployment configuration from UIInternals but accessing is quite clunky and long.
-
Add overloads with TransferContext
Commit · Pull request
Fixes
-
Set download attribute for Anchor DownloadHandlers (#21512)
Commit · Pull requestPart of #21487 add tests
-
Remove name/fileName from inputStreamDownload
Commit · Pull requestRemove the possibility to give fileName/name to inputStreamDownloadHandler as the atual downloaded name is decided on transfer and will in many cases not match or be confusing to match in 2 places.
-
Handle downloads where the server does not provide content-length
Commit · Pull request