Repository navigation
v0.5.0
Initial public open-source release of loadwise under the Apache-2.0 license.
Added
- Five checkers (
loadwise check,loadwise perf,loadwise rel,loadwise maint,loadwise sec,loadwise a11y) covering JS/TS source, SQL migrations, OpenAPI contracts, PostgreSQL/MongoDB query plans, OTLP traces, Dockerfiles, Compose files, and dependency advisories. - Native TypeScript 7 (
tsgo) & TypeScript 6 compiler support vialib/performance/compiler.ts, pluslibpg-querySQL parsing and@ast-grep/clipolyglot checks (loadwise perf polyglot,loadwise sec polyglot). - Execution-context classifier & Taint 2.0 for sharper signal across request handlers, background jobs, CLI tools, and tests, alongside 12 new JS/TS rules and per-rule
optionsinloadwise.config.json. - Autofix v2 (
loadwise fix) with 24+ new autofixers, import coalescing, Layer-2 TypeScript typecheck verification (--verify-types), convergence loop,--dry-run, and--rulefiltering. - Tooling & CI integrations: SARIF 2.1.0 and GitHub workflow annotations (
action.yml), VS Code task watcher (loadwise perf editor init), local MCP server (loadwise agent mcp), and Claude Code plugin. - Reliability checker (
loadwise rel,relin--only,--skipand"checkers"): code that fails at runtime or under concurrency.loadwise checktype-checks the project once for performance, reliability and security, and prints areliabilityreport between performance and maintainability (also in--json, SARIF and GitHub annotations). - Accessibility checker (
loadwise a11y,a11yin--only,--skipand"checkers"): reads JSX from the shared TypeScript pass and HTML files, Vue and Svelte components and Angular templates beside it. Rules:a11y-img-missing-alt,a11y-button-missing-type(fix marked for review),a11y-clickable-non-interactive,a11y-invalid-aria,a11y-missing-form-label,a11y-html-missing-lang,a11y-iframe-missing-title,a11y-positive-tabindexanda11y-viewport-zoom-disabled.checkskips it with a note in projects without frontend sources. - Reliability rules:
unguarded-boundary-access(fix adds optional chaining, marked for review),assignment-in-condition,nan-comparisonandinvalid-typeof-comparison(both only in JavaScript the compiler does not check),unreachable-code(only whenallowUnreachableCodeis notfalse),loop-index-past-length, and the resource leaksfile-handle-not-closed,query-runner-not-released,browser-not-closed(try/finally fixes marked for review) andinterval-not-cleared. - Reliability polyglot rules (
loadwise rel polyglot):python-bare-except,python-swallowed-exception,go-error-discarded,go-defer-before-error-check,java-resource-without-try,csharp-disposable-without-usingandrust-unwrap-in-production. - Maintainability rules:
unused-importandunused-local-variable(skipped whennoUnusedLocalsis on, since the compiler reports them; names starting with_are ignored),stray-console(server code only; converts to an existing logger, marked for review) anddeprecated-node-api(new Buffer(),url.parse(),fs.exists()).