Skip to content

4.2.5 Release

Compare
Choose a tag to compare
@spring-projects-issues spring-projects-issues released this 17 Jan 14:32
· 18592 commits to main since this release

⭐ 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