2
2
3
3
All notable changes to this ` laravel-elasticsearch ` package will be documented in this file.
4
4
5
+ ## v5.0.5 - 2025-05-19
6
+
7
+ This release is compatible with Laravel 10, 11 & 12
8
+
9
+ ### What's Changed
10
+
11
+ * Merging in bug fixes by @use-the-fork in https://github.com/pdphilip/laravel-elasticsearch/pull/65
12
+ * Updated outstanding tests
13
+ * Fixed bug in relations` has() ` method
14
+
15
+ ** Full Changelog** : https://github.com/pdphilip/laravel-elasticsearch/compare/v5.0.4...v5.0.5
16
+
5
17
## v5.0.4 - 2025-04-12
6
18
7
19
This release is compatible with Laravel 10, 11 & 12
@@ -58,6 +70,7 @@ People::bulkInsert([
58
70
]);
59
71
60
72
73
+
61
74
```
62
75
Returns:
63
76
@@ -79,6 +92,7 @@ Returns:
79
92
]
80
93
}
81
94
95
+
82
96
```
83
97
#### 2. Bug fix: ` distinct() ` aggregation now appends ` searchAfter ` key in meta
84
98
@@ -115,6 +129,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
115
129
``` json
116
130
"pdphilip/elasticsearch" : " ^5" ,
117
131
132
+
118
133
```
119
134
### Breaking Changes
120
135
@@ -143,6 +158,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
143
158
protected $connection = 'elasticsearch';
144
159
}
145
160
161
+
146
162
```
147
163
148
164
#### 3. Queries
@@ -158,6 +174,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
158
174
Product::whereMatch('name', 'John')->get(); // match query
159
175
Product::where('name', 'John')->get(); // term query
160
176
177
+
161
178
```
162
179
- ` orderByRandom() ` Removed
163
180
@@ -174,6 +191,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
174
191
$options->minimumShouldMatch(2);
175
192
})->get();
176
193
194
+
177
195
```
178
196
- Legacy Search Methods Removed
179
197
All ` {xx}->search() ` methods been removed. Use ` {multi_match}->get() ` instead.
@@ -195,6 +213,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
195
213
- use PDPhilip\Elasticsearch\Schema\AnalyzerBlueprint;
196
214
use PDPhilip\Elasticsearch\Schema\Blueprint;
197
215
216
+
198
217
```
199
218
- ` Schema::hasIndex ` has been removed. Use ` Schema::hasTable ` or ` Schema::indexExists ` instead.
200
219
@@ -260,6 +279,7 @@ with Laravel’s Eloquent. It lays a solid, future-proof foundation for everythi
260
279
``` php
261
280
Connection::on('elasticsearch')->elastic()->{clientMethod}();
262
281
282
+
263
283
```
264
284
### What's Changed
265
285
0 commit comments