Files
cursor_gen/flutter-cursor-templates/generator/CHANGELOG.md
T
mansi.kansara 44b5d814d4 chore: bump cursor_templates_version to 1.0.4 and update related files
- Updated cursor_templates_version in project-brief.yaml to 1.0.4 for reproducibility.
- Enhanced CHANGELOG with fixes and features for version 1.0.4, including improved template resolution for global installs.
- Updated pubspec.yaml and VERSION file to reflect the new version.
- Added new templates for AGENTS.md and lefthook.yaml to the generator.
- Adjusted tests to include new root-level files in the output.

This release addresses template resolution issues and introduces new repo-level configuration files.
2026-05-14 12:25:13 +05:30

29 lines
1.3 KiB
Markdown

# Changelog
## 1.0.4
- Fix package-root detection for template resolution: walk up from the resolved `package:cursor_gen/...` file until `pubspec.yaml` is found (global installs were incorrectly using `lib/templates`).
## 1.0.3
- Resolve template bundle by sentinel file (`rules/universal/flutter-core.mdc.tmpl`); prefer package `templates/` first for global installs; exit with a clear error instead of writing placeholder-only output.
- Generate repo-root `AGENTS.md` and `lefthook.yaml` from `templates/root/`.
- Golden tests now `await` async golden comparison so repo-root goldens are written reliably.
## 1.0.2
- Wizard aligns with full brief schema; shared `kCursorTemplatesVersion` for lock file and generated brief.
## 1.0.1
- Fix default template resolution so generated projects use bundled templates instead of writing `Template not found` placeholders.
- Include templates in the published package so hosted/global installs can generate real content.
- Add a regression test for the generated `hooks/arch-guard.ts` content.
- Improve installation docs for global `cursor_gen` usage.
## 1.0.0
- Initial published release of the `cursor_gen` CLI.
- Generates `.cursor/` rules and related config from `project-brief.yaml`.
- Supports validate, generate, refresh (preserve customizations), diff preview, wizard, and update checks.