This document outlines the planned improvements for tap-wordpress-org, focusing on stability, performance, and feature enhancements while maintaining backward compatibility.
- ✅ Add configurable request delays to prevent overwhelming the API
request_delayparameter (default: 0.1 seconds)- Helps with courtesy rate limiting
- Status: COMPLETED
Note: Field filtering was investigated but removed as WordPress.org API doesn't support field-level filtering via fields parameter. This discovery prevents users from expecting functionality that the upstream API cannot provide.
- ✅ Add graceful degradation for malformed API responses
- ✅ Enhanced data transformations
- HTML entity decoding (– → –, & → &)
- Normalize boolean fields to null consistently
- Handle invalid date values (0000-00-00)
- ✅ Validate required fields before processing records
- Skip records missing critical fields like
slug - Log warnings for skipped records
- Skip records missing critical fields like
- Note: Retry logic leverages Meltano SDK's built-in mechanisms
- Status: COMPLETED
- Add integration tests for all 8 streams
- Create mock API responses for comprehensive testing
- Add tests for edge cases:
- Empty responses
- Malformed data
- Network timeouts
- Large datasets
- Add plugin/theme filtering capabilities:
min_active_installs: 1000 min_rating: 4.0 plugin_tags: ["security", "performance"] exclude_plugins: ["plugin-to-skip"] theme_status: "active"
- Add browse filters for plugins:
plugin_browse_filter: popular, new, updated, top-rated- Aligns with WordPress.org browse options
- Individual Plugin Stats Stream
- Endpoint:
/stats/plugin/1.0/downloads.php?slug={slug} - Provides detailed download history per plugin
- Endpoint:
- Plugin Reviews Stream
- Endpoint:
/plugins/info/1.2/?action=query_plugins&request[reviews]=1 - Extracts user reviews and ratings
- Endpoint:
- Enhanced data transformations:
- Normalize boolean fields consistently
- Convert "0000-00-00" dates to null
- Clean HTML entities in all text fields
- Add data validation:
- Validate URLs
- Check version number formats
- Ensure numeric fields are properly typed
- Create detailed configuration guide with examples
- Add troubleshooting section:
- Common errors and solutions
- Performance tuning tips
- API limitations and workarounds
- Create example Meltano projects:
- Basic plugin monitoring setup
- Theme analytics pipeline
- WordPress ecosystem dashboard
- Add metrics collection (optional):
- Records extracted per stream
- API response times
- Error rates
- Enhanced logging:
- Progress indicators for large extractions
- Summary statistics at completion
- Detailed debug mode
- Pre-built configurations for common use cases:
- "Popular plugins only" (1M+ installs)
- "Recently updated" (last 30 days)
- "Security plugins" (by tag)
- "Premium themes" (commercial tag)
- ✅ Request delays and enhanced error handling
- Comprehensive testing
- Documentation updates
- Advanced filtering options
- Data quality improvements
- Configuration templates
- New streams (plugin stats, reviews)
- Metrics collection
- Performance benchmarking
All improvements will maintain backward compatibility:
- New configuration options will have sensible defaults
- Existing configurations will continue to work unchanged
- Schema changes will be additive only
- Version bump to 0.2.0 after major features
- ✅ Zero breaking changes for existing users
- ✅ Improved stability with error resilience
- ✅ Better data quality with transformations
- 90%+ test coverage
- Comprehensive documentation
- Active community engagement
- Phase 1 (✅ Complete): Core improvements (request optimization, error handling)
- Phase 2: Feature additions (advanced filtering, data quality)
- Phase 3: Documentation and user experience improvements
- Ongoing: Community feedback and iteration
This roadmap ensures tap-wordpress-org remains stable while evolving to meet user needs and establishing it as the definitive WordPress.org data extraction tool for the Meltano ecosystem.