Skip to content

Releases: prolific-oss/cli

v1.0.0

08 Apr 09:58
5be99fb

Choose a tag to compare

AI Task Builder

  • Add aitaskbuilder batch export command
  • Add aitaskbuilder batch update command

Collections

  • Update collection rendering
  • Ensure that workspace options default to viper config
  • Move collection renderers to /cmd

Core

  • Add submissions TUI list view
  • Add invitations support
  • Add interactive drill-down to submission-counts command
  • Make workspace required on hook create
  • Add participant group create command
  • Add researcher create-participant command

Filters

  • Move filter view to ./cmd/filters
  • Add filter-set create command
  • Use dedicated request model and fix selected_range serialization

Participant Groups

  • Add participant group remove command with bulk and file support
  • Address code review feedback

Hooks

  • Add hook create command
  • Add create-secret command
  • Add hook subscription delete command

Study

  • Unified output format flags
  • Move study ui renderer to ./cmd
  • Add study submission-counts command
  • Add demographic-export and test-study CLI commands
  • Add status code check and improve error handling for study commands
  • Align demographic-export and test-study with API docs

Submissions

  • Update submission rendering
  • Add submission transition and bulk-approve commands
  • Add --file flag to submission bulk-approve command

Survey

  • Add survey list command
  • Add survey view command
  • Add survey create command
  • Add survey delete command
  • Add interactive and JSON output modes to survey list

Workspaces

  • Add workspace balance command

0.0.66

27 Mar 15:37
d2f9982

Choose a tag to compare

What's changed

Templates

  • Add template list and view commands for browsing embedded study and collection examples

0.0.65

27 Mar 13:44
3877300

Choose a tag to compare

What's changed

Filters

  • Add non-interactive mode to filters command
  • Split renderList into interactive and non-interactive functions

Core

  • Add missing fields to study and filter models
  • Align weightings keys with selected_values in example
  • Handle unknown currency code in RenderMoney without panic
  • Remove the requirements command which is no longer supported

v0.0.64

26 Mar 14:35
cfb7192

Choose a tag to compare

What's Changed

Full Changelog: v0.0.63...v0.0.64

0.0.63

25 Mar 15:54
9c30723

Choose a tag to compare

What's Changed

  • docs(DCP-2585): add CONTRIBUTING.md and update cross-references by @script-this in #373
  • feat(DCP-2596): show cli version in release by @MrManning in #375

Full Changelog: v0.0.62...v0.0.63

0.0.62

19 Mar 11:17
892fd72

Choose a tag to compare

What's changed

Core

  • Add submission request-return command
  • Add min/max validation for free_text and free_text_with_unit instructions

0.0.61

11 Mar 14:53
fb353b6

Choose a tag to compare

What's changed

Study

  • Add study update command with JSON template support

Collections

  • Add exclusive option field to multiple choice instructions
  • Extract shared exclusive options validation logic
  • Remove exclusive options validation from CLI

0.0.60

04 Mar 12:27
74ea414

Choose a tag to compare

  • Maintenance and dependency updates

0.0.59

26 Feb 14:40
8853acf

Choose a tag to compare

What's changed

AI Task Builder

  • Add content_format field for rich text:
    • Support content_format on collection rich text content blocks (e.g. html, markdown)
    • Add typed ContentFormat constant and constants matching API (html/markdown)
    • Collection create/update and examples (JSON/YAML) support the new field
  • Create Collection study as draft:
    • Add --draft / -d flag to aitaskbuilder collection publish to create studies in draft/unpublished status without immediately publishing
    • Reassign -d shorthand from --description to --draft; --description remains long-form only

Study Creation

  • Fix filter serialization (DCP-2449):
    • Add omitempty to Filter struct fields so unused fields (title, description, question, type, data_type) are not sent as empty strings
    • Enables direct filter configuration (e.g. custom_allowlist) in study creation requests without API rejection

Developer Experience

  • Bump Go version to 1.26 across the project (go.mod, CI, Docker)
  • Bump slackapi/slack-github-action from 2.0.0 to 2.1.1
  • Configure gosec in .golangci.yml for taint analysis false positives (G702–G705); add targeted nolint where needed

0.0.58

16 Feb 16:11
a67ccc1

Choose a tag to compare

What's changed

AI Task Builder

  • Add file_upload instruction type support:
    • Create file upload instructions with configurable file types, size limits, and count constraints
    • Validate file extensions (must start with dot), positive file sizes, and min/max file counts
    • Render file upload responses with file metadata (name, size, content type, file key)
    • Full validation ensures max_file_count >= min_file_count and both must be >= 1
  • Add free_text_with_unit instruction type:
    • Supersedes deprecated multiple_choice_with_unit instruction type
    • Support unit selection with customizable unit options (e.g., kg/lbs, °C/°F, USD/EUR)
    • Configure unit position (prefix/suffix) and optional default unit
    • Properly typed UnitPosition enum with prefix and suffix constants
  • Add completion_codes support:
    • Support completion codes in batch and collection configurations
    • Fix omitempty handling for completion_code field
  • Improve response rendering:
    • Correctly handle all response types using unified Answer array structure
    • Display explanations for multiple_choice_with_free_text responses
    • Support empty/nil responses gracefully with fallback display
    • Update response model to match API schemas exactly (Zod schema compliance)
  • Add collection commands:
    • aitaskbuilder collection create - Create collections from JSON/YAML templates
    • aitaskbuilder collection update - Update existing collections
    • aitaskbuilder collection list - List all collections in a workspace
    • aitaskbuilder collection get - View collection details
    • aitaskbuilder collection preview - Open collection preview in browser
    • aitaskbuilder collection publish - Publish collections with study configuration
  • Improve collection support:
    • Add task_details validation for collections
    • Support content block types (rich_text, image) in collections
    • Correctly map collection schema with collection_items and page_items
    • Add comprehensive collection examples (JSON/YAML)
  • Breaking changes:
    • Removed multiple_choice_with_unit instruction type (superseded by free_text_with_unit)
    • Removed duplicate PageItemType constants (use InstructionType from collection.go)
    • Updated CollectionPageItem to reference InstructionType enum

Participant Management

  • Fix participant group list command to use workspace_id query parameter

Bonus Payments

  • Add bonus commands:
    • bonus create - Create bonus payments from CSV file or command-line arguments
    • bonus pay - Pay pending bonus payments
    • Validate bonus amounts (reject NaN and Inf values)
    • Support CSV file format with participant IDs and amounts
    • Document minor currency units in response fields
    • Add comprehensive CSV format examples to help output

Messaging

  • Add group messaging commands:
    • message bulk-send - Send messages to multiple participants
    • message send-group - Send messages to participant groups
  • Fix message API conformance (sender vs sender_id, datetime_created fields)
  • Add required flag validation to all message send commands

Developer Experience

  • Add CLAUDE.md with project guidelines for AI-assisted development
  • Rename CRUSH.md to DEVELOPMENT.md for clarity
  • Convert CLI command template to Claude Code skill
  • Add CLI command plan template

Bug Fixes

  • Fix goconst lint for shared test error string
  • Correct Go workflow badge on README
  • Improve feature access error detection and messaging
  • Fix collection item_count display in detail view