Skip to content

chore: version packages#16

Merged
SutuSebastian merged 1 commit into
mainfrom
changeset-release/main
Apr 8, 2026
Merged

chore: version packages#16
SutuSebastian merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@stainless-code/codemap@0.1.8

Patch Changes

  • #15 f2362f9 Thanks @SutuSebastian! - Fix three HIGH-severity bugs found via cross-audit triangulation, plus performance and docs improvements.

    Bug fixes

    • Add missing onerror handler on Bun Worker — prevents silent promise hang when a parse worker crashes
    • Require JSX return or hook usage for component detection — eliminates false positives (e.g. FormatCurrency() in .tsx files no longer indexed as a component)
    • Include previously-indexed files in incremental and --files modes — custom-extension files indexed during --full no longer silently go stale

    Performance

    • Batch CSS imports instead of inserting one-at-a-time (both full-rebuild and incremental paths)
    • Add Map<string, Statement> cache for better-sqlite3 run()/query() — avoids ~2,000+ redundant prepare() calls on large projects
    • Hoist inner.query() in wrap() to prepare once per call instead of per .get()/.all()
    • Skip PRAGMA optimize on closeDb for read-only query paths

    Docs

    • Fix Wyhash → SHA-256 in architecture.md and SKILL.md (3 locations)
    • Correct symbols.kind values (variableconst, type_aliastype) and exports.kind values
    • Clarify Database.query() caching is Bun-only; Node statement cache via wrapper
    • Update architecture.md: component heuristic, statement cache, closeDb readonly, incremental/--files custom extensions
    • Update benchmark.md and golden-queries.md for enriched fixture

    Testing

    • Enrich fixtures/minimal/ to cover all 10 indexed tables (CSS module, @keyframes, @import, non-component PascalCase export, FIXME marker)
    • Add 7 new golden scenarios (exports, css_variables, css_classes, css_keyframes, css_imports, markers-all-kinds, components-no-false-positives)

    Cleanup

    • Remove unused analyzeDependencies: true from CSS parser
    • Deduplicate fetchTableStats (was duplicated across index-engine.ts and run-index.ts)
    • Remove dead eslint-disable-next-line directives (oxlint doesn't enforce those rules)
    • Fix SCHEMA_VERSION comment (said "2", value is 1)

@SutuSebastian SutuSebastian merged commit b5c2570 into main Apr 8, 2026
@SutuSebastian SutuSebastian deleted the changeset-release/main branch April 8, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant