Skip to content

Commit b5c2570

Browse files
chore: version packages (#16)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f2362f9 commit b5c2570

3 files changed

Lines changed: 35 additions & 39 deletions

File tree

.changeset/audit-findings.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# @stainless-code/codemap
22

3+
## 0.1.8
4+
5+
### Patch Changes
6+
7+
- [#15](https://github.com/stainless-code/codemap/pull/15) [`f2362f9`](https://github.com/stainless-code/codemap/commit/f2362f9d2b81398a1fa02415fc4a6ed0095d2923) Thanks [@SutuSebastian](https://github.com/SutuSebastian)! - Fix three HIGH-severity bugs found via cross-audit triangulation, plus performance and docs improvements.
8+
9+
**Bug fixes**
10+
- Add missing `onerror` handler on Bun Worker — prevents silent promise hang when a parse worker crashes
11+
- Require JSX return or hook usage for component detection — eliminates false positives (e.g. `FormatCurrency()` in `.tsx` files no longer indexed as a component)
12+
- Include previously-indexed files in incremental and `--files` modes — custom-extension files indexed during `--full` no longer silently go stale
13+
14+
**Performance**
15+
- Batch CSS imports instead of inserting one-at-a-time (both full-rebuild and incremental paths)
16+
- Add `Map<string, Statement>` cache for `better-sqlite3` `run()`/`query()` — avoids ~2,000+ redundant `prepare()` calls on large projects
17+
- Hoist `inner.query()` in `wrap()` to prepare once per call instead of per `.get()`/`.all()`
18+
- Skip `PRAGMA optimize` on `closeDb` for read-only query paths
19+
20+
**Docs**
21+
- Fix Wyhash → SHA-256 in architecture.md and SKILL.md (3 locations)
22+
- Correct `symbols.kind` values (`variable``const`, `type_alias``type`) and `exports.kind` values
23+
- Clarify `Database.query()` caching is Bun-only; Node statement cache via wrapper
24+
- Update architecture.md: component heuristic, statement cache, `closeDb` readonly, incremental/`--files` custom extensions
25+
- Update benchmark.md and golden-queries.md for enriched fixture
26+
27+
**Testing**
28+
- Enrich `fixtures/minimal/` to cover all 10 indexed tables (CSS module, `@keyframes`, `@import`, non-component PascalCase export, FIXME marker)
29+
- Add 7 new golden scenarios (exports, css_variables, css_classes, css_keyframes, css_imports, markers-all-kinds, components-no-false-positives)
30+
31+
**Cleanup**
32+
- Remove unused `analyzeDependencies: true` from CSS parser
33+
- Deduplicate `fetchTableStats` (was duplicated across `index-engine.ts` and `run-index.ts`)
34+
- Remove dead `eslint-disable-next-line` directives (oxlint doesn't enforce those rules)
35+
- Fix `SCHEMA_VERSION` comment (said "2", value is `1`)
36+
337
## 0.1.7
438

539
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stainless-code/codemap",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"description": "Query your codebase — structural SQLite index for AI agents",
55
"keywords": [
66
"agents",

0 commit comments

Comments
 (0)