Skip to content

chore: v3.0 release prep — codebase scan, roadmap update, deprecation fixes#636

Merged
hotlong merged 2 commits into
mainfrom
copilot/scan-code-analyze-issues
Feb 12, 2026
Merged

chore: v3.0 release prep — codebase scan, roadmap update, deprecation fixes#636
hotlong merged 2 commits into
mainfrom
copilot/scan-code-analyze-issues

Conversation

Copilot AI commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Full codebase scan of v2.0.7 (19 packages, 172 schemas, 191 test files, 5165 tests) to audit legacy issues and update the roadmap for v3.0.

Scan findings

  • 23 @deprecated items remaining: 14 in spec, 9 in runtime packages
  • 5 stale deprecation notices — said "removed in v2.0.0" but v2.0.7 already shipped
  • 1 z.any() outside filter schemas (ui/i18n.zod.ts) — flagged for tightening
  • 0 TODO/FIXME, 0 z.instanceof(), 7095 .describe() annotations

Changes

  • ROADMAP.md — Rewrote with accurate v2.0.7 metrics. Phase 5–7 confirmed complete. Phase 8 expanded with full 23-item deprecated inventory, stale notice audit, and per-item removal checklist. Updated timeline targeting v3.0 end of Q2 2026.
  • CHANGELOG.md — Added [Unreleased] entry listing all items scheduled for removal in v3.0.0
  • 5 deprecation notice fixes — Updated version targets from v2.0.0 → v3.0.0:
    • kernel/plugin.zod.ts (definePlugin)
    • api/errors.zod.ts (createErrorResponse, getHttpStatusForCategory)
    • ui/action.zod.ts (location field)
    • runtime/index.ts (HttpDispatcher)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel

vercel Bot commented Feb 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Error Error Feb 12, 2026 7:54am
spec Error Error Feb 12, 2026 7:54am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Update roadmap for version 3.0 release chore: v3.0 release prep — codebase scan, roadmap update, deprecation fixes Feb 12, 2026
Copilot AI requested a review from hotlong February 12, 2026 05:17
@hotlong
hotlong marked this pull request as ready for review February 12, 2026 05:20
Copilot AI review requested due to automatic review settings February 12, 2026 05:20
@hotlong
hotlong merged commit 93f9cd6 into main Feb 12, 2026
5 of 7 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prepares the repo for the v3.0.0 release by updating roadmap/changelog documentation and correcting stale @deprecated notices that referenced already-shipped v2.x removals.

Changes:

  • Updated deprecation JSDoc/describe text to target removal in v3.0.0.
  • Rewrote ROADMAP.md with updated scan metrics and an expanded Phase 8 deprecation inventory/checklist.
  • Added an [Unreleased] section to CHANGELOG.md documenting the v3.0 removal plan and scan findings.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/spec/src/ui/action.zod.ts Updates deprecated location field messaging to v3.0.0 timeline
packages/spec/src/kernel/plugin.zod.ts Updates definePlugin() deprecation notice removal version
packages/spec/src/api/errors.zod.ts Updates deprecation notices for error helper functions
packages/runtime/src/index.ts Updates HttpDispatcher re-export deprecation notice removal version
ROADMAP.md Updates v3.0 roadmap content, metrics snapshot, and deprecation cleanup plan
CHANGELOG.md Adds [Unreleased] notes for v3.0 prep and planned removals

Comment on lines +18 to 19
/** @deprecated Use createDispatcherPlugin() instead. Will be removed in v3.0.0. */
export { HttpDispatcher } from './http-dispatcher.js';

Copilot AI Feb 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation notice for HttpDispatcher is updated on the re-export here, but the class-level JSDoc in packages/runtime/src/http-dispatcher.ts still says it "will be removed in v2". To fully fix the stale notice (as described in the PR), update the deprecation text in the class doc as well so the removal target is consistent (v3.0.0).

Copilot uses AI. Check for mistakes.
Comment thread ROADMAP.md
Comment on lines +15 to +28
### Current State Snapshot (v2.0.7 — Scanned 2026-02-12)

| Metric | Value | Target |
|--------|-------|--------|
| `z.any()` in spec | 8 (filter operators only) | 8 |
| `z.unknown()` in spec | 180 | Stable ✅ |
| `z.any()` in spec | 9 (8 filter + 1 i18n) | 8 (filter only) |
| `z.unknown()` in spec | 404 | Stable ✅ |
| `z.date()` in spec (serialization risk) | 12 (all in filter.zod.ts) | 0 in non-filter schemas ✅ |
| `.describe()` annotations | 5,671+ | 5,600+ ✅ |
| Spec test files | 150 / 142 schemas | 100% ✅ |
| Runtime package test coverage | Sparse | Comprehensive |
| Adapter implementations | 3 stubs | 3 functional |
| `.describe()` annotations | 7,095 | 7,000+ ✅ |
| Spec schema files (`.zod.ts`) | 172 | Stable ✅ |
| Spec test files | 191 / 172 schemas | 100%+ ✅ |
| Spec test count | 5,165 | 5,000+ ✅ |
| Packages (all v2.0.7) | 19 | Unified ✅ |
| Runtime package test coverage | REST 37, Metadata 45, Adapters 72 | Comprehensive ✅ |
| Adapter implementations | 3 fully implemented + tested | 3 production-ready ✅ |

Copilot AI Feb 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROADMAP.md now reports updated scan metrics (191 test files / 5,165 tests), but the Phase 5 section later in the same document still contains older completion counts (e.g., 150 test files / 4,196 tests and 175 / 4,518). This internal inconsistency makes the roadmap harder to trust; update the Phase 5 numbers to match the current scan or clearly label them as historical-at-the-time metrics.

Copilot uses AI. Check for mistakes.
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.

3 participants