Skip to content

Update org.springframework:spring* to v6 (major)#1678

Closed
solrbot wants to merge 1 commit intoapache:mainfrom
solrbot:renovate/major-org.springframework-spring
Closed

Update org.springframework:spring* to v6 (major)#1678
solrbot wants to merge 1 commit intoapache:mainfrom
solrbot:renovate/major-org.springframework-spring

Conversation

@solrbot
Copy link
Collaborator

@solrbot solrbot commented Jun 1, 2023

This PR contains the following updates:

Package Type Update Change
org.springframework:spring-webmvc test major 5.3.23 -> 6.0.9
org.springframework:spring-web test major 5.3.23 -> 6.0.9
org.springframework:spring-jcl test major 5.3.23 -> 6.0.9
org.springframework:spring-expression test major 5.3.23 -> 6.0.9
org.springframework:spring-core test major 5.3.23 -> 6.0.9
org.springframework:spring-context test major 5.3.23 -> 6.0.9
org.springframework:spring-beans test major 5.3.23 -> 6.0.9
org.springframework:spring-aop test major 5.3.23 -> 6.0.9

Release Notes

spring-projects/spring-framework

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.0.4

⭐ New Features
  • Add native support for @Convert on JPA entities #​29771
  • @RequestPart dto not configured for reflection in aot #​29749
  • Avoid wasted memory on empty maps and sets #​29742
  • Compatibility with Hibernate ORM 6.2 #​29736
  • Add Kotlin DSL support for MockMVC andExpectAll #​29727
  • Add ExecutingResponseCreator to delegate request and response #​29721
  • JmsTemplate.convertAndSend throws NullPointerException during shutdown #​29706
  • Extract ResourceEntityResolver HTTPS schema resolution fallback #​29697
  • @Configuration classes with Kotlin in native-image are broken #​29663
  • Introduce Kotlin DSL for ResultActions.andExpectAll() #​27317
🐞 Bug Fixes
  • ResourceHandlers cannot resolve static resources with certain wildcard patterns #​29712
  • Conflict on insert gets translated to DataIntegrityViolationException instead of DuplicateKeyException in Spring 6 #​29699
📔 Documentation
  • fix typo in core-aot.adoc #​29788
  • Polish #​29727: Mention Kotlin andExpectAll in reference manual #​29766
  • Update Jakarta Mail info in ref docs #​29707
  • Trigger/TriggerContext reference documentation outdated #​29702
  • Improve documentation for literals in SpEL expressions #​29700
  • Small fixes and improvements to the reference documentation #​29694
  • Fix manipulating property sources example in Javadoc for ConfigurableEnvironment #​29693
🔨 Dependency Upgrades
❤️ Contributors

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

@​Dunemaster, @​IDJack, @​diguage, @​izeye, and @​quim3ra

v6.0.3

⭐ New Features

  • Throw PessimisticLockingFailureException/CannotAcquireLockException instead of plain ConcurrencyFailureException #​29675
  • Introduce additional constructors in MockClientHttpRequest and MockClientHttpResponse #​29670
  • Fall back to JdkClientHttpConnector as ClientHttpConnector #​29645
  • Optimize object creation in RequestMappingHandlerMapping#handleNoMatch #​29634
  • Align multipart codecs on client and server #​29630
  • Deprecate "application/graphql+json" media type after spec changes #​29617
  • HTTP interface client does not call FormHttpMessageWriter when writing form data #​29615
  • ProblemDetail doesn't override the equals method #​29606
  • Add title to SockJS iFrames for accessibility compliance #​29594
  • Forbid loading of a test's ApplicationContext in AOT mode if AOT processing failed #​29579
  • Deprecate JettyWebSocketClient in favor of StandardWebSocketClient #​29576
  • Improve options to expose MessageSource formatted errors for a ProblemDetail response #​29574
  • Make @ModelAttribute and @InitBinder annotations @Reflective #​29572
  • Update BindingReflectionHintsRegistrar to support properties on records #​29571

🐞 Bug Fixes

  • Cannot use WebDAV methods in Spring MVC 6.0 anymore #​29689
  • AnnotatedElementUtils.findMergedRepeatableAnnotations does not fetch results when other attributes exist in container annotation #​29685
  • BeanWrapperImpl NPE in setWrappedInstance after invoking getPropertyValue #​29681
  • SpEL ConstructorReference does not generate AST representation of arrays #​29665
  • NullPointerException in BindingReflectionHintsRegistrar for anonymous classes #​29657
  • DataBufferInputStream violates InputStream contract #​29642
  • Component scanning no longer uses component index for @Named, @ManagedBean, and other Jakarta annotations #​29641
  • Fix canWrite in PartHttpMessageWriter #​29631
  • NoHandlerFoundException mistakenly returns request headers from ErrorResponse#getHeaders #​29626
  • URI override for @HttpExchange doesn't work if there are both URI and @PathVariable method parameters #​29624
  • Unnecessary parameter name introspection for constructor-arg resolution (leading to LocalVariableTableParameterNameDiscoverer warnings) #​29612
  • Set detail from reason in both constructors of ResponseStatusException #​29608
  • SpEL string literal misses single quotation marks in toStringAST() #​29604
  • AOT code generation fails for bean of type boolean #​29598
  • request-scoped bean with @Lazy fails in native image (due to missing detection of CGLIB lazy resolution proxies) #​29584
  • 500 error from WebFlux when parsing Content-Type leads to InvalidMediaTypeException #​29565
  • ConcurrentLruCache implementation is using too much heap memory #​29520
  • Duplicate key violation gets translated to DataIntegrityViolationException instead of DuplicateKeyException in Spring 6 #​29511
  • SpEL: Two double quotes are replaced by one double quote in single quoted String literal (and vice versa) #​28356

📔 Documentation

  • Fix ErrorResponse#type documentation #​29632
  • Fix typo in observability documentation #​29590
  • Consistent documentation references to Jakarta WebSocket (2.1) #​29581
  • Unrendered asciidoc headings in reference documentation #​29569
  • Document observability support #​29524

🔨 Dependency Upgrades

❤️ Contributors

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

@​Aashay-Chapatwala, @​CoderYellow, @​ShenFeng312, @​Spark61, @​divcon, @​izeye, @​koo-taejin, @​mdeinum, @​mhalbritter, @​quaff, and @​singhbaljit

v6.0.2

⭐ New Features

  • Rely on standard parameter name resolution in Bean Validation 3.0 #​29566

🐞 Bug Fixes

  • ResponseStatusException does not use the reason to set the "detail" field #​29567
  • LocalVariableTableParameterNameDiscoverer logs many warnings with Hibernate validation #​29563

📔 Documentation

  • org.springframework.web.multipart.commons not found #​29562

v6.0.1

⭐ New Features
  • Make SourceHttpMessageConverter optional #​29535
  • Deprecate LocalVariableTableParameterNameDiscoverer completely (avoiding its exposure in native images) #​29531
  • Make GeneratorStrategy.generate unreachable on native #​29521
  • Update LogAdapter to allow build-time code removal #​29506
🐞 Bug Fixes
  • Unhandled exceptions should mark Servlet observation outcome as error #​29512
📔 Documentation
  • Broken link in documentation section 6.10 #​29554
  • Fix Javadoc link text in BindingResult #​29551
  • Fix some typos in Kotlin WebClient example code #​29538
  • Fix link to Bean Utils Light Library in BeanUtils Javadoc #​29534
  • Fix link to WebFlux section in reference manual #​29525
  • Document RuntimeHints testing strategies #​29523
  • Reorganize and modularize the Testing chapter in the reference manual #​29522
  • Document switch to SQLExceptionSubclassTranslator in the upgrade guide #​29518
  • Update documentation to mention Java 17+ baseline #​29514
  • Link to Spring WebFlux section is broken #​29513
  • Update javadoc of Jackson-based decoders to reflect 2.14 baseline #​29508
  • Code example has callout from a different code example #​29505
  • Code listing callouts are displayed incorrectly in core-beans.adoc #​29457
  • Fix a syntax error in an XML listing in core-validation.adoc #​29456
🔨 Dependency Upgrades
❤️ Contributors

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

@​Encyclopedias, @​andregasser, @​davidcostanzo, @​divcon, @​jiangying000, @​mdeinum, and @​wilkinsona

v6.0.0

See What's New in Spring Framework 6.x and Upgrading to Spring Framework 6.x for upgrade instructions and details of new features.

⭐ New Features

  • Avoid direct URL construction and URL equality checks #​29486
  • Simplify creating RFC 7807 responses from functional endpoints #​29462
  • Allow test classes to provide runtime hints via declarative mechanisms #​29455

📔 Documentation

  • Align javadoc of DefaultParameterNameDiscoverer with its behavior #​29494
  • Document AOT support in the TestContext framework #​29482
  • Document Ahead of Time processing in the reference guide #​29350

🔨 Dependency Upgrades

❤️ Contributors

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

@​ophiuhus and @​wilkinsona

v5.3.27

⭐ New Features
  • Limit string concatenation in SpEL expressions #​30331
  • Limit SpEL expression length #​30329
  • Disable variable assignment in SimpleEvaluationContext #​30327
  • Introduce StringUtils.truncate() #​30291
  • Introduce ObjectUtils.nullSafeConciseToString() #​30287
  • Make HttpComponentsHeadersAdapter#getFirst nullable #​30269
🐞 Bug Fixes
  • Fix regression in ReactorServerHttpRequest related to IPV6 Zone id with "%" #​30314
  • SSE breaks with indenting serializer in WebMvc.fn #​30302
  • Increase max regex length in SpEL expressions #​30298
  • NullPointerException on timeout in HttpComponentsClientHttpConnector when using Apache HttpComponents #​30246
  • Wrong MockRestRequestMatchers.header() method in spring-test being invoked (JDK issue?) #​30235
  • TypeNotPresentException: org/springframework/cglib/proxy/NoOp not present on Java 17 #​30228
  • Refine generic type management in AbstractMessageWriterResultHandler #​30215
  • MvcUriComponentsBuilder.fromMethodCall breaks for controller with CharSequence return type #​30212
  • Handle all exceptions for stored proc output param retrieval in SharedEntityManagerCreator #​30164
:notebook_

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), 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 Renovate Bot

@solrbot
Copy link
Collaborator Author

solrbot commented Jun 1, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: ./gradlew updateLicenses
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* Where:
Script '/tmp/renovate/repos/github/apache/solr/gradle/validation/jar-checks.gradle' line: 120

* What went wrong:
Execution failed for task ':solr:modules:s3-repository:collectJarInfos'.
> Could not resolve all dependencies for configuration ':solr:modules:s3-repository:testRuntimeClasspath'.
   > Could not resolve org.springframework:spring-core:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project :
      > No matching variant of org.springframework:spring-core:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-core:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-core:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-web:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project :
      > No matching variant of org.springframework:spring-web:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-web:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-web:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-webmvc:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project :
      > No matching variant of org.springframework:spring-webmvc:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-webmvc:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-webmvc:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-context:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project :
      > No matching variant of org.springframework:spring-context:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-context:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-context:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-core:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project : > org.springframework.boot:spring-boot-starter:2.5.14
         project :solr:modules:s3-repository > project : > org.springframework.boot:spring-boot:2.5.14
      > No matching variant of org.springframework:spring-core:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-core:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-core:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-web:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project : > org.springframework.boot:spring-boot-starter-web:2.5.14
         project :solr:modules:s3-repository > project : > org.springframework.boot:spring-boot-starter-json:2.5.14
      > No matching variant of org.springframework:spring-web:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-web:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-web:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-webmvc:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project : > org.springframework.boot:spring-boot-starter-web:2.5.14
      > No matching variant of org.springframework:spring-webmvc:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-webmvc:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-webmvc:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11
   > Could not resolve org.springframework:spring-context:5.3.20.
     Required by:
         project :solr:modules:s3-repository > project : > org.springframework.boot:spring-boot:2.5.14
      > No matching variant of org.springframework:spring-context:6.0.9 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
          - Variant 'apiElements' capability org.springframework:spring-context:6.0.9 declares a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability org.springframework:spring-context:6.0.9 declares a runtime of a library, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 22s

@janhoy
Copy link
Contributor

janhoy commented Jun 1, 2023

Spring is a transitive test-dependency for s3-repository and jwt-auth.
I tried removing the two lines from versions.props and ended up with this

org.springframework.*  5.3.23 -> 5.2.15.RELEASE
org.springframework.boot.*  2.5.14 -> 2.3.12.RELEASE

Seems like the lines were added during upgrade to Jetty 10 in SOLR-15955 with the comment * For s3mock specifically, upgrade spring-boot 2.5.14 and spring 5.3.23 to handle Jetty 10.

I'd like to get us back to having these as transitive dependencies, and add a comment-line to versions.props on why these are overridden.

Upgrading s3mock to 2.11.0 would solve the problem, but I see you tried this in April but rolled back @risdenk , @gerlowskija - remember why we had to roll back?

@risdenk
Copy link
Contributor

risdenk commented Jun 1, 2023

@janhoy - #1545

@janhoy
Copy link
Contributor

janhoy commented Jun 1, 2023

Thanks, made a comment. Closing this.

@janhoy janhoy closed this Jun 1, 2023
@solrbot
Copy link
Collaborator Author

solrbot commented Jun 1, 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.

@solrbot solrbot deleted the renovate/major-org.springframework-spring branch June 1, 2023 17:40
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.

3 participants