Skip to content

v0.46.0 🌻

Compare
Choose a tag to compare
@meili-bot meili-bot released this 02 Dec 09:42
· 82 commits to refs/heads/main since this release
8167a99

⚠️ Breaking changes

  • Separate token specific code into its own export (#1739) @flevi29

Old:

import { MeiliSearch } from "meilisearch";

const client = new MeiliSearch({ host: "http://127.0.0.1:7700", apiKey: "masterKey" });
const token = await client.generateTenantToken("e489fe16-3381-431b-bee3-00430192915d");

// ...

New:

import { generateTenantToken } from "meilisearch/token";

const token = await generateTenantToken("e489fe16-3381-431b-bee3-00430192915d", [], { apiKey: "masterKey" });

// ...

🐛 Bug Fixes

  • fix: pull the latest in the CI instead of forcing the v1.11 (#1751) @mdubus
  • Updated Type definition for multiSearch return types for better TS support (#1776) @Barabasbalazs

🔒 Security

  • build(deps): bump @eslint/plugin-kit from 0.2.0 to 0.2.3 (#1763)
  • build(deps): bump cross-spawn from 6.0.5 to 6.0.6 in /playgrounds/javascript (#1766)

Thanks again to @Barabasbalazs, @flevi29, @mdubus! 🎉