You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+8-39
Original file line number
Diff line number
Diff line change
@@ -7,51 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_)
9
9
10
-
## [8.0.1] - revision 2024-05-15
10
+
## [9.0.0] - revision 2024-06-15
11
11
12
12
### Added
13
+
- Segments Api
14
+
- New create segment endpoint `SegmentsApi.createSegment()`.
15
+
- New delete segment endpoint `SegementsApi.deleteSegment()`.
16
+
- Updated exisiting segments endpoints to include the segment definition
17
+
- For more information, see our [Segments API overview](https://developers.klaviyo.com/en/reference/segments_api_overview).
13
18
14
-
- Fixes issue where `filter` query params for any API call were being duplicated on request send. See issue: https://github.com/klaviyo/klaviyo-api-python/issues/51
19
+
- Flows Api
20
+
- New delete flows endpoint `FlowsApi.deleteFlow()`
15
21
16
-
## [8.0.0] - revision 2024-05-15
17
22
18
-
### Added
19
-
20
-
- Bulk Create Events API with
21
-
- We have added support for creating events in bulk via the EventsApi.bulkCreateEvents method
22
-
- Create multiple events for new and existing profiles and/or update profile properties in a single API call. For more information, see our [Events API overview](https://developers.klaviyo.com/en/reference/events_api_overview).
23
-
24
-
### Changed
25
23
26
-
- Accounts API
27
-
- `Accounts.get_account` and `Accounts.get_accounts` have been updated to return the account's locale, e.g. `"en-US"`.
28
-
29
-
-**Breaking**
30
-
- Subscribe API Synchronous Validation Improved
31
-
- To provide better feedback for handling SMS subscriptions, we’ve added improved validation behavior to ProfilesApi.subscribeProfiles method. In prior revisions, such requests may appear as 202s but will fail to update SMS consent. To handle this issue, 400 validation errors are returned for the following cases
32
-
1. If a profile is subscribed to SMS marketing and [age-gating is enabled](https://help.klaviyo.com/hc/en-us/articles/4408311712667) but age_gated_date_of_birth is not provided, or the DOB does not meet the region's requirements.
33
-
2. If the account does not have a sending number in the phone number’s region.
34
-
3. If the phone number is in a region not supported by Klaviyo.
35
-
4. If consented_at is set and the list or global setting is double opt-in.
36
-
- Pydantic V2
37
-
- This SDK now uses Pydantic V2. This may cause some compatibility issues if your source code depends on Pydantic V1.
38
-
- Renamed Fields in SDK
39
-
- As of the 2024-05-15 release, some models fields are named differently than they appear in API documentation. These fields are
40
-
- `datetime`: renamed to `datetime_`
41
-
- `date`: renamed to `date_`
42
-
43
-
This is to manage compatibility with Pydantic v2. An example of this can be seen in [StaticScheduleOptions](src/openapi_client/models/static_schedule_options.py).
44
-
45
-
```python
46
-
class StaticScheduleOptions(BaseModel):
47
-
"""
48
-
StaticScheduleOptions
49
-
""" # noqa: E501
50
-
datetime_: datetime = Field(description="The time to send at", alias="datetime")
0 commit comments