Skip to content

Commit 1fc5aa8

Browse files
committed
chore: release 2.5.2 - CSV export sanitization
1 parent 21e6a7b commit 1fc5aa8

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Bright Data Python SDK Changelog
22

3+
## Version 2.5.2 - Safer CSV exports
4+
5+
- **Security fix**: `export_csv()` (and `export()` for `.csv` files) now automatically escapes cell values that spreadsheet apps like Excel, Google Sheets, or LibreOffice could otherwise misinterpret as formulas, so scraped data can't unexpectedly trigger links or formulas when the exported file is opened.
6+
- **New `sanitize` option**: enabled by default (`sanitize=True`). Pass `sanitize=False` to `export_csv()` if you need the previous raw export behavior.
7+
38
## Version 2.5.1 - Lint cleanup
49

510
- **Chore**: pinned an explicit `ruff` lint rule scope (`select`) and sorted imports repo-wide. No behavior changes.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ where = ["src"]
77

88
[project]
99
name = "brightdata-sdk"
10-
version = "2.5.1"
10+
version = "2.5.2"
1111
description = "Modern async-first Python SDK for Bright Data APIs"
1212
authors = [{name = "Bright Data", email = "support@brightdata.com"}]
1313
license = {text = "MIT"}

0 commit comments

Comments
 (0)