@chappibunny/repolens 1.3.0 โ†’ 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  All notable changes to RepoLens will be documented in this file.
4
4
 
5
+ ## 1.4.0
6
+
7
+ ### ๐Ÿ› Bug Fixes (Tier 1 โ€” Production)
8
+
9
+ - **Confluence CDATA injection**: Code blocks containing `]]>` no longer break Confluence XML storage format. Applied standard CDATA escape pattern (`]]]]><![CDATA[>`).
10
+ - **Discord branding**: Replaced 3 leftover "RABITAI" references with "RepoLens" in Discord webhook embeds (title, footer, error title).
11
+ - **CLI branding**: Updated 2 remaining "RABITAI" banner strings to "RepoLens" in CLI output and help text.
12
+ - **Markdown publisher missing mappings**: Added 9 missing document-type filename mappings (`executive_summary`, `business_domains`, `architecture_overview`, `data_flows`, `developer_onboarding`, `graphql_schema`, `type_graph`, `dependency_graph`, `architecture_drift`). All 15 document plan keys now map to output filenames.
13
+ - **Relative link rewriting**: Notion and Confluence publishers now strip relative markdown links (`./path.md`, `../path.md`) that can't resolve in external platforms. Links are replaced with their display text.
14
+
15
+ ### ๐Ÿ”ง Improvements (Tier 2 โ€” Robustness)
16
+
17
+ - **Generic domain defaults**: Replaced 12 fintech-specific domain hints with 15 universally applicable domains (Authentication, Analytics, Content Management, Search, Notifications, Payments, API Layer, UI Components, Hooks, State, Utilities, Data Layer, Config, Testing, Background Jobs). Domain inference no longer maps "chart" to "Market Data" in non-finance apps.
18
+ - **Real import-based system map**: `renderSystemMap()` now uses actual import edges from the dependency graph analyzer when available, instead of heuristic guessing. Diagram labels indicate whether relationships are from "Real import analysis" or "Heuristic inference".
19
+ - **AI context size limiting**: Added `truncateContext()` function to AI prompts with a 12K character cap. Progressive pruning: routes/pages to 15, domains to 8, top modules to 10, then hard-truncate. Prevents token overflow on large codebases.
20
+ - **Doctor env var validation**: `repolens doctor` now checks for publisher-specific environment variables (NOTION_TOKEN, CONFLUENCE_URL/EMAIL/API_TOKEN, GITHUB_TOKEN, REPOLENS_AI_API_KEY) and warns when required vars are missing for configured publishers.
21
+ - **Truncation warnings**: Renderers now display notes when output is truncated โ€” modules >100 in catalog, routes >200 in route map, files/routes >25 and modules >40 in architecture diff.
22
+ - **Watch mode tests**: Added 3 new tests for `src/watch.js` covering no-directory handling, watcher setup, and node_modules filtering.
23
+
24
+ ### ๐Ÿ“Š Test Coverage
25
+
26
+ - **188 tests** passing across **16 test files** (up from 185/15).
27
+
28
+ ## 1.3.1
29
+
30
+ ### ๐Ÿ“ Documentation Overhaul
31
+
32
+ - **README restructured for marketing & onboarding** โ€” 942 โ†’ 270 lines. Pain-focused opening, compact feature table, scannable layout. Previously buried the value proposition under spec-sheet detail.
33
+ - **New [ONBOARDING.md](ONBOARDING.md)** โ€” Full step-by-step guide extracted from README (publishers, AI, Notion, Confluence, GitHub Wiki, Discord, CI/CD). Previously 350+ lines inside README.
34
+ - **Security & Telemetry sections condensed** โ€” ~200 lines of detail replaced with 3-line summaries linking to SECURITY.md and TELEMETRY.md.
35
+ - **22-item feature checklist โ†’ 8-row "Why RepoLens" table** โ€” Scannable, benefit-focused instead of spec-sheet.
36
+ - **Unified documentation table** โ€” All 10 supporting docs linked from one place.
37
+ - **Fixed 11 version references** across docs (1.3.0 โ†’ 1.3.1).
38
+ - **npm version badge** added to README header.
39
+
5
40
  ## 1.3.0
6
41
 
7
42
  ### โœจ New Feature: `repolens demo`
@@ -124,7 +159,7 @@ RepoLens v1.0.0 marks the first stable release with a frozen public API. All CLI
124
159
  - Config schema updated: `plugins` array validated, custom publisher names accepted
125
160
 
126
161
  ### ๐Ÿงช Tests
127
- - Added 21 new plugin tests + 21 publisher parser tests (163 tests across 14 files)
162
+ - Added 21 new plugin tests + 21 publisher parser tests (185 tests across 15 files)
128
163
 
129
164
  ### ๐Ÿ”ง Output Quality
130
165
  - **Notion Publisher**: Full table support (table blocks with `table_row` children), blockquote โ†’ callout, dividers, numbered lists, h3 headings, inline rich text (`**bold**`, `*italic*`, `` `code` ``)