Releases: meilisearch/meilisearch-js
Releases · meilisearch/meilisearch-js
v0.11.1 🌻
Changes
- Add release drafter (#452) @curquiza
- Update code_sample of updateDocuments (#453) @bidoubiwa
- Feat: Make IndexInterface generic. createIndex and getIndex generic support (#442) @emyann
- Rename Meilisearch class into MeiliSearch in Typescript files (#467) @curquiza
- Add tests on facetfilter with spaces (#461) @bidoubiwa
- Remove not working umd bundle and replace with iife and cjs (#471) @bidoubiwa
Thanks again to @bidoubiwa, @curquiza, and @emyann! 🎉
v0.11.0
- Faceting (#421)
- Improve tests with v11 (#422)
- Improve code examples (#434)
- Add getOrCreateIndex method to meilisearch client #436
- Refacto error handler (#436)
- BREAKING: Usage of createIndex changed
createIndex(uid: string, options: IndexOptions)
(#436) - BREAKING: Error Handler improved by adding a new MeiliSearchCommunicationError (#436)
- Update dependencies
- BREAKING (Typescript): Changes in types
MeiliSearchApiErrorInterface
changes- Remove
UpdateIndexRequest
and replaced it withIndexOptions
Breaking changes due to the MeiliSearch breaking upgrade (from v0.10.X
to v0.11.X
)
- in the
GET /stats
route, thefieldsFrequency
attribute is renamed intofieldsDistribution
. The value of this attribute does not change. - MeiliSearch is currently doing a better error handler. Now, the following attributes are present in the body answer when raising an error:
errorCode
,errorType
anderrorLink
.
Themessage
attribute still exists but the value of this field might change for some errors.
We do not recommend using the content of these fields immediately (wait for thev0.12.0
): MeiliSearch is indeed still working on this error handler and the content of these fields will probably change.
Thanks to @bidoubiwa and @curquiza! 🎉
v0.10.1
v0.10.0
This is a big release because we have removed the boilerplate on which the module was built.
- Build is done 100% with rollup, tsc has been removed #318. Rollup has been updated #283
- Moved tests to own folder at root #283
- Error handled created with two new custom errors: MeiliSearchApiError MeiliSearchTimeoutError #283 & #311 & #318
- Removed linting with TSLINT and replaced with eslint #283
- Improved tests #299 #301 #302
- Created WaitForPendingUpdate function #311
- Made module compatible with MeiliSearch v0.10 #312
- Changed prototypes in README #314
- Class Indexes has been renamed to Class Index #315
- createIndex now returns an instance of the Index class #315 (BREAKING)
- Main file renamed from index.ts to meilisearch.ts #315
- Replaced all sleeps in test with waitForPendingUpdate #316
- Improved types and exportation of types #318 #283