Skip to content

Dev - #18

Merged
shahar-brd merged 5 commits into
mainfrom
dev
Mar 24, 2026
Merged

Dev#18
shahar-brd merged 5 commits into
mainfrom
dev

Conversation

@shahar-brd

Copy link
Copy Markdown
Collaborator

feat!: restructure SDK with datasets service, lazy init, and subpath exports

BREAKING CHANGE: Services on bdclient (scrape, search, datasets) are now
lazy-initialized. While the public API is the same, code that inspects
property descriptors may behave differently.

karaposuand others added 5 commits March 24, 2026 12:57
…exports
- Add datasets service with 19 platform datasets (instagram, tiktok,
x/twitter, amazon, linkedin) ported from Python SDK
- Add 5 new scraper platforms (tiktok, youtube, reddit, digikey, perplexity)
- Switch bdclient to lazy service initialization via Object.defineProperty
- Add subpath exports (@brightdata/sdk/scrapers, /search, /datasets)
- Unify types with Zod schemas, fix error classification, add timeout config
- Add transport lifecycle guards and comprehensive logging
- Tests: 61 → 236
BREAKING CHANGE: Services on bdclient (scrape, search, datasets) are now
lazy-initialized. While the public API is the same, code that inspects
property descriptors may behave differently.
feat!: major SDK rewrite — new architecture, transport layer, datasets, platform scrapers, and full test suite
@shahar-brd
shahar-brd merged commit 6091b50 into mainMar 24, 2026
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@shahar-brd@karaposu