Skip to content

Releases: PHP-CMSIG/search

Release 0.9.3 (2025-06-17)

17 Jun 08:22
0d7eef3
Compare
Choose a tag to compare

SEAL 0.9.3

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.9.2...0.9.3

Thx to @Toflar the creator of Loupe it is now possible to distinct by a specified field in SEAL.
Checkout the documentation for the new distinct feature.

You are using Loupe and or want to support his Open Source work? Consider sponsoring @Toflar via Github here.

Upgrading from an older version?

If you upgrade from an older version – check backwards compatibility breaks of previous releases:

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.9.2 (2025-06-16)

16 Jun 06:59
10ae946
Compare
Choose a tag to compare

SEAL 0.9.2

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.9.1...0.9.2

Upgrading from an older version?

If you upgrade from an older version – check backwards compatibility breaks of previous releases:

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.9.1 (2025-05-22)

27 May 09:37
ea524d3
Compare
Choose a tag to compare

SEAL 0.9.1

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.9.0...0.9.1

Upgrading from an older version?

If you upgrade from an older version – check backwards compatibility breaks of previous releases:

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.9.0 (2025-05-22)

22 May 07:06
Compare
Choose a tag to compare

SEAL 0.9.0

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

New Contributors

Full Changelog: 0.8.1...0.9.0

BC Breaks

Solr and Loupe require reindex with drop

The Solr and Loupe adapter required to flatten complex objects. For still supporting nested objects in previous versions we did duplicate the original document into a own raw field. With the implemented new flattener algorithm we not require this duplication and just some metadata to recreate the data into its complex structure. For this change a drop + reindex is required for all which are using Loupe or Solr adapter. Run the:

# Symfony
bin/console cmsig:seal:reindex --drop

# Laravel
php artisan cmsig:seal:reindex --drop

# Spiral
php app.php cmsig:seal:reindex --drop

# Mezzio
vendor/bin/laminas cmsig:seal:reindex --drop

# Yii
./yii cmsig:seal:reindex --drop

or use the $engine->reindex($reindexProviders, ReindexConfig::create()->withDropIndex(true)); method to drop and reindex all existing indexes for this UPGRADE.

Upgrading from an older version?

If you upgrade from an older version check backwards compatibility breaks of previous releases:

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.8.1 (2025-05-08)

08 May 07:19
853d440
Compare
Choose a tag to compare

SEAL 0.8.1

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

The Version of Redis 7 and Opensearch 2 are still supported. Like in the previous release with Elasticsearch 9 and Typesense 28 supported older version Elasticsearch 8 and Typesense 27 is also still supported at time of this release.

Full Changelog: 0.8.0...0.8.1

Upgrading from an older version?

If you upgrade from a older version <0.8 check backwards compatibility breaks of the releases:

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.8.0 (2025-05-06)

06 May 17:14
1199ae5
Compare
Choose a tag to compare

SEAL 0.8.0

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.7.3...0.8.0

BC Breaks

Highlighted fields result may changed

Some engines in the past did automatically fallback in the highlighted fields to the original value even if there was no match and nothing to highlight. To normalize this behaviour this mechanic is now in control of you. If you did use Loupe, Meilisearch and Algolia and want the previous behaviour back add fallback yourself:

$title = $document['_formatted']['title']
+            ?? $document['title']
             ?? '';

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.7.3 (2025-04-29)

30 Apr 05:27
1b4bf87
Compare
Choose a tag to compare

SEAL 0.7.3

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.7.2...0.7.3

Attend Discussions 📢

If you like SEAL, give it a ⭐ on GitHub!
Interested in sponsoring me?

Release 0.7.2 (2024-04-01)

01 Apr 11:15
d6c6cad
Compare
Choose a tag to compare

SEAL 0.7.2

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

New Contributors

Full Changelog: 0.7.1...0.7.2

Attend Discussions 📢

Release 0.7.1 (2025-03-19)

19 Mar 16:35
94bd234
Compare
Choose a tag to compare

SEAL 0.7.1

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.7.0...0.7.1

Attend Discussions 📢

Release 0.7.0 (2025-02-28)

28 Feb 17:55
e82cda0
Compare
Choose a tag to compare

SEAL 0.7.0

SEAL Logo with an abstract seal sitting on a telescope.
Logo created by Meine Wilma

What's Changed

Full Changelog: 0.6.1...0.7.0

With this new release you can use the highlight method to get additional _formatted data with the matched string:

$result = $this->engine->createSearchBuilder('blog')
    ->addFilter(new Condition\SearchCondition('Search Term'))
    ->highlight(
        fields: ['title', 'description'],
        preTag: '<mark>',
        postTag: '</mark>',
    )

This is supported by all Adapter with the exception of Redisearch see: #491

Attend Discussions 📢