Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update spring core to v6 (major) #4475

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2022

Mend Renovate

This PR contains the following updates:

Package Update Change
org.springframework:spring-aop major 5.3.29 -> 6.0.11
org.springframework:spring-context major 5.3.29 -> 6.0.11
org.springframework:spring-web major 5.3.29 -> 6.0.11

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

spring-projects/spring-framework (org.springframework:spring-aop)

v6.0.11

⭐ New Features
  • Reduce WARN level log output during test AOT processing #​30867
  • Avoid need for reflection hints for MBeanExporter in native image #​30846
  • Tolerate AnnotationUtils.isCandidateClass call with null as annotation type #​30842
  • Simplify DefaultSingletonBeanRegistry.isDependent() #​30839
  • Add missing @Nullable annotations in ContentDisposition.Builder #​30820
  • Provide explicit support for collections, maps, and arrays in ObjectUtils.nullSafeConciseToString() #​30810
  • Extend list of supported types in ObjectUtils.nullSafeConciseToString() #​30805
  • Align ConcurrentMapCacheManager locking behavior with CaffeineCacheManager #​30780
  • Improve logging for missing dependencies in MicrometerObservationRegistryTestExecutionListener #​30747
  • Optimize KotlinReflectionParameterNameDiscoverer #​30725
  • Change InvocableHandlerMethod#invokeSuspendingFunction return type to Object #​30716
  • ResolvableType.hasUnresolvableGenerics() should cache its result #​30713
  • Deprecate RootBeanDefinition(ResolvableType) constructor #​30704
  • Reinstate dependency injection support for legacy JSR-250 @javax.annotation.Resource annotation #​30695
  • Translate SQL Exception with State S0001 and Vendor Code 2628 to a Spring Exception in MSSQL 2019 #​30681
  • Ensure Spring LogFactory contains all public methods from Apache LogFactory #​30668
  • Infer hints required for aspects #​28711
  • Improve diagnostics for CGLIB ClassLoader issues with shared classes in parent ClassLoader #​25940
  • JdbcTemplate does not call handleWarnings in case of exception #​23106
  • Avoid illegal reflective access in ContextOverridingClassLoader.isEligibleForOverriding #​22791
🐞 Bug Fixes
  • Revert changes to toString() in FieldError #​30799
  • For a prototype bean, if first-time rejected value is null, subsequent value will wrongly be null always #​30794
  • Fix log level on error with @TransactionalEventListener #​30776
  • ClassCastException in AbstractBeanDefinition.getBeanClassName() when getting bean multithreaded #​30773
  • SerializableTypeWrapper does not consistently catch InvocationTargetException #​30764
  • NPE in MvcUriComponentsBuilder with no-arg target method on interface #​30756
  • ArithmeticException: long overflow on @Scheduled(fixedDelay = Long.MAX_VALUE) #​30754
  • Jackson2ObjectMapperBuilder breaks when modules customizer follows modulesToInstall #​30751
  • NullPointerException in reactive TransactionalOperatorImpl #​30729
  • MicrometerObservationRegistryTestExecutionListener uses wrong ClassLoader to detect dependencies #​30726
  • Support [package-]private init/destroy methods in AOT mode #​30724
  • Package-private init/destroy methods are not always invoked #​30718
  • Generic RedisKeyExpiredEvent not delivered to @EventListener anymore in 6.0.9 #​30712
  • Explicit BeanDefinition#targetType is not honoured in AOT scenarios #​30689
  • Spring ORM SpringBeanContainer when trying to create a bean fails with not found bean definition, and fallbacks to default hibernate bean creation #​30683
  • PathResourceResolver#resolve*Internal is missing @Nullable declarations #​30601
  • Code generation should only apply shortcut if the target method is not ambiguous #​29278
📔 Documentation
  • Update STOMP documentation with the new guidelines #​30857
  • Clarify ReactiveTransactionManager exception declarations #​30817
  • Doc: JdbcTransactionManager vs DataSourceTransactionManager #​30802
  • Fix typo in Javadoc for BeanDefinitionDsl.kt #​30798
  • Remove @Aspect for classes containing only @Pointcut declarations in reference documentation #​30790
  • NestedRuntimeException javadoc not updated after implementation change #​30748
  • AbstractMessageListenerContainer documentation and code disagree regarding log level #​30730
  • Fix link text from "null" to "Component Classes" in Testing chapter #​30714
  • Document that RowCallbackHandler can be used with NamedParameterJdbcTemplate #​30705
  • Javadoc HTML tables are no longer rendered properly since upgrade to Java 17 #​30701
  • Fix typo in UriUtils Javadoc #​30598
  • Fix example in Javadoc for MultipartBodyBuilder #​30593
  • Elaborate on ShallowEtagHeaderFilter limitations #​30517
  • Document how to configure a custom LocalContainerEntityManagerFactoryBean to work with native #​30498
  • Document that @Sql requires spring-jdbc and spring-tx on the classpath #​30280
  • Document limitations of Servlet Filter observations #​29398
  • Warn against direct usage of Servlet API in WebFlux applications #​28872
  • ResultSet holdability into the View layer broken by Hibernate 5 #​26557
🔨 Dependency Upgrades
  • Upgrade to micrometer-bom 1.10.9 and context-propagation 1.0.4 #​30860
  • Upgrade to me.champeau.jmh 0.7.1 #​30690
  • Upgrade to Reactor 2022.0.9 #​30871
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​KSH-code, @​antongub, @​bnbakp0582, @​cwatzl, @​heoYH, @​izeye, @​kilink, @​maartenc, @​quaff, @​rwinch, @​valfirst, and @​vbaidak

v6.0.10

⭐ New Features

  • ClassLoader can be null in DeserializingConverter and should be annotated with @Nullable #​30670
  • Introduce TestExecutionListener for Micrometer's ObservationRegistry in the TestContext framework #​30658
  • Add missing hint for ResourceEditor #​30628
  • Add missing hint for converting String to URI #​30627
  • Redesign inner Pointcut implementations as standalone classes #​30621
  • Add missing @Nullable in DefaultJmsListenerContainerFactory #​30620
  • Handle custom JMS acknowledgment modes as client acknowledge #​30619
  • Declare Advisor#isPerInstance() as default method #​30614
  • Improve error message for unsupported character in SpEL expression #​30602
  • Multipart data is always read irrelevant of handler response #​30590
  • Performance optimization in AbstractBeanFactoryBasedTargetSource.hashCode() #​30576
  • Log a warning when commons-logging is in the classpath #​30575
  • Always use MethodArgumentNotValidException(MethodParameter, BindingResult) constructor #​30558
  • Remove non-empty filename check in ContentDisposition builder #​30537
  • Add missing EntityManagerFactory hints for SharedEntityManagerCreator #​30523
  • Disable Hibernate reflection optimizer with native #​30521
  • Introduce a method in MockHttpServletRequestBuilder to set remote address #​30497
  • Skip class transformer in PersistenceUnitInfoDescriptor for native images #​30492
  • @Bean 'lite' mode not supported if @Bean methods are not declared locally #​30449
  • Align HibernateJpaVendorAdapter with Hibernate ORM 6.2 #​30288
  • Add nested propagation support to R2dbcTransactionManager #​30134

🐞 Bug Fixes

  • Cron expression scheduling might be triggered 1 millisecond earlier #​30666
  • Change of behaviour for UUID in bean validation output in v5.3.27 #​30661
  • Test context cache stats are not logged when ApplicationContext fails to load #​30635
  • Inconsistent ProxyCallbackFilter#equals/hashCode methods in CglibAopProxy #​30615
  • SpEL's CompoundExpression.toStringAST() incorrectly includes . for indexed properties #​30610
  • NPE in ReactiveTransactionSupport.unwrapIfResourceCleanupFailure #​30597
  • CollectionFactory.createMap(HashMap.class, 0) now returns a LinkedHashMap rather than a HashMap #​30596
  • ThreadLocalTargetSource does not include actual target bean name in NamedThreadLocal #​30581
  • ApplicationListenerMethodAdapter inconsistently publishes events from CompletableFuture #​30578
  • Unsupported SQL type: TIMESTAMP_WITH_TIMEZONE when using OffsetDateTime with MySQL #​30556
  • SpringBeanContainer not called with Hibernate ORM 6.2 #​30545
  • WebFlux returns 406 instead of RFC 7807 response for subtype of ProblemDetail #​30533
  • HTTP Interface client cannot send URI query parameter with multipart request #​30520
  • Transaction isolation level not working with R2dbcTransactionManager #​30508
  • Support for AOT processing with GraalVM tracing agent is not consistent #​30511
  • For @Bean method that returns null, @Autowired injects NullBean instead of null for cached arguments #​30485
  • MediaType property binding issue in native builds #​30491
  • InjectionMetadata AOT contributions do not check for existing property value #​30476
  • Spring Framework 6.0.8 appears to cause issues in OSGi environment #​30389
  • Empty @RequestMapping method should match both "" and "/" consistently #​30293
  • EclipseLinkJpaDialect: Unexpected default isolation levels #​29997
  • Memory leak with CglibAopProxy$ProxyCallbackFilter #​26266

📔 Documentation

  • Fix markup issue in Javadoc of QuartzCronField #​30646
  • Document @DirtiesContext semantics when declared at the class level and method level #​30623
  • Add missing Javadoc for RegisteredBean.resolveAutowiredArgument() #​30609
  • Fix invalid link in transaction resources #​30570
  • FileSystemUtils::deleteRecursively Javadoc refers to File instead of Path #​30554
  • Improve Javadoc for ExchangeFilterFunction #​30543
  • Update Javadoc and reference doc for WebMvcConfigurer to mention Boot's HttpMessageConverters #​30538
  • Add Javadoc since to InjectedElement.shouldInject() #​30512
  • Fix wording in r2dbc Statement Filters section of ref docs #​30482
  • Typo in Spring official documentation #​30473
  • Link for @javax.annotation.Nonnull is wrong in Javadoc for Spring's @NonNull #​30455
  • Improve how the build deals with javadoc invalid references #​30428
  • Docs: Remove duplicate in SpEL feature list #​30404
  • Document which @Scheduled attributes support SpEL expressions #​29290

🔨 Dependency Upgrades

  • Upgrade to micrometer-bom 1.10.8 and context-propagation 1.0.3 #​30657
  • Upgrade to Reactor 2022.0.8 #​30655

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Foolkin, @​anyuruf, @​galingerv, @​izeye, @​jmewes, @​kihyuk-sung, @​leewin12, @​marcingrzejszczak, @​rweisleder, @​rwinch, @​scordio, @​ssang1105, and @​vpavic

v6.0.9

⭐ New Features

  • Consistent support for MultiValueMap and common Map implementations in CollectionFactory #​30440
  • Introduce internal constants for implicit bounds in TypeUtils #​30423
  • Update major/minor version properties in MockServletContext #​30395
  • Reject null and empty SpEL expressions #​30371
  • Support Test AOT processing with GraalVM tracing agent and Native Build Tools #​30281
  • Introduce Environment.matchesProfiles() for profile expressions #​30206
  • Optimize MultiValueMap iteration operations #​29972

🐞 Bug Fixes

  • Respect TaskDecorator configuration on DefaultManagedTaskExecutor #​30442
  • Qualifiers registered programmatically are not supported by AOT #​30410
  • Support for InjectionPoint in bean factory methods when using AOT #​30401
  • Bean methods with generic array/varargs parameters break native compilation #​30407
  • ApplicationListenerMethodAdapter supports non-matching generic events #​30399
  • Processing several @PersistenceContext injection points on the same class with AOT generates code that does not compile #​30437
  • Make maximum SpEL expression length configurable #​30380
  • Record beans do not compile to native images #​30383
  • Missing resource hint for @PropertySource#value #​30376
  • ApplicationEventPublisher - PayloadApplicationEvent not received by EventListener if event fired from child context #​30360
  • StringDecoder.decode() should release chunks on cancellation #​30299
  • Quote '?' in Quoted Printable filename #​30252
  • Missing reflection hint for custom PropertySourceFactory in native image #​30175
  • Aot generated sources fail to compile with 'File name too long' error #​29846

📔 Documentation

  • Update package-info for CGLIB fork #​30461
  • Clarify differences between GenericBeanDefinition and RootBeanDefinition #​30444
  • Document how to configure FactoryBean with a configurable target with AOT #​30434
  • Add Antora docs-build branch #​30415
  • Switch the reference documentation to Antora #​30414
  • @ResponseStatus documentation incorrect #​30305

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​divcon, @​izeye, @​luozhenyu, @​rwinch, @​sigee, and @​yuzawa-san

v6.0.8

⭐ New Features

  • Disable variable assignment in SimpleEvaluationContext #​30326
  • Limit SpEL expression length #​30325
  • Limit string concatenation in SpEL expressions #​30324
  • Introduce StringUtils.truncate() #​30290
  • Introduce ObjectUtils.nullSafeConciseToString() #​30286
  • Introduce assertions against Cookie attributes in CookieResultMatchers for MockMvc #​30285
  • Polishing #​30267
  • Support SameSite cookie attribute in MockMvcHttpConnector #​30264
  • Update MockCookie to make use of Servlet 6.0 APIs and semantics for "attributes" #​30263
  • Refine initRequestBuilder in DefaultWebClient #​30254
  • HttpServerErrorException contains not-serializable field of type DefaultResponseErrorHandler #​30224
  • Add class hints for Jackson annotations on fields and methods #​30208
  • Add HttpMethod reflection hint to ObjectToObjectConverterRuntimeHints #​30201
  • Improve performance of canRead() in HttpMessageReader's #​30192
  • Optimize array creation in SpEL ConstructorReference #​30189
  • ConstructorResolver error hints about mixing indexed and named args #​30169
  • Replace Collections.unmodifiableList(new ArrayList(..)) with List.copyOf() #​30166
  • Add assert null validations for DefaultServerResponseBuilder #​30157
  • Use InputStream.readAllBytes() in FileCopyUtils.copyToByteArray() #​30155
  • Cache ServerHttpRequest::getMethod in AbstractServerHttpRequest #​30139
  • Use String.equals() in LiteralPathElement #​30138
  • Optimize some iterations in BodyExtractor and BodyInserter #​30136
  • Add a couple missing java.time types to StatementCreatorUtils #​30123
  • WebClient observations should not record CANCEL signals as aborted if response was received #​30070
  • Destroy method not found in native image if concrete bean type is not exposed #​29545
  • Contribute init/destroy lifecycle introspection hints for registered beans #​29246

🐞 Bug Fixes

  • NPE thrown for nonexistent default-destroy-method in XML config #​30301
  • Fix comparison of title in equals() and hashCode() of ProblemDetail #​30294
  • SSE breaks with indenting serializer in WebMvc.fn #​30277
  • @HttpExchange interface does not resolve return type correctly while using with suspending methods #​30266
  • Increase max regex length in SpEL expressions #​30265
  • Missing response information from client observation context when filter functions fail #​30247
  • NullPointerException on timeout in HttpComponentsClientHttpConnector when using Apache HttpComponents #​30245
  • Wrong MockRestRequestMatchers.header() method in spring-test being invoked (JDK issue?) #​30220
  • Refine generic type management in AbstractMessageWriterResultHandler #​30214
  • MvcUriComponentsBuilder.fromMethodCall breaks for controller with CharSequence return type #​30210
  • Encode IPV6 Zone IDs (%) in ReactorServerHttpRequest #​30188
  • Handle all exceptions for stored proc output param retrieval in SharedEntityManagerCreator #​30161
  • Fix IllegalArgumentException that prevents STOMP DISCONNECT from reaching the client #​30120
  • TypeNotPresentException: org/springframework/cglib/proxy/NoOp not present on Java 17 #​30115

📔 Documentation

  • Add since tags to sameSite() and attribute() in CookieResultMatchersDsl #​30308
  • Fix incorrect jakarta.inject artifact version #​30270
  • Fix @PathVariable reference documentation code snippets #​30243
  • Use diamond operator in examples in reference manual #​30204
  • Fix example in Javadoc for @EnableWebSocket #​30183
  • Fix anchor in link to "Web on Reactive Stack" chapter #​30158
  • Documentation for Vavr's Try method to trigger transaction rollbacks #​30108
  • Document that WebClient defaultStatusHandler do not apply to exchange* methods #​30059

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​1993heqiang, @​TAKETODAY, @​ZouHongxue, @​alexjansons, @​divcon, @​edyda99, @​filipblondeel, @​ghostg00, @​giuseppemilicia, @​izeye, @​justin-tay, @​krzyk, @​kyuarl21, @​quaff, @​shitian9, @​simonbasle, @​srivatsa-cfp, @​ssang1105, @​stsypanov, @​wizard4wu, and @​yuzawa-san

v6.0.7

⭐ New Features

  • Improve diagnostics in SpEL for matches operator #​30144
  • Improve diagnostics in SpEL for repeated text #​30142
  • Increase scope of regex pattern cache for the SpEL matches operator #​30140
  • Minor updates in HandlerMappingIntrospector #​30127
  • Skip parameter name resolution when not needed in AbstractAutowireCapableBeanFactory #​30103
  • Remove extra copy of headers/cookies in WebClient #​30092
  • Assert non-null arguments in DefaultServerRequestBuilder methods #​30046
  • Jetty 12 support in WebFlux #​29575

🐞 Bug Fixes

  • Gradle task processAot fails when Bean Validation API present but no provider found #​30130
  • ContentDisposition::parse does not support Windows paths #​30111
  • BindException raised instead of MethodArgumentNotValidException subclass #​30100
  • Ensure reactive transaction rollback on commit error #​30096
  • CaffeineCacheManager getCache method cause thread block #​30066
  • RequestedContentTypeResolver does not ignore quality factor when filtering */* media types #​29915
  • @Autowired/@Value does not work on inner bean in native #​29803
  • Avoid rollback after a commit failure in TransactionalOperator #​27572
  • SpEL: cannot call methods declared in java.lang.Object on a JDK proxy #​25316

📔 Documentation

  • Add anchor rewrites in the reference documentation #​30132
  • Fix minor spacings in webflux docs #​30078
  • Add a list of observations produced by Spring Framework #​30060

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​EnricSala, @​MrCoffee77, @​abelsromero, @​edyda99, @​liupeng12345, @​srivatsa-cfp, and @​yuzawa-san

v6.0.6

⭐ New Features

  • Prefer request hostName and hostPort in ReactorServerHttpRequest #​30062
  • Use readNBytes in ByteArrayHttpMessageConverter when contentLength is available #​30010
  • Add missing @Nullable annotations to LogMessage.format methods #​30006
  • Refine CoroutinesUtils#invokeSuspendingFunction contract #​30005
  • @SubscribeMapping method not called when built as native image #​30002
  • Provide method with ContextView instead of Context in ServerWebExchangeContextFilter #​29691
  • Support @Value for record injection #​28774

🐞 Bug Fixes

  • WebClient now requires scheme #​30053
  • Move HttpServiceProxyFactoryExtensions.kt to spring-web module #​30042
  • AutowireCapableBeanFactory.createBean does not prefer default constructor anymore #​30041
  • Server request URL with spring-webflux 6.0.5 is in resolved IP6 format #​30033
  • PathMatchingResourcePatternResolver can no longer handle paths containing spaces and special characters #​30031
  • Catch defensively exception thrown by validation contraints AOT processing of Kotlin extensions #​30037
  • Fix proxy hint Kotlin extensions #​30025
  • WebFlux fails with WebDAV HTTP methods #​29981
  • NullPointerException if passing an anonymous class to ReflectionsHint#registerType #​29774
  • Native hints for package private methods on custom @Repository class #​29764
  • Native version of webflux/r2dbc failed #​29582
  • Protect JMS connection creation against prepareConnection errors #​29116
  • SingleConnectionFactory - reconnection problem (AMQ Broker) #​29115

📔 Documentation

  • Fix "Configuring a Global Date and Time Format" example #​30034
  • @AspectJ argument name resolution algorithm is outdated in reference manual #​30026
  • Update comment in Javadoc of ServletRequestPathFilter DispatcherServlet relating to DispatcherServlet #​30014
  • Revise AspectJ examples in the reference manual #​30003
  • Revise chomp and fold settings in reference documentation #​30001

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​1004789224, @​1993heqiang, @​AlexElin, @​diguage, @​divcon, @​izeye, @​kilink, @​lenoch7, @​sergiuprdn, @​singhbaljit, and @​violetagg

v6.0.5

⭐ New Features

  • Add RFC-8246 "immutable" attribute to CacheControl #​29955
  • Allow MockRest to match header/queryParam value list with one Matcher #​29953
  • DataBuffer should offer restricted access to underlying ByteBuffer #​29943
  • Introduce HttpServiceProxyFactory#createClient Kotlin extension #​29942
  • Support ProblemDetail serialization to XML with Jackson #​29927
  • Refine TransactionalOperator.executeAndAwait nullability #​29919
  • Early support for JDK 21 #​29910
  • StringDecoder causes direct allocation of ByteBuffer #​29889
  • Include all Hibernate query methods in SharedEntityManagerCreator's queryTerminatingMethods set #​29886
  • Add native support for RSocketExchange. #​29877
  • Add @Nullable to ProblemDetail.setProperty value argument #​29868
  • Deprecate obsolete ConcurrentExecutorAdapter for removal in 6.1 #​29865
  • ContentDisposition.toString() should include both regular and extended filename parameter #​29861
  • Refine Jackson2ObjectMapperBuilder#configureFeature exception handling #​29859
  • Flexible constructor resolution in AutowireCapableBeanFactory.createBean(Class) #​29855
  • Optimize CorsConfiguration::checkHeaders #​29853
  • Spring Web RestTemplate http.client.requests Metrics No Longer Have client.name Tag #​29839
  • Allow @Aspect classes to extend concrete @Aspect classes #​29830
  • Custom Constraint Validator not work with native image #​29823
  • Deprecate HttpStatus 103 CHECKPOINT in favor of new EARLY_HINTS #​29816
  • Fix R2dbcTransactionManager debug log: don't log a Mono #​29800
  • Improve generated default name for @JmsListener subscription #​29790
  • Support double-quoted values in HttpHeaders::getValuesAsList #​29785
  • Support method validation for an interface only proxy like an HTTP interface client #​29782
  • ResourceHandlers cannot resolve static resources without wildcard patterns #​29739
  • Release R2DBC connection when cleanup fails in transaction #​29703
  • Spring Webfilters and Kotlin Coroutines #​29672
  • Support "multipart/mixed" and "multipart/related" in DefaultServerWebExchange #​29671
  • @JsonDeserialize(builder = ...) does not work in GraalVM native image #​29646
  • Combined class and method @RequestMapping without patterns should match root path as both "" and "/" #​29625
  • Prefer problem detail media type independent of ordering in Accept header #​29588
  • Restrict forwards in MockMvcWebConnection to 100 #​29557
  • @JsonNaming strategy is not supported in GraalVM native image #​29386
  • SQL supplier in R2DBC DatabaseClient is eagerly invoked #​29367
  • Set reason for WebSocket CloseStatus.SESSION\_NOT\_RELIABLE #​29220
  • HttpComponentsClientHttpConnector hangs when host is invalid #​29156
  • Add ResponseEntity.ofNullable() to deal with non-Optional nullable objects #​29117
  • Provide access to all configured interceptors in AbstractHandlerMapping #​28985
  • Support Optional in PayloadMethodArgumentResolver #​28945
  • Remove clear() call to release method of WeakEntryReference and SoftEntryReference #​28863
  • Add MockMvc.multipart() Kotlin extensions with HttpMethod #​28634
  • WebSocketConnectionManager constructor with prepared URI #​28524
  • Deprecate Base64Utils #​28434
  • List supported media types in HttpMediaTypeNotSupportedException when given invalid input media types #​28062
  • Introduce getContentAsString and getContentAsByteArray to Resource #​24651
  • Support Optional in Jackson 2 message converters #​24498
  • Refine ModelAttributeMethodProcessor Kotlin exception handling #​23846

🐞 Bug Fixes

  • DefaultHandlerExceptionResolver::doResolveException no longer returns ModelAndView customized via protected method #​29971
  • ex.getPropertyName() is not initialized in ResponseEntityExceptionHandler#handleTypeMismatch #​29959
  • Violation of a unique index on insert in MSSQL is translated to DataIntegrityViolationException instead of DuplicateKeyException #​29950
  • PathMatchingResourcePatternResolver duplicates module/file resources #​29934
  • ResourceUrlEncodingFilter throws StringIndexOutOfBoundsException in tests #​29933
  • Explicit target ClassLoader for interface-based proxies in MvcUriComponentsBuilder #​29913
  • org.springframework.web.context.ContextLoader cannot be loaded in a native image #​29905
  • MockHttpServletRequest InputStream has been made static in gh-29125 #​29901
  • MvcUriComponentsBuilder adds trailing slash if path is defined at controller level only #​29897
  • Closing an ApplicationContext leads to Exception at ExecutorServiceAdapter #​29892
  • Set WebClient Observation as current in reactor context #​29891
  • Client request observation contributes full URI template to uri meter tag values #​29885
  • HTTP client observations miss uri keyvalue for "/" requests #​29879
  • ProblemDetail is missing serialization hints for Native Image #​29801
  • Invalid Accept header results in IllegalStateException #​29794
  • AOT processing fails with Set if type doesn't implement Comparable #​29792
  • CSRF token not available to FreeMarker templates #​29787
  • Fail more explicitly when AOT attempts to handle a bean definition that uses an instance supplier #​29556
  • WebSocket stats not updated correctly when sessions cleared #​29375
  • MockHttpServletRequest#setContentType fails with StringIndexOutOfBoundsException #​29255
  • InMemoryWebSessionStore#changeSessionId makes blocking calls to UUID.randomUUID #​29212
  • ReactorServerHttpRequest does not reflect forwarded host and port when forwarding-header-strategy=native or cloud platform detected #​28601
  • Propagate CoroutineContext in reactive transaction #​27308
  • Bean validation doesn't work on Kotlin coroutines controller parameters #​23499

📔 Documentation

  • Update @DynamicPropertySource examples regarding changes in Testcontainers #​29939
  • Refine ControllerMappingReflectiveProcessor documentation #​29938
  • Clarify semantics of primitivesDefaultedForNullValue in BeanPropertyRowMapper #​29923
  • Document instrumentation for RestTemplate and/or WebClient #​29904
  • CronExpression::parse has invalid Javadoc #​29884
  • Update Javadoc on async request timeout value in HandlerFunctionAdapter #​29882
  • Document how to mark an observation as an error if the exception was handled #​29848
  • Document that bean instance suppliers are not supported with AOT/native #​29835
  • Clearly document that DataClassRowMapper supports Java records #​29814
  • Increase number of TOC levels in generated PDF documentation #​29781
  • Consistent @Bean method return type for equivalence with XML example #​29338
  • Outdated Javadoc for AbstractApplicationContext.postProcessBeanFactory #​29064
  • Improve documentation on support for a language-only Locale requested via "Accept-Language" #​28673
  • Update the reference documentation with limitation related to @Bean return type #​29944

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Drezir, @​FutureGadget, @​OlgaMaciaszek, @​ThomHurks, @​a364176773, @​bcc829, @​derrick-pericipio, @​divcon, @​etylermoss, @​fml2, @​izeye, @​j-min5u, @​j3graham, @​jprinet, @​krzyk, @​ks-yim, @​making, @​manthanb, @​quaff, @​r331, @​sephiroth-j, @​srivatsa-cfp, @​vikeychen, @​wplong11, @​xavier-b, @​yuezk, @​yuzawa-san, and @​zhmaeff

[`v6.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@edalex-ian
Copy link
Member

Might need > our Java 8. 🤔

Need to check.

@PenghaiZhang
Copy link
Contributor

According to migration guide, I think we need to update Hibernate to 5.6.x first.

@edalex-ian
Copy link
Member

Hmmm, yeah that makes sense with the errors, but if we take this snippet:

[error] /home/runner/work/openEQUELLA/openEQUELLA/Source/Plugins/Core/com.equella.serverbase/src/com/tle/core/dao/helpers/AuditLogDMLPartitioner.java:29:1: cannot access org.springframework.orm.hibernate5.HibernateCallback
[error]   bad class file: /home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/org/springframework/spring-orm/6.0.0/spring-orm-6.0.0.jar(org/springframework/orm/hibernate5/HibernateCallback.class)
[error]     class file has wrong version 61.0, should be 52.0
[error]     Please remove or make sure it appears in the correct subdirectory of the classpath.
[error] org.springframework.orm.hibernate5.HibernateCallback

The bit that grabs my attention is: class file has wrong version 61.0, should be 52.0.

But that said, 52 is Java 8 and 61 is like Java 17 - and they wouldn't require that. Odd. 🤔

@renovate renovate bot force-pushed the renovate/major-spring-core branch 2 times, most recently from 9151ad0 to d154b98 Compare November 24, 2022 16:56
@renovate renovate bot force-pushed the renovate/major-spring-core branch from d154b98 to 9f02680 Compare December 15, 2022 11:02
@renovate renovate bot changed the title chore(deps): update spring core to v6 (major) Update spring core to v6 (major) Dec 17, 2022
@renovate renovate bot changed the title Update spring core to v6 (major) chore(deps): update spring core to v6 (major) Dec 17, 2022
@renovate renovate bot force-pushed the renovate/major-spring-core branch 2 times, most recently from 151ae3d to 9e0c718 Compare January 15, 2023 23:21
@edalex-ian
Copy link
Member

We have JDK11 now, so let's get renovate to rebase and give us up to date information.

@renovate renovate bot force-pushed the renovate/major-spring-core branch from 9e0c718 to 9076b3b Compare January 23, 2023 05:40
@renovate renovate bot force-pushed the renovate/major-spring-core branch from 9076b3b to d08212d Compare February 15, 2023 19:21
@renovate renovate bot force-pushed the renovate/major-spring-core branch from d08212d to bf15c4c Compare March 3, 2023 00:24
@renovate renovate bot force-pushed the renovate/major-spring-core branch from bf15c4c to c8b3781 Compare March 20, 2023 12:31
@renovate renovate bot force-pushed the renovate/major-spring-core branch from c8b3781 to ecc9ae9 Compare April 13, 2023 10:05
@renovate renovate bot force-pushed the renovate/major-spring-core branch from ecc9ae9 to b74974c Compare May 11, 2023 15:09
@renovate renovate bot force-pushed the renovate/major-spring-core branch from b74974c to f9baafa Compare June 15, 2023 11:54
@renovate renovate bot force-pushed the renovate/major-spring-core branch from f9baafa to 674b7f5 Compare June 22, 2023 23:04
@renovate renovate bot force-pushed the renovate/major-spring-core branch from 674b7f5 to 3cb1805 Compare July 13, 2023 10:48
@renovate renovate bot force-pushed the renovate/major-spring-core branch from 3cb1805 to 91f74b1 Compare August 3, 2023 23:53
@PenghaiZhang
Copy link
Contributor

bad class file: /home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/org/springframework/spring-orm/6.0.11/spring-orm-6.0.11.jar(/org/springframework/orm/hibernate5/HibernateCallback.class)
[error] class file has wrong version 61.0, should be 55.0

I think the minimum Java version for Spring 6 is 17.

@edalex-ian
Copy link
Member

@edalex-ian
Copy link
Member

Oh! And there's some other issues too:

  1. I think this first needs us to get our migration to Tomcat 10 - and the new jakarta namespacing - done; and
  2. No more HTTP Invoker support - so the interface for the Admin Console would need to be reworked. 😬

That's a rather big lift. Will need to capture this in a ticket, it definitely wont be a simple renovate update.

@edalex-ian
Copy link
Member

Captured internally for scheduling. Edalex reference: OEQ-1635.

@edalex-ian edalex-ian closed this Sep 4, 2023
@edalex-ian edalex-ian deleted the renovate/major-spring-core branch September 4, 2023 09:30
@renovate
Copy link
Contributor Author

renovate bot commented Sep 4, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants