renamed e.g. `/j_spring_security_logout` -> `/logout` • Overriding default response headers no longer disables all unless explicitly specified • Roles are automatically prefixed with “ROLE_”
to true. ◦ `spring.jpa.hibernate.use-new-id-generator-mapping` defaults to false • NamingStrategy split in two: ◦ ImplicitNamingStrategy - used whenever a table or column is not explicitly named ◦ PhysicalNamingStrategy - used to convert a "logical name" into a physical name • I experienced this silently creating new tables, that were not previously explicitly named in combination with ddl-auto = update.
secured by default (even without spring-security) ◦ Override with: `management.security.enabled=false` • Default role changed from ‘ADMIN’ to ‘ACTUATOR’ ◦ override with: `management.security.roles={ROLE}`
> Hikari • Gradle plugin rewritten ◦ Spring Boot & Dependency Management plugins separated ◦ BootJar & BootWar tasks replace BootRepackage and extend Java Jar & War tasks ◦ BootRun extends JavaExec • Properties ◦ A number of properties have been renamed, replaced or re-namespaced ◦ Relaxed binding has been tightened ◦ Org.springframework.boot.bind package has been removed & replaced by new binding api (see https://github.com/spring-projects/spring-boot/wiki/Relaxed-Binding-2.0)
longer transitively depend on starter-web • Jackson JSR-310 dates now written as ISO8601 strings by default ◦ Restore previous behaviour ‘spring.jackson.serialization.write-dates-as-timestamps=true’ • HTTP suffix pattern matching is disabled by default ◦ GET /proj/spring-boot.json will no longer map to @GetMapping(“/proj/spring-boot) • ‘spring.jpa.hibernate.use-new-id-generator-mappings’ now defaults to true • Data repository method signature changes ◦ e.g. T findOne(T id) -> Optional<T> findById(T id)