Changes since 24.8.0.beta2
Breaking changes
-
Give more data to FileFactory (#21622)
Commit · Pull requestHave FileFactory get more information on upload by giving it UploadMetadata instead of only filename.
-
Remove isMultipart method (#21612)
Commit · Pull request -
Declare IOException in download/upload callbacks (#21610)
Commit · Pull requestThis allows to write the code in the callbacks without requiring catch(IOException e) each time.
-
Use long for content length in DownloadResponse (#21590)
Commit · Pull request
New features
-
Add method for
download
(#21624)
Commit · Pull requestAdd methods for checking if anchor is a download and setting the download status. ---------
-
Fire internal events about start/complete (#21554)
Commit · Pull requestAdds internal start/complete events that is used by Upload component to trigger it's own lifecycle logic. Part-of #21533
Fixes
-
Multipart upload on jetty (#21619)
Commit · Pull requestjetty when parts is not handled. Will automatically fallback to iterator.
-
Clear download attribute if inline handler set (#21623)
Commit · Pull requestClear the download attrubte from anchor if setHref is called with a new inline handler.
-
Refine request caching rules (#21558)
Commit · Pull request · IssueUpdates VaadinDefaultRequestCache to skip caching requests based on default and custom rules, including matching media types, headers, and request paths such as
/.well-known/...
. Refactors request handling utility logic for reusability. Closes #21394 -
Prevent route collision check before dev server is started (#21615)
Commit · Pull request · Issue -
Update beanstore ui if changed (#21570)
Commit · Pull request · IssueUpdate the beanstore currentUI instance if it is changed due to a reload or bookmark navigation where the window name stays the same.
-
UI available from event in upoad handling. (#21538)
Commit · Pull request