Just an additional note: In https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-4.0-Configuration-Changelog I see spring.thymeleaf.enabled as removed with "No longer required.".
spring.thymeleaf.enabled
removed