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
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,43 @@ All notable changes to the KittyCAD Python SDK will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## v1.4.0
9
+
10
+
Regenerated the SDK against the latest API spec.
11
+
12
+
### Added
13
+
14
+
-**Organization skills**: `GET /org/skills` (`list_org_skills`) returning `OrgSkillResponse` — the public skill context available to the caller's organization.
15
+
-**Announcements**: `GET /announcements` (`get_announcements`) returning `AnnouncementList` / `Announcement` for announcements broadcast to all clients.
-`MlCopilotServerMessage` now includes `RequestAttachments` (backend request for the API to reload client attachments from storage) and `AttachmentsLoaded` (notification that all attachments for a conversation finished loading).
18
+
-`MlCopilotClientMessage` now includes `AttachmentResponse` (`type="attachment_response"`), carrying the attachments returned in response to a `RequestAttachments` message.
19
+
-**ML Copilot Zookeeper editing**: `ZookeeperAutoRouterMetadata` (on `MlCopilotServerMessage`) and `ZookeeperEditPatch` / `ZookeeperEditPatchFile` (on `MlToolResult`) for project-edit replay data.
20
+
-**Modeling commands & responses**:
21
+
- New `OkModelingCmdResponse` variants: `EdgeGetLength`, `ObjectSetName`, and `RegionGetResolvableIntersectionInfo`.
22
+
-`extrude` now accepts a `DirectionType`, and the edge-cut commands (`solid3d_fillet_edge`, `solid3d_cut_edge_references`, `solid3d_cut_edges`) accept an `EdgeCutVersion` (edge-cut algorithm version).
23
+
-**Edge-aware annotations**: `AnnotationBasicDimension`, `AnnotationFeatureControl`, and `AnnotationFeatureTag` can now target edges via `edge_reference` / `from_edge_reference` / `to_edge_reference`, and `AnnotationOptions` gained a `units` field.
24
+
-`MlCopilotModeOption` gained a `disabled` field.
25
+
-`ProjectPublicationInfoResponse` gained a `feedback` field.
26
+
27
+
### Changed
28
+
29
+
-**`create_api_token_for_user` (`POST /user/api-tokens`) now returns `ApiTokenWithFullToken`** instead of `ApiToken`. The new model is a superset that additionally exposes the full, unobfuscated token value.
30
+
-`OrgDataset` now includes a required `require_raw_kcl_similarity_score_for_success: bool`; `CreateOrgDataset` and `UpdateOrgDataset` accept it as an optional field.
31
+
-`ProjectResponse` and `ProjectSummaryResponse` now include a required `revision` field.
32
+
- Annotation models no longer require `entity_id` / `from_entity_id` / `to_entity_id`, now that edges can be referenced instead.
33
+
34
+
### Removed
35
+
36
+
-**`GET /orgs/{id}/admin/details` (`org_admin_details_get`) and the `OrgAddress` / `OrgAdminDetails` models have been removed.**
37
+
38
+
### Migration
39
+
40
+
-**API tokens**: `create_api_token_for_user` now returns `ApiTokenWithFullToken`. Attribute access is compatible because it is a superset of the old `ApiToken`, but update any explicit `ApiToken` type annotations on the return value.
41
+
-**Org admin details**: remove any calls to `org_admin_details_get` and any references to `OrgAddress` / `OrgAdminDetails`; the endpoint and models no longer exist.
42
+
-**Constructing `OrgDataset` directly** (e.g. in tests): set `require_raw_kcl_similarity_score_for_success`. Reading dataset responses from the API requires no change.
43
+
- All other changes are additive — no action required.
0 commit comments