Skip to content

Commit 3fd3b4a

Browse files
chore: bump version to v0.4.0 [ci skip]
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3698393 commit 3fd3b4a

File tree

3 files changed

+374
-172
lines changed

3 files changed

+374
-172
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.0] - 2025-11-23
11+
12+
### Added
13+
14+
#### Websets API Support
15+
- **Complete Websets CRUD operations** - Full implementation of Websets API with create, retrieve, list, update, delete, and cancel operations
16+
- **Webset Searches** - Create, retrieve, and cancel searches within websets with entity type support, custom criteria, and recall modes
17+
- **Webset Items** - List, retrieve, and delete items in websets with expand parameter support
18+
- **Webset Enrichments** - Full CRUD operations for enrichments with support for text, URL, and options formats
19+
- **Parameter validation** - Client-side validation for webset creation and search operations with custom entity type support
20+
- **Resource expansion** - Optional expand parameter to include nested resources (e.g., items) in webset responses
21+
22+
#### CLI Enhancements
23+
- **Webset commands** - Complete CLI interface for websets (create, get, list, update, delete, cancel)
24+
- **Webset search commands** - CLI for search operations (create, get, cancel) with wait flag for polling
25+
- **Webset item commands** - CLI for item operations (list, get, delete)
26+
- **Enrichment commands** - Full CLI suite for enrichments (create, get, list, update, delete, cancel)
27+
- **Find similar command** - New CLI command for finding content similar to a URL
28+
- **Improved help output** - Organized command categories with examples for better discoverability
29+
- **File loading support** - Support for @file.json syntax in CLI for loading JSON parameters from files
30+
31+
#### Testing Infrastructure
32+
- **WebsetsCleanupHelper** - Automatic resource cleanup for integration tests to prevent test interference
33+
- **Minitest fail-fast** - Added minitest-fail-fast gem for faster test development workflow
34+
- **Comprehensive integration tests** - Full test coverage for websets, searches, items, and enrichments (536+ tests)
35+
- **Improved test queries** - Updated to use realistic, domain-specific queries instead of generic placeholders
36+
- **VCR improvements** - Better cassette management with :once record mode to prevent unnecessary API calls
37+
38+
#### Infrastructure
39+
- **WebsetsParameterConverter** - Snake_case to camelCase conversion for webset parameters
40+
- **WebsetFormatter** - Output formatting for websets in json/pretty/text formats
41+
- **EnrichmentFormatter** - Output formatting for enrichments with status helper methods
42+
- **WebsetItemFormatter** - Formatting for individual webset items
43+
- **Cursor-based pagination** - Support for cursor-based pagination in webset listing
44+
45+
### Changed
46+
- **Test development workflow** - Updated guidelines for when to run full test suite vs. single tests
47+
- **VCR configuration** - Changed from :new_episodes to :once mode to prevent accidental API token usage
48+
- **Authentication** - Uses x-api-key header (carried forward from 0.3.1)
49+
50+
### Fixed
51+
- **Test isolation** - Improved EXA_API_KEY handling with proper preservation and restoration
52+
- **Test data realism** - Fixed API errors by using realistic queries instead of generic test data
53+
- **CLI integration tests** - Converted to smoke tests with proper API key handling
54+
- **VCR cassette recording** - Fixed debug logging contamination in VCR cassettes
55+
- **Enrichment format support** - Updated to use supported formats (text, url, options) and removed unsupported email/phone formats
56+
1057
## [0.3.1] - 2025-10-28
1158

1259
### Added

test/integration/cli_executables_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_exa_ai_help
1818

1919
assert status.success?, "exa-ai --help should exit successfully"
2020
assert_includes stdout, "Exa CLI"
21-
assert_includes stdout, "Commands:"
21+
assert_includes stdout, "Core Search:"
2222
assert_includes stdout, "search"
2323
assert_includes stdout, "answer"
2424
assert_includes stdout, "context"

0 commit comments

Comments
 (0)