Skip to content

docs(readme): align with v6 SDK surface#88

Merged
mourraille merged 1 commit into
v6from
fix/readme-v6
May 14, 2026
Merged

docs(readme): align with v6 SDK surface#88
mourraille merged 1 commit into
v6from
fix/readme-v6

Conversation

@mourraille
Copy link
Copy Markdown
Collaborator

Summary

Aligns the v6 branch README with the actual v6 SDK surface and the published v6.0.0 release notes.

  • Fix incorrect constructor optiontimeout: 30000timeoutInSeconds: 30.
  • Add constructor options table including the new auth option (custom AuthProvider).
  • Fix fetcherfetch — the SDK option is fetch, not fetcher; updated the main example and all three sub-examples (node-fetch, undici, interceptors).
  • Fix two stray from 'getbrevo/brevo' imports'@getbrevo/brevo' (in Logging and Migration sections).
  • Replace stale v3 → v4 migration section with a proper v5 → v6 upgrade guide reflecting the actual breaking changes (companies filter rename, createBatchEvents payload wrap, balance/CRM/model changes). Kept the v3 → v6 example for legacy callers.
  • Updated the v3 deprecation warning to recommend migrating to v6.x (was v4.x).

Test plan

  • Render the README on the v6 branch and confirm formatting.
  • Verify code snippets compile against the v6 SDK surface (option names, payload shapes).

🤖 Generated with Claude Code

- Fix `timeout` → `timeoutInSeconds` and add constructor options table (including new `auth` option).
- Fix `fetcher` → `fetch` (correct option name in v5/v6).
- Fix two stray `from 'getbrevo/brevo'` imports → `'@getbrevo/brevo'`.
- Replace stale v3→v4 migration section with a v5→v6 upgrade guide reflecting the actual breaking changes; keep v3→v6 example for legacy callers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mourraille mourraille merged commit dfafa8b into v6 May 14, 2026
3 checks passed
Sign up for free to 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.

1 participant