Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 May 14:08
· 6 commits to refs/heads/main since this release
f495732

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 task
  • createTask(input: CreateTaskInput!): Create new task
  • updateTask(input: UpdateTaskInput!): Update existing task
  • deleteTask(id: ID!): Delete task

Pomodoro Sessions

  • currentPomodoro: Get active pomodoro session
  • startPomodoro(input: StartPomodoroInput!): Start new session
  • pausePomodoro: Pause current session
  • resumePomodoro: Resume paused session
  • stopPomodoro: 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

  1. Backup your data: Save your current ~/.gomodoro/tasks.yaml
  2. Update gomodoro: Install v1.0.0
  3. Migrate tasks: Run the migration command above