v0.39.0
v0.39.0 -- Production Release
Released: 2026-06-30
Tag: v0.39.0
Branch: main
Type: Production Release
Previous Release: v0.38.0
Overview
Breaking Changes
No breaking changes in this release.
What's New
Features
- migrate from Stripe to PayMongo + docs restructure + env var fixes (#a2be252)
Stripe to PayMongo Migration- Replace entire Stripe integration with PayMongo payment gateway
- New src/lib/paymongo.ts (556 lines): customer management, subscriptions,
checkout sessions, webhooks with HMAC-SHA256 signature verification - New API routes: /api/paymongo/checkout, /api/paymongo/webhook,
/api/paymongo/cancel - New DB migrations: webhook_events table, paymongo columns on profiles
- Removed src/lib/stripe.ts and all /api/stripe/* routes
- Removed stripe npm dependency
- 44 new unit tests for PayMongo lib
TypeScript & Test Fixes - Added vitest/globals types to tsconfig.json (fixes 19 tsc errors in test files)
- Updated server-components.test.ts: settings/page.tsx and settings/billing/page.tsx
are now client components after PayMongo migration (moved to correct test groups)
Documentation Restructure - Moved flat docs/ files into organized subdirectories:
docs/guides/ (api-reference, authentication, database, deployment, security, etc.)
docs/architecture/ (adr/, diagrams/)
docs/getting-started/ (environment-variables, onboarding) - Added PLAN.md and business/plan.md
Environment & Config - Fixed text-amber-600 → text-warning-600 design token in settings page
- Set Vercel Production env vars: SUPABASE_SERVICE_ROLE_KEY, RESEND_API_KEY,
CRON_SECRET (all changed from empty sensitive to plain type)
Improvements
No improvements in this release.
Bug Fixes
No bug fixes in this release.
Other Changes
No other changes in this release.
Dependency Updates
No dependency updates in this release.
Migration Guide
Upgrading from v0.38.0 to v0.39.0
Step 1 -- Update your dependency
npm install agentflow@0.39.0
# or
yarn add agentflow@0.39.0Step 2 -- Review breaking changes
No breaking changes -- no additional steps required.
Release Stats
| Metric | Value |
|---|---|
| Commits since v0.38.0 | 1 |
| Files changed | |
| Additions / Deletions | +5071 / -2259 |
| Contributors | 2 |
Contributors
Thank you to everyone who contributed to this release.
- @dream-creator
- @ryandasalla1001
Resources
| Link | Description |
|---|---|
| Full Changelog | All commits in this diff |
| Report a Bug | Submit a bug report |
| Discussions | Questions and community |
Full Commit Log (v0.38.0 to v0.39.0)
a2be252 feat: migrate from Stripe to PayMongo + docs restructure + env var fixes