Skip to content

v0.6.0

Release Date: 2026-07-13

Overview

This release adds UpdateIdea support, custom field definitions API, functional options for update operations, and fixes for nested description objects.

Highlights

  • UpdateIdea - Update ideas via SDK and CLI with functional options
  • Custom Field Definitions - Query custom field definitions and options
  • Functional Options - Add option helpers for UpdateInitiative and UpdateStrategicModel
  • Description Fix - Handle nested DescriptionObject type in initiatives

Installation

go get github.com/grokify/aha-go@v0.6.0

What's New

UpdateIdea

Update ideas via SDK:

idea, err := client.UpdateIdea(ctx, "IDEA-123",
    aha.WithUpdateIdeaName("Updated Name"),
    aha.WithUpdateIdeaDescription("New description"),
    aha.WithUpdateIdeaStatus("Under consideration"),
    aha.WithUpdateIdeaCategories([]string{"category-id"}),
    aha.WithUpdateIdeaVisibility("public"),
)

Custom Field Definitions

Query custom field definitions and their options:

// List all custom field definitions
defs, err := client.ListCustomFieldDefinitions(ctx)

// List definitions for a specific product
defs, err := client.ListProductCustomFieldDefinitions(ctx, "PROD")

// List options for a select field
opts, err := client.ListCustomFieldOptions(ctx, "field-id")

Functional Options for Update Operations

New option helpers for UpdateInitiative:

aha.WithUpdateInitiativeName(name string)
aha.WithUpdateInitiativeDescription(desc string)
aha.WithUpdateInitiativeStatus(status string)
aha.WithUpdateInitiativeStartDate(t time.Time)
aha.WithUpdateInitiativeEndDate(t time.Time)
aha.WithUpdateInitiativeValue(value float64)
aha.WithUpdateInitiativeEffort(effort float64)
aha.WithUpdateInitiativeColor(color string)
aha.WithUpdateInitiativePresented(presented bool)

New option helpers for UpdateStrategicModel:

aha.WithUpdateStrategicModelName(name string)
aha.WithUpdateStrategicModelDescription(desc string)

Bug Fixes

Nested DescriptionObject

The Initiative description field now correctly parses the nested DescriptionObject.Body structure returned by the Aha API.

Dependency Compatibility

Pin fetchup v0.2.4 for go-rod v0.116.2 compatibility, fixing build errors with newer fetchup versions.

New SDK Methods

Method Description
UpdateIdea Update an existing idea
ListCustomFieldDefinitions List all custom field definitions
ListProductCustomFieldDefinitions List custom field definitions for a product
ListCustomFieldOptions List options for a select custom field

UpdateIdea Options

aha.WithUpdateIdeaName(name string)
aha.WithUpdateIdeaDescription(desc string)
aha.WithUpdateIdeaStatus(status string)
aha.WithUpdateIdeaCategories(categories []string)
aha.WithUpdateIdeaVisibility(visibility string)

New CLI Commands

Command Description
aha idea update Update an existing idea

Commits

Hash Description
8f62642 docs: add UpdateIdea and custom field definitions documentation
8633150 feat(cli): add idea update command
fac552f fix(deps): pin fetchup v0.2.4 for go-rod compatibility
ff7f9f8 docs(README): remove Go Report Card badge
d3dbf0e docs: add UpdateIdea to API reference
e97ed2c fix(initiative): handle nested DescriptionObject type
e676e3f feat: add functional options for update operations
f11d5f3 feat(api): add custom field definitions client
5d88fcd feat(idea): add UpdateIdea client method
5640892 chore: regenerate ogen client from updated spec
5274c17 feat(api): extend OpenAPI spec with UpdateIdea, custom fields, and schema fixes
1f5594c chore(deps): update dependencies

Upgrade Notes

This is a backward-compatible release. No breaking changes from v0.5.0.

Contributors