[[new-features]] = What's new [[new-features.4-0-0]] == New in Spring Data Elasticsearch 4.0 * Uses Spring 5.2. * Upgrade to Elasticsearch 7.6.2. * Deprecation of `TransportClient` usage. * Implements most of the mapping-types available for the index mappings. * Removal of the Jackson `ObjectMapper`, now using the <> * Cleanup of the API in the `*Operations` interfaces, grouping and renaming methods so that they match the Elasticsearch API, deprecating the old methods, aligning with other Spring Data modules. * Introduction of `SearchHit` class to represent a found document together with the relevant result metadata for this document (i.e. _sortValues_). * Introduction of the `SearchHits` class to represent a whole search result together with the metadata for the complete search result (i.e. _max_score_). * Introduction of `SearchPage` class to represent a paged result containing a `SearchHits` instance. * Introduction of the `GeoDistanceOrder` class to be able to create sorting by geographical distance * Implementation of Auditing Support * Implementation of lifecycle entity callbacks [[new-features.3-2-0]] == New in Spring Data Elasticsearch 3.2 * Secured Elasticsearch cluster support with Basic Authentication and SSL transport. * Upgrade to Elasticsearch 6.8.1. * Reactive programming support with <> and <>. * Introduction of the <> as an alternative to the Jackson `ObjectMapper`. * Field name customization in `@Field`. * Support for Delete by Query.