Skip to content

Releases: Sunpeak-AI/sunpeak

v0.19.10

Choose a tag to compare

@abewheel abewheel released this 10 Apr 14:09

What's Changed

  • Overhaul docs tabs: Overview, Testing, App Framework, MCP Apps by @abewheel in #45

Full Changelog: v0.19.9...v0.19.10

v0.19.4

Choose a tag to compare

@abewheel abewheel released this 08 Apr 16:22

What's Changed

Full Changelog: v0.19.3...v0.19.4

v0.19.2

Choose a tag to compare

@abewheel abewheel released this 06 Apr 22:03

What's Changed

  • Add visual regression testing and unify sunpeak test CLI by @abewheel in #37

Recommended upgrades to package.json scripts:

// Old (still works, just bypasses the sunpeak CLI)
"test": "vitest run",
"test:e2e": "playwright test",
"test:live": "playwright test --config tests/live/playwright.config.ts"
// New (recommended)
"test": "sunpeak test",
"test:unit": "sunpeak test --unit",
"test:e2e": "sunpeak test --e2e",
"test:visual": "sunpeak test --visual",
"test:live": "sunpeak test --live"

Full Changelog: v0.19.1...v0.19.2

v0.19.1

Choose a tag to compare

@abewheel abewheel released this 06 Apr 17:30

⚠️ Breaking changes in 0.19.0 ⚠️

sunpeak is now a first-class MCP App server testing framework with or without the broader sunpeak framework and runtime!

Changes:

  • sunpeak/test is now the mcp fixture (was the live fixture). E2e tests import from here.
  • sunpeak/test/config is now defineConfig() (was defineLiveConfig()). Playwright configs import from here.
  • Live test imports moved to sunpeak/test/live and sunpeak/test/live/config.
  • jsdom replaced with happy-dom in vitest configs.
  • helpers.ts and global-setup.ts removed from template e2e tests. The mcp fixture handles URL construction and dev overlay suppression.

Upgrade instructions:

# playwright.config.ts
- import { defineConfig, devices } from '@playwright/test';
- export default defineConfig({ ... });
+ import { defineConfig } from 'sunpeak/test/config';
+ export default defineConfig();

# tests/e2e/*.spec.ts
- import { test, expect } from '@playwright/test';
- import { createInspectorUrl } from './helpers';
+ import { test, expect } from 'sunpeak/test';

- for (const host of ['chatgpt', 'claude']) {
-   test('renders', async ({ page }) => {
-     await page.goto(createInspectorUrl({ simulation: 'show-albums', theme: 'light', host }));
-     const iframe = page.frameLocator('iframe').frameLocator('iframe');
-     await expect(iframe.locator('h1')).toBeVisible();
-   });
- }
+ test('renders', async ({ mcp }) => {
+   const result = await mcp.callTool('show-albums', {}, { theme: 'light' });
+   await expect(result.app().locator('h1')).toBeVisible();
+ });

# tests/live/playwright.config.ts
- import { defineLiveConfig } from 'sunpeak/test/config';
+ import { defineLiveConfig } from 'sunpeak/test/live/config';

# tests/live/*.spec.ts
- import { test, expect } from 'sunpeak/test';
+ import { test, expect } from 'sunpeak/test/live';

# vitest.config.ts
- environment: 'jsdom',
+ environment: 'happy-dom',

# package.json
- "jsdom": "^29.0.1",
+ "happy-dom": "^18.0.1",

# Delete these files (no longer needed):
# tests/e2e/helpers.ts
# tests/e2e/global-setup.ts

What's Changed

Full Changelog: v0.18.16...v0.19.1

v0.18.14

Choose a tag to compare

@abewheel abewheel released this 02 Apr 18:17

What's Changed

  • Fix enableJsonResponse for Node.js production handler by @abewheel in #34

Full Changelog: v0.18.13...v0.18.14

v0.18.13

Choose a tag to compare

@abewheel abewheel released this 02 Apr 17:15

What's Changed

  • Document --prod-tools flag in sunpeak dev CLI docs by @abewheel in #31
  • Fix gaps in create-sunpeak-app skill reference by @abewheel in #32
  • Expose enableJsonResponse in production server config by @abewheel in #33

Full Changelog: v0.18.12...v0.18.13

v0.18.12

Choose a tag to compare

@abewheel abewheel released this 01 Apr 17:26

Full Changelog: v0.18.11...v0.18.12

v0.18.9

Choose a tag to compare

@abewheel abewheel released this 29 Mar 20:19

What's Changed

  • Improve error messages for common dev server issues by @abewheel in #27

Full Changelog: v0.18.8...v0.18.9

v0.18.7

Choose a tag to compare

@abewheel abewheel released this 26 Mar 19:51

What's Changed

  • Add dev overlay with resource timestamps and tool timing by @abewheel in #26

Full Changelog: v0.18.6...v0.18.7

v0.18.6

Choose a tag to compare

@abewheel abewheel released this 26 Mar 01:10

What's Changed

  • Sync Claude host shell with production, fix theme switching by @abewheel in #25

Full Changelog: v0.18.5...v0.18.6