# Changelog of Government Tender Scraper (`happitap/government-tender-scraper`) Actor

- **URL**: https://apify.com/happitap/government-tender-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/happitap/government-tender-scraper.md

## Changelog

All notable changes to this project will be documented in this file.

### \[1.0.0] - 2024-01-20

#### Added

- Initial release of Government Tender Scraper
- Multi-portal support for 5 countries/regions:
  - USA (SAM.gov)
  - European Union (TED)
  - United Kingdom (Find a Tender)
  - India (CPPP/GePNIC)
  - Canada (CanadaBuys)
- Adapter/Plugin pattern architecture
- Unified output schema across all portals
- Smart deduplication with state persistence
- Keyword filtering (include/exclude)
- Date range filtering (published and deadline)
- Value-based filtering (min/max)
- Detail page scraping
- Document/attachment tracking
- Webhook notifications for new tenders
- Proxy support with Apify proxy integration
- Error handling with classification
- Retry logic with exponential backoff
- Metrics collection and reporting
- Incremental crawling support
- Comprehensive documentation
- Example input configurations

#### Features

- **BaseAdapter** - Abstract base class for all adapters
- **AdapterRegistry** - Dynamic adapter registration system
- **TenderCrawler** - Main crawler engine with routing
- **DedupeManager** - Deduplication across runs
- **MetricsCollector** - Statistics tracking
- **ErrorHandler** - Error classification and logging
- **WebhookNotifier** - Webhook integration with HMAC signatures
- **InputValidator** - Input validation and normalization

#### Portal-Specific Features

- **SAM.gov** - API-based scraping with NAICS codes
- **TED** - CPV code support, multi-language handling
- **Find a Tender** - UK-specific procurement types
- **CPPP** - Indian Rupee value parsing (Lakh/Crore)
- **CanadaBuys** - Canadian regional filtering

#### Technical

- Built with Apify SDK 3.x
- Crawlee 3.x for crawling
- Cheerio for HTML parsing
- Axios for HTTP requests
- Date-fns for date handling
- Crypto for hashing and signatures

### \[Unreleased]

#### Planned Features

- Attachment download support
- Historical backfill mode
- Change tracking (amendments/updates)
- Multi-country search in single run
- Export to Google Sheets/Airtable
- AI-powered tender summarization
- Relevance scoring
- Company profile matching
- Advanced search operators
- Custom field extraction
- Email notifications
- Slack/Teams integration
- Dashboard/visualization
- API endpoint mode
