diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dbd19f..535a014 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,24 @@ -# @automators/datamaker +# datamaker-py + +> Entries below 0.3.0 were carried over from the JavaScript package (`@automators/datamaker`) +> when this file was copied, and the 0.3.0-0.9.0 releases were never recorded here. +> Left as-is rather than reconstructed from memory. + +## 0.10.0 + +### Minor Changes + +- Response types are now generated from the API's OpenAPI document instead of every + method returning `Dict`. 93 methods across 15 route modules return named + `TypedDict`s, imported from `datamaker.types`. + + Nothing changes at runtime: methods still return the plain dicts `response.json()` + produces, so `project["name"]` works exactly as before. The types are checker-only, + and no existing code needs to change. + + Three schemas (`SetDetail`, `PackInstallListItem`, `SchemaGraphNavigation`) are + composed with `allOf`, which the generator merges away rather than emitting; methods + returning those keep `Dict`. ## 0.2.0 diff --git a/artifacts/autocomplete-types.ts b/artifacts/autocomplete-types.ts index 1659739..dd10330 100644 --- a/artifacts/autocomplete-types.ts +++ b/artifacts/autocomplete-types.ts @@ -1,6 +1,6 @@ // This file is auto-generated by the datamaker-py SDK // DO NOT EDIT MANUALLY -// Generated from version 0.9.0 +// Generated from version 0.10.0 // Monaco Editor CompletionItemKind enum values // Reference: https://microsoft.github.io/monaco-editor/api/enums/monaco.languages.CompletionItemKind.html @@ -49,7 +49,7 @@ export interface DataMakerFieldType { documentation?: string; } -export const SDK_VERSION = "0.9.0"; +export const SDK_VERSION = "0.10.0"; export const METHOD_SUGGESTIONS: DataMakerMethod[] = [ { diff --git a/pyproject.toml b/pyproject.toml index 3081931..81778e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "datamaker-py" -version = "0.9.0" +version = "0.10.0" description = "The official Python library for the Automators DataMaker API." readme = "README.md" requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index df4cc8b..6b8d747 100644 --- a/uv.lock +++ b/uv.lock @@ -52,7 +52,7 @@ wheels = [ [[package]] name = "datamaker-py" -version = "0.9.0" +version = "0.10.0" source = { editable = "." } dependencies = [ { name = "python-dotenv" },