Skip to content

v0.14.0 🌻

Choose a tag to compare

@curquiza curquiza released this 22 Sep 12:20
d02be31

Changes

  • replaced Object.fromEntries() to support node < v12.0 (#583) @Asher-q

Breaking changes

  • Remove axios and change browser bundle name (#573) @bidoubiwa
    • The commonJS bundle cjs has been removed and replaced with an umd bundle. The umd bundle works on both browsers and node.
    • The main in package.json was previously a path to the cjs bundle, it is now a path to the umd bundle.
    • The browser bundle was previously named meilisearch.browser.js it is now renamed to meilisearch.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:
<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 ! 🎉