Skip to content

Commit 3f07a8c

Browse files
authored
Update kittycad.py version for release (v1.4.0) (#690)
bump version and update CHANGELOG.md
1 parent 835a801 commit 3f07a8c

3 files changed

Lines changed: 39 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,43 @@ All notable changes to the KittyCAD Python SDK will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

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.
16+
- **ML Copilot attachment-loading flow** (WebSocket):
17+
- `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.
44+
845
## v1.3.2
946

1047
### Added

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "kittycad"
7-
version = "1.3.8"
7+
version = "1.4.0"
88
description = "A client library for accessing KittyCAD"
99
authors = []
1010
readme = "README.md"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)