v0.22.0 🌻
Changes
- Improve error handler returns (#1015) @bidoubiwa
Breaking changes ⚠️
- refactor(#920): Update the method names version and stats to become getVersion and getStats (#1016) @TheLearneer
- refactor(#921): Change parameter order in static Index.create method (#1017) @TheLearneer
- Changes name of listIndexes to getIndexes (#1022) @drph4nt0m
- Add http protocol at the beginning of the URL if not present (#1027) @sushrut111
version and stats become getVersion and getStats
Before:
client.version()
client.stats()becomes:
client.getVersion()
client.getStats()Parameter order in Index.Create
Before
Index.create(config, uid, options)Becomes
Index.create(uid, options, config)listIndexes becomes getindexes
Before
client.listIndexes()Becomes
client.getIndexes()Http protocol added to URL that do not have one
const client = new MeiliSearch({ host: "meilisearch" })host will be transformed into http://meilisearch
Contributors
Thanks again to @TheLearneer, @bidoubiwa, @donno2048, @drph4nt0m, and @sushrut111! 🎉