@hey-api/shared
0.5.0 · 22 Jun 2026MIT6.4M / weekRepositoryHomepagenpmAtom feed
21 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.5.x · latest line
0.5.0
22 Jun 2026- Removed
plugin: remove
.querySymbols()method - Breaking
BREAKING plugin: remove
registerSymbol()function - Removed
parser: improve discriminator handling
Minor Changes
- Removed
plugin: remove
.querySymbols()method plugin: rename
symbolstoimports- Breaking
BREAKING plugin: remove
registerSymbol()function
Removed
plugin.registerSymbol()functionThis function was an alias for
plugin.symbol()accepting a single argument. It has been removed in favor ofplugin.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
- 0.4.x
0.4.8
8 Jun 2026types: update project meta types
utils: expose
SymbolFactory
Patch Changes
types: update project meta types
utils: expose
SymbolFactory
0.4.7
1 Jun 2026plugin: add generics support to
querySymbol()andquerySymbols()
Patch Changes
plugin: add generics support to
querySymbol()andquerySymbols()
0.4.6
1 Jun 2026parser: fix: preserve sort order when filtering input
plugin: do not stamp external symbols
parser: fix: expose
keyon security schemes when their signatures collide
Patch Changes
parser: fix: preserve sort order when filtering input
plugin: do not stamp external symbols
parser: fix: expose
keyon security schemes when their signatures collideplugin: export
coerce,defineConfig,Coercer,CoercerMap,ConfigTable,PluginSymbols,PluginTag,TableDirectives, andWithCoercersconfig:
valueToObjectis recursiveplugin: add
symbolsproperty
0.4.5
25 May 2026types: export
ResolverNodestype onPluginplugin: expose getHooks method
fix: various performance improvements
Patch Changes
types: export
ResolverNodestype onPluginplugin: expose getHooks method
fix: various performance improvements
utils: turn on
enabledflag inmappersparser: fix: encode special characters in JSON Pointer
0.4.4
18 May 2026plugin: add
querySymbols()function
0.4.3
4 May 2026Only updates a dependency:@hey-api/json-schema-ref-parser 1.4.2
0.4.2
28 Apr 2026utils: speed up deep equality check
graph: speed up graph builder
Patch Changes
utils: speed up deep equality check
graph: speed up graph builder
0.4.1
20 Apr 2026parser: fix: re-add implicitly-filtered schemas in collectOperations
parser: fix: avoid encoding url unsafe characters
output: fix: surface postprocess errors
Patch Changes
parser: fix: re-add implicitly-filtered schemas in collectOperations
parser: fix: avoid encoding url unsafe characters
output: fix: surface postprocess errors
config: warn on duplicated plugin configurations
0.4.0
13 Apr 2026- Breaking
This release bumps the minimum required Node version to 22.13.
parser: fix: keep orphans when explicitly included in filters
error: handle InputError
Minor Changes
- Breaking
This release bumps the minimum required Node version to 22.13.
Patch Changes
parser: fix: keep orphans when explicitly included in filters
error: handle InputError
parser: fix: process enum metadata
- 0.3.x
0.3.0
2 Apr 2026plugins: add request validator helpers
Removed
plugin.getSymbol()functionThis function has been removed. You can use
plugin.querySymbol()instead. It accepts the same arguments and returns the same result.Patch Changes
plugins: add request validator helpers
- 0.2.x
0.2.6
25 Mar 2026plugin: fix:
symbolOnce()method correctly handles multiple symbols with the same metadata
Patch Changes
plugin: fix:
symbolOnce()method correctly handles multiple symbols with the same metadata
0.2.5
19 Mar 2026output: pass context as second argument in
module.resolve()functionparser: fix: self-referencing discriminator
output: add
moduleoption
Patch Changes
output: pass context as second argument in
module.resolve()functionparser: fix: self-referencing discriminator
output: add
moduleoption
0.2.4
16 Mar 2026utils:
outputHeaderToPrefix()function signature change
Patch Changes
utils:
outputHeaderToPrefix()function signature change
0.2.3
12 Mar 2026cli: export isEnvironment function
parser: add
getName()symbol hook
Patch Changes
cli: export isEnvironment function
parser: add
getName()symbol hook
0.2.2
5 Mar 2026output: context file is optional
parser: fix: explicit discriminator mapping wins over fallback in nested
allOf
Patch Changes
output: context file is optional
parser: fix: explicit discriminator mapping wins over fallback in nested
allOf
0.2.1
23 Feb 2026parser(patch): support callback for
patch.schemasparser: handle OpenAPI 3.1
contentMediaTypekeyword as binary format when file-likeinput: fix: improve returned status code when spec fetch fails
Patch Changes
parser(patch): support callback for
patch.schemasparser: handle OpenAPI 3.1
contentMediaTypekeyword as binary format when file-likeinput: fix: improve returned status code when spec fetch fails
parser: add
patch.inputand shorthandpatch()option for full specification transformationsparser: fix: preserve
unevaluatedPropertieskeyword in transformsparser(transforms): add
schemaNametransformparser(patch): support callback for
patch.operationsparser: add support for non-string discriminator property types
0.2.0
13 Feb 2026utils: rename
isTopLevelComponentReftoisTopLevelComponent
Minor Changes
utils: rename
isTopLevelComponentReftoisTopLevelComponent
- 0.1.x
0.1.2
5 Feb 2026parser: add
getExportFromFilePath()hookconfig:
includeInEntryaccepts function in addition to primitive valuetransform(read-write): improve discriminated schemas split
Patch Changes
parser: add
getExportFromFilePath()hookconfig:
includeInEntryaccepts function in addition to primitive valuetransform(read-write): improve discriminated schemas split
0.1.1
30 Jan 2026Only updates a dependency:@hey-api/codegen-core 0.6.1
0.1.0
28 Jan 2026feat: initial release
Minor Changes
feat: initial release
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.