# Changelog of LinkedIn Company Employees: AI & Lead Enrichment Scraper (`jobscrawler/linkedin-company-employees`) Actor

- **URL**: https://apify.com/jobscrawler/linkedin-company-employees/changelog.md
- **Full Actor documentation**: https://apify.com/jobscrawler/linkedin-company-employees.md

## Changelog

### \[1.1.0] - 2025-05-21

#### Added

- Added `src/schema/input.js` — dedicated input validation module replacing inline validation in `main.js`
- Added `src/errors/` — `ScraperError`, `ErrorTypes`, `ErrorHandler` modules for structured error handling

#### Changed

- Refactored `main.js` to use `validateInput()` from `src/schema/input.js`
- Extracted ad extraction logic to `src/utils/extraction.js`
- Route handler moved to `src/routes.js` with clean separation of concerns
- Improved README.md with accurate input/output documentation
- Dataset schema views updated for Apify Storage table display

#### Fixed

- Scroll pagination handles edge cases where LinkedIn renders ads lazily
- Country parameter correctly appended to search URL query string

### \[1.0.0] - 2025-03-15

#### Added

- Initial release: LinkedIn Ad Library scraper
- Scrapes public ads from `linkedin.com/ad-library/search` for a given advertiser query
- Infinite-scroll extraction using `button.infinite-scroller__show-more-button`
- Extracts advertiser name, ad text, ad format, media URL, media title, and link
- Configurable `maxItems`, `query`, and `country` inputs
- Apify dataset integration with structured output
