Skip to content

Version Packages#1475

Merged
Strift merged 2 commits into
mainfrom
changeset-release/main
Apr 20, 2026
Merged

Version Packages#1475
Strift merged 2 commits into
mainfrom
changeset-release/main

Conversation

@meili-bot

@meili-bot meili-bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@meilisearch/autocomplete-client@0.8.0

Minor Changes

  • 9642256: # Rework exports and bundling

    Migration

      • CommonJS and UMD bundles aren't available anymore
      • package.json "main" and "types" fields aren't available anymore

    If you relied on any of these outdated features, you will have to bundle for any target environment that requires them, or update the environment if that's possible.

    1. From now on meilisearch is a peer dependency (if the package manager used doesn't automatically install it, add it to the list of dependencies manually):
    - import { meilisearch } from '@meilisearch/instant-meilisearch'
    - import { meilisearch } from '@meilisearch/autocomplete-client'
    + import * as meilisearch from 'meilisearch'
    + import { Meilisearch } from 'meilisearch'

Patch Changes

  • Updated dependencies [9642256]
    • @meilisearch/instant-meilisearch@0.31.0

@meilisearch/instant-meilisearch@0.31.0

Minor Changes

  • 9642256: # Rework exports and bundling

    Migration

      • CommonJS and UMD bundles aren't available anymore
      • package.json "main" and "types" fields aren't available anymore

    If you relied on any of these outdated features, you will have to bundle for any target environment that requires them, or update the environment if that's possible.

    1. From now on meilisearch is a peer dependency (if the package manager used doesn't automatically install it, add it to the list of dependencies manually):
    - import { meilisearch } from '@meilisearch/instant-meilisearch'
    - import { meilisearch } from '@meilisearch/autocomplete-client'
    + import * as meilisearch from 'meilisearch'
    + import { Meilisearch } from 'meilisearch'

Summary by CodeRabbit

  • Refactor

    • Updated distributions to ESM-only and removed CommonJS/UMD bundles.
    • Standardized import naming and packaging/export layout.
    • Switched the underlying client to be a peer dependency (manual install when needed).
  • Chores

    • Bumped package versions and added corresponding changelog entries.

@coderabbitai

coderabbitai Bot commented Apr 20, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5c66999a-d833-4719-afdb-fd631604cd91

📥 Commits

Reviewing files that changed from the base of the PR and between b6cd5b3 and b3ffbd3.

📒 Files selected for processing (2)
  • packages/autocomplete-client/CHANGELOG.md
  • packages/instant-meilisearch/CHANGELOG.md
✅ Files skipped from review due to trivial changes (2)
  • packages/instant-meilisearch/CHANGELOG.md
  • packages/autocomplete-client/CHANGELOG.md

📝 Walkthrough

Walkthrough

Removed a changeset file and finalized release metadata: bumped @meilisearch/autocomplete-client to 0.8.0 and @meilisearch/instant-meilisearch to 0.31.0, and added changelog entries documenting export/bundling and peer-dependency migration details.

Changes

Cohort / File(s) Summary
Changeset Removal
​.changeset/crisp-wasps-flow.md
Deleted changeset markdown that previously declared pending minor bumps and detailed export/bundling/migration notes.
Version Bumps
packages/autocomplete-client/package.json, packages/instant-meilisearch/package.json
Updated package versions: @meilisearch/autocomplete-client 0.7.0 → 0.8.0 and @meilisearch/instant-meilisearch 0.30.0 → 0.31.0.
Changelog Updates
packages/autocomplete-client/CHANGELOG.md, packages/instant-meilisearch/CHANGELOG.md
Added release entries describing rework of exports/bundling, removal of CommonJS/UMD and main/types, meilisearch promoted to a peer dependency, and migration/import examples.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 I hopped through changelogs, neat and spry,
I tucked the changeset soft goodbye,
Versions nudged up, a tiny cheer,
Docs now whisper the new import clear,
A rabbit's wink — release is nigh!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Version Packages' is generic and vague, failing to convey specific information about the release of two packages with bundling/export rework changes. Consider using a more descriptive title that summarizes the main changes, such as 'Release @meilisearch/autocomplete-client@0.8.0 and @meilisearch/instant-meilisearch@0.31.0 with export/bundling rework' or 'Rework exports and bundling for autocomplete-client and instant-meilisearch'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch changeset-release/main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@meili-bot meili-bot force-pushed the changeset-release/main branch from 95f82e5 to 266dacf Compare April 20, 2026 05:00
@meili-bot meili-bot force-pushed the changeset-release/main branch from 266dacf to b6cd5b3 Compare April 20, 2026 05:06

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
packages/instant-meilisearch/CHANGELOG.md (1)

17-17: Polish migration markdown/style for readability.

Line [17] has redundant wording, and Lines [23-24] use malformed ordered-list syntax (1. - ...), which renders awkwardly in some viewers.

🧹 Suggested cleanup
-  - Remove any fields regarding exports outside of `"exports"` field, all supported Node.js versions support "exports" field, as do all modern bundlers and CDNs
+  - Remove any export-related fields outside the `"exports"` field; all supported Node.js versions, modern bundlers, and CDNs support `"exports"`.

   ## Migration
-  1.  - CommonJS and UMD bundles aren't available anymore
-      - `package.json` `"main"` and `"types"` fields aren't available anymore
+  1. CommonJS and UMD bundles aren't available anymore.
+  2. `package.json` `"main"` and `"types"` fields aren't available anymore.

Also applies to: 23-24

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/instant-meilisearch/CHANGELOG.md` at line 17, Reword the redundant
sentence "Remove any fields regarding exports outside of \"exports\" field, all
supported Node.js versions support \"exports\" field, as do all modern bundlers
and CDNs" to a concise, clear line (e.g., "Remove any export-related fields
outside the \"exports\" field; modern Node.js versions and bundlers support
\"exports\".") and fix the malformed list entries that use "1.  - ..." by
converting them to proper ordered list items or bullets (e.g., "1. Do X" or "-
Do X") so the markdown renders cleanly; update occurrences matching the exact
phrase and the malformed "1.  -" list pattern in the CHANGELOG.md content.
packages/autocomplete-client/CHANGELOG.md (1)

17-17: Clean up wording and ordered-list markdown.

Line [17] is a bit redundant, and Lines [23-24] use invalid/awkward ordered-list formatting (1. - ...).

🧹 Suggested cleanup
-  - Remove any fields regarding exports outside of `"exports"` field, all supported Node.js versions support "exports" field, as do all modern bundlers and CDNs
+  - Remove any export-related fields outside the `"exports"` field; all supported Node.js versions, modern bundlers, and CDNs support `"exports"`.

   ## Migration
-  1.  - CommonJS and UMD bundles aren't available anymore
-      - `package.json` `"main"` and `"types"` fields aren't available anymore
+  1. CommonJS and UMD bundles aren't available anymore.
+  2. `package.json` `"main"` and `"types"` fields aren't available anymore.

Also applies to: 23-24

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/autocomplete-client/CHANGELOG.md` at line 17, Reword the redundant
sentence "- Remove any fields regarding exports outside of \"exports\" field,
all supported Node.js versions support \"exports\" field, as do all modern
bundlers and CDNs" to a concise line such as "Remove fields outside the
\"exports\" field; modern Node.js versions and bundlers support the \"exports\"
field." and fix the malformed ordered-list entries that currently read like "1. 
- ..." by converting them to proper ordered-list lines (e.g., "1. Remove X" and
"2. Remove Y" or a single numbered line with sub-bullets) so the markdown is
valid and not awkward.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/autocomplete-client/CHANGELOG.md`:
- Line 20: Clarify the CHANGELOG sentence to state that adding "./package.json"
applies to the package's published exports (publishConfig.exports) not the
workspace-level exports; explicitly mention that "./package.json" is
intentionally omitted from workspace exports and is only added under
publishConfig.exports so readers understand this is a publish-time change rather
than a workspace requirement.

In `@packages/instant-meilisearch/CHANGELOG.md`:
- Line 20: Update the changelog line so it clarifies that `package.json` is
added to the published package exports rather than workspace exports: replace
the phrase referencing `exports` with explicit wording like
"publishConfig.exports" or "published package exports (`publishConfig.exports`)"
and mention that workspace `exports` intentionally omit "./package.json" to
avoid contributors modifying workspace `exports` incorrectly; refer to the
symbols `package.json`, `exports`, `publishConfig.exports`, and workspace
`exports` when making the edit.

---

Nitpick comments:
In `@packages/autocomplete-client/CHANGELOG.md`:
- Line 17: Reword the redundant sentence "- Remove any fields regarding exports
outside of \"exports\" field, all supported Node.js versions support \"exports\"
field, as do all modern bundlers and CDNs" to a concise line such as "Remove
fields outside the \"exports\" field; modern Node.js versions and bundlers
support the \"exports\" field." and fix the malformed ordered-list entries that
currently read like "1.  - ..." by converting them to proper ordered-list lines
(e.g., "1. Remove X" and "2. Remove Y" or a single numbered line with
sub-bullets) so the markdown is valid and not awkward.

In `@packages/instant-meilisearch/CHANGELOG.md`:
- Line 17: Reword the redundant sentence "Remove any fields regarding exports
outside of \"exports\" field, all supported Node.js versions support \"exports\"
field, as do all modern bundlers and CDNs" to a concise, clear line (e.g.,
"Remove any export-related fields outside the \"exports\" field; modern Node.js
versions and bundlers support \"exports\".") and fix the malformed list entries
that use "1.  - ..." by converting them to proper ordered list items or bullets
(e.g., "1. Do X" or "- Do X") so the markdown renders cleanly; update
occurrences matching the exact phrase and the malformed "1.  -" list pattern in
the CHANGELOG.md content.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0cab29ee-3db7-4c03-a5a1-f989a9ffff38

📥 Commits

Reviewing files that changed from the base of the PR and between 266dacf and b6cd5b3.

📒 Files selected for processing (5)
  • .changeset/crisp-wasps-flow.md
  • packages/autocomplete-client/CHANGELOG.md
  • packages/autocomplete-client/package.json
  • packages/instant-meilisearch/CHANGELOG.md
  • packages/instant-meilisearch/package.json
💤 Files with no reviewable changes (1)
  • .changeset/crisp-wasps-flow.md
✅ Files skipped from review due to trivial changes (2)
  • packages/autocomplete-client/package.json
  • packages/instant-meilisearch/package.json

Comment thread packages/autocomplete-client/CHANGELOG.md Outdated
Comment thread packages/instant-meilisearch/CHANGELOG.md Outdated
@Strift Strift added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit 862a9ab Apr 20, 2026
8 checks passed
@Strift Strift deleted the changeset-release/main branch April 20, 2026 05:26
@coderabbitai coderabbitai Bot mentioned this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants