Upgrading @intlify/h3 from 2.x to 3.x
Comparison of the public API of @intlify/h3 2.1.2 and 3.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 1 |
| Requirement changes (engines, peer dependencies) | 2 |
| New exports | 0 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
@intlify/h3 · intlify | (options: CoreOptions<Message, SchemaParams<Schema, Message>, LocaleParams<Locales>>): _$h3.H3Plugin | (options: CoreOptions<Message, SchemaParams<Schema, Message>, LocaleParams<Locales>>): H3Plugin |
@intlify/h3 · getDetectorLocale | (event: HTTPEvent): Promise<Locale> | (event: HTTPEvent): Promise<Locale> |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
| export | @deprecated |
|---|---|
@intlify/h3 · IntlifyMiddleware.onResponse | This middleware does nothing, because the event context lives only for the request. Register `onRequest` only. It will be removed in the next major version. |
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >= 20 | >= 22 |
peerDependencies.h3 | — | >=2.0.0-0 <3.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading @intlify/h3 from 2 to 3?
Between @intlify/h3 2.1.2 and 3.0.0, Vigia found 0 removed exports, 2 changed signatures and 0 removed or changed class or interface members.
What became deprecated in @intlify/h3 3?
1 exports or members are newly marked as deprecated in @intlify/h3 3.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@intlify/h3/upgrade?from=2.1.2&to=3.0.0