github vaadin/flow 2.8.6
Vaadin Flow 2.8.6

latest releases: 24.6.0.alpha4, 24.5.4, 24.6.0.alpha3...
20 months ago

Changes since 2.8.5

All changes

New features

  • Update Apache Commons File Upload to 1.5 (#16136)

  • Add upload limits for Apache File Upload (#16091)
    Commit · Pull request

    Adds the default limit of maximum file part count for upload (10000) and also gives an opportunity to override it and other two limits (upload maximum file size and maximum request size) by creating a custom StreamRequestHandler :

    public class CustomServiceInitListener implements VaadinServiceInitListener {
        @Override
        public void serviceInit(ServiceInitEvent event) {
            event.addRequestHandler(new CustomStreamRequestHandler());
        }
    
        private static final class CustomStreamRequestHandler
                extends StreamRequestHandler {
            // override getFileSizeMax() and/or getRequestSizeMax() if needed
            @Override
            protected long getFileCountMax() {
                // your limit:
                return 1000;
            }
        }
    }

    See https://vaadin.com/docs/latest/advanced/service-init-listener for more information on how to add a custom request handler.

Fixes

  • Lock @types/node as newer versions are incompatible
    Commit · Pull request

  • Ignore missing files in theme processing (#15896)
    Commit · Pull request · Issue

    During theme processing, a file detected as existing may be delete before it gets copied, causing a ENOENT (No such file or directory) error. After such failure, dev server live reload stops working. This change catches errors in file copy operations, ignoring ENOENT and propagating other failures.

Don't miss a new flow release

NewReleases is sending notifications on new releases.