Skip to content

Commit 2cec6cb

Browse files
committed
2.0.0 refactor - readme updated
1 parent bcb738f commit 2cec6cb

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.0.0 - 2024-11-14
2+
3+
- Refactored package - now requires a searchable model class on builder creation
4+
- No longer need to call Scout search() separately
5+
- Readme updated
6+
17
## 1.0.4 - 2024-11-13
28

39
- Readme updated

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ $builder = MeilisearchQuery::for(User::class)
4343
$results = $builder->paginate();
4444
```
4545

46+
> [!NOTE]
47+
> The above example replaces the standard `User::search($term, $callback)` method
48+
4649
## Builder Methods
4750

4851
#### # where(column, operator(optional), value(optional), boolean(optional))

0 commit comments

Comments
 (0)