@@ -9,26 +9,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010## [ 2.0.0] - 2026-03-30
1111
12+ Major version — SDK rewritten to align with the new Rust-based VynCo API.
13+
1214### Added
1315
14- - 6 new resource modules (22 endpoints): auditors, dashboard, screening, watchlists, webhooks, exports, ai
15- - 9 new resource modules (41 endpoints): api_keys, credits, teams, billing, changes, persons, analytics, dossiers, graph
16- - 8 new company sub-endpoints: statistics, compare, news, reports, relationships, hierarchy, fingerprint, nearby
17- - ` Client::request_bytes() ` for binary file downloads
18- - ` ExportFile ` type for downloaded export data
16+ - ** 18 resource modules** covering 69 endpoints:
17+ - ` companies ` — list, get, count, events, statistics, compare, news, reports, relationships, hierarchy, fingerprint, nearby
18+ - ` auditors ` — history, tenures
19+ - ` dashboard ` — get
20+ - ` screening ` — screen
21+ - ` watchlists ` — list, create, delete, companies, add_companies, remove_company, events
22+ - ` webhooks ` — list, create, update, delete, test, deliveries
23+ - ` exports ` — create, get, download
24+ - ` ai ` — dossier, search, risk_score
25+ - ` api_keys ` — list, create, revoke
26+ - ` credits ` — balance, usage, history
27+ - ` billing ` — create_checkout, create_portal
28+ - ` teams ` — me, create, members, invite_member, update_member_role, remove_member, billing_summary
29+ - ` changes ` — list, by_company, statistics
30+ - ` persons ` — board_members
31+ - ` analytics ` — statistics, cantons, auditors, cluster, anomalies, rfm_segments, cohorts, candidates
32+ - ` dossiers ` — create, list, get, delete
33+ - ` graph ` — get, export, analyze
34+ - ` health ` — check
35+ - ` Client::request_bytes() ` for binary file downloads (exports, graph XML)
36+ - ` ExportFile ` type for downloaded export data with content-type and filename
1937- Company events via ` companies().events(uid, limit) ` (CloudEvents format)
20- - ` ErrorBody.instance ` field (RFC 7807)
21-
22- ### Changed
23-
24- - Base URL: ` https://api.vynco.ch/api/v1 ` → ` https://api.vynco.ch `
25- - Serde: Dropped ` rename_all = "camelCase" ` — API uses snake_case natively
26- - ` HealthResponse ` : now ` status ` , ` database ` , ` redis ` , ` version ` (was ` status ` , ` uptime ` , ` checks ` )
27- - ` Company ` : removed ` address ` , ` purpose ` ; added ` share_capital ` , ` industry ` ; fields now ` Option<String> `
28- - ` PagedResponse<T> ` : ` total_count: u64 ` → ` total: i64 ` , ` page_size: u32 ` → ` page_size: i64 `
29- - ` CompanyListParams ` : removed ` status ` , ` auditor_category ` , ` sort_by ` , ` sort_desc ` , ` target_status ` ; added ` changed_since ` ; page types i64
30- - ` ErrorBody ` : ` detail: String ` → ` Option<String> ` ; removed ` message ` ; added ` instance: Option<String> `
31- - Companies ` count() ` no longer takes params
38+ - Network graph and analysis endpoints
39+ - Sanctions screening against SECO, FINMA, OpenSanctions
40+ - AI-powered dossier generation, natural language search, multi-signal risk scoring
41+
42+ ### Changed (from v1.0.0)
43+
44+ - ** Base URL** : ` https://api.vynco.ch/api/v1 ` → ` https://api.vynco.ch `
45+ - ** ` Company ` ** : fields now ` Option<String> ` ; added ` share_capital ` , ` industry ` ; removed ` address ` , ` purpose `
46+ - ** ` Company ` + ` PagedResponse<T> ` ** : now use ` #[serde(rename_all = "camelCase")] `
47+ - ** ` PagedResponse<T> ` ** : ` total_count: u64 ` → ` total: i64 `
48+ - ** ` HealthResponse ` ** : now ` status ` , ` database ` , ` redis ` , ` version ` (was ` status ` , ` uptime ` , ` checks ` )
49+ - ** ` ErrorBody ` ** : ` detail ` is now ` Option<String> ` ; removed ` message ` ; added ` instance `
50+ - ** ` ResponseMeta ` ** : fixed ` X-RateLimit-Limit ` header name (was ` X-Rate-Limit-Limit ` )
3251
3352### Removed
3453
0 commit comments