Problem/Motivation
https://typesense.org/docs/30.0/api/#deprecations-behavior-changes
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork search_api_typesense-3568471
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3568471-typesense-30
changes, plain diff MR !72
- 3568471-fix
changes, plain diff MR !69
Comments
Comment #4
nickolajUpdated composer.json to allow typesense-php ^6.0 (in addition to ^5.1) which adds support for Typesense Server 30.x. The PHP client v6 maintains backward compatibility with the collection-scoped synonym and override APIs.
Comment #5
lussolucaThis is not enough, for example, the
deleteAllIndexItemsmethod inSearchApiTypesenseBackendusesgetTypesenseClient()->exportCollectionDatato export data before deleting a collection.exportCollectionDatauses$collection->synonyms->retrieve()['synonyms']to extract synonyms, but this endpoint is not valid anymore.It seems that in v6, new APIs were added, but old APIs were not removed.
We need to decide if we should release a new version of the module that is compatible with Typesense >30 only, or to support both versions with the same codebase
Comment #9
lussolucaCommitted to 1.2.0-beta1. Thanks!