Repository navigation
Foundry CLI 0.2.3 – Tooling, API consistency & single-tenancy polish Latest
Boilerplate single-tenancy (React + API) + CLI
This release tightens the Foundry CLI and the single-tenancy stack: generated projects get the same name substitution in shell/Batch migration helpers and Docker Compose (.sh, .bat, .yml), not only in .cs / .json. The CLI README now matches the real flow—templates downloaded from GitHub Releases and cached under %LocalAppData%—and calls out how single-tenancy (open signup + email code verification) differs from multi-tenancy (invites / tenants).
Note: Executors and
templates.zipstay out of the repo and are published as release assets so clones stay small; the CLI pulls the right package when it runs.
Highlights
- Single-tenancy auth: remove the link-only confirm path; register → code by email →
VerifyEmail/ resend is the supported flow. - API: user-facing BoilerplateResponse / auth-related messages standardized to English (single + multi templates).
- Backend hygiene:
Boilerplate.Application.Dtosnamespace alignment; removed strayNewLevel.*DTO namespaces and the duplicate EmailDto in the multi-tenant Application project. - CLI: safer rename pass (only rewrite files that still contain
Boilerplate), removed unused temp cleanup, “Preparing templates…” messaging, and script + Compose files included in the replace step. - React (single): locale files trimmed to keys the app uses;
notifications.*aligned with CreateNotificationModal / NotificationCenter;apiClientimport / dead refresh-helper cleanup.
CLI: generated project files
After scaffolding, these now participate in Boilerplate → project name replacement (when they contain the placeholder):
apply-migrations-*.bat/apply-migrations-*.shcreate-migrations-*.bat/create-migrations-*.shdocker-compose.yml(e.g. container names / references)
For operators
- Ensure the release tag referenced by the CLI matches the
templates.zip(and optional executors) you publish for 0.2.2. - First run may require network access to download templates; later runs reuse the LocalAppData cache until the version folder changes or is deleted.
Upgrade notes (existing apps from older templates)
- Single-tenancy: if you still expose
GET confirm-email, clients or emails pointing to that URL should move to the code +POST VerifyEmailflow (or keep a custom link flow in your fork). - API clients that assumed Portuguese error strings may need to adjust expectations; messages are now English for consistency.
For day-to-day use, install or run the Foundry CLI to scaffold a project as usual; rely on GitHub Releases for packaged templates and executors instead of copying them from the repository.