Skip to content

Version Packages#67

Closed
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Closed

Version Packages#67
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Oct 6, 2025

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

@geekist/[email protected]

Minor Changes

  • 443a65a: # v0.2.0 - Alpha Release Complete 🎉

    Major Milestone: Completion of Alpha phase (Sprints 0-4.5) with production-ready core framework primitives.

    Foundation (Sprints 0-1.5) ✅

    Monorepo infrastructure, TypeScript strict mode, Vite 7 builds, testing harness (Jest + Playwright), CI/CD, documentation site, wp-env + Playground environments. 58+ test files, 900+ tests.

    Resources & Data (Sprint 1) ✅

    defineResource() with typed REST contracts, automatic @wordpress/data stores, cache management (invalidate, invalidateAll, cache key matching), React hooks (useGet, useList, usePrefetch), dual-surface API (thin-flat + grouped), client methods (fetch, create, update, remove).

    E2E Utils (Sprint 2) ✅

    @geekist/wp-kernel-e2e-utils package with namespaced API, Playwright fixture, test helpers (auth, rest, store, events, db, project), utility unit tests separated from domain E2E tests. Full fixture integration.

    Policies (Sprint 3) ✅

    definePolicy() with full capability checking, can()/assert() helpers, usePolicy() React hook, policy context management, caching layer, automatic UI control gating, wpk.policy.denied events, policy reporter integration, WordPress capability provider.

    Actions (Sprint 4) ✅

    Write-path orchestration with defineAction(), middleware layer, lifecycle events, cache invalidation, error handling.

    WordPress Data Integration (Sprint 4) ✅

    useKernel() registry plugin, registerKernelStore() wrapper, kernelEventsPlugin() error bridge.

    Unified Reporting (Sprint 4.5) ✅

    createReporter() with pluggable transports, consolidated logging.

    Release Infrastructure (This PR) ✅

    Complete Changesets-based release automation workflow with GitHub Actions, sprint-driven changeset generation scripts, comprehensive documentation (RELEASING.md, VERSIONING.md), fixed versioning across all packages.


    Next Phase: Beta (v0.3.x) - Bindings & Interactivity (Sprint 5)

  • 443a65a: # Sprint 1 & 1.5 Complete: Resources, Vite, and Major Refactor 🚀

    Epic Delivery: 15,000+ SLOC in 24 hours including complete Resource API, Vite migration, and major refactor.

    Sprint 1: Resources & Stores (14 issues) ✅

    Complete implementation of the Resource API and WordPress Data integration:

    Features

    • Resource API: defineResource() with typed client generation

    • Data Store Integration: WordPress Data selectors/resolvers/actions

    • Event System: wpk.resource.request, wpk.resource.response, wpk.resource.error

    • Cache Management: Deterministic cache keys with invalidate() helper

    • Payload Optimization: _fields parameter support for trimming responses

    • Showcase Demo: Admin page with job listings, loading/error/empty states

      Quality

    • 465+ unit tests passing

    • 27 E2E tests passing (Playwright)

    • Full MSW integration tests

    • Zero console errors

    • All DoD criteria met

      Sprint 1.5: Build Tooling & Resources Refactor (2 issues) ✅

      Issue Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28: Resources Refactor 🎯

      Simplified module structure and improved developer experience:

      Structural Changes:

    • Renamed transport/http/ (clearer naming)

    • Renamed errors/error/ (singular collective noun)

    • Flattened resource/store/resource/store.ts (no deep nesting)

    • Consolidated cache utilities: invalidate.ts + cacheKeys.tscache.ts

      API Improvements:

    • Dual-Surface API: Thin-flat (90% use) + Grouped (power users)

    • Three Import Patterns: Scoped, namespace, flat aliases

    • Better DX: Cleaner imports, less cognitive load

      Results:

    • 383 unit tests passing

    • Zero breaking changes (backwards compatible)

    • 10,988 additions / 4,337 deletions

      Issue Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30: Vite Migration ⚡

      Modern build tooling with dramatic performance improvements:

      Performance Gains:

    • 2-3x faster builds: 15-20s → 5-8s (cold), 5s → 2s (incremental)

    • 📦 78% smaller bundles: 100KB+ → 22KB

    • 🎯 Proper externalization: WordPress packages → window.wp.*

      Developer Experience:

    • ✅ No more .js extensions in imports

    • ✅ Fast Vite dev mode with HMR

    • ✅ Build verification tests (peer dependencies)

    • ✅ Type declarations generated automatically

      Technical Changes:

    • Migrated all packages to Vite library mode

    • Created shared vite.config.base.ts

    • Fixed WordPress externalization with @kucrut/vite-for-wp

    • Added peer dependencies: rollup-plugin-external-globals, vite-plugin-external

    • 1,954 additions / 212 deletions

      Results:

    • 493 unit tests passing (+28 new tests)

    • 25/27 E2E tests passing

    • CI green across all matrices

      Combined Impact 💥

      Metrics

    • Code Volume: 15,000+ SLOC (including docs)

    • Delivery Time: 24 hours

    • Test Coverage: 100% maintained (493 unit + 27 E2E)

    • Performance: 2-3x faster builds

    • Bundle Size: 78% reduction

    • Breaking Changes: 0 (fully backwards compatible)

      Foundation Established

      This release establishes the core foundation of WP Kernel:

    • ✅ Production-ready Resource API

    • ✅ Modern build tooling (Vite)

    • ✅ Comprehensive test coverage

    • ✅ Clean, maintainable architecture

    • ✅ Excellent developer experience

      What's Next

    • Sprint 2: Policies & Permissions

    • Phase 2 (Optional): Vitest migration

    • Phase 5 (Future): Actions-First enforcement


      Related PRs: Feature/28 kernel resources refactor #29 (Resources Refactor), feat(build): Migrate to Vite build tooling with proper WordPress externalization #32 (Vite Migration), fix: CI pnpm version mismatch and flaky E2E tests #33 (CI Fixes)
      Issues Closed: 16 total (Sprint 1: A1: Result Types & Errors #1-C4: CI & Docs Hooks #14, Sprint 1.5: Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28, Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30)
      Sprint Duration: Sept 30 - Oct 2, 2025

Patch Changes

@geekist/[email protected]

Minor Changes

  • 443a65a: # v0.2.0 - Alpha Release Complete 🎉

    Major Milestone: Completion of Alpha phase (Sprints 0-4.5) with production-ready core framework primitives.

    Foundation (Sprints 0-1.5) ✅

    Monorepo infrastructure, TypeScript strict mode, Vite 7 builds, testing harness (Jest + Playwright), CI/CD, documentation site, wp-env + Playground environments. 58+ test files, 900+ tests.

    Resources & Data (Sprint 1) ✅

    defineResource() with typed REST contracts, automatic @wordpress/data stores, cache management (invalidate, invalidateAll, cache key matching), React hooks (useGet, useList, usePrefetch), dual-surface API (thin-flat + grouped), client methods (fetch, create, update, remove).

    E2E Utils (Sprint 2) ✅

    @geekist/wp-kernel-e2e-utils package with namespaced API, Playwright fixture, test helpers (auth, rest, store, events, db, project), utility unit tests separated from domain E2E tests. Full fixture integration.

    Policies (Sprint 3) ✅

    definePolicy() with full capability checking, can()/assert() helpers, usePolicy() React hook, policy context management, caching layer, automatic UI control gating, wpk.policy.denied events, policy reporter integration, WordPress capability provider.

    Actions (Sprint 4) ✅

    Write-path orchestration with defineAction(), middleware layer, lifecycle events, cache invalidation, error handling.

    WordPress Data Integration (Sprint 4) ✅

    useKernel() registry plugin, registerKernelStore() wrapper, kernelEventsPlugin() error bridge.

    Unified Reporting (Sprint 4.5) ✅

    createReporter() with pluggable transports, consolidated logging.

    Release Infrastructure (This PR) ✅

    Complete Changesets-based release automation workflow with GitHub Actions, sprint-driven changeset generation scripts, comprehensive documentation (RELEASING.md, VERSIONING.md), fixed versioning across all packages.


    Next Phase: Beta (v0.3.x) - Bindings & Interactivity (Sprint 5)

Patch Changes

@geekist/[email protected]

Minor Changes

  • 443a65a: # v0.2.0 - Alpha Release Complete 🎉

    Major Milestone: Completion of Alpha phase (Sprints 0-4.5) with production-ready core framework primitives.

    Foundation (Sprints 0-1.5) ✅

    Monorepo infrastructure, TypeScript strict mode, Vite 7 builds, testing harness (Jest + Playwright), CI/CD, documentation site, wp-env + Playground environments. 58+ test files, 900+ tests.

    Resources & Data (Sprint 1) ✅

    defineResource() with typed REST contracts, automatic @wordpress/data stores, cache management (invalidate, invalidateAll, cache key matching), React hooks (useGet, useList, usePrefetch), dual-surface API (thin-flat + grouped), client methods (fetch, create, update, remove).

    E2E Utils (Sprint 2) ✅

    @geekist/wp-kernel-e2e-utils package with namespaced API, Playwright fixture, test helpers (auth, rest, store, events, db, project), utility unit tests separated from domain E2E tests. Full fixture integration.

    Policies (Sprint 3) ✅

    definePolicy() with full capability checking, can()/assert() helpers, usePolicy() React hook, policy context management, caching layer, automatic UI control gating, wpk.policy.denied events, policy reporter integration, WordPress capability provider.

    Actions (Sprint 4) ✅

    Write-path orchestration with defineAction(), middleware layer, lifecycle events, cache invalidation, error handling.

    WordPress Data Integration (Sprint 4) ✅

    useKernel() registry plugin, registerKernelStore() wrapper, kernelEventsPlugin() error bridge.

    Unified Reporting (Sprint 4.5) ✅

    createReporter() with pluggable transports, consolidated logging.

    Release Infrastructure (This PR) ✅

    Complete Changesets-based release automation workflow with GitHub Actions, sprint-driven changeset generation scripts, comprehensive documentation (RELEASING.md, VERSIONING.md), fixed versioning across all packages.


    Next Phase: Beta (v0.3.x) - Bindings & Interactivity (Sprint 5)

  • 443a65a: feat(resource): add defineResource API with validation and client generation

    Implements A2: defineResource Public API with comprehensive resource definition, config validation, and typed client method generation.

    Features:

    • defineResource<T, TQuery>(config) function for declaring typed REST resources

    • Complete config validation with DeveloperError for dev-time safety

    • Automatic client method generation (list, get, create, update, remove)

    • Path interpolation for :id/:slug patterns in REST routes

    • Store key generation (gk/{resourceName})

    • Default and custom cache key generators

    • Full TypeScript type safety with generics

      Files Added:

    • packages/kernel/src/resource/types.ts - Type definitions for resource system

    • packages/kernel/src/resource/interpolate.ts - Path parameter interpolation

    • packages/kernel/src/resource/defineResource.ts - Core defineResource function

    • packages/kernel/src/resource/index.ts - Module exports

    • packages/kernel/src/resource/__tests__/interpolate.test.ts - 29 tests

    • packages/kernel/src/resource/__tests__/defineResource.test.ts - 41 tests

      Tests: 70 new tests (153 total passing)

      Dependencies: Requires A1 (error system) for validation error handling

      Note: Client methods throw NotImplementedError (transport integration in A3)

  • 443a65a: # Sprint 1 & 1.5 Complete: Resources, Vite, and Major Refactor 🚀

    Epic Delivery: 15,000+ SLOC in 24 hours including complete Resource API, Vite migration, and major refactor.

    Sprint 1: Resources & Stores (14 issues) ✅

    Complete implementation of the Resource API and WordPress Data integration:

    Features

    • Resource API: defineResource() with typed client generation

    • Data Store Integration: WordPress Data selectors/resolvers/actions

    • Event System: wpk.resource.request, wpk.resource.response, wpk.resource.error

    • Cache Management: Deterministic cache keys with invalidate() helper

    • Payload Optimization: _fields parameter support for trimming responses

    • Showcase Demo: Admin page with job listings, loading/error/empty states

      Quality

    • 465+ unit tests passing

    • 27 E2E tests passing (Playwright)

    • Full MSW integration tests

    • Zero console errors

    • All DoD criteria met

      Sprint 1.5: Build Tooling & Resources Refactor (2 issues) ✅

      Issue Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28: Resources Refactor 🎯

      Simplified module structure and improved developer experience:

      Structural Changes:

    • Renamed transport/http/ (clearer naming)

    • Renamed errors/error/ (singular collective noun)

    • Flattened resource/store/resource/store.ts (no deep nesting)

    • Consolidated cache utilities: invalidate.ts + cacheKeys.tscache.ts

      API Improvements:

    • Dual-Surface API: Thin-flat (90% use) + Grouped (power users)

    • Three Import Patterns: Scoped, namespace, flat aliases

    • Better DX: Cleaner imports, less cognitive load

      Results:

    • 383 unit tests passing

    • Zero breaking changes (backwards compatible)

    • 10,988 additions / 4,337 deletions

      Issue Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30: Vite Migration ⚡

      Modern build tooling with dramatic performance improvements:

      Performance Gains:

    • 2-3x faster builds: 15-20s → 5-8s (cold), 5s → 2s (incremental)

    • 📦 78% smaller bundles: 100KB+ → 22KB

    • 🎯 Proper externalization: WordPress packages → window.wp.*

      Developer Experience:

    • ✅ No more .js extensions in imports

    • ✅ Fast Vite dev mode with HMR

    • ✅ Build verification tests (peer dependencies)

    • ✅ Type declarations generated automatically

      Technical Changes:

    • Migrated all packages to Vite library mode

    • Created shared vite.config.base.ts

    • Fixed WordPress externalization with @kucrut/vite-for-wp

    • Added peer dependencies: rollup-plugin-external-globals, vite-plugin-external

    • 1,954 additions / 212 deletions

      Results:

    • 493 unit tests passing (+28 new tests)

    • 25/27 E2E tests passing

    • CI green across all matrices

      Combined Impact 💥

      Metrics

    • Code Volume: 15,000+ SLOC (including docs)

    • Delivery Time: 24 hours

    • Test Coverage: 100% maintained (493 unit + 27 E2E)

    • Performance: 2-3x faster builds

    • Bundle Size: 78% reduction

    • Breaking Changes: 0 (fully backwards compatible)

      Foundation Established

      This release establishes the core foundation of WP Kernel:

    • ✅ Production-ready Resource API

    • ✅ Modern build tooling (Vite)

    • ✅ Comprehensive test coverage

    • ✅ Clean, maintainable architecture

    • ✅ Excellent developer experience

      What's Next

    • Sprint 2: Policies & Permissions

    • Phase 2 (Optional): Vitest migration

    • Phase 5 (Future): Actions-First enforcement


      Related PRs: Feature/28 kernel resources refactor #29 (Resources Refactor), feat(build): Migrate to Vite build tooling with proper WordPress externalization #32 (Vite Migration), fix: CI pnpm version mismatch and flaky E2E tests #33 (CI Fixes)
      Issues Closed: 16 total (Sprint 1: A1: Result Types & Errors #1-C4: CI & Docs Hooks #14, Sprint 1.5: Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28, Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30)
      Sprint Duration: Sept 30 - Oct 2, 2025

  • 443a65a: Add error system with KernelError, TransportError, and ServerError classes. Includes JSON serialization, retry detection, WordPress REST API error parsing, and comprehensive unit tests.

Patch Changes

  • 443a65a: Add @wordpress/data store integration for resources (A3)

    New Features:

    • Store Factory: createStore() function generates typed @wordpress/data stores from resource definitions

    • Automatic Store Registration: Resources now have a lazy-loaded store property that auto-registers with @wordpress/data on first access

    • Complete Store API: Stores include reducer, actions, selectors, and resolvers following @wordpress/data patterns

    • TypeScript Support: Full type safety with ResourceState, ResourceActions, ResourceSelectors, ResourceResolvers, ResourceStoreConfig, and ResourceStore interfaces

      Store Features:

    • Selectors: getItem(), getItems(), getList(), getError(), plus resolution helpers (isResolving, hasStartedResolution, hasFinishedResolution)

    • Resolvers: Automatic data fetching with error handling when selectors are used

    • Actions: receiveItem(), receiveItems(), receiveError(), invalidate(), invalidateAll() for state management

    • Reducer: Handles RECEIVE_ITEM, RECEIVE_ITEMS, RECEIVE_ERROR, INVALIDATE, and INVALIDATE_ALL actions with immutable state updates

    • Customization: Custom getId and getQueryKey functions, initial state support

      Documentation:

    • Added comprehensive @wordpress/data store integration section to resources guide

    • Complete examples of using stores with useSelect and dispatch

    • Best practices for selector usage, resolver patterns, and cache invalidation

      Testing:

    • 36 new test cases covering all store functionality

    • 93.82% coverage for store module

    • Tests for reducer logic, selectors, resolvers, actions, error handling, and custom configuration

      Implementation Details:

    • Store creation is lazy - only initialized on first resource.store access

    • Stores automatically register with window.wp.data.register() when available

    • Resolvers use async functions (not generators) for simpler implementation

    • Normalized state structure: items by ID, lists as ID arrays, separate metadata

    • Default getId assumes item.id property, default getQueryKey uses JSON.stringify

      Resolves A3: Store Factory #3

@geekist/[email protected]

Minor Changes

  • 443a65a: # v0.2.0 - Alpha Release Complete 🎉

    Major Milestone: Completion of Alpha phase (Sprints 0-4.5) with production-ready core framework primitives.

    Foundation (Sprints 0-1.5) ✅

    Monorepo infrastructure, TypeScript strict mode, Vite 7 builds, testing harness (Jest + Playwright), CI/CD, documentation site, wp-env + Playground environments. 58+ test files, 900+ tests.

    Resources & Data (Sprint 1) ✅

    defineResource() with typed REST contracts, automatic @wordpress/data stores, cache management (invalidate, invalidateAll, cache key matching), React hooks (useGet, useList, usePrefetch), dual-surface API (thin-flat + grouped), client methods (fetch, create, update, remove).

    E2E Utils (Sprint 2) ✅

    @geekist/wp-kernel-e2e-utils package with namespaced API, Playwright fixture, test helpers (auth, rest, store, events, db, project), utility unit tests separated from domain E2E tests. Full fixture integration.

    Policies (Sprint 3) ✅

    definePolicy() with full capability checking, can()/assert() helpers, usePolicy() React hook, policy context management, caching layer, automatic UI control gating, wpk.policy.denied events, policy reporter integration, WordPress capability provider.

    Actions (Sprint 4) ✅

    Write-path orchestration with defineAction(), middleware layer, lifecycle events, cache invalidation, error handling.

    WordPress Data Integration (Sprint 4) ✅

    useKernel() registry plugin, registerKernelStore() wrapper, kernelEventsPlugin() error bridge.

    Unified Reporting (Sprint 4.5) ✅

    createReporter() with pluggable transports, consolidated logging.

    Release Infrastructure (This PR) ✅

    Complete Changesets-based release automation workflow with GitHub Actions, sprint-driven changeset generation scripts, comprehensive documentation (RELEASING.md, VERSIONING.md), fixed versioning across all packages.


    Next Phase: Beta (v0.3.x) - Bindings & Interactivity (Sprint 5)

  • 443a65a: # Sprint 1 & 1.5 Complete: Resources, Vite, and Major Refactor 🚀

    Epic Delivery: 15,000+ SLOC in 24 hours including complete Resource API, Vite migration, and major refactor.

    Sprint 1: Resources & Stores (14 issues) ✅

    Complete implementation of the Resource API and WordPress Data integration:

    Features

    • Resource API: defineResource() with typed client generation

    • Data Store Integration: WordPress Data selectors/resolvers/actions

    • Event System: wpk.resource.request, wpk.resource.response, wpk.resource.error

    • Cache Management: Deterministic cache keys with invalidate() helper

    • Payload Optimization: _fields parameter support for trimming responses

    • Showcase Demo: Admin page with job listings, loading/error/empty states

      Quality

    • 465+ unit tests passing

    • 27 E2E tests passing (Playwright)

    • Full MSW integration tests

    • Zero console errors

    • All DoD criteria met

      Sprint 1.5: Build Tooling & Resources Refactor (2 issues) ✅

      Issue Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28: Resources Refactor 🎯

      Simplified module structure and improved developer experience:

      Structural Changes:

    • Renamed transport/http/ (clearer naming)

    • Renamed errors/error/ (singular collective noun)

    • Flattened resource/store/resource/store.ts (no deep nesting)

    • Consolidated cache utilities: invalidate.ts + cacheKeys.tscache.ts

      API Improvements:

    • Dual-Surface API: Thin-flat (90% use) + Grouped (power users)

    • Three Import Patterns: Scoped, namespace, flat aliases

    • Better DX: Cleaner imports, less cognitive load

      Results:

    • 383 unit tests passing

    • Zero breaking changes (backwards compatible)

    • 10,988 additions / 4,337 deletions

      Issue Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30: Vite Migration ⚡

      Modern build tooling with dramatic performance improvements:

      Performance Gains:

    • 2-3x faster builds: 15-20s → 5-8s (cold), 5s → 2s (incremental)

    • 📦 78% smaller bundles: 100KB+ → 22KB

    • 🎯 Proper externalization: WordPress packages → window.wp.*

      Developer Experience:

    • ✅ No more .js extensions in imports

    • ✅ Fast Vite dev mode with HMR

    • ✅ Build verification tests (peer dependencies)

    • ✅ Type declarations generated automatically

      Technical Changes:

    • Migrated all packages to Vite library mode

    • Created shared vite.config.base.ts

    • Fixed WordPress externalization with @kucrut/vite-for-wp

    • Added peer dependencies: rollup-plugin-external-globals, vite-plugin-external

    • 1,954 additions / 212 deletions

      Results:

    • 493 unit tests passing (+28 new tests)

    • 25/27 E2E tests passing

    • CI green across all matrices

      Combined Impact 💥

      Metrics

    • Code Volume: 15,000+ SLOC (including docs)

    • Delivery Time: 24 hours

    • Test Coverage: 100% maintained (493 unit + 27 E2E)

    • Performance: 2-3x faster builds

    • Bundle Size: 78% reduction

    • Breaking Changes: 0 (fully backwards compatible)

      Foundation Established

      This release establishes the core foundation of WP Kernel:

    • ✅ Production-ready Resource API

    • ✅ Modern build tooling (Vite)

    • ✅ Comprehensive test coverage

    • ✅ Clean, maintainable architecture

    • ✅ Excellent developer experience

      What's Next

    • Sprint 2: Policies & Permissions

    • Phase 2 (Optional): Vitest migration

    • Phase 5 (Future): Actions-First enforcement


      Related PRs: Feature/28 kernel resources refactor #29 (Resources Refactor), feat(build): Migrate to Vite build tooling with proper WordPress externalization #32 (Vite Migration), fix: CI pnpm version mismatch and flaky E2E tests #33 (CI Fixes)
      Issues Closed: 16 total (Sprint 1: A1: Result Types & Errors #1-C4: CI & Docs Hooks #14, Sprint 1.5: Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28, Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30)
      Sprint Duration: Sept 30 - Oct 2, 2025

Patch Changes

[email protected]

Minor Changes

  • 443a65a: # Sprint 1 & 1.5 Complete: Resources, Vite, and Major Refactor 🚀

    Epic Delivery: 15,000+ SLOC in 24 hours including complete Resource API, Vite migration, and major refactor.

    Sprint 1: Resources & Stores (14 issues) ✅

    Complete implementation of the Resource API and WordPress Data integration:

    Features

    • Resource API: defineResource() with typed client generation

    • Data Store Integration: WordPress Data selectors/resolvers/actions

    • Event System: wpk.resource.request, wpk.resource.response, wpk.resource.error

    • Cache Management: Deterministic cache keys with invalidate() helper

    • Payload Optimization: _fields parameter support for trimming responses

    • Showcase Demo: Admin page with job listings, loading/error/empty states

      Quality

    • 465+ unit tests passing

    • 27 E2E tests passing (Playwright)

    • Full MSW integration tests

    • Zero console errors

    • All DoD criteria met

      Sprint 1.5: Build Tooling & Resources Refactor (2 issues) ✅

      Issue Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28: Resources Refactor 🎯

      Simplified module structure and improved developer experience:

      Structural Changes:

    • Renamed transport/http/ (clearer naming)

    • Renamed errors/error/ (singular collective noun)

    • Flattened resource/store/resource/store.ts (no deep nesting)

    • Consolidated cache utilities: invalidate.ts + cacheKeys.tscache.ts

      API Improvements:

    • Dual-Surface API: Thin-flat (90% use) + Grouped (power users)

    • Three Import Patterns: Scoped, namespace, flat aliases

    • Better DX: Cleaner imports, less cognitive load

      Results:

    • 383 unit tests passing

    • Zero breaking changes (backwards compatible)

    • 10,988 additions / 4,337 deletions

      Issue Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30: Vite Migration ⚡

      Modern build tooling with dramatic performance improvements:

      Performance Gains:

    • 2-3x faster builds: 15-20s → 5-8s (cold), 5s → 2s (incremental)

    • 📦 78% smaller bundles: 100KB+ → 22KB

    • 🎯 Proper externalization: WordPress packages → window.wp.*

      Developer Experience:

    • ✅ No more .js extensions in imports

    • ✅ Fast Vite dev mode with HMR

    • ✅ Build verification tests (peer dependencies)

    • ✅ Type declarations generated automatically

      Technical Changes:

    • Migrated all packages to Vite library mode

    • Created shared vite.config.base.ts

    • Fixed WordPress externalization with @kucrut/vite-for-wp

    • Added peer dependencies: rollup-plugin-external-globals, vite-plugin-external

    • 1,954 additions / 212 deletions

      Results:

    • 493 unit tests passing (+28 new tests)

    • 25/27 E2E tests passing

    • CI green across all matrices

      Combined Impact 💥

      Metrics

    • Code Volume: 15,000+ SLOC (including docs)

    • Delivery Time: 24 hours

    • Test Coverage: 100% maintained (493 unit + 27 E2E)

    • Performance: 2-3x faster builds

    • Bundle Size: 78% reduction

    • Breaking Changes: 0 (fully backwards compatible)

      Foundation Established

      This release establishes the core foundation of WP Kernel:

    • ✅ Production-ready Resource API

    • ✅ Modern build tooling (Vite)

    • ✅ Comprehensive test coverage

    • ✅ Clean, maintainable architecture

    • ✅ Excellent developer experience

      What's Next

    • Sprint 2: Policies & Permissions

    • Phase 2 (Optional): Vitest migration

    • Phase 5 (Future): Actions-First enforcement


      Related PRs: Feature/28 kernel resources refactor #29 (Resources Refactor), feat(build): Migrate to Vite build tooling with proper WordPress externalization #32 (Vite Migration), fix: CI pnpm version mismatch and flaky E2E tests #33 (CI Fixes)
      Issues Closed: 16 total (Sprint 1: A1: Result Types & Errors #1-C4: CI & Docs Hooks #14, Sprint 1.5: Kernel Resources Refactor: Simplified Structure + Dual-Surface API #28, Sprint 1.5: Migrate to Vite Build Tooling + Vitest #30)
      Sprint Duration: Sept 30 - Oct 2, 2025

Patch Changes

@pipewrk pipewrk closed this Oct 6, 2025
@pipewrk pipewrk deleted the changeset-release/main branch October 6, 2025 10:44
pipewrk added a commit that referenced this pull request Oct 6, 2025
- Closed PR #67 (incorrect 1.0.0 version)
- Deleted changeset-release/main branch
- Squashed 5 changesets into 1 minor changeset
- This will correctly bump from 0.1.1 → 0.2.0
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.

A3: Store Factory

1 participant