昨天Spring Framework 4.2.3正式在Maven中央库上线发布,此次更新包含60多项修复与提升,以下是修复与提示内容的原文与翻译:

Sub-task

  • [SPR-8129] - Document @Bean alternatives to JndiObjectFactoryBean

  • [SPR-8131] - Document @Bean alternatives to ScheduledExecutor and ThreadPoolExecutor FactoryBean types

Bug

  • [SPR-13328] - Unable to intercept methods with mixed enum types as varargs(无法拦截混合枚举类型作为方法的参数)

  • [SPR-13559] - <mvc:view-resolvers> does not reliably find declared ContentNegotiationManager(<mvc:view-resolvers>没有找到可靠的ContentNegotiationManager声明)

  • [SPR-13587] - Content-Disposition header causes download in browser for Spring Boot Actuator endpoints(在Spring Boot Actuator中内容处理头导致在浏览器中变成下载)

  • [SPR-13599] - Autowiring throws NullPointerException(自动装配抛NullPointerException异常)

  • [SPR-13617] - AbstractJdbcCall's compiled variable should be declared as volatile(AbstractJdbcCall的编译变量应该被声明为volatile)

  • [SPR-13619] - UndertowRequestUpgradeStrategy not compatible with WildFly anymore(UndertowRequestUpgradeStrategy不兼容WildFly)

  • [SPR-13620] - webjars resource handling may run into NPE in JarURLInputStream(webjars资源处理可能在JarURLInputStream遇到NPE)

  • [SPR-13629] - Content-Disposition added for @ResponseBody methods explicitly mapped to ".html" or other extensions

  • [SPR-13634] - IllegalArgumentException when using AnnotationUtils.findAnnotation

  • [SPR-13637] - Setting StandaloneMockMvcBuilder.useSuffixPatternMatch = false does not work

  • [SPR-13653] - CommonsMultipartResolver.setMaxUploadSizePerFile() does not work if encoding does not match the default encoding

  • [SPR-13656] - SerializableTypeWrapper.MethodInvokeTypeProvider can be exploited for unsafe deserialization

  • [SPR-13662] - CommonsMultipartFile.getOriginalFilename() does not strip file path properly

  • [SPR-13667] - AbstractApplicationContext.isRunning throws IllegalStateException

  • [SPR-13668] - Implement containsKey for the HttpHeaders returned from ServletServerHttpResponse

  • [SPR-13669] - SimpleJdbcCall does not throw an Exception for a missing stored procedure if the name does not contain "."

  • [SPR-13671] - ShallowEtagHeaderFilter.setContentLength causes an error when rendering a jsp which performs an include:

  • [SPR-13674] - CorsConfiguration#combine() should handle correctly * in "other" parameter

  • [SPR-13680] - ScheduledTaskRegistrar's task list getters fail with NPE when no tasks set

Improvement

  • [SPR-12833] - Unable to use Configuration classes in signed jar due to CGLIB (无法对于CGLIB签名的jar使用Configuration类)

  • [SPR-13234] - Compatibility with WebLogic 12.2.1 / Tyrus 1.11 (与WebLogic 12.2.1 / Tyrus 1.11的兼容性)

  • [SPR-13572] - Make CharacterEncodingFilter more friendly for use in Servlet 3.0+ environments(使CharacterEncodingFilter在Servlet 3.0+环境下更加友好)

  • [SPR-13576] - Incorrect @JmsListener parameter matching when the listener is a JDK proxy(监听是JDK代理时@JmsListener参数错误匹配)

  • [SPR-13582] - Spring JDBC not correctly processing Postgresql ?-contained operator(Spring JDBC不能正确处理PostgreSQL)

  • [SPR-13588] - Skip Content-Disposition header when status != 2xx(跳过内容处理请求头的状态不等于2XX时)

  • [SPR-13591] - SseEmitter cannot use "send(SseEventBuilder builder)" method with custom SseEventBuilder implementation(SseEmitter不能使用“发送(SseEventBuilder builder)”的方法和自定义SseEventBuilder实现)

  • [SPR-13596] - Inappropriate warn logging in AbstractHandlerExceptionResolver (e.g. for 404 status)(不适当的警告日志AbstractHandlerExceptionResolver(如404状态))

  • [SPR-13607] - Add selection of compare mode for Json assertion(添加JSON断言比较模式选择器

  • [SPR-13611] - Consistent warn logging without stacktrace in Portlet HandlerExceptionResolver(Portlet HandlerExceptionResolver中的无堆栈警告日志)

  • [SPR-13615] - MockMvc: afterCompletion is never called on CallableProcessingInterceptor and DeferredResultProcessingInterceptor(MockMvc:afterCompletion未执从CallableProcessingInterceptor和DeferredResultProcessingInterceptor)

  • [SPR-13616] - Support Spring-WS's MessageDispatcherServlet in AbstractDispatcherServletInitializer(在AbstractDispatcherServletInitializer中支持Spring-WS的MessageDispatcherServlet)

  • [SPR-13618] - Offer public API to add default collection converters(提供添加默认收集器的公共API)

  • [SPR-13621] - Performance regression on startup (in particular in AnnotationUtils)(在启动时的性能瓶颈(特别是在AnnotationUtils))

  • [SPR-13626] - Improve and/or provide control over ETag/If-None-Match logic in HttpEntityMethodProcessor(改进HttpEntityMethodProcessor中ETag/If-None-Match逻辑,提供and/or控制)

  • [SPR-13627] - UriTemplate should support regex matching with n times {n} pattern(UriTemplate支持正则表达式匹配n次{n}的模式)

  • [SPR-13628] - Avoid NPE for anonymous SqlParameter in CallMetaDataContext(在CallMetaDataContext中匿名的SqlParameter避免NPE

  • [SPR-13633] - JmsListenerEndpointRegistry - expose @JmsListener ids(JmsListenerEndpointRegistry 暴露 @JmsListener ids)

  • [SPR-13641] - JCache CacheResultInterceptor does not allow null values to be cached(JCache CacheResultInterceptor不允许空值被缓存)

  • [SPR-13643] - Content-Disposition with fixed file name "f.txt" causes confusion(内容处置固定的文件名“f.txt”导致混乱)

  • [SPR-13650] - @EventListener does not work if put it at method in class that implements interface(把@EventListener放在接口实现类中不起作用)

  • [SPR-13654] - Consistent method selection for listeners and endpoint mappings(listenersendpoint映射一致的方法选择器)

  • [SPR-13655] - AbstractAutoProxyCreator.getCacheKey generate lots of String garbage(AbstractAutoProxyCreator.getCacheKey产生大量的String垃圾对象)

  • [SPR-13663] - Revisit BeansException warn logging on startup(重现BeansException警告登录启动)

  • [SPR-13686] - Support for HtmlUnit 2.19(HtmlUnit 2.19支持

Task

  • [SPR-7858] - Provide better documentation for support of JSR-330 (@Inject)

  • [SPR-10448] - Documentation example miss @EnableScheduling

  • [SPR-10474] - Fix cron trigger example in reference documentation

  • [SPR-13117] - Document use of Provider interface at injection point

  • [SPR-13353] - Upgrade to CGLIB 3.2

  • [SPR-13438] - Doc: @Configuration class accepts overloaded factory methods for same bean

  • [SPR-13477] - Compatibility with WildFly 10

  • [SPR-13485] - Revisit remaining XmlBeanFactory usage in reference documentation

  • [SPR-13505] - Improve documentation about CookieLocaleResolver vs SessionLocaleResolver

  • [SPR-13520] - Update reference documentation for spring JSP Tag Library

  • [SPR-13530] - Explain when and why use Jaxb2RootElementHttpMessageConverter vs MarshallingHttpMessageConverter

  • [SPR-13531] - Explain when to use MediaType constants

  • [SPR-13600] - Add MediaType.APPLICATION_JSON_UTF8 and improve documentation

  • [SPR-13613] - Fix hard reference URL in documentation

  • [SPR-13642] - Clarify javadoc for ContentNegotiationConfigurer's ignoreAcceptHeader

  • [SPR-13665] - Upgrade to Reactor 2.0.7

  • [SPR-13666] - Error in RequestEntity<T>'s javadoc


标签:springmvc

0条评论
发表评论