22
33All notable changes to this ` laravel-elasticsearch ` package will be documented in this file.
44
5+ ## v5.0.6 - 2025-06-04
6+
7+ This release is compatible with Laravel 10, 11 & 12
8+
9+ ### What's Changed
10+
11+ * Bug fix: Chunking ` $count ` value fixed for setting query limit correctly, via #68
12+
13+ ** Full Changelog** : https://github.com/pdphilip/laravel-elasticsearch/compare/v5.0.5...v5.0.6
14+
515## v5.0.5 - 2025-05-19
616
717This release is compatible with Laravel 10, 11 & 12
@@ -71,6 +81,7 @@ People::bulkInsert([
7181
7282
7383
84+
7485```
7586Returns:
7687
@@ -93,6 +104,7 @@ Returns:
93104}
94105
95106
107+
96108```
97109#### 2. Bug fix: ` distinct() ` aggregation now appends ` searchAfter ` key in meta
98110
@@ -130,6 +142,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
130142"pdphilip/elasticsearch" : " ^5" ,
131143
132144
145+
133146```
134147### Breaking Changes
135148
@@ -159,6 +172,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
159172 }
160173
161174
175+
162176 ```
163177
164178#### 3. Queries
@@ -175,6 +189,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
175189 Product::where('name', 'John')->get(); // term query
176190
177191
192+
178193 ```
179194- ` orderByRandom() ` Removed
180195
@@ -192,6 +207,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
192207 })->get();
193208
194209
210+
195211 ```
196212- Legacy Search Methods Removed
197213 All ` {xx}->search() ` methods been removed. Use ` {multi_match}->get() ` instead.
@@ -214,6 +230,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
214230 use PDPhilip\Elasticsearch\Schema\Blueprint;
215231
216232
233+
217234 ```
218235- ` Schema::hasIndex ` has been removed. Use ` Schema::hasTable ` or ` Schema::indexExists ` instead.
219236
@@ -280,6 +297,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
280297Connection::on('elasticsearch')->elastic()->{clientMethod}();
281298
282299
300+
283301```
284302### What's Changed
285303
0 commit comments