Spring Boot 3.1.0-M1 发布
Spring Boot 3.1.0-M1 现已发布。此版本包括105 项增强功能、文档改进、依赖项升级和错误修复。值得注意的新功能包括: 文件和控制台的不同log levels 如果你使用 Logback 或 Log4j2,现在可以选择为控制台日志和文件日志设置不同的 log levels。这可以通过配置属性logging.threshold.console和logging.threshold.file来设置。 最大 HTTP Response Header Size 如果你使用 Tomcat 或 Jetty,现在可以限制最大的 HTTP response header 大小。对于 Tomcat,你可以使用server.tomcat.max-http-response-header-size属性;对于 Jetty,你可以使用server.jetty.max-http-response-header-size。默认情况下,response headers 被限制在 8kb。 许多依赖升级 Spring Boot 3.1.0-M1 转移到几个 Spring 项目的新版本: Spring D...