From 9cebcc7efaa12eb64002b2f9e765594c4e2bdd8b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 6 Sep 2025 02:53:51 +0000 Subject: [PATCH 1/4] chore: ci build action --- scripts/utils/upload-artifact.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/upload-artifact.sh b/scripts/utils/upload-artifact.sh index 5c8cb6b..82b1a03 100755 --- a/scripts/utils/upload-artifact.sh +++ b/scripts/utils/upload-artifact.sh @@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then exit 1 fi -UPLOAD_RESPONSE=$(tar -cz "${BUILD_PATH:-dist}" | curl -v -X PUT \ +UPLOAD_RESPONSE=$(tar "${BASE_PATH:+-C$BASE_PATH}" -cz "${ARTIFACT_PATH:-dist}" | curl -v -X PUT \ -H "Content-Type: application/gzip" \ --data-binary @- "$SIGNED_URL" 2>&1) From 077555c9ae59da02a2500a2664e5128bce51eedc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 9 Sep 2025 02:26:44 +0000 Subject: [PATCH 2/4] fix: coerce nullable values to undefined --- src/internal/utils/values.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internal/utils/values.ts b/src/internal/utils/values.ts index 1dcc884..732d0f6 100644 --- a/src/internal/utils/values.ts +++ b/src/internal/utils/values.ts @@ -76,21 +76,21 @@ export const coerceBoolean = (value: unknown): boolean => { }; export const maybeCoerceInteger = (value: unknown): number | undefined => { - if (value === undefined) { + if (value == null) { return undefined; } return coerceInteger(value); }; export const maybeCoerceFloat = (value: unknown): number | undefined => { - if (value === undefined) { + if (value == null) { return undefined; } return coerceFloat(value); }; export const maybeCoerceBoolean = (value: unknown): boolean | undefined => { - if (value === undefined) { + if (value == null) { return undefined; } return coerceBoolean(value); From 855642a846b1f746b53e29c3c34400b857457c43 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 22:46:01 +0000 Subject: [PATCH 3/4] feat(api): Allow nullable text schemas --- .stats.yml | 4 ++-- src/resources/task-run.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1835076..769462b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 12 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web%2Fparallel-sdk-1aeb1c81a84999f2d27ca9e86b041d74b892926bed126dc9b0f3cff4d7b26963.yml -openapi_spec_hash: 6280f6c6fb537f7c9ac5cc33ee2e433d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web%2Fparallel-sdk-ed59cb6466c038703341e4b1eacb013f08b1907b40a6cba7d39ff5396fb432f3.yml +openapi_spec_hash: 9d983b5f712eb8b5531127543291c6e7 config_hash: f9aa4d901581aaf70789dd0bc1b84597 diff --git a/src/resources/task-run.ts b/src/resources/task-run.ts index 6cada92..3a9764a 100644 --- a/src/resources/task-run.ts +++ b/src/resources/task-run.ts @@ -328,7 +328,7 @@ export interface TextSchema { /** * A text description of the desired output from the task. */ - description: string; + description?: string | null; /** * The type of schema being defined. Always `text`. From 1f942a9a14672d95f37405c561b205d65f522bd8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 23:39:29 +0000 Subject: [PATCH 4/4] release: 0.1.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 466df71..a915e8c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0" + ".": "0.1.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cf29d3..995a763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 0.1.1 (2025-09-15) + +Full Changelog: [v0.1.0...v0.1.1](https://github.com/parallel-web/parallel-sdk-typescript/compare/v0.1.0...v0.1.1) + +### Features + +* **api:** Allow nullable text schemas ([855642a](https://github.com/parallel-web/parallel-sdk-typescript/commit/855642a846b1f746b53e29c3c34400b857457c43)) + + +### Bug Fixes + +* coerce nullable values to undefined ([077555c](https://github.com/parallel-web/parallel-sdk-typescript/commit/077555c9ae59da02a2500a2664e5128bce51eedc)) + + +### Chores + +* ci build action ([9cebcc7](https://github.com/parallel-web/parallel-sdk-typescript/commit/9cebcc7efaa12eb64002b2f9e765594c4e2bdd8b)) + ## 0.1.0 (2025-09-01) Full Changelog: [v0.0.1-alpha.0...v0.1.0](https://github.com/parallel-web/parallel-sdk-typescript/compare/v0.0.1-alpha.0...v0.1.0) diff --git a/package.json b/package.json index bf29524..de7691d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parallel-web", - "version": "0.1.0", + "version": "0.1.1", "description": "The official TypeScript library for the Parallel API", "author": "Parallel ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 1baa228..b322647 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.1.0'; // x-release-please-version +export const VERSION = '0.1.1'; // x-release-please-version