You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like typesense-instantsearch-adapter 2.8.0 doesn't work on WordPress 6.6 RC1. 2.9.0-3 has the same problem.
Please refer to this issue WordPress/gutenberg#62923 (comment)
Try to use typesense-instantsearch-adapter 2.8.0 / 2.9.0-3 on WordPress 6.6RC1
Expected Behavior
Same as on WordPress 6.5.5:
Actual Behavior
The Template Library block crashes with
loadable.esm.mjs:377 Uncaught
TypeError: Cannot read properties of undefined (reading 'mark')
at SearchRequestAdapter.js:518:1
at SearchRequestAdapter.js:545:6
at ./node_modules/typesense-instantsearch-adapter/lib/SearchRequestAdapter.js (SearchRequestAdapter.js:563:2)
at __webpack_require__ (bootstrap:19:1)
at ./node_modules/typesense-instantsearch-adapter/lib/TypesenseInstantsearchAdapter.js (TypesenseInstantsearchAdapter.js:22:29)
at __webpack_require__ (bootstrap:19:1)
at ./src/editor/library/container.js (MasonryItem.js:203:27)
at Function.__webpack_require__ (bootstrap:19:1)
Note: loading the src version of the script helps, but can we expect a version that doesn't need polyfill in the future, since WP decided to remove it from the default dependencies? Or should we try to add wp-polyfil manually?
Description
Looks like typesense-instantsearch-adapter 2.8.0 doesn't work on WordPress 6.6 RC1. 2.9.0-3 has the same problem.
Please refer to this issue WordPress/gutenberg#62923 (comment)
Our plugin where we use typesense:
https://github.com/maxi-blocks/maxi-blocks
https://wordpress.org/plugins/maxi-blocks/
Steps to reproduce
Try to use typesense-instantsearch-adapter 2.8.0 / 2.9.0-3 on WordPress 6.6RC1
Expected Behavior
Same as on WordPress 6.5.5:
Actual Behavior
The Template Library block crashes with
Metadata
React 18.3.1
Node v20.11.1
PHP 8.2.20
List of all packages we use in our plugin:
├── @babel/[email protected]
├── @babel/[email protected]
├── @babel/[email protected]
├── @babel/[email protected]
├── @babel/[email protected]
├── @floating-ui/[email protected]
├── @langchain/[email protected]
├── @loadable/[email protected]
├── @prettier/[email protected]
├── @uiw/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── @wordpress/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
The text was updated successfully, but these errors were encountered: