Skip to content

Changes related to Meilisearch v1.12.0 #307

Closed
@curquiza

Description

@curquiza

This issue gathers the changes related to the v1.12.0 of Meilisearch that will impact the integrations scope.

📅 Release date: 2024-12-23

Timelines & steps

Pre-release

  • With the help of the changelog & this CI, define which integrations should be updated and how (New feature? Update README? Update tests?)
    • Fill in the "What to implement?" section below in this issue 👇. Minial implementation: PHP, JS, Instant-meilisearch.
    • Open implementation issues in repositories that need implementation.
    • Discuss with the Product team if needed. At least share this issue to let them know about the decisions.
  • Create a branch by running Octopus script: only open branches for the integrations we choose to update (defined in the previous step) + Kubernetes repository + Cloud provider repository (changing the version)
  • Update integrations according to the decisions (cf "What to implement?" section below in this issue 👇)
    ⚠️ If possible, this step is done before pre-release, once the feature is ready thanks to the prototype released by the engine team
    • JS: opt-out setting, reverse, batch, indices
    • PHP: opt-out setting, reverse, batch, indices
    • Instant-meilisearch: fix tests
    • Ruby: fix tests
  • Add code samples for the chosen up-to-date integrations with the new version of Meilisearch: v1.12: Code sample updates documentation#3065
  • Update the library version of the related integrations and prepare the changelogs
    • JS
    • PHP

Release day

  • Release the integrations or only merged the related PRs (sometimes a release is not needed)
    • JS
    • PHP
    • Instant-meilisearch: ⚠️ update meilisearch-js version ⚠️ before merging and releasing
    • Merge Ruby PR (but no need to release)
  • Merge the related PR in K8s repository
  • Publish DevOps tools:
    • create the git tag
    • publish images (steps are in CONTRIBUTING.md)
  • Remove useless AWS images (by using our internal script)
  • Open issues in the repositories that are not up-to-date with the latest version of Meilisearch (including code samples)

What to implement?

Opt-out settings

Related issue in the engine: meilisearch/meilisearch#4979

Add index settings to customize indexing of users: facetSearch, prefixSearch.

TODO:

Parameter to reverse the order of the task queue

Related issue in the engine: meilisearch/meilisearch#5047

Add a new parameter in GET /tasks route: reverse

TODO:

Give more visibility around batch when indexing

Related issue in the engine:

Changes:

  • The task object gets updated with a new field: batchUid.
  • New routes returning a batch object
    • GET /batches/:uid
    • GET /batches

TODO:

New field in _matchPosition

Related PR: meilisearch/meilisearch#5005

Add a new indices field in the _matchesPosition response.

TODO:

Highlight changes

Related to this PR: meilisearch/meilisearch#4928

The above PR led to changes in highlight behavior (checked internally with the engine team, these are expected). We need to adapt the tests of instant-meilisearch

TODO

AI changes

Related PR: meilisearch/meilisearch#4900

Some tests in some SDKs have to be updated because of breaking changes

Metadata

Metadata

Labels

Meilisearch bumpChanges related to the Meilisearch bump version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions