Skip to content

Releases: spring-projects/spring-framework

4.2.5 Release

17 Jan 14:32
Compare
Choose a tag to compare

⭐ New Features

  • Support of SQL warnings in ScriptUtils [SPR-13959] #18532
  • PathMatchingResourcePatternResolver should provide consistent logging [SPR-13923] #18495
  • Automatically register a fixed path pattern when using a FixedStrategy with VersionResourceResolver [SPR-13883] #18456
  • Improve Jackson 2.7 compatibility [SPR-13853] #18426
  • Lot of undesired WARN logs after migration from Spring 3 to Spring 4 [SPR-13833] #18406
  • Oracle 12c JDBC driver throws inconsistent exception from getParameterType (affecting setNull calls) [SPR-13825] #18398
  • SimpleTriggerFactoryBean and CronTriggerFactoryBean fail without jobDetail [SPR-13604] #18182
  • SimpleNamespaceContext does not implement the full contract of the NamespaceContext interface [SPR-13713] #17620

🪲 Bug Fixes

  • TimerManagerTaskScheduler.TimerScheduledFuture.getDelay is inverted [SPR-13977] #18549
  • @Lazy with @Autowired(required=false) throws NullPointerException on invocation [SPR-13967] #18539
  • Spring ORM doesn't support addNamedQuery with EclipseLink [SPR-13957] #18530
  • (Web)MergedContextConfiguration.equals is not symmetrical [SPR-13951] #18524
  • AbstractMarshaller's DocumentBuilderFactory instance may be used by several threads simultaneously [SPR-13935] #18507
  • Spring fails to find bean's destroy method in case there is a bridge method [SPR-13922] #18494
  • ReflectiveMethodResolver chooses parent class over child for static methods [SPR-13918] #18492
  • NullPointerException while building error message in InvocableHandlerMethod [SPR-13917] #18491
  • AbstractXlsxView does not work on WebSphere Liberty Profile [SPR-13910] #18484
  • Regression: BufferedImageHttpMessageConverter does not set content-type header [SPR-13906] #18480
  • STOMP over SockJS is unreliable [SPR-13904] #18478
  • @Transactional tests are executed without a transaction if transaction manager is not discovered [SPR-13895] #18469
  • Regression: SPR-12443 breaks singleton bean references within a configuration class with null arguments [SPR-13887] #18460
  • LocalSessionFactoryBean (hibernate5) does not correctly pass custom ClassLoader to Hibernate [SPR-13879] #18452
  • ServletServerHttpRequest.getURI() escape the query parameters twice [SPR-13876] #18449
  • SessionDisconnectEvent.getUser() returns null instead of the session user [SPR-13871] #18444
  • ResponseEntity CacheControl ignored / extended by RequestMappingHandlerAdapter [SPR-13867] #18440
  • FastByteArrayOutputStream$FastByteArrayInputStream behaves incorrectly when no data is available [SPR-13858] #18431
  • Spring does not reliably detect circular imports in Java configurations [SPR-13852] #18425
  • RequestPartMethodArgumentResolver should defensively handle MethodParameter nesting level and java.util.Optional access [SPR-13850] #18423
  • Regression: ResourceUrlEncodingFilter can throw StringIndexOutOfBoundsException with relative URL [SPR-13847] #18420
  • Regression: Shared EntityManager proxy insists on actualTransactiveActive flag even with SYNCHRONIZATION_NEVER [SPR-13838] #18411
  • Handle RejectedExecutionException in WebAsyncManager [SPR-13836] #18409
  • Regression: Spring 4.2.4 fails to load configuration class on Google App Engine [SPR-13829] #18402
  • Preserve HTTP headers when caching resources in CachingResourceResolver [SPR-13817] #18390
  • Correct spring-websocket-4.2 versus spring-websocket-4.1 xsd declarations [SPR-13804] #18377
  • DefaultMessageListenerContainer hangs on shutdown [SPR-11787] #16409

📔 Documentation

  • @ComponentScan's includeFilters javadoc is misleading [SPR-13844] #18417
  • wrong example given at section 17.4 Handler mappings [SPR-13832] #18405

4.2.4 Release

17 Jan 14:32
Compare
Choose a tag to compare

⭐ New Features

  • Base64Utils: Support URL and filename safe alphabet (RFC 4648) [SPR-13784] #22188
  • Provide an easy way to populate a request in MockMvc for form input scenarios [SPR-13801] #18374
  • Defensive error reporting when ConfigurationClassParser introspects declared methods via StandardAnnotationMetadata [SPR-13791] #18364
  • ReflectionUtils cache uses up a fairly big chunk of heap even [SPR-13783] #18357
  • Allow for setting TTL on a response sent by @JmsListener [SPR-13774] #18348
  • Support for Microsoft SQL Server driver version 4 and above [SPR-13772] #18346
  • AbstractRequestLoggingFilter with startAsync: unwrap request to find ContentCachingRequestWrapper [SPR-13764] #18338
  • Configure view controllers with the ApplicationContext [SPR-13762] #18335
  • BeanFactoryAnnotationUtils.qualifiedBeanOfType should not instantiate all beans of given type before checking qualifier [SPR-13741] #18314
  • Consistent bean type checking for endpoint handlers [SPR-13725] #18298
  • Add JSR 310 Period and Duration Converters [SPR-13721] #18294
  • Cache detected factory methods in ObjectToObjectConverter [SPR-13703] #18278
  • @ManagedOperationParameter not marked with @Target/@Retention/@Documented/@Repeatable [SPR-13700] #18275
  • Allow SpelCompiler to compile MapAccessor expressions [SPR-13638] #18215
  • Conversion support for java.time.YearMonth (as well as MonthDay) [SPR-13518] #18095
  • Allow the ManagedResource/Attribute/Metric/Operation to be placed on interface [SPR-13138] #17729
  • Allow setting custom ClassPathBeanDefinitionScanner on AnnotationConfigWebApplicationContext [SPR-9324] #13962
  • Add conversion support for Joda Duration and Period [SPR-6706] #11372

🪲 Bug Fixes

  • java.lang.NullPointerException at org.springframework.test.web.servlet.result.MockMvcResultHandlers.(MockM‌​vcResultHandlers.java:44) [SPR-13802] #18375
  • VersionResourceResolver's versionStrategyMap should keep insertion order [SPR-13798] #18371
  • Jdbc4SqlXmlHandler should return null as documented (instead of throwing NPE) [SPR-13782] #18356
  • VerifyError when trying to compile constructor invocation with SpEL [SPR-13781] #18355
  • Regression: HttpEntityMethodProcessor does not allow other Http methods than defined in the HttpMethod Enum [SPR-13776] #18350
  • MessagingMessageListenerAdapter provides a BytesMessage that has already been read [SPR-13769] #18343
  • Inefficient and inconsistent setAllowedOrigins collection types in AbstractSockJsService/OriginHandshakeInterceptor [SPR-13761] #18334
  • allowed-origins are not resolved from properties variables [SPR-13760] #18333
  • ControllerAdviceBean javadoc is inconsistent with its implementation [SPR-13759] #18332
  • ResourceUrlEncodingFilter improperly encodes URLs on root page [SPR-13757] #18330
  • Second call to MVC handler method with Optional parameter fails with argument type mismatch [SPR-13755] #18328
  • MockHttpServletResponse.setIntHeader throws exception for 'Content-Length' header [SPR-13752] #18325
  • The URL content negotiation "format" parameter values are case sensitive and only lowercase values are accepted [SPR-13747] #18320
  • SubProtocolWebSocketHandler does not update lastSessionCheckTime [SPR-13745] #18318
  • NoClassDefFoundError: org/joda/time/YearMonth for joda-time < 2 [SPR-13730] #18303
  • CssLinkResourceTransformer is incompatible with FixedVersionStrategy VersionResourceResolver [SPR-13727] #18300
  • Regression: AsyncAnnotationBeanPostProcessor fails on startup when encountering ambiguous TaskExecutor beans [SPR-13720] #18293
  • Regression: ShallowEtagHeaderFilter does not add Etag header for ResponseEntity returning methods [SPR-13717] #18290
  • Regression: UriTemplate does not match when URI ends with slash [SPR-13705] #18280
  • SimpAnnotationMethodMessageHandler fails when no applicationDestinationPrefixes configured or Rabbit endpoint present [SPR-13704] #18279
  • SynthesizedAnnotation is not visible from class loader [SPR-13696] #18271
  • Regression: Spring on WildFly causing ClassNotFoundException in ASM when deployed outside of EAR [SPR-13695] #18270
  • HTTP Range requests hang on large file in nested jar [SPR-13661] #18236
  • EventListenerMethodProcessor resolves classes of lazy beans causing NoClassDefFoundError [SPR-13712] #17619
  • SpEL compiler creating bad byte code for some values that are added together via OpPlus [SPR-12426] #17032

📔 Documentation

  • Documentation is missing for sendTimeLimit bufferSizeLimit for ConcurrentWebSocketSessionDecorator [SPR-13753] #18326
  • Cacheable#key should define the available arguments [SPR-13746] #18319

4.1.9 Release

17 Jan 14:33
Compare
Choose a tag to compare

⭐ New Features

  • Allow setting custom ClassPathBeanDefinitionScanner on AnnotationConfigWebApplicationContext [SPR-9324] #13962
  • Skip Content-Disposition header when status != 2xx [SPR-13588] #18165
  • Avoid NPE for anonymous SqlParameter in CallMetaDataContext [SPR-13628] #18206
  • Content-Disposition with fixed file name "f.txt" causes confusion [SPR-13643] #18220
  • Revisit BeansException warn logging after startup failure [SPR-13663] #18238
  • Implement containsKey for HttpHeaders returned from ServletServerHttpResponse [SPR-13668] #18243
  • BeanFactoryAnnotationUtils.qualifiedBeanOfType should not instantiate all beans of given type before checking qualifier [SPR-13741] #18314
  • Configure view controllers with the ApplicationContext [SPR-13762] #18335
  • AbstractRequestLoggingFilter with startAsync: unwrap request to find ContentCachingRequestWrapper [SPR-13764] #18338
  • Support for Microsoft SQL Server driver version 4 and above [SPR-13772] #18346
  • Allow for setting TTL on a response sent by @JmsListener [SPR-13774] #18348
  • Defensive error reporting when ConfigurationClassParser introspects declared methods via StandardAnnotationMetadata [SPR-13791] #18364

🪲 Bug Fixes

  • SpEL compiler creating bad byte code for some values that are added together via OpPlus [SPR-12426] #17032
  • mvc:view-resolvers does not reliably find declared ContentNegotiationManager [SPR-13559] #18135
  • Content-Disposition header causes download in browser for Spring Boot Actuator endpoints [SPR-13587] #18164
  • AbstractJdbcCall's compiled variable should be declared as volatile [SPR-13617] #18195
  • webjars resource handling may run into NPE in JarURLInputStream [SPR-13620] #18198
  • Content-Disposition added for @ResponseBody methods explicitly mapped to ".html" or other extensions [SPR-13629] #18207
  • SerializableTypeWrapper.MethodInvokeTypeProvider can be exploited for unsafe deserialization [SPR-13656] #18232
  • CommonsMultipartFile.getOriginalFilename() does not strip file path properly [SPR-13662] #18237
  • AbstractApplicationContext.isRunning throws IllegalStateException when called too early [SPR-13667] #18242
  • SimpAnnotationMethodMessageHandler fails when no applicationDestinationPrefixes configured or Rabbit endpoint present [SPR-13704] #18279
  • CssLinkResourceTransformer is incompatible with FixedVersionStrategy VersionResourceResolver [SPR-13727] #18300
  • SubProtocolWebSocketHandler does not update lastSessionCheckTime [SPR-13745] #18318
  • The URL content negotiation "format" parameter values are case sensitive and only lowercase values are accepted [SPR-13747] #18320
  • MockHttpServletResponse.setIntHeader throws exception for 'Content-Length' header [SPR-13752] #18325
  • Second call to MVC handler method with Optional parameter fails with argument type mismatch [SPR-13755] #18328
  • ResourceUrlEncodingFilter improperly encodes URLs on root page [SPR-13757] #18330
  • ControllerAdviceBean javadoc is inconsistent with its implementation [SPR-13759] #18332
  • allowed-origins are not resolved from properties variables [SPR-13760] #18333
  • Inefficient and inconsistent setAllowedOrigins collection types in AbstractSockJsService/OriginHandshakeInterceptor [SPR-13761] #18334
  • MessagingMessageListenerAdapter provides a BytesMessage that has already been read [SPR-13769] #18343
  • VerifyError when trying to compile constructor invocation with SpEL [SPR-13781] #18355
  • Jdbc4SqlXmlHandler should return null as documented (instead of throwing NPE) [SPR-13782] #18356
  • VersionResourceResolver's versionStrategyMap should keep insertion order [SPR-13798] #18371

📔 Documentation

  • Fix cron trigger example in reference documentation [SPR-10474] #15107
  • Revisit remaining XmlBeanFactory usage in reference documentation [SPR-13485] #18064
  • Error in RequestEntity's javadoc [SPR-13666] #18241
  • Cacheable#key should define the available arguments [SPR-13746] #18319
  • Documentation is missing for sendTimeLimit bufferSizeLimit for ConcurrentWebSocketSessionDecorator [SPR-13753] #18326

3.2.16 Release

17 Jan 15:44
Compare
Choose a tag to compare

⭐ New Features

  • Skip Content-Disposition header when status != 2xx [SPR-13588] #18165
  • Avoid NPE for anonymous SqlParameter in CallMetaDataContext [SPR-13628] #18206
  • Content-Disposition with fixed file name "f.txt" causes confusion [SPR-13643] #18220
  • Revisit BeansException warn logging after startup failure [SPR-13663] #18238
  • BeanFactoryAnnotationUtils.qualifiedBeanOfType should not instantiate all beans of given type before checking qualifier [SPR-13741] #18314
  • Support for Microsoft SQL Server driver version 4 and above [SPR-13772] #18346

🪲 Bug Fixes

  • Content-Disposition header causes download in browser for Spring Boot Actuator endpoints [SPR-13587] #18164
  • AbstractJdbcCall's compiled variable should be declared as volatile [SPR-13617] #18195
  • Content-Disposition added for @ResponseBody methods explicitly mapped to ".html" or other extensions [SPR-13629] #18207
  • CommonsMultipartFile.getOriginalFilename() does not strip file path properly [SPR-13662] #18237
  • AbstractApplicationContext.isRunning throws IllegalStateException when called too early [SPR-13667] #18242
  • Jdbc4SqlXmlHandler should return null as documented (instead of throwing NPE) [SPR-13782] #18356

📔 Documentation

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

4.2.3 Release

17 Jan 14:32
Compare
Choose a tag to compare

⭐ New Features

  • Support for HtmlUnit 2.19 [SPR-13686] #18261
  • Implement containsKey for HttpHeaders returned from ServletServerHttpResponse [SPR-13668] #18243
  • Revisit BeansException warn logging after startup failure [SPR-13663] #18238
  • AbstractAutoProxyCreator.getCacheKey generate lots of String garbage [SPR-13655] #18231
  • Consistent method selection for listeners and endpoint mappings [SPR-13654] #18230
  • @EventListener does not work if put it at method in class that implements interface [SPR-13650] #18226
  • Content-Disposition with fixed file name "f.txt" causes confusion [SPR-13643] #18220
  • JCache CacheResultInterceptor does not allow null values to be cached [SPR-13641] #18218
  • JmsListenerEndpointRegistry - expose @JmsListener ids [SPR-13633] #18211
  • Avoid NPE for anonymous SqlParameter in CallMetaDataContext [SPR-13628] #18206
  • UriTemplate should support regex matching with n times {n} pattern [SPR-13627] #18205
  • Improve and/or provide control over ETag/If-None-Match logic in HttpEntityMethodProcessor [SPR-13626] #18204
  • Performance regression on startup (in particular in AnnotationUtils) [SPR-13621] #18199
  • Offer public API to add default collection converters [SPR-13618] #18196
  • Support Spring-WS's MessageDispatcherServlet in AbstractDispatcherServletInitializer [SPR-13616] #18194
  • MockMvc: afterCompletion is never called on CallableProcessingInterceptor and DeferredResultProcessingInterceptor [SPR-13615] #18193
  • Consistent warn logging without stacktrace in Portlet HandlerExceptionResolver [SPR-13611] #18189
  • Add selection of compare mode for Json assertion [SPR-13607] #18185
  • Inappropriate warn logging in AbstractHandlerExceptionResolver (e.g. for 404 status) [SPR-13596] #18174
  • SseEmitter cannot use "send(SseEventBuilder builder)" method with custom SseEventBuilder implementation [SPR-13591] #18169
  • Skip Content-Disposition header when status != 2xx [SPR-13588] #18165
  • Spring JDBC not correctly processing Postgresql ?-contained operator [SPR-13582] #18159
  • Incorrect @JmsListener parameter matching when the listener is a JDK proxy [SPR-13576] #18153
  • Make CharacterEncodingFilter more friendly for use in Servlet 3.0+ environments [SPR-13572] #18148
  • Compatibility with WebLogic 12.2.1 / Tyrus 1.11 [SPR-13234] #17825
  • Unable to use Configuration classes in signed jar due to CGLIB [SPR-12833] #17430

🪲 Bug Fixes

  • @EventListener doesn't work when @PreAuthorize is present on any interface method implemented by the same class [SPR-13866] #18439
  • EventListener in a Request scoped bean fails context initialization [SPR-13681] #18256
  • ScheduledTaskRegistrar's task list getters fail with NPE when no tasks set [SPR-13680] #18255
  • CorsConfiguration#combine() should handle correctly * in "other" parameter [SPR-13674] #18249
  • ShallowEtagHeaderFilter.setContentLength causes an error when rendering a jsp which performs an include: [SPR-13671] #18246
  • SimpleJdbcCall does not throw an Exception for a missing stored procedure if the name does not contain "." [SPR-13669] #18244
  • AbstractApplicationContext.isRunning throws IllegalStateException when called too early [SPR-13667] #18242
  • CommonsMultipartFile.getOriginalFilename() does not strip file path properly [SPR-13662] #18237
  • SerializableTypeWrapper.MethodInvokeTypeProvider can be exploited for unsafe deserialization [SPR-13656] #18232
  • CommonsMultipartResolver.setMaxUploadSizePerFile() does not work if encoding does not match the default encoding [SPR-13653] #18229
  • Setting StandaloneMockMvcBuilder.useSuffixPatternMatch = false does not work [SPR-13637] #18214
  • IllegalArgumentException when using AnnotationUtils.findAnnotation [SPR-13634] #18212
  • Content-Disposition added for @ResponseBody methods explicitly mapped to ".html" or other extensions [SPR-13629] #18207
  • webjars resource handling may run into NPE in JarURLInputStream [SPR-13620] #18198
  • UndertowRequestUpgradeStrategy not compatible with WildFly anymore [SPR-13619] #18197
  • AbstractJdbcCall's compiled variable should be declared as volatile [SPR-13617] #18195
  • Autowiring throws NullPointerException [SPR-13599] #18177
  • Content-Disposition header causes download in browser for Spring Boot Actuator endpoints [SPR-13587] #18164
  • mvc:view-resolvers does not reliably find declared ContentNegotiationManager [SPR-13559] #18135
  • Unable to intercept methods with mixed enum types as varargs [SPR-13328] #17913

📔 Documentation

  • Error in RequestEntity's javadoc [SPR-13666] #18241
  • Clarify javadoc for ContentNegotiationConfigurer's ignoreAcceptHeader [SPR-13642] #18219
  • Explain when to use MediaType constants [SPR-13531] #18108
  • Explain when and why use Jaxb2RootElementHttpMessageConverter vs MarshallingHttpMessageConverter [SPR-13530] #18107
  • Update reference documentation for spring JSP Tag Library [SPR-13520] #18097
  • Improve documentation about CookieLocaleResolver vs SessionLocaleResolver [SPR-13505] #18083
  • Revisit remaining XmlBeanFactory usage in reference documentation [SPR-13485] #18064
  • Fix cron trigger example in reference documentation [SPR-10474] #15107
  • Documentation example miss @EnableScheduling [SPR-10448] #15081
  • Provide better documentation for support of JSR-330 (@Inject) [SPR-7858] #12515

4.2.2 Release

17 Jan 14:32
Compare
Choose a tag to compare

⭐ New Features

  • Add support for configuring ObjectMapper's default typing using Jackson2ObjectMapperBuilder [SPR-13569] #18145
  • Compatibility with GlassFish 4.1.1 / Tyrus 1.12 [SPR-13566] #18142
  • Improve error reporting in StandardScriptEvaluator [SPR-13557] #18133
  • Protect against RFD exploits [SPR-13548] #18124
  • Provide empty Model to @ExceptionHandler methods [SPR-13546] #18122
  • Throw exception with meaningful message if JUnit 4.9+ not present [SPR-13521] #18098
  • Improve org.springframework.util.StopWatch [SPR-13509] #18087
  • SseEmitter should ignore calls to send after timeout [SPR-13498] #18076
  • Make UndertowRequestUpgradeStrategy compatible with Undertow 1.3 [SPR-13494] #18072
  • Revise script engine retrieval for better error reporting [SPR-13491] #18069
  • Improve error reporting for template rendering in ScriptTemplateView [SPR-13488] #18066
  • Consider Nashorn ScriptEngine instance scope in ScriptTemplateView [SPR-13487] #18065
  • Origins doesn't anticipate an Origin header with a path [SPR-13478] #18057
  • Support @CrossOrigin as a merged composed annotation [SPR-13468] #18047
  • Same origin stops working for WebSocket/SockJS once any origin is configured [SPR-13464] #18044
  • Add 'null-value' attribute to context:property-placeholder [SPR-13461] #18041
  • Expose view url to render function in ScriptTemplateView [SPR-13453] #18033
  • SseEmitter does not expose super constructor with timeout value [SPR-13446] #18026
  • Read large data using InputStreamResource at ResourceHttpMessageConverter [SPR-13443] #18023
  • Support @ResponseStatus as a merged composed annotation [SPR-13441] #18021
  • Double slashes (optional Path variable) removed via MockHttpServletRequestBuilder [SPR-13435] #18014
  • ClasspathXmlApplicationContext cannot be closed twice [SPR-13425] #18004
  • Make UndertowXhrTransport compatible with Undertow 1.3 [SPR-13366] #17950
  • Jackson2ObjectMapperFactoryBean.setAutoDetectGettersSetters(boolean) does not affect "is" getters [SPR-13073] #17665
  • Support for last-modified resolution in Tomcat's unpackwar=false mode [SPR-13393] #17434
  • RequestResponseBodyMethodProcessor should turn IOException to HttpMessageNotReadableException [SPR-12745] #17342
  • Better handling of illegal locale values in LocaleChangeInterceptor [SPR-9456] #14091
  • Add valueSeparator property to context:property-placeholder [SPR-7794] #12450

🪲 Bug Fixes

  • Clarify whether HttpInputMessage.getBody() is allowed to return null [SPR-13563] #18139
  • Close processing triggered by shutdown hook isn't thread safe [SPR-13556] #18132
  • DefaultSubscriptionRegistry loses track of subscribers in its cache [SPR-13555] #18131
  • JCacheCache doesn't recognize null values in other JVMs [SPR-13553] #18129
  • Modifications to UndertowXhrTransport for Undertow 1.3 introduce breaking changes [SPR-13551] #18127
  • Consistently detect spring-beans.dtd reference [SPR-13549] #18125
  • Null Pointer when receiving an invalid transport type during SockJS request [SPR-13545] #18121
  • PayloadApplicationEvent can't hit cache [SPR-13543] #18119
  • MessageHeaders is declared immutable - but writeObject() removes any non-serializable fields [SPR-13541] #18117
  • OutOfMemory Exception when publishing User Events [SPR-13540] #18116
  • Spring incorrectly interprets a bean to be a spring eventlistener [SPR-13538] #18114
  • ClassNotFoundException: org.xnio.StreamConnection in Wildfly 10.0.0.CR2 [SPR-13529] #18106
  • EventListenerMethodProcessor unconditionally instantiates certain beans, leading to BeanCreationException during deployment [SPR-13526] #18103
  • Not valid processing of 'Origin' http header [SPR-13525] #18102
  • HtmlUnitRequestBuilder doesn't handle query parameters without equals sign [SPR-13524] #18101
  • ResourceHttpRequestHandler fails with IllegalArgumentException: No matching constant for [0] [SPR-13516] #18093
  • YamlProcessor subclasses can no longer instantiate StrictMapAppenderConstructor [SPR-13504] #18082
  • ETag/If-None-Match logic in HttpEntityMethodProcessor should not affect methods other than HTTP GET [SPR-13496] #18074
  • ConcurrentModificationException when executing AutowireCapableBeanFactory.createBean [SPR-13493] #18071
  • Potential double invocation of getMissingCache in AbstractCacheManager [SPR-13492] #18070
  • AbstractEmbeddedDatabaseConfigurer.shutdown does not close JDBC resources [SPR-13474] #18053
  • ConcurrentMapCache.putIfAbsent doesn't support null values [SPR-13458] #18038
  • Regression: UrlPathHelper.getLookupPathForRequest(…) returns different results for URIs containing matrix parameters [SPR-13455] #18035
  • DeferredResult not thread-safe for isSetOrExpired call [SPR-13451] #18031
  • MessagingException should not provide empty description String to NestedRuntimeException [SPR-13447] #18027
  • ScriptTemplateView should close the template InputStream [SPR-13445] #18025
  • ConcurrentModificationException in SingleConnectionFactory$AggregatedExceptionListener [SPR-13421] #18000
  • ServletWebRequest.checkNotModified attempts to call HttpServletResponse.getHeader(String) on Servlet 2.5 [SPR-13420] #17999
  • Regression: @RequestBody(required = false) not respected [SPR-13417] #17996
  • StompDecoder fails for partial headers containing escape sequence [SPR-13416] #17995
  • ConcurrentModificationException when doing a merge on AbstractEnvironment [SPR-13213] #17805
  • ConcurrentModificationException in DefaultListableBeanFactory.doGetBeanNamesForType() [SPR-13123] #17714
  • Registering two beans at the same time throws ConcurrentModificationException [SPR-12503] #17108

📔 Documentation

  • Dispel the myth that Spring MVC Test only works with JUnit [SPR-13552] #18128
  • Documentation for Portlet MVC does not refer to Portlet 2.0 spec (JSR-286) [SPR-13513...
Read more

4.1.8 Release

17 Jan 14:33
Compare
Choose a tag to compare

⭐ New Features

  • Make AbstractFallbackTransactionAttributeSource.computeTransactionAttribute(…) protected [SPR-13246] #17837
  • Avoid ambiguous property warning for setter methods with multiple parameters [SPR-13349] #17933
  • Support for last-modified resolution in Tomcat's unpackwar=false mode [SPR-13393] #17434
  • ClasspathXmlApplicationContext cannot be closed twice [SPR-13425] #18004
  • Protect against RFD exploits [SPR-13548] #18124
  • Compatibility with GlassFish 4.1.1 / Tyrus 1.12 [SPR-13566] #18142

🪲 Bug Fixes

  • ConcurrentModificationException when doing a merge on AbstractEnvironment [SPR-13213] #17805
  • PathResourceResolver should not resolve "/" as a JAR resource [SPR-13241] #17832
  • PropertyOrFieldReference throws ClassCastException [SPR-13247] #17838
  • Race condition when inbound message handling fails and StompSubProtocolHandler sends ERROR frame [SPR-13326] #17911
  • Regression: SpringHandlerInstantiator breaks stand-alone support in the MVC Test framework [SPR-13375] #17957
  • ScopedProxyMode resolution for custom scope meta-annotation not working with @Bean methods (with ASM-based scanning) [SPR-13394] #17974
  • StompDecoder fails for partial headers containing escape sequence [SPR-13416] #17995
  • ConcurrentModificationException in SingleConnectionFactory$AggregatedExceptionListener [SPR-13421] #18000
  • MessagingException should not provide empty description String to NestedRuntimeException [SPR-13447] #18027
  • DeferredResult not thread-safe for isSetOrExpired call [SPR-13451] #18031
  • ConcurrentMapCache.putIfAbsent doesn't support null values [SPR-13458] #18038
  • AbstractEmbeddedDatabaseConfigurer.shutdown does not close JDBC resources [SPR-13474] #18053
  • YamlProcessor subclasses can no longer instantiate StrictMapAppenderConstructor [SPR-13504] #18082
  • Null Pointer when receiving an invalid transport type during SockJS request [SPR-13545] #18121
  • Consistently detect spring-beans.dtd reference [SPR-13549] #18125
  • JCacheCache doesn't recognize null values in other JVMs [SPR-13553] #18129
  • DefaultSubscriptionRegistry loses track of subscribers in its cache [SPR-13555] #18131
  • Close processing triggered by shutdown hook isn't thread safe [SPR-13556] #18132
  • Clarify whether HttpInputMessage.getBody() is allowed to return null [SPR-13563] #18139
  • NullPointerException in DefaultSubscriptionRegistry.removeSubscription [SPR-13205] #17797
  • Wrong assertion message in ShallowEtagHeaderFilter [SPR-13194] #17786
  • STOMP CONNECT ignored ("No session for...") when using websocket:decorator-factories [SPR-13190] #17782
  • ConcurrentModificationException when calling SimpMessagingTemplate.convertAndSend [SPR-13185] #17777

📔 Documentation

  • Misleading note on readonly and disabled flags in spring-form.tld [SPR-13397] #17977
  • Documentation for Portlet MVC does not refer to Portlet 2.0 spec (JSR-286) [SPR-13513] #18090
  • Dispel the myth that Spring MVC Test only works with JUnit [SPR-13552] #18128

3.2.15 Release

17 Jan 15:44
Compare
Choose a tag to compare

⭐ New Features

  • Avoid ambiguous property warning for setter methods with multiple parameters [SPR-13349] #17933
  • Protect against RFD exploits [SPR-13548] #18124

🪲 Bug Fixes

  • ConcurrentModificationException when doing a merge on AbstractEnvironment [SPR-13213] #17805
  • DeferredResult not thread-safe for isSetOrExpired call [SPR-13451] #18031
  • AbstractEmbeddedDatabaseConfigurer.shutdown does not close JDBC resources [SPR-13474] #18053
  • JCacheCache doesn't recognize null values in other JVMs [SPR-13553] #18129
  • Clarify whether HttpInputMessage.getBody() is allowed to return null [SPR-13563] #18139

📔 Documentation

  • Misleading note on readonly and disabled flags in spring-form.tld [SPR-13397] #17977
  • Documentation for Portlet MVC does not refer to Portlet 2.0 spec (JSR-286) [SPR-13513] #18090

4.2.1 Release

17 Jan 14:32
Compare
Choose a tag to compare

⭐ New Features

  • AsyncRestTemplate should wrap RuntimeExceptions in ExecutionException [SPR-13413] #17992
  • DefaultDeserializer should use ConfigurableObjectInputStream [SPR-13409] #17988
  • Support transitive implicit attribute aliases with @AliasFor [SPR-13405] #17985
  • SimpleAliasRegistry should detect circles between non-canonical aliases as well [SPR-13390] #17971
  • Method lookup doesn't allow for overriding definitions in parent bean [SPR-13388] #17969
  • VersionResourceResolver should add ETag headers when resolving resources [SPR-13382] #17963
  • Support CALL Statement for SAP HANA [SPR-13381] #17962
  • Quote if necessary Etags set with ResponseEntity builder API [SPR-13378] #17960
  • Introduce hook for creating a custom BeanPropertyBindingResult in DataBinder [SPR-13373] #17955
  • Log connection URL for embedded databases [SPR-13370] #17954
  • Add 'preparer-factory' attribute to mvc:tiles-configurer/ [SPR-13363] #17947
  • Add Jdk7Module to Jackson2ObjectMapperBuilder's well known modules [SPR-13354] #17938
  • Introduce JsonPath matchers for empty and non-empty content [SPR-13352] #17936
  • Avoid ambiguous property warning for setter methods with multiple parameters [SPR-13349] #17933
  • Revisit RedirectView's use of getCurrentWebApplicationContext() [SPR-13346] #17930
  • Support implicit attribute aliases with @AliasFor [SPR-13345] #17929
  • Introduce SmartMessageConverter interface with conversionHint arguments [SPR-13343] #17927
  • StompSubProtocolHandler should send SessionSubscribeEvent after ChannelSecurityInterceptor has validated access rights [SPR-13339] #17924
  • Provide a SpringConstraintValidatorFactory variant for use with validation.xml [SPR-13327] #17912
  • BeanPropertyRowMapper should log if mapRow doesn't find a PropertyDescriptor [SPR-13323] #17908
  • Introduce additional JsonPath matchers in Spring MVC Test [SPR-13320] #17905
  • File upload with Servlet 3 multipart requests should support filename with charset encoding (RFC 2231) [SPR-13319] #17904
  • Deprecate JdkVersion (for optimistic compatibility with newer JDK generations) [SPR-13312] #17897
  • UriComponents should support URI variables that contain a regex [SPR-13311] #17896
  • HibernateJpaDialect should warn about connection release mode other than ON_CLOSE (when upgrading from 4.0.x) [SPR-13269] #17860
  • Support for JSR-356 WebSockets on WebSphere Liberty Profile [SPR-12367] #16973

🪲 Bug Fixes

  • MethodValidationPostProcessor fails for certain generic method signatures when running against Hibernate Validator 5 [SPR-12237] #22186
  • Spring response handler returning abstract object drops unique fields from concrete class [SPR-13429] #18008
  • Regression: BeanWrapperImpl.getPropertyDescriptor does not allow nested paths [SPR-13403] #17983
  • ServletWebRequest.checkNotModified attempts to call HttpServletResponse.getStatus() on Servlet 2.5 [SPR-13396] #17976
  • ScopedProxyMode resolution for custom scope meta-annotation not working with @Bean methods (with ASM-based scanning) [SPR-13394] #17974
  • MessageHeaders mutable through Map.Entry.setValue() [SPR-13385] #17966
  • Cannot set a Content-Type using ScriptTemplateView [SPR-13379] #17961
  • Regression: SpringHandlerInstantiator breaks stand-alone support in the MVC Test framework [SPR-13375] #17957
  • ResourceUrlProvider should only consider paths and not request parameters [SPR-13374] #17956
  • JsonPath assertions fail to differentiate between definite and indefinite results in checks for existence [SPR-13351] #17935
  • Default value of CommonsPool2TargetSource#maxWait is incorrect [SPR-13350] #17934
  • ResponseBodyEmitter doesn't get headers written immediately [SPR-13341] #17925
  • AnnotationUtils fails to synthesize nested maps into annotations [SPR-13338] #17923
  • AnnotationUtils fails to throw exception if meta-annotation is not present [SPR-13335] #17921
  • Race condition when inbound message handling fails and StompSubProtocolHandler sends ERROR frame [SPR-13326] #17911
  • @AliasFor potentially overrides attribute in wrong meta-annotation [SPR-13325] #17910
  • SocketUtils does not properly detect available port on localhost [SPR-13321] #17906
  • Jackson 2.6: message converter should use type only for collections [SPR-13318] #17903
  • Multipart request tests fail when enabling spring security [SPR-13317] #17902
  • MockHttpServletRequest returns empty cookies array instead of null if instance is built using MockHttpServletRequestBuilder [SPR-13314] #17899
  • AllEncompassingFormHttpMessageConverter prioritizes Jackson 2 XML over JSON [SPR-13309] #17894
  • Regression: PropertiesFactoryBean values do not get converted to target type without ConversionService [SPR-13256] #17847

📔 Documentation

  • Add a section about HttpMessageConverter customization in the reference documentation [SPR-13411] #17990
  • Misleading note on readonly and disabled flags in spring-form.tld [SPR-13397] #17977
  • [doc] Document use of @Transactional on controller via @MessageMapping [SPR-13384] #17965
  • [doc] Update Javadoc on RestTemplate/AsyncRestTemplate to highlight supported HTTP client libraries [SPR-13313] #17898
  • Document selenium-htmlunit-driver dependency [SPR-13299] #17889

4.2 GA Release

17 Jan 14:32
Compare
Choose a tag to compare

⭐ New Features

  • ResourceBundleMessageSource performance optimization for getStringOrNull [SPR-13295] #17885
  • Unable to override RequestMappingHandlerAdapter#createRequestMappingMethod [SPR-13293] #17883
  • Introduce 'value' alias for 'attribute' in @AliasFor [SPR-13289] #17879
  • RequestMapping: case insensitive path matching [SPR-13286] #17876
  • Support @Rollback at the class level [SPR-13276] #17867
  • DispatcherServlet: enable applyDefaultViewName to access multipart request parameters [SPR-13272] #17863
  • @MessageMapping with placeholders [SPR-13271] #17862
  • InvocableHandlerMethod.getMethodArgumentValues() failure should lead to warn-level logging by default [SPR-13267] #17858
  • Jackson @JsonView deserialization support for @MessageMapping payloads [SPR-13265] #17856
  • Add a new ResultMatcher for date formats in HTTP headers [SPR-13263] #17854
  • RFC 3986: UriComponentsBuilder.fromUriString should support empty URIs [SPR-13257] #17848
  • SockJS client does not use HttpHeaders passed by WebSocketConnectionManager for ServerInfo request [SPR-13254] #17845
  • AsyncAnnotationBeanPostProcessor could find TaskExecutor by type/name [SPR-13248] #17839
  • Make AbstractFallbackTransactionAttributeSource.computeTransactionAttribute(…) protected [SPR-13246] #17837
  • Inconsistent JPA behavior using no transaction, propagation SUPPORTS and OpenEntityManager pattern [SPR-13243] #17834
  • Transaction propagation SUPPORTS leads to “HHH000326: Cannot join transaction” warning [SPR-13242] #17833
  • AllEncompassingFormHttpMessageConverter does not prefer Jackson2 over JAXB for XML marshalling [SPR-13240] #17831
  • ScheduledAnnotationBeanPostProcessor should fall back to default TaskScheduler by name [SPR-13236] #17827
  • Add MockMvc HtmlUnit Integration [SPR-13158] #17749
  • Introduce @Commit alias for @Rollback(false) [SPR-13279] #17372
  • MockHttpServletResponse.setDateHeader does not perform date formatting [SPR-11912] #16531

🪲 Bug Fixes

  • onCompletion SseEmitter callback never gets called [SPR-13292] #17882
  • Regression in 4.2: NPE due to WebJarsResourceResolver [SPR-13291] #17881
  • MockMvc.perform with the TestContext framework causes additional perform invocations to be "polluted" [SPR-13260] #17851
  • Reset Pragma header in WebContentGenerator when caching resources [SPR-13252] #17843
  • PropertyOrFieldReference throws ClassCastException [SPR-13247] #17838
  • PathResourceResolver should not resolve "/" as a JAR resource [SPR-13241] #17832
  • Regression: AnnotationScopeMetadataResolver fails to resolve VaadinView [SPR-13239] #17830
  • Regression in ResponseStatusExceptionResolver: setStatus versus sendError [SPR-13226] #17817

📔 Documentation

  • Doc: Autowiring in @Configuration classes with post-processor definitions [SPR-13285] #17875
  • Document changes about HTTP cache header defaults in migration docs [SPR-13253] #17844
  • AOP section referencs outdated resources [SPR-13238] #17829
  • Document SpringClassRule and SpringMethodRule in the reference manual [SPR-13037] #17629
  • Document AopTestUtils in the reference manual [SPR-13006] #17598
  • Document support for generating unique names for embedded databases in the reference manual [SPR-12839] #17437