v1.0.0
·
6 commits
to refs/heads/main
since this release
Gomodoro v1.0.0 Release Notes
We're excited to announce Gomodoro v1.0.0, a major milestone release that introduces a complete architectural transformation with GraphQL API integration.
๐ Major Features
GraphQL API Architecture
- Complete rewrite: Gomodoro now uses a GraphQL API as the core data layer
- Real-time communication: WebSocket subscriptions for live updates
- Unified interface: All operations now go through GraphQL
- Extensible: Build your own custom Pomodoro clients using the GraphQL API
๐ GraphQL Schema
The new GraphQL API provides comprehensive operations:
Tasks
tasks
: List all tasks (with pagination)task(id: ID!)
: Get specific taskcreateTask(input: CreateTaskInput!)
: Create new taskupdateTask(input: UpdateTaskInput!)
: Update existing taskdeleteTask(id: ID!)
: Delete task
Pomodoro Sessions
currentPomodoro
: Get active pomodoro sessionstartPomodoro(input: StartPomodoroInput!)
: Start new sessionpausePomodoro
: Pause current sessionresumePomodoro
: Resume paused sessionstopPomodoro
: Stop current session
Real-time Events
eventReceived(input: EventReceivedInput!)
: Subscribe to real-time events- Live updates for pomodoro state changes, task modifications, and more
๐ง Configuration Changes
New API Configuration
api:
addr: localhost:8080 # API server address
read_timeout: 30s # HTTP read timeout
write_timeout: 30s # HTTP write timeout
storage:
dir: ~/.gomodoro/data # Data storage directory
โ ๏ธ Breaking Changes
Task Storage Migration Required
Important: Task data format has changed. You must migrate your existing tasks.
Migration Command
grep -o 'name: .*' ~/.gomodoro/tasks.yaml | sed 's/name: //' | xargs -L 1 gomodoro add-task
Configuration Changes
- Some configuration keys may have changed
- Run
gomodoro init --stdout
to see the new configuration template
๐ Migration Guide
- Backup your data: Save your current
~/.gomodoro/tasks.yaml
- Update gomodoro: Install v1.0.0
- Migrate tasks: Run the migration command above