Releases: prolific-oss/cli
Releases · prolific-oss/cli
v1.0.0
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
What's changed
Templates
- Add template list and view commands for browsing embedded study and collection examples
0.0.65
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
requirementscommand which is no longer supported
v0.0.64
What's Changed
- feat(DCP-2201): Add collection export command by @keyboSlice in #377
Full Changelog: v0.0.63...v0.0.64
0.0.63
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
0.0.61
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
- Maintenance and dependency updates
0.0.59
What's changed
AI Task Builder
- Add
content_formatfield for rich text:- Support
content_formaton collection rich text content blocks (e.g.html,markdown) - Add typed
ContentFormatconstant and constants matching API (html/markdown) - Collection create/update and examples (JSON/YAML) support the new field
- Support
- Create Collection study as draft:
- Add
--draft/-dflag toaitaskbuilder collection publishto create studies in draft/unpublished status without immediately publishing - Reassign
-dshorthand from--descriptionto--draft;--descriptionremains long-form only
- Add
Study Creation
- Fix filter serialization (DCP-2449):
- Add
omitemptytoFilterstruct 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
- Add
Developer Experience
- Bump Go version to 1.26 across the project (go.mod, CI, Docker)
- Bump
slackapi/slack-github-actionfrom 2.0.0 to 2.1.1 - Configure gosec in
.golangci.ymlfor taint analysis false positives (G702–G705); add targeted nolint where needed
0.0.58
What's changed
AI Task Builder
- Add
file_uploadinstruction 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_countand both must be >= 1
- Add
free_text_with_unitinstruction type:- Supersedes deprecated
multiple_choice_with_unitinstruction 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
UnitPositionenum withprefixandsuffixconstants
- Supersedes deprecated
- Add
completion_codessupport:- Support completion codes in batch and collection configurations
- Fix
omitemptyhandling for completion_code field
- Improve response rendering:
- Correctly handle all response types using unified Answer array structure
- Display explanations for
multiple_choice_with_free_textresponses - 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 templatesaitaskbuilder collection update- Update existing collectionsaitaskbuilder collection list- List all collections in a workspaceaitaskbuilder collection get- View collection detailsaitaskbuilder collection preview- Open collection preview in browseraitaskbuilder collection publish- Publish collections with study configuration
- Improve collection support:
- Add
task_detailsvalidation for collections - Support content block types (rich_text, image) in collections
- Correctly map collection schema with
collection_itemsandpage_items - Add comprehensive collection examples (JSON/YAML)
- Add
- Breaking changes:
- Removed
multiple_choice_with_unitinstruction type (superseded byfree_text_with_unit) - Removed duplicate
PageItemTypeconstants (useInstructionTypefrom collection.go) - Updated
CollectionPageItemto referenceInstructionTypeenum
- Removed
Participant Management
- Fix participant group list command to use
workspace_idquery parameter
Bonus Payments
- Add
bonuscommands:bonus create- Create bonus payments from CSV file or command-line argumentsbonus 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 participantsmessage 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.mdwith project guidelines for AI-assisted development - Rename
CRUSH.mdtoDEVELOPMENT.mdfor clarity - Convert CLI command template to Claude Code skill
- Add CLI command plan template
Bug Fixes
- Fix
goconstlint 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