Files
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

45 lines
1.9 KiB
Markdown

# Changelog
## [1.0.4] - 2026-05-13
### Fixed
- Global `dart pub global` installs: locate `templates/` from the package root containing `pubspec.yaml` (not under `lib/`).
## [1.0.3] - 2026-05-13
### Fixed
- Template directory resolution for `dart pub global` snapshot installs; fail fast when the bundle is missing instead of emitting placeholders.
### Added
- Generated repo-root `AGENTS.md` and `lefthook.yaml` (from `templates/root/`).
## [1.0.2] - 2026-05-13
### Changed
- Interactive wizard collects the remaining `project-brief.yaml` fields (design, API docs, features, conditional E2E tool and locales) and pins `cursor_templates_version` from a single `kCursorTemplatesVersion` constant.
## [1.0.1] - 2026-05-13
### Fixed
- Resolve bundled templates for local, Git, and hosted/global installs so generated files contain real content instead of `Template not found` placeholders.
### Changed
- Document global `cursor_gen` installation and usage across the README and generated guidance.
- Include a package-local template copy for pub.dev publishing.
## [1.0.0] - 2025-01-01
### Added
- Initial release of flutter-cursor-templates
- Support for BLoC, Riverpod, GetX, Hooks+Riverpod state management
- Support for Clean, Feature-First, MVVM, MVC, Layered architectures
- Support for Firebase, Supabase, REST backends
- GoRouter, GetX Navigation, Auto Route routing templates
- Platform targets: iOS, Android, Web, Desktop
- Code generation templates: Freezed, json_serializable, Injectable, Retrofit
- Security standards as always-on rules (Pillar 5)
- Template versioning with lock file (Pillar 1)
- Override/customization layer with CURSOR:CUSTOM markers (Pillar 2)
- Generator test suite with golden files (Pillar 3)
- Multi-platform & codegen awareness in brief schema (Pillar 4)
- Opt-in telemetry and feedback loop (Pillar 6)
- i18n / localization rules
- Global error handling rules
- Interactive CLI wizard
- Brief JSON Schema for IDE autocomplete