Skip to content

release: prepare v2.0.0 with stable doc IDs, id-based routing, and coverage/CI upgrades#9

Merged
night-slayer18 merged 12 commits intomainfrom
develop
Feb 8, 2026
Merged

release: prepare v2.0.0 with stable doc IDs, id-based routing, and coverage/CI upgrades#9
night-slayer18 merged 12 commits intomainfrom
develop

Conversation

@night-slayer18
Copy link
Copy Markdown
Member

Summary

This PR prepares the v2.0.0 release across the monorepo.

It includes a breaking routing/identity change for generated docs, plus major test coverage improvements (CLI/UI/Core), E2E coverage reporting, CI fixes, and dependency/version alignment.

Breaking Changes

  • DocEntry.id generation changed to a stable hash of kind|module|name (instead of name-only).
  • UI doc routes changed from /:kind/:name to /:kind/:id/:slug?.
  • Existing deep links based on old route shape are not backward-compatible.

What Changed

  • Core/UI:
    • Stable entry IDs and heritage ID generation updates.
    • ID-based UI navigation via centralized route helper.
  • CI/CD:
    • Prevent duplicate Netlify deployments (production/staging workflow fix).
    • Add Chromium E2E coverage collection + merge/upload workflow support.
  • Tests/Coverage:
    • Expanded CLI command test suite (build/check/watch/serve/init paths).
    • Expanded UI unit coverage (App, MarkdownRenderer, UI primitives, loaders/store/search/code block).
    • Increased Core branch coverage to satisfy threshold.
    • Updated E2E assertion for ID-based route format.
  • Docs:
    • Added/expanded package READMEs for publishable packages.
  • Release prep:
    • Bumped workspace/package versions to 2.0.0.
    • Updated internal dependency ranges to ^2.0.0 where required.

Validation

Executed successfully:

  • npm run build
  • npm run type-check
  • npm run lint
  • npm run test

Notes

  • packages/ui remains private and is not published to npm.
  • This PR is intended to be tagged and released as v2.0.0.

hash entry ids by kind+module+name
add id-based routing with readable slugs
update UI and E2E tests for new routes
drop github-token from Netlify action so only the environment deployment is created
expand CLI/core docs and add plugin/UI readmes for npm
add unit tests for build/check/watch/serve/init entrypoints
cover error branches and CLI outputs
tighten mocks/types to satisfy TS + lint
keep temp dir cleanup between tests
raise CLI coverage above 90%

Tests: npm run build && npm run type-check && npm run lint && npm run test
Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
add App, MarkdownRenderer, and UI primitive coverage
expand loaders/store/search/command-menu/codeblock tests
move UI tests under packages/ui/tests with updated setup paths
include tests in tsconfig for @/ path resolution
reach >90% UI line coverage

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
add Playwright coverage helper with v8-to-istanbul
merge raw v8 output into lcov for Codecov

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
enable E2E_COVERAGE on chromium and upload lcov
ignore coverage-e2e artifacts
add coverage merge deps and root test:coverage script

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
add plugin resolution and cleanup branch tests
cover HTML/Markdown generator branches for params/returns/examples
push core branch coverage above the 60% threshold

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
update root and package-level dependencies/devDependencies across the monorepo
bump npm packageManager version in root
synchronize lint/test/build tooling versions to reduce workspace drift
keep changes limited to manifest and lockfile updates only

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
assert /type/:id/:slug format after selecting a search result
replace legacy name-based expectation to match stable-id routing

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
set monorepo and package versions to 2.0.0
align internal core dependency ranges to ^2.0.0 for cli and plugins
refresh lockfile after version/dependency updates

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 8, 2026

Deploy Preview for autodocshq ready!

Name Link
🔨 Latest commit 14a5dbf
🔍 Latest deploy log https://app.netlify.com/projects/autodocshq/deploys/69884e4fc2d0f30008753b1d
😎 Deploy Preview https://deploy-preview-9--autodocshq.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 8, 2026

Codecov Report

❌ Patch coverage is 98.52941% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/ui/src/pages/SectionPage.tsx 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 8, 2026

🚀 Deployed on https://pr-9--autodocshq.netlify.app

@github-actions github-actions Bot temporarily deployed to pull request February 8, 2026 08:42 Inactive
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 8, 2026

Preview Deployment

Your preview is ready.

URL: https://pr-9--autodocshq.netlify.app


Deployed from commit 85f8e0d

…routing

add extractor heritage-id coverage across symbol shapes and unknown symbols
add SectionPage matched-prefix test asserting id-based link generation

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
@github-actions github-actions Bot temporarily deployed to pull request February 8, 2026 08:51 Inactive
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 8, 2026

Preview Deployment

Your preview is ready.

URL: https://pr-9--autodocshq.netlify.app


Deployed from commit 40dc27e

@night-slayer18 night-slayer18 merged commit 0123000 into main Feb 8, 2026
39 checks passed
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