1[[breaking_changes]]
2== Breaking changes from 6.x
3
4### Moving from types to typeless APIs in Elasticsearch 7.0
5
6Elasticsearch 7.0 deprecated APIs that accept types, introduced new typeless
7APIs, and removed support for the _default_ mapping. Read [this](https://www.elastic.co/blog/moving-from-types-to-typeless-apis-in-elasticsearch-7-0)
8blog post for more information.
9
10### Type hint and return type
11
12Added type hints and return type declarations in all the code base, where possible.
13See PR [#897](https://github.com/elastic/elasticsearch-php/pull/897).
14
15### PHP 7.1+ Requirement
16
17We require using PHP 7.1+ for elasticsearch-php. PHP 7.0 is not supported since
181st Jan 2019. See [PHP supported version](https://www.php.net/supported-versions.php) for
19more information.
20