Skip to content

Releases: hatappi/gomodoro

v1.0.4

16 Aug 05:09
38e81c9
Compare
Choose a tag to compare

What’s Changed

v1.0.3

06 Aug 13:06
8e05369
Compare
Choose a tag to compare

What's Changed

  • #286 Add GitHub Pull Request template with WHAT/WHY sections (@hatappi)
  • #285 Refactor GraphQL time fields from Duration to Int seconds (@hatappi)

⚠️ Breaking Changes

GraphQL API Changes - Time Fields Refactored (#285)

Field Name Changes:

  • remainingTimeremainingTimeSec (Duration → Int)
  • elapsedTimeelapsedTimeSec (Duration → Int)

Affected GraphQL Types:

  • Event type
  • Pomodoro type

Schema Changes:

  • Removed custom Duration scalar type
  • All time fields now return integer values representing seconds
  • Simplified time representation for better cross-language compatibility

Files Modified:

  • internal/client/graphql/fragments/event.graphql
  • internal/client/graphql/fragments/pomodoro.graphql
  • Conversion functions in internal/client/graphql/conv/

Migration Required:

  1. Update GraphQL queries to use new field names (remainingTimeSec, elapsedTimeSec)
  2. Handle integer seconds instead of duration strings in your client code
  3. Convert to appropriate time units in your application (e.g., minutes = seconds / 60)

Impact: All clients using GraphQL API timer queries must be updated to use the new field names and handle integer time values.

v1.0.2

09 Jun 14:26
89ba73e
Compare
Choose a tag to compare

What’s Changed

  • #277 Fix remaining time calculation by converting to seconds before computing minutes and seconds (@hatappi)

v1.0.1

31 May 13:41
977cc91
Compare
Choose a tag to compare

What’s Changed

  • #272 Add foreground color option for selected task in renderTasks (@hatappi)

v1.0.0

30 May 14:08
f495732
Compare
Choose a tag to compare

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

v0.9.44

27 Dec 13:55
383aed6
Compare
Choose a tag to compare

What’s Changed

📦 Dependencies

  • #233 chore(deps): bump github.com/reviewdog/reviewdog from 0.17.5 to 0.20.3 (@dependabot)
  • #232 chore(deps): bump github.com/golangci/golangci-lint from 1.62.0 to 1.62.2 (@dependabot)

v0.9.43

18 Nov 13:36
c30cf02
Compare
Choose a tag to compare

What’s Changed

📦 Dependencies

  • #216 chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (@dependabot)

v0.9.42

10 Nov 07:00
3605361
Compare
Choose a tag to compare

What’s Changed

Breaking Changes

v0.9.41

30 Jun 15:20
51ca0f9
Compare
Choose a tag to compare

What’s Changed

v0.9.40

30 Jun 15:14
79e6fa4
Compare
Choose a tag to compare

What’s Changed

  • No changes