2
2
3
3
All notable changes to this ` laravel-elasticsearch ` package will be documented in this file.
4
4
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
+
5
15
## v5.0.5 - 2025-05-19
6
16
7
17
This release is compatible with Laravel 10, 11 & 12
@@ -71,6 +81,7 @@ People::bulkInsert([
71
81
72
82
73
83
84
+
74
85
```
75
86
Returns:
76
87
@@ -93,6 +104,7 @@ Returns:
93
104
}
94
105
95
106
107
+
96
108
```
97
109
#### 2. Bug fix: ` distinct() ` aggregation now appends ` searchAfter ` key in meta
98
110
@@ -130,6 +142,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
130
142
"pdphilip/elasticsearch" : " ^5" ,
131
143
132
144
145
+
133
146
```
134
147
### Breaking Changes
135
148
@@ -159,6 +172,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
159
172
}
160
173
161
174
175
+
162
176
```
163
177
164
178
#### 3. Queries
@@ -175,6 +189,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
175
189
Product::where('name', 'John')->get(); // term query
176
190
177
191
192
+
178
193
```
179
194
- ` orderByRandom() ` Removed
180
195
@@ -192,6 +207,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
192
207
})->get();
193
208
194
209
210
+
195
211
```
196
212
- Legacy Search Methods Removed
197
213
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
214
230
use PDPhilip\Elasticsearch\Schema\Blueprint;
215
231
216
232
233
+
217
234
```
218
235
- ` Schema::hasIndex ` has been removed. Use ` Schema::hasTable ` or ` Schema::indexExists ` instead.
219
236
@@ -280,6 +297,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
280
297
Connection::on('elasticsearch')->elastic()->{clientMethod}();
281
298
282
299
300
+
283
301
```
284
302
### What's Changed
285
303
0 commit comments