ga_sync 0.1.5
ga_sync: ^0.1.5 copied to clipboard
Sync Google Analytics event definitions between Google Sheets and your codebase. Generate type-safe Dart code from spreadsheet-managed GA events.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
0.1.5 - 2026-02-04 #
Changed #
- Updated README with comprehensive documentation
- Two spreadsheet formats (paired columns and legacy)
- Japanese headers and type names support
@ga_screen_classcomment annotation
0.1.4 - 2026-02-04 #
Added #
- New spreadsheet format support: paired parameter/type columns
- Header format: イベント名, パラメータ1, 型1, パラメータ2, 型2, ..., 説明, カテゴリ
- Supports unlimited number of parameters
- Empty parameter cells are automatically skipped
- Dropdown selections work seamlessly
- Backward compatible with legacy comma-separated format
0.1.3 - 2026-02-04 #
Added #
header_languageoption in config to switch between English and Japanese headers- Set
header_language: "ja"for Japanese headers - Set
header_language: "en"for English headers (default)
- Set
- Japanese type names support for event parameters:
- 文字列/テキスト → String
- 整数/数値 → int
- 小数 → double
- 真偽値/フラグ → bool
- マップ/辞書 → Map
- リスト/配列 → List
- Header translations:
- Events: イベント名, パラメータ, パラメータ型, 説明, カテゴリ
- Routes: パス, ルート名, 説明, 画面クラス, 最終更新
0.1.1 - 2026-02-04 #
Added #
@ga_screen_classcomment support for custom screen class names- When specified, takes priority over auto-detected class from builder
0.1.0 - 2024-02-04 #
Added #
- Initial release
ga_sync init- Create configuration filega_sync generate events- Generate Dart code from Google Sheets event definitionsga_sync sync routes- Sync go_router routes to Google Sheetsga_sync sync all- Run both generate and syncga_sync check- Check if generated code is up to date (for CI)- Support for
--dry-runoption - Support for custom config file path
- Google Sheets API integration with service account authentication
- go_router parser with
@ga_descriptioncomment support - GitHub Actions workflow examples
Supported Types #
string→Stringint,integer→intdouble,float,number→doublebool,boolean→boolmap→Map<String, dynamic>list→List<dynamic>