发布记录
由
pnpm run docs:gen从packages/*/CHANGELOG.md生成 —— 请勿手改。破坏性条目带**BREAKING**与一行迁移说明。
本页只保留各包当前版本说明。完整历史见 完整发布历史。
| 包 | 当前版本 |
|---|---|
@nudojs/core | 1.20.1 |
@nudojs/service | 1.12.3 |
nudojs (CLI) | 1.9.3 |
@nudojs/parser | 1.5.11 |
@nudojs/lsp | 1.10.3 |
@nudojs/env | 0.5.11 |
@nudojs/harvester | 0.6.3 |
vite-plugin-nudo | 0.7.4 |
nudo-vscode | 0.3.59 |
按包跳转: @nudojs/core · @nudojs/service · nudojs (CLI) · @nudojs/parser · @nudojs/lsp · @nudojs/env · @nudojs/harvester · vite-plugin-nudo · nudo-vscode
@nudojs/core 1.20.1
1.20.1
Patch Changes
-
795e322: Close the 34 bugs from the ABS-15 audit, grouped by root cause rather than patched one at a time.
check— one judgment per decision, so the faces cannot disagree:- a
.tsconstructor annotation (including parameter properties) is now the instance field's domain, soconstructor(private size: number)+area() { return this.size * this.size }reportsnumberinstead of anany-arithmeticnudo:entry-may-throwerror while the dts face already saidnumber; - definite throws during module initialization are detected: BigInt/Number mixing, division by a BigInt zero,
inon a primitive right-hand side, and calling a member an object literal does not have; - the call-site local binding table records every declaration shape (parameters,
catch,for-of/in,let/var, destructuring) as an explicit "no information" entry, so shadowing no longer reads the module-levelconst(false red) and destructured declarations reach the obligation check (false green); - a classic
for (const i = 0; …; i++)head is aconstagain, so the always-throwing step is reported instead of staying green; nudo:capability-deniedjoins the check-face diagnostic whitelist, sonudo checkcan report the cause ofunknownlikenudo test— gated on the report actually showing an inference failure (nudo:unknown-inference), so a plainmodule.exports = …file does not grow a warning about themoduleglobal while the same exports written asexports.xreport nothing.- cross-file evidence from
--fromnow resolves the default export name on both sides, so a renamed default import,import { default as g }andns.default(...)are no longer silently dropped.
nudo export— the publish gate is a semantic judgment (degraded evidence on the published surface AND a declared contract) instead of a three-code whitelist, with declaration truth taken fromeffectiveContract's own resolution. Contract-face diagnostics always block; general degradation (nudo:internal/nudo:unknown-inference) blocks only when it is attributed to an entry that declared a contract (or carries no function, i.e. is module-level). Compatibility: a module whose contract fails to parse (nudo:contract-syntax) now blocks the export (exit 1, no artifacts, diagnostics surfaced) instead of publishing an "accepts everything" validator with exit 0; unannotated modules — and unannotated sibling entries — keep publishing and only see the degradation surfaced.dts projection — one resolvability predicate for type names (TS tokens, runtime globals, local classes, mirrored
interface/type, imported names) plus the missing branches it exposed:export =for single-value CJS modules, member-wise types forexport default {…}and arrays, real re-export statements for imported bindings,extends/type-parameter clauses on namespace members, and destructured parameters that render as a pattern the source can actually write. Compatibility:<fn>Inputkeys a destructured parameter by its field names rather than the internal_p0placeholder, which is not a public name and made the published validator reject the only legal call shape. Two boundaries are pinned: a module that exports a type (export interface/export type) alongsidemodule.exports = valuekeeps the named-export projection (TS forbidsexport =next to any other exported element, which would make the artifact uncompilable), and an unannotated class getter whose body has more than onereturnprojectsunknowninstead of the first return's type (a single-return pick would be narrower than the runtime value).LSP — completion decides the lexical context with a per-character scanner (line and block comments, quotes, templates with
${}nesting, regex bodies and character classes), so a continuation line inside a multi-line template or comment no longer offers rewrites of the literal; member completion merges the instance/static class member table from core's single class-body scan.The
checkentry census behind these runs on the semantic binding index (ADR 0001 stage 1), and stage 1 slice 4.3 replaces the publish gate's shadow comparison with the semantic verdict it was measuring. The public.export surface is unchanged. - a
-
161d156: Switch the
checkentry census to the semantic binding index by default (ADR 0001 stage 1, slice 3). This closes the audit's false-green export shapes: destructured exports, default object literals, anonymous default classes, CJS / ESM class expressions are now real entries. Two index-precision fixes land with it: getters / setters are no longer treated as callable entries, and nested function declarations are no longer mistaken for module-level entries (previously produced falsenudo:opaque-result). The legacy census remains reachable via an internal fallback switch, and the index-face state is part of the check memo and service file/function cache keys so flipping it cannot replay stale results. The public.export surface is unchanged. Stage 1 slice 4.1 adds an internal, off-by-default publish-gate shadow comparison between the existing diagnostic-code whitelist and the typedEvidenceverdict; it only records divergences and does not change any export decision. Stage 1 slice 4.2 switches only the diagnostic surface:nudo exportnow prints degraded evidence codes (nudo:internal,nudo:unknown-inference, …) instead of silently dropping them; blocking and exit codes still followEXPORT_BLOCKING_CODES, so no export decision changes.
更早版本(62)→ 完整发布历史
@nudojs/service 1.12.3
1.12.3
Patch Changes
-
795e322: Close the 34 bugs from the ABS-15 audit, grouped by root cause rather than patched one at a time.
check— one judgment per decision, so the faces cannot disagree:- a
.tsconstructor annotation (including parameter properties) is now the instance field's domain, soconstructor(private size: number)+area() { return this.size * this.size }reportsnumberinstead of anany-arithmeticnudo:entry-may-throwerror while the dts face already saidnumber; - definite throws during module initialization are detected: BigInt/Number mixing, division by a BigInt zero,
inon a primitive right-hand side, and calling a member an object literal does not have; - the call-site local binding table records every declaration shape (parameters,
catch,for-of/in,let/var, destructuring) as an explicit "no information" entry, so shadowing no longer reads the module-levelconst(false red) and destructured declarations reach the obligation check (false green); - a classic
for (const i = 0; …; i++)head is aconstagain, so the always-throwing step is reported instead of staying green; nudo:capability-deniedjoins the check-face diagnostic whitelist, sonudo checkcan report the cause ofunknownlikenudo test— gated on the report actually showing an inference failure (nudo:unknown-inference), so a plainmodule.exports = …file does not grow a warning about themoduleglobal while the same exports written asexports.xreport nothing.- cross-file evidence from
--fromnow resolves the default export name on both sides, so a renamed default import,import { default as g }andns.default(...)are no longer silently dropped.
nudo export— the publish gate is a semantic judgment (degraded evidence on the published surface AND a declared contract) instead of a three-code whitelist, with declaration truth taken fromeffectiveContract's own resolution. Contract-face diagnostics always block; general degradation (nudo:internal/nudo:unknown-inference) blocks only when it is attributed to an entry that declared a contract (or carries no function, i.e. is module-level). Compatibility: a module whose contract fails to parse (nudo:contract-syntax) now blocks the export (exit 1, no artifacts, diagnostics surfaced) instead of publishing an "accepts everything" validator with exit 0; unannotated modules — and unannotated sibling entries — keep publishing and only see the degradation surfaced.dts projection — one resolvability predicate for type names (TS tokens, runtime globals, local classes, mirrored
interface/type, imported names) plus the missing branches it exposed:export =for single-value CJS modules, member-wise types forexport default {…}and arrays, real re-export statements for imported bindings,extends/type-parameter clauses on namespace members, and destructured parameters that render as a pattern the source can actually write. Compatibility:<fn>Inputkeys a destructured parameter by its field names rather than the internal_p0placeholder, which is not a public name and made the published validator reject the only legal call shape. Two boundaries are pinned: a module that exports a type (export interface/export type) alongsidemodule.exports = valuekeeps the named-export projection (TS forbidsexport =next to any other exported element, which would make the artifact uncompilable), and an unannotated class getter whose body has more than onereturnprojectsunknowninstead of the first return's type (a single-return pick would be narrower than the runtime value).LSP — completion decides the lexical context with a per-character scanner (line and block comments, quotes, templates with
${}nesting, regex bodies and character classes), so a continuation line inside a multi-line template or comment no longer offers rewrites of the literal; member completion merges the instance/static class member table from core's single class-body scan.The
checkentry census behind these runs on the semantic binding index (ADR 0001 stage 1), and stage 1 slice 4.3 replaces the publish gate's shadow comparison with the semantic verdict it was measuring. The public.export surface is unchanged. - a
-
161d156: Switch the
checkentry census to the semantic binding index by default (ADR 0001 stage 1, slice 3). This closes the audit's false-green export shapes: destructured exports, default object literals, anonymous default classes, CJS / ESM class expressions are now real entries. Two index-precision fixes land with it: getters / setters are no longer treated as callable entries, and nested function declarations are no longer mistaken for module-level entries (previously produced falsenudo:opaque-result). The legacy census remains reachable via an internal fallback switch, and the index-face state is part of the check memo and service file/function cache keys so flipping it cannot replay stale results. The public.export surface is unchanged. Stage 1 slice 4.1 adds an internal, off-by-default publish-gate shadow comparison between the existing diagnostic-code whitelist and the typedEvidenceverdict; it only records divergences and does not change any export decision. Stage 1 slice 4.2 switches only the diagnostic surface:nudo exportnow prints degraded evidence codes (nudo:internal,nudo:unknown-inference, …) instead of silently dropping them; blocking and exit codes still followEXPORT_BLOCKING_CODES, so no export decision changes. -
Updated dependencies [795e322]
-
Updated dependencies [161d156]
- @nudojs/core@1.20.1
- @nudojs/env@0.5.11
- @nudojs/harvester@0.6.3
- @nudojs/parser@1.5.11
更早版本(64)→ 完整发布历史
nudojs (CLI) 1.9.3
1.9.3
Patch Changes
-
795e322: Close the 34 bugs from the ABS-15 audit, grouped by root cause rather than patched one at a time.
check— one judgment per decision, so the faces cannot disagree:- a
.tsconstructor annotation (including parameter properties) is now the instance field's domain, soconstructor(private size: number)+area() { return this.size * this.size }reportsnumberinstead of anany-arithmeticnudo:entry-may-throwerror while the dts face already saidnumber; - definite throws during module initialization are detected: BigInt/Number mixing, division by a BigInt zero,
inon a primitive right-hand side, and calling a member an object literal does not have; - the call-site local binding table records every declaration shape (parameters,
catch,for-of/in,let/var, destructuring) as an explicit "no information" entry, so shadowing no longer reads the module-levelconst(false red) and destructured declarations reach the obligation check (false green); - a classic
for (const i = 0; …; i++)head is aconstagain, so the always-throwing step is reported instead of staying green; nudo:capability-deniedjoins the check-face diagnostic whitelist, sonudo checkcan report the cause ofunknownlikenudo test— gated on the report actually showing an inference failure (nudo:unknown-inference), so a plainmodule.exports = …file does not grow a warning about themoduleglobal while the same exports written asexports.xreport nothing.- cross-file evidence from
--fromnow resolves the default export name on both sides, so a renamed default import,import { default as g }andns.default(...)are no longer silently dropped.
nudo export— the publish gate is a semantic judgment (degraded evidence on the published surface AND a declared contract) instead of a three-code whitelist, with declaration truth taken fromeffectiveContract's own resolution. Contract-face diagnostics always block; general degradation (nudo:internal/nudo:unknown-inference) blocks only when it is attributed to an entry that declared a contract (or carries no function, i.e. is module-level). Compatibility: a module whose contract fails to parse (nudo:contract-syntax) now blocks the export (exit 1, no artifacts, diagnostics surfaced) instead of publishing an "accepts everything" validator with exit 0; unannotated modules — and unannotated sibling entries — keep publishing and only see the degradation surfaced.dts projection — one resolvability predicate for type names (TS tokens, runtime globals, local classes, mirrored
interface/type, imported names) plus the missing branches it exposed:export =for single-value CJS modules, member-wise types forexport default {…}and arrays, real re-export statements for imported bindings,extends/type-parameter clauses on namespace members, and destructured parameters that render as a pattern the source can actually write. Compatibility:<fn>Inputkeys a destructured parameter by its field names rather than the internal_p0placeholder, which is not a public name and made the published validator reject the only legal call shape. Two boundaries are pinned: a module that exports a type (export interface/export type) alongsidemodule.exports = valuekeeps the named-export projection (TS forbidsexport =next to any other exported element, which would make the artifact uncompilable), and an unannotated class getter whose body has more than onereturnprojectsunknowninstead of the first return's type (a single-return pick would be narrower than the runtime value).LSP — completion decides the lexical context with a per-character scanner (line and block comments, quotes, templates with
${}nesting, regex bodies and character classes), so a continuation line inside a multi-line template or comment no longer offers rewrites of the literal; member completion merges the instance/static class member table from core's single class-body scan.The
checkentry census behind these runs on the semantic binding index (ADR 0001 stage 1), and stage 1 slice 4.3 replaces the publish gate's shadow comparison with the semantic verdict it was measuring. The public.export surface is unchanged. - a
-
Updated dependencies [795e322]
-
Updated dependencies [161d156]
- @nudojs/core@1.20.1
- @nudojs/service@1.12.3
- @nudojs/env@0.5.11
- @nudojs/harvester@0.6.3
- @nudojs/parser@1.5.11
更早版本(61)→ 完整发布历史
@nudojs/parser 1.5.11
1.5.11
Patch Changes
- Updated dependencies [795e322]
- Updated dependencies [161d156]
- @nudojs/core@1.20.1
更早版本(61)→ 完整发布历史
@nudojs/lsp 1.10.3
1.10.3
Patch Changes
-
795e322: Close the 34 bugs from the ABS-15 audit, grouped by root cause rather than patched one at a time.
check— one judgment per decision, so the faces cannot disagree:- a
.tsconstructor annotation (including parameter properties) is now the instance field's domain, soconstructor(private size: number)+area() { return this.size * this.size }reportsnumberinstead of anany-arithmeticnudo:entry-may-throwerror while the dts face already saidnumber; - definite throws during module initialization are detected: BigInt/Number mixing, division by a BigInt zero,
inon a primitive right-hand side, and calling a member an object literal does not have; - the call-site local binding table records every declaration shape (parameters,
catch,for-of/in,let/var, destructuring) as an explicit "no information" entry, so shadowing no longer reads the module-levelconst(false red) and destructured declarations reach the obligation check (false green); - a classic
for (const i = 0; …; i++)head is aconstagain, so the always-throwing step is reported instead of staying green; nudo:capability-deniedjoins the check-face diagnostic whitelist, sonudo checkcan report the cause ofunknownlikenudo test— gated on the report actually showing an inference failure (nudo:unknown-inference), so a plainmodule.exports = …file does not grow a warning about themoduleglobal while the same exports written asexports.xreport nothing.- cross-file evidence from
--fromnow resolves the default export name on both sides, so a renamed default import,import { default as g }andns.default(...)are no longer silently dropped.
nudo export— the publish gate is a semantic judgment (degraded evidence on the published surface AND a declared contract) instead of a three-code whitelist, with declaration truth taken fromeffectiveContract's own resolution. Contract-face diagnostics always block; general degradation (nudo:internal/nudo:unknown-inference) blocks only when it is attributed to an entry that declared a contract (or carries no function, i.e. is module-level). Compatibility: a module whose contract fails to parse (nudo:contract-syntax) now blocks the export (exit 1, no artifacts, diagnostics surfaced) instead of publishing an "accepts everything" validator with exit 0; unannotated modules — and unannotated sibling entries — keep publishing and only see the degradation surfaced.dts projection — one resolvability predicate for type names (TS tokens, runtime globals, local classes, mirrored
interface/type, imported names) plus the missing branches it exposed:export =for single-value CJS modules, member-wise types forexport default {…}and arrays, real re-export statements for imported bindings,extends/type-parameter clauses on namespace members, and destructured parameters that render as a pattern the source can actually write. Compatibility:<fn>Inputkeys a destructured parameter by its field names rather than the internal_p0placeholder, which is not a public name and made the published validator reject the only legal call shape. Two boundaries are pinned: a module that exports a type (export interface/export type) alongsidemodule.exports = valuekeeps the named-export projection (TS forbidsexport =next to any other exported element, which would make the artifact uncompilable), and an unannotated class getter whose body has more than onereturnprojectsunknowninstead of the first return's type (a single-return pick would be narrower than the runtime value).LSP — completion decides the lexical context with a per-character scanner (line and block comments, quotes, templates with
${}nesting, regex bodies and character classes), so a continuation line inside a multi-line template or comment no longer offers rewrites of the literal; member completion merges the instance/static class member table from core's single class-body scan.The
checkentry census behind these runs on the semantic binding index (ADR 0001 stage 1), and stage 1 slice 4.3 replaces the publish gate's shadow comparison with the semantic verdict it was measuring. The public.export surface is unchanged. - a
-
Updated dependencies [795e322]
-
Updated dependencies [161d156]
- @nudojs/core@1.20.1
- @nudojs/service@1.12.3
- @nudojs/parser@1.5.11
更早版本(65)→ 完整发布历史
@nudojs/env 0.5.11
0.5.11
Patch Changes
- Updated dependencies [795e322]
- Updated dependencies [161d156]
- @nudojs/core@1.20.1
更早版本(61)→ 完整发布历史
@nudojs/harvester 0.6.3
0.6.3
Patch Changes
- Updated dependencies [795e322]
- Updated dependencies [161d156]
- @nudojs/core@1.20.1
- @nudojs/env@0.5.11
- @nudojs/parser@1.5.11
更早版本(61)→ 完整发布历史
vite-plugin-nudo 0.7.4
0.7.4
Patch Changes
- Updated dependencies [795e322]
- Updated dependencies [161d156]
- @nudojs/core@1.20.1
- @nudojs/service@1.12.3
更早版本(64)→ 完整发布历史
nudo-vscode 0.3.7
Unreleased
- Settings wiring is real now:
nudo.analysis.modeis forwarded to the language server asinitializationOptionsand re-pushed onworkspace/didChangeConfiguration(only fornudo.*changes). Priority: an explicit projectpackage.json#nudo.analysis.modealways wins; the VS Code setting only provides the default when the project does not set it (also stated in the setting description).nudo.coexistence.suggestMuteTsValidationis consumed extension-side: when false,Nudo: Apply coexistence settingsno longer offers the tsserver mute suggestion — only the guide link. - Case highlight decorations now parse via
@nudojs/parser(parse+extractDirectivesQuiet, the same@nudo:casegrammar as the server) instead of a parallel regex implementation in the extension; pure span computation lives insrc/case-decorations.ts(unit-tested), the extension only maps spans tovscode.Range. - Bundle fix:
tsupauto-externalizeddependencies, soout/extension.jsshipped unresolvablerequire("vscode-languageclient/node")(and would have for the new@nudojs/parser) while the vsix excludesnode_modules/.tsup.config.tsnow bundles both into the self-containedout/extension.js.
更早版本(3)→ 完整发布历史