@hey-api/shared
0.5.0 · 22 Jun 2026MIT6.4M / weekRepositoryHomepagenpmAtom feed
In short
4 breaking2 removed5 new6 fixed2 internal
- Breaking
BREAKING plugin: remove
registerSymbol()function - Breaking
BREAKING utils: remove
warnOnConflictingDuplicatePluginsexport - Breaking
BREAKING plugin: remove
.external()method - Breaking
BREAKING plugin: rename
.symbolsto.imports - Removed
plugin: remove
.querySymbols()method - Removed
parser: improve discriminator handling
Release note
The section about @hey-api/shared of a note shared by several packages.
Minor Changes
- Removed
plugin: remove
.querySymbols()method plugin: rename
symbolstoimports- Breaking
BREAKING plugin: remove
registerSymbol()function
Removed plugin.registerSymbol() function
This function was an alias for plugin.symbol() accepting a single argument. It has been removed in favor of plugin.symbol() which can now also accept a single argument.
- Removed
parser: improve discriminator handling
- Breaking
BREAKING utils: remove
warnOnConflictingDuplicatePluginsexport - Breaking
BREAKING plugin: remove
.external()method - Breaking
BREAKING plugin: rename
.symbolsto.imports
Patch Changes
config: handle array values in
$dependenciesconfig: add Presets API
utils: export
deepMerge,resolvePluginsmethods,PluginResolutionInput,PluginResolutionResulttypesplugin: add
outerOptionaloption toRequestSchemaContextutils: export
getBaseUrl()functionsymbol: add implicit priority
utils: export discriminator utilities
plugin: add
symbolMetafieldapi: replace
~fields with$utils: export
pluginHelper()function
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.