Skip to content

Commit deeb311

Browse files
committed
type styles
1 parent ff8d816 commit deeb311

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ This release is compatible with Laravel 11, 12 & 13
1414
### Added
1515

1616
- **Laravel 13 support** (including 13.3 `HasCollection` compatibility)
17-
- **Query String Queries** `searchQueryString()`, `orSearchQueryString()`, `searchNotQueryString()`,
17+
- **Query String Queries** - `searchQueryString()`, `orSearchQueryString()`, `searchNotQueryString()`,
1818
`orSearchNotQueryString()` with full `QueryStringOptions` support -
1919
[Docs](https://opensearch.pdphilip.com/eloquent/query-string-queries)
20-
- **Track Total Hits** `withTrackTotalHits(bool|int|null)` to override the default 10k hit count cap
20+
- **Track Total Hits** - `withTrackTotalHits(bool|int|null)` to override the default 10k hit count cap
2121
- [Docs](https://opensearch.pdphilip.com/eloquent/the-base-model/#track-total-hits)
22-
- **Create or Fail** `createOrFail()` throws `BulkInsertQueryException` (409) on duplicate IDs
22+
- **Create or Fail** - `createOrFail()` throws `BulkInsertQueryException` (409) on duplicate IDs
2323
instead of upserting - [Docs](https://opensearch.pdphilip.com/eloquent/saving-models/#create-or-fail)
24-
- **Set Refresh Flag** `withRefresh(true|false|'wait_for')` to control index refresh behavior on
24+
- **Set Refresh Flag** - `withRefresh(true|false|'wait_for')` to control index refresh behavior on
2525
writes - [Docs](https://opensearch.pdphilip.com/eloquent/saving-models/#with-refresh)
26-
- **Create Only** `createOnly()` and `withOpType('create')` for dedupe insert semantics with
26+
- **Create Only** - `createOnly()` and `withOpType('create')` for dedupe insert semantics with
2727
per-document `_op_type` support
28-
- **Time-Ordered IDs** `GeneratesTimeOrderedIds` trait for sortable, chronologically-ordered
28+
- **Time-Ordered IDs** - `GeneratesTimeOrderedIds` trait for sortable, chronologically-ordered
2929
20-character IDs - [Docs](https://opensearch.pdphilip.com/eloquent/the-base-model/#3-generatestimeorderedids-trait)
3030
- `QueryStringOptions` and `SimpleQueryStringOptions` classes
3131
- Composer test scripts: `composer test:l11`, `composer test:l12`, `composer test:l13`, `composer
@@ -35,11 +35,11 @@ This release is compatible with Laravel 11, 12 & 13
3535

3636
- **QueryException** crash on `Undefined array key "error"` when OpenSearch returns responses without
3737
the expected `error.type` structure
38-
- **BulkInsertQueryException** crash on `op_type=create` bulk response uses `create` key, not
38+
- **BulkInsertQueryException** crash on `op_type=create` - bulk response uses `create` key, not
3939
`index`; now uses `array_key_first()` with proper 409 status code inference
40-
- **Field mapping resolution** `getFieldsMapping()` now uses `_mapping` API instead of
40+
- **Field mapping resolution** - `getFieldsMapping()` now uses `_mapping` API instead of
4141
`_mapping/field/*` (OpenSearch PHP client returns empty for wildcard field queries)
42-
- **`hasColumns()`** iterates individual field checks instead of comma-separated query (same
42+
- **`hasColumns()`** - iterates individual field checks instead of comma-separated query (same
4343
OpenSearch PHP client limitation)
4444
- Geo bounding box test (wrong field name + double `.get()` call)
4545

@@ -52,7 +52,7 @@ This release is compatible with Laravel 11, 12 & 13
5252
- `newCollection()` override on base Model to prevent L13.3 `HasCollection` abstract class
5353
instantiation
5454
- `opensearch-project/opensearch-php` updated to `^2.6`
55-
- PHPStan baseline regenerated (36 entries, down from 61 opensearch-php class casing fix)
55+
- PHPStan baseline regenerated (36 entries, down from 61 - opensearch-php class casing fix)
5656

5757
**Full Changelog**: https://github.com/pdphilip/laravel-opensearch/compare/v3.0.3...v3.1.0
5858

src/Eloquent/GeneratesTimeOrderedIds.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Generates time-ordered, sortable IDs for Elasticsearch models.
1313
*
1414
* Use this trait when you need IDs that sort chronologically across
15-
* multiple processes/workers ideal for high-volume APIs where
15+
* multiple processes/workers - ideal for high-volume APIs where
1616
* time-sequenced analytics matter.
1717
*
1818
* IDs are 20 characters, URL-safe, and sort lexicographically in

0 commit comments

Comments
 (0)