Releases: meilisearch/meilisearch-js
Releases · meilisearch/meilisearch-js
v0.15.0 🌻
Changes
- Fix the non-standard (V8)
captureStackTrace
method call in the custom error instance (#634) @neupauer - Add an ErrorStatusCode enum (#638) @neupauer
- Add ability to abort search request (#636) @neupauer
Breaking changes
Thanks again to @emulienfou, @emyann, @neupauer, and @bidoubiwa! 🎉
v0.14.2 🌻
Changes
- Resolve path removal of host url (#628) @bidoubiwa :
Fixes problem where additional sub-routes in host address was ignored,
for example: Given this address as a host "http://localhost:7700/api", the/api
will not be ignored anymore.
Thanks again to Janne Keiski and @bidoubiwa ! 🎉
v0.14.1 🌻
Changes
- Add
dumps
features (#616) @neupauer
Related docs: https://docs.meilisearch.com/references/dump.html - Add nbhits to types declarations (#625) @bidoubiwa
- Update dependencies
Thanks again to @bidoubiwa, @curquiza, @eskombro and @neupauer! 🎉
v0.14.0 🌻
Changes
Breaking changes
- Remove axios and change browser bundle name (#573) @bidoubiwa
- The commonJS bundle
cjs
has been removed and replaced with anumd
bundle. Theumd
bundle works on both browsers and node. - The
main
in package.json was previously a path to thecjs
bundle, it is now a path to theumd
bundle. - The browser bundle was previously named
meilisearch.browser.js
it is now renamed tomeilisearch.umd.js
. If you'r using a direct path or a CDN don't forgot to change that path with:/dist/bundles/meilisearch.umd.js
.
New path to browser bundle:
- The commonJS bundle
<script src="https://cdn.jsdelivr.net/npm/meilisearch@latest/dist/bundles/meilisearch.umd.js"></script>
- Client object has changed. Axios related information has been removed, fetch related information has been added:
New client object:
{
client: MeiliSearch {
config: { host: 'http://127.0.0.1:7700', apiKey: 'masterKey' },
httpRequest: HttpRequests {
headers: [Object],
baseUrl: 'http://127.0.0.1:7700',
url: [URL]
}
}
}
Thanks again to @Asher-q and @bidoubiwa ! 🎉
v0.13.1 🌻
Changes
- Update index tests (#563) @bidoubiwa
Thanks again to @bidoubiwa, @curquiza, and @eskombro! 🎉
v0.13.0 🌻
Changes
Breaking changes
- Fix fieldsDistribution being typed as fieldsFrequency (#548) @MicroDroid
Thanks again to @MicroDroid, @bidoubiwa, and @niemannd! 🎉
v0.12.0 🌻
Changes
- Linting update: simplification of scripts and linting on tests (#523) @bidoubiwa
Breaking changes
- Settings changes (#530) @bidoubiwa
- Remove sys-info and sys-info pretty (#528) @bidoubiwa
- Change tests error messages (#531) @bidoubiwa
- Post search route (#529) @bidoubiwa
Thanks again to @bidoubiwa ! 🎉
v0.11.3 🌻
Changes
- Add CONTRIBUTING.md (#493) @curquiza
- Fix: Updated settings type to fix misnamed acceptNewFields (#506) @JoshGlazebrook
- Feat: Make SearchParams and GetDocumentsParams generic (#451) @emyann
- Add export mode to rollup config (#519) @bidoubiwa
- Improve examples and their READMEs (#517) @bidoubiwa
Thanks again to @JoshGlazebrook, @bidoubiwa, @curquiza, and @emyann! 🎉
v0.11.2 🌻
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! 🎉