Spring Boot 4.2 migrator 一收紧,旧配置键就把进程挂了
升到 Boot 4.2.0-RC1 仍带着 logging.path、spring.application.index;把 spring.properties.migrator.fail 收到 on-error/on-warning 后进程以 IllegalStateException 退出 1,默认 never 只警告仍能启动。
在这个技术方向,积累扎实的知识与实践。
共 600 篇文章升到 Boot 4.2.0-RC1 仍带着 logging.path、spring.application.index;把 spring.properties.migrator.fail 收到 on-error/on-warning 后进程以 IllegalStateException 退出 1,默认 never 只警告仍能启动。
接 Claude、DeepSeek、Gemini 这类带 thinking 的模型,再挂上工具调用时,下一轮请求必须把上一轮的思考块、签名或加密内容按原顺序原样送回去。官方博客 Spring AI 2.1 Message Parts: Reasoning That Survives the Roun
升到 Spring Boot 4.2.0-RC1,Docker Compose 里想给 MySQL 开随机 root 密码、给 RabbitMQ 设非默认 vhost。Service Connection 到底吃哪组账号、virtual-host 会不会还停在 /?结论先说:随机 root 时 Bo
Spring Framework 7.1.0-RC1(Boot 4.2.0-RC1)MultipartHttpMessageConverter:RestClient 把 multipart/form-data 解成 MultiValueMap,读到 fieldPart 与 logo.txt;只留 FormHttp 时抛 UnknownContentTypeException。
jwk-set-uri 已设、issuer-uri=${ISSUER_URI:} 落成空串时,Boot 4.1.1 仍挂 JwtIssuerValidator,带正常 iss 的 JWT 回 401;4.1.2 改为 hasText 才校验,同令牌 200。对应 #52260。
JPA 4.2.0-RC1 对静态 DTO 投影做启动校验:错字段 fail-fast;同代码在 4.2.0-M2 能启动,调用才 500。
URI 写成 http://elastic:pass:with:colons@host 时,Boot 4.1.1 解析出的密码是 pass,4.1.2 才是完整的 pass:with:colons。对应 Release Notes #52166。
Boot 4.2.0-RC1 + Cloud 2026.0.0-RC1:Config Client 开 OAuth2 后拉到 demo.message;关闭则对 Config Server 得 401 并 fail-fast。
Security 7.2.0-RC1 支持 CSP {nonce}:响应头与 script nonce 一致时 Chrome 执行内联脚本(ALLOWED),缺失或填错时停在 PENDING 并报 CSP blocked。
Boot 4.2.0-RC1 默认 build-image 拉的是 ubuntu-resolute-builder,基线 Ubuntu 26.04;默认可选的 spring-cloud-bindings 2.0.4 会因已删除的 env.EnvironmentPostProcessor 启动失败。