Skip to content

Commit 13c6236

Browse files
release: 1.1.0-alpha.7 (#60)
Automated Release PR --- ## 1.1.0-alpha.7 (2026-06-16) Full Changelog: [v1.1.0-alpha.6...v1.1.0-alpha.7](v1.1.0-alpha.6...v1.1.0-alpha.7) ### Features * **files:** fix Files API gaps for OpenAI spec parity ([e91f536](e91f536)) --- This pull request is managed by Stainless's [GitHub App](https://github.com/apps/stainless-app). The [semver version number](https://semver.org/#semantic-versioning-specification-semver) is based on included [commit messages](https://www.conventionalcommits.org/en/v1.0.0/). Alternatively, you can manually set the version number in the title of this pull request. For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request. 🔗 Stainless [website](https://www.stainlessapi.com) 📚 Read the [docs](https://app.stainlessapi.com/docs) 🙋 [Reach out](mailto:support@stainlessapi.com) for help or questions --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 029aa5f commit 13c6236

7 files changed

Lines changed: 16 additions & 25 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.1.0-alpha.6"
2+
".": "1.1.0-alpha.7"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 67
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack/llama-stack-client-7f49892b4f9f8b421343f703c14da6fd5a93bba1baada52c1fe72da0e79fcf8e.yml
3-
openapi_spec_hash: 9c2a6e9e73f135654d42469299b01daa
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack/llama-stack-client-fc9526103a5b5694beadb96747682d8a3ccc8390d1c3b1e40720ebc9a8a33fb0.yml
3+
openapi_spec_hash: 916928d4ba727df210b4a28166ff2047
44
config_hash: 3d294831d7b8066ba59a8934b980a943

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.1.0-alpha.7 (2026-06-16)
4+
5+
Full Changelog: [v1.1.0-alpha.6...v1.1.0-alpha.7](https://github.com/ogx-ai/ogx-client-typescript/compare/v1.1.0-alpha.6...v1.1.0-alpha.7)
6+
7+
### Features
8+
9+
* **files:** fix Files API gaps for OpenAI spec parity ([e91f536](https://github.com/ogx-ai/ogx-client-typescript/commit/e91f536d58fae8c9f7b9e987b5e93dd7d30d9dd0))
10+
311
## 1.1.0-alpha.6 (2026-06-11)
412

513
Full Changelog: [v0.5.0-alpha.5...v1.1.0-alpha.6](https://github.com/ogx-ai/ogx-client-typescript/compare/v0.5.0-alpha.5...v1.1.0-alpha.6)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ogx-client",
3-
"version": "1.1.0-alpha.6",
3+
"version": "1.1.0-alpha.7",
44
"description": "The official TypeScript library for the Ogx Client API",
55
"author": "Ogx Client <contributors@ogx.dev>",
66
"types": "dist/index.d.ts",

src/resources/files.ts

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -185,26 +185,9 @@ export interface FileCreateParams {
185185
purpose: 'assistants' | 'batch' | 'fine-tune' | 'vision' | 'user_data' | 'evals';
186186

187187
/**
188-
* Control expiration of uploaded files.
188+
* Optional expiration settings for the file.
189189
*/
190-
expires_after?: FileCreateParams.ExpiresAfter | null;
191-
}
192-
193-
export namespace FileCreateParams {
194-
/**
195-
* Control expiration of uploaded files.
196-
*/
197-
export interface ExpiresAfter {
198-
/**
199-
* The anchor point for expiration, must be 'created_at'.
200-
*/
201-
anchor: 'created_at';
202-
203-
/**
204-
* Seconds until expiration, between 3600 (1 hour) and 2592000 (30 days).
205-
*/
206-
seconds: number;
207-
}
190+
expires_after?: string | null;
208191
}
209192

210193
export interface FileListParams extends OpenAICursorPageParams {

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
// This source code is licensed under the terms described in the LICENSE file in
55
// the root directory of this source tree.
66

7-
export const VERSION = '1.1.0-alpha.6'; // x-release-please-version
7+
export const VERSION = '1.1.0-alpha.7'; // x-release-please-version

tests/api-resources/files.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('resource files', () => {
3030
const response = await client.files.create({
3131
file: await toFile(Buffer.from('Example data'), 'README.md'),
3232
purpose: 'assistants',
33-
expires_after: { anchor: 'created_at', seconds: 3600 },
33+
expires_after: 'expires_after',
3434
});
3535
});
3636

0 commit comments

Comments
 (0)