Skip to content

Spring Data 2026.1 Release Notes

Mark Paluch edited this page Aug 14, 2026 · 4 revisions

New and Noteworthy

Spring Data Commons - 4.2

Spring Data JPA - 4.2

Stricter validation of named repository queries in @Query

When @Query(name = "…") or @Query(countName = "…") reference a named query that does not exist, Spring Data JPA now consistently throws a QueryCreationException at repository initialization. Absent named querties previously fell back to a derived query silently, which made typos easy to miss.

Applications using name or countName with a value that does not resolve to an existing named query will fail to start and surface the mismatch. For example, the following declaration now requires that a named query UserRepository.findByLastname.count exists:

@Query(value = "select u from User u where u.lastname = :lastname",
       countName = "UserRepository.findByLastname.count")
Page<User> findByLastname(String lastname, Pageable pageable);

To fix this, either register the corresponding named query or remove countName to let Spring Data JPA derive the count query automatically. The derived <name>.count convention, used when countName is not set at all, is unaffected and continues to fall back silently.

Spring Data Relational - 4.2

Spring Data JDBC - 4.2

Spring Data R2DBC - 4.2

Spring Data MongoDB - 5.2

Spring Data Neo4j - 8.2

Spring Data Elasticsearch - 6.2

Spring Data Couchbase - 6.2

Spring Data for Apache Cassandra - 5.2

Spring Data Redis - 4.2

Redis JSON

We now ship support for Redis JSON supporting JSON Path v2. RedisJsonTemplate is the main entrypoint providing a fluent API for JSON operations, for example:

RedisJsonTemplate<String> jsonTemplate = RedisJsonTemplate.create(connectionFactory);
jsonTemplate.set(key, person);
JsonOperations.JsonResult result = jsonTemplate.get(key);

List<Person> people = result.as(new ParameterizedTypeReference<List<Person>>() {});

List<@Nullable Long> matchingIndices = jsonTemplate.array(key).index(2)
		.insert("foo", "bar", "baz");

Spring Data KeyValue - 4.2

Spring Data REST - 5.2

Spring Data LDAP - 4.2

Release Dates

  • M1 - July 2026

  • M2 - September 2026

  • RC1 - October 2026

  • GA - November 2026

  • OSS Support until: December 2027

  • End of Life: December 2028

Clone this wiki locally