Skip to content

v1.1.0

Choose a tag to compare

@7nohe 7nohe released this 19 Jul 02:20
649650a

Guren 1.1.0

The first minor release since 1.0. Headline: every new app now ships with an AI agent harness by default.

AI agent harness by default (#91)

  • create-guren-app now installs the harness automatically after scaffolding: a CLAUDE.md project guide, source-verified .claude/rules/, skills and subagents, .mcp.json wired to the dev server's MCP endpoint, and a verification loop — the guren context project map loads at session start, and guren check re-runs after edits to routes, controllers, models, schema, or pages, feeding failures straight back to the coding agent.
  • New commands: bunx guren agent:init retrofits the harness into any existing app; bunx guren agent:sync refreshes framework-managed files (rules, skills, agents, hooks) while leaving CLAUDE.md, .mcp.json, and .claude/settings.json untouched.
  • Docs: CLI guide → AI Agent Harness

@/ now resolves from the project root (#89)

  • Scaffolded code imports @/.guren/pages.gen, @/app/Http/Resources/... — deep ../../.. relative imports are gone.
  • Apps created on 1.0.0: update tsconfig.json paths to "@/*": ["./*"] so newly scaffolded code resolves. guren doctor detects this and can autofix.

Inertia SSR on serverless (#96)

  • SSR bundles are now self-contained (ssr.noExternal defaults to true), so server rendering works on Vercel and Lambda where function directories ship without node_modules.
  • @guren/plugin-vercel pins NODE_ENV to production at bundle time, and production HTML no longer emits the dev React import map.

Fixes

  • QueryBuilder.firstOrFail() throws ModelNotFoundException and renders 404 instead of 500 (#88)
  • Validation errors on Inertia requests redirect with the error bag instead of surfacing a raw JSON 422 in the Inertia error modal — InertiaServiceProvider is auto-registered (#90)

Versions

Package Version
@guren/server, @guren/cli, create-guren-app 1.1.0
@guren/orm, @guren/inertia-client 1.0.1
@guren/plugin-vercel 0.1.1

@guren/core and @guren/testing remain 1.0.0 — their dependency ranges already cover the new versions.

Getting started

bun create guren-app my-app
cd my-app && bun run dev

Docs: https://gurenjs.vercel.app