Replies: 1 comment
-
Hello @goldmerc Good point to ask, the compatibility is always a complex topic, so I will try my best to make it as clear as possible. For the meilisearch-php, since it's one (maybe THE) most used SDK, we tried to make things clear for users: v1.X release of meilisearch-php corresponds to v1.X of Meilisearch release. More context to anticipate your future implementation with the SDK: Meilisearch will not implement any breaking changes on the API side, meaning you can peacefully use any version of the SDK with Meilisearch (>= v1.0)
TLDR; Once your Meilisearch and meilisearch-php are set up, you can upgrade your meilisearch-php version without any worries. I also recommend upgrading Meilisearch as much as possible (to get the most secure and performant version of our product). You should not get any compatibility issues, on the API side, or on the SDK side. Exceptions exist for one kind of feature: the experimental features. Breaking changes can be done between 2 versions of Meilisearch for experimental features. We try to avoid it, so it's kind of rare (once in a year), and we ensure good communication around it when it happens. For this case, if you use experimental features I would also recommend you always use the latest release of Meilisearch with the latest version of the SDK, but be more attentive to the changelogs reading. I always try to write clear changelogs, by highlighting important parts of the users, and the full team is available for any questions 😊 |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm enjoying using Meilisearch. One question. I notice that each tagged release of Meilisearch often has a corresponding sdk version, but maybe not always.
So, there is a 1.6.2 tag of meilisearch/meilisearch but the latest 1.6 tag of meilisearch/meilisearch-php is 1.6.1
Likewise, we have 1.7.1 of meilisearch now and 1.7.0 of meilisearch-php
Anyway, I use composer to manage my dependencies. What is the recommended setting for the package version of the PHP sdk?
So, let's say I install meilisearch 1.7.0. Should I fix meilisearch-php at the same version or allow the sdk to move forward with ^1.7.0
Would there be any harm if the sdk moved forward onto the next major release? So, if I'm running meilisearch 1.6.2, is it safe to use meilisearch-php from the 1.7 series or future series?
Thanks for any advice.
Beta Was this translation helpful? Give feedback.
All reactions