Skip to content

Releases: dayvsonlima/catuaba

v0.3.0

07 Mar 04:38

Choose a tag to compare

What's New

UI Component System

  • New reusable templ components: Button, Card, Badge, Table, EmptyState, PageHeader, DetailRow, BackLink, DeleteForm, Spinner, FormActions, ErrorPage
  • Redesigned all generated views (scaffold, auth, pages) using the component system
  • Improved flash messages, pagination, and form fields

MCP: UI Component Discovery

  • New resource catuaba://project/components — lists all templ components with signatures
  • New tool get_component — returns component list or full source code of a specific component
  • Claude now has full context of available UI components when working on Catuaba apps

Generators

  • Improved scaffold handlers with proper flash messages and error handling
  • Better migration templates with correct SQL types and defaults
  • Enhanced database connection handling

v0.2.0

06 Mar 14:14

Choose a tag to compare

Fixes

  • Go-idiomatic acronymsCamelize now produces ConversationID, UserID, APIURL, HTTPServer instead of ConversationId, UserId, ApiUrl, HttpServer. Supports all common Go acronyms: ID, URL, API, HTTP, HTTPS, HTML, CSS, JSON, XML, SQL, SSH, TCP, UDP, IP, URI, UUID, UID, CPU, GPU, OS, DB, IO, VM
  • CamelizeVar also fixed: conversationID, userID instead of conversationId, userId
  • Snakeze correctly handles ConversationIDconversation_id

v0.1.9

06 Mar 05:39

Choose a tag to compare

Fixes

  • catuaba upgrade now works reliably — bypasses Go module proxy cache (GOPROXY=direct), installs the exact version tag, and copies the binary to the same location as the running executable (fixes the case where ~/go/bin differs from where catuaba is installed)

v0.1.8

06 Mar 05:19

Choose a tag to compare

Fixes

  • Dev process managementmake dev now saves process PIDs to tmp/pids/ and kills previous dev processes before starting new ones, preventing orphan processes from accumulating
  • New make dev-stop target to manually stop all dev processes
  • Fallback cleanup kills anything on ports 8080/7331

v0.1.7

06 Mar 05:08

Choose a tag to compare

Fixes

  • catuaba new now auto-resolves dependencies — runs templ generate + go mod tidy automatically, so make build and make dev work immediately without manual steps
  • Resolves templ binary from GOPATH/bin when not in system PATH

v0.1.6

06 Mar 04:56

Choose a tag to compare

What's new

  • catuaba upgrade — new command to self-update to the latest version via go install

Fixes

  • Dev server startup — replaced wgo-based dev workflow with templ generate -watch -proxy -cmd, fixing race condition where parallel process startup caused repeated linker kills and the server never started
  • CSS MIME types — register static asset MIME types (text/css, text/javascript, etc.) in generated app init() to prevent browsers from rejecting CSS when X-Content-Type-Options: nosniff is set
  • Removed wgo dependency from generated Makefile

v0.1.5

06 Mar 04:20

Choose a tag to compare

Fixes

  • Fix @import "tailwindcss" failing with "Can't resolve 'tailwindcss'" in generated apps
  • Generated apps now include a package.json with tailwindcss and @tailwindcss/cli as devDependencies
  • Removed tailwind.config.js (v3 artifact) — content paths use @source in input.css (Tailwind v4 syntax)
  • make dev and make build auto-run npm install if node_modules/ is missing

Upgrade

go install github.com/dayvsonlima/[email protected]

For existing apps, create a package.json:

{
  "private": true,
  "devDependencies": {
    "tailwindcss": "^4.0.0",
    "@tailwindcss/cli": "^4.0.0"
  }
}

Then run npm install and you can delete tailwind.config.js.

v0.1.4

06 Mar 04:14

Choose a tag to compare

Fix

  • Fix make dev / make build failing with wgo: No such file or directory or templ: No such file or directory
  • The export PATH approach in Makefile does not propagate to recipe commands — now uses inline PATH="$(GOBIN):$PATH" prefix on each command that needs wgo/templ

Upgrade

go install github.com/dayvsonlima/[email protected]

v0.1.3

06 Mar 04:07

Choose a tag to compare

Fix

  • make dev now adds $GOPATH/bin to PATH so auto-installed wgo and templ are found immediately

Install

go install github.com/dayvsonlima/[email protected]

Full Changelog

v0.1.2...v0.1.3

v0.1.2

06 Mar 03:53

Choose a tag to compare

What's Changed

  • make dev now auto-installs wgo and templ if not found in PATH
  • Added make setup to explicitly install dev dependencies

Install

go install github.com/dayvsonlima/[email protected]

Full Changelog

v0.1.1...v0.1.2