Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/solid-berries-sing.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tangy-boats-sing.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/upset-vans-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-trees-knock.md

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# gradio

## 6.24.0

### Features

- [#13750](https://github.com/gradio-app/gradio/pull/13750) [`e0f0790`](https://github.com/gradio-app/gradio/commit/e0f0790b6fbe591cfb6de968316596806f5b59dc) - Workflow: only inline app-owned files, and keep opened HTML off the app origin. Thanks @abidlabs!
- [#13718](https://github.com/gradio-app/gradio/pull/13718) [`a9e8382`](https://github.com/gradio-app/gradio/commit/a9e8382c4f68e938b5fceef299d7539434c6063f) - Add browser-local run history and loading. Thanks @abidlabs!
- [#13751](https://github.com/gradio-app/gradio/pull/13751) [`1c8aa23`](https://github.com/gradio-app/gradio/commit/1c8aa23263ef1d3a641690395b8f0d816b593cc3) - Fix initial Spaces iframe resize after app render. Thanks @dawoodkhan82!
- [#13749](https://github.com/gradio-app/gradio/pull/13749) [`5019a24`](https://github.com/gradio-app/gradio/commit/5019a2402779d40d7c0b42817fc73bd2df3d8022) - Await `auth_dependency` and apply it when routes are built on an existing app. Thanks @abidlabs!

## 6.23.1

### Fixes
Expand Down
6 changes: 6 additions & 0 deletions client/js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @gradio/client

## 2.5.0

### Features

- [#13718](https://github.com/gradio-app/gradio/pull/13718) [`a9e8382`](https://github.com/gradio-app/gradio/commit/a9e8382c4f68e938b5fceef299d7539434c6063f) - Add browser-local run history and loading. Thanks @abidlabs!

## 2.4.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion client/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gradio/client",
"version": "2.4.0",
"version": "2.5.0",
"description": "Gradio API client",
"type": "module",
"main": "dist/index.cjs",
Expand Down
9 changes: 9 additions & 0 deletions gradio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# gradio

## 6.24.0

### Features

- [#13750](https://github.com/gradio-app/gradio/pull/13750) [`e0f0790`](https://github.com/gradio-app/gradio/commit/e0f0790b6fbe591cfb6de968316596806f5b59dc) - Workflow: only inline app-owned files, and keep opened HTML off the app origin. Thanks @abidlabs!
- [#13718](https://github.com/gradio-app/gradio/pull/13718) [`a9e8382`](https://github.com/gradio-app/gradio/commit/a9e8382c4f68e938b5fceef299d7539434c6063f) - Add browser-local run history and loading. Thanks @abidlabs!
- [#13751](https://github.com/gradio-app/gradio/pull/13751) [`1c8aa23`](https://github.com/gradio-app/gradio/commit/1c8aa23263ef1d3a641690395b8f0d816b593cc3) - Fix initial Spaces iframe resize after app render. Thanks @dawoodkhan82!
- [#13749](https://github.com/gradio-app/gradio/pull/13749) [`5019a24`](https://github.com/gradio-app/gradio/commit/5019a2402779d40d7c0b42817fc73bd2df3d8022) - Await `auth_dependency` and apply it when routes are built on an existing app. Thanks @abidlabs!

## 6.23.1

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion gradio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gradio",
"version": "6.23.1",
"version": "6.24.0",
"description": "This is the package.json",
"python": "true"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import type { GradioEvent } from "../types";
export type AppId = string | number | null | undefined;
/**
* Which history to read or write. `Config` satisfies this shape, so callers
* that hold one can pass it straight through.
*/
export interface RunHistoryScope {
app_id?: AppId;
/** The authenticated user, when the app uses `auth`. */
username?: string | null;
}
export type RunStatus = "running" | "completed" | "failed";
export interface StoredRunComponent {
type: string;
component_class_id: string;
props: Record<string, unknown>;
}
export interface StoredRun {
id: string;
endpoint: string | number;
api_name: string;
fn_index: number;
page: string;
inputs: unknown;
outputs: unknown | null;
input_components?: (StoredRunComponent | null)[];
output_components?: (StoredRunComponent | null)[];
status: RunStatus;
error?: string;
started_at: string;
/** When the server started running the function, if it reported queueing. */
process_started_at?: string;
completed_at?: string;
/** How long the function itself took, server-reported where available. */
duration_ms?: number;
/** How long the run waited in the queue before the function started. */
queued_ms?: number;
/** Whether the run produced its output in chunks, i.e. came from a generator. */
streamed?: boolean;
}
interface StartRunOptions extends RunHistoryScope {
endpoint: string | number;
api_name: string;
fn_index: number;
inputs: unknown;
input_components?: (StoredRunComponent | null)[];
output_components?: (StoredRunComponent | null)[];
}
/**
* The URL of the run history page for an app. `root` never carries a trailing
* slash, so it cannot simply be concatenated with the path.
*/
export declare function run_history_url(root: string, api_prefix?: string): string;
export declare function read_run_history(scope: RunHistoryScope | null | undefined): StoredRun[];
export declare function clear_run_history(scope: RunHistoryScope | null | undefined): void;
export declare function delete_run_history(scope: RunHistoryScope | null | undefined, id: string): void;
export declare function stage_run_history_replay(scope: RunHistoryScope | null | undefined, run: StoredRun): void;
export declare function consume_run_history_replay(scope: RunHistoryScope | null | undefined): StoredRun | null;
export declare function start_run_history(options: StartRunOptions): string | null;
export declare function update_run_inputs(scope: RunHistoryScope | null | undefined, id: string | null, inputs: unknown): void;
export declare function update_run_history(scope: RunHistoryScope | null | undefined, id: string | null, event: GradioEvent): void;
export declare function on_run_history_change(listener: () => void): () => void;
export {};
6 changes: 6 additions & 0 deletions js/_spaces-test/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.0.1

### Dependency updates

- @gradio/client@2.4.0
- @gradio/theme@0.7.0

Expand Down
6 changes: 6 additions & 0 deletions js/annotatedimage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.12.2

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
6 changes: 6 additions & 0 deletions js/app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 2.3.0

### Dependency updates

- @gradio/client@2.5.0

## 2.3.0

### Features

- [#13601](https://github.com/gradio-app/gradio/pull/13601) [`0ee5cc8`](https://github.com/gradio-app/gradio/commit/0ee5cc80e2915e5a1b074c892490a62f165cd80d) - Preserve browser-visible proxy origins for frontend assets and API requests, and retain app-level FastAPI root paths. Thanks @abidlabs!
Expand Down
6 changes: 6 additions & 0 deletions js/audio/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 0.24.2

### Dependency updates

- @gradio/client@2.5.0

## 0.24.2

### Fixes

- [#13626](https://github.com/gradio-app/gradio/pull/13626) [`7d71469`](https://github.com/gradio-app/gradio/commit/7d714699ae9c47daabbd48a55f61e990c5bba1d7) - Reset audio playback position when the file is cleared or a new one is uploaded. Thanks @hysts!
Expand Down
6 changes: 6 additions & 0 deletions js/button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.8.2

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/upload@0.18.2
Expand Down
6 changes: 6 additions & 0 deletions js/chatbot/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.32.1

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
11 changes: 11 additions & 0 deletions js/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @gradio/core

## 1.11.0

### Features

- [#13718](https://github.com/gradio-app/gradio/pull/13718) [`a9e8382`](https://github.com/gradio-app/gradio/commit/a9e8382c4f68e938b5fceef299d7539434c6063f) - Add browser-local run history and loading. Thanks @abidlabs!
- [#13751](https://github.com/gradio-app/gradio/pull/13751) [`1c8aa23`](https://github.com/gradio-app/gradio/commit/1c8aa23263ef1d3a641690395b8f0d816b593cc3) - Fix initial Spaces iframe resize after app render. Thanks @dawoodkhan82!

### Dependency updates

- @gradio/client@2.5.0

## 1.10.3

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion js/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gradio/core",
"version": "1.10.3",
"version": "1.11.0",
"type": "module",
"devDependencies": {
"@gradio/accordion": "workspace:^",
Expand Down
6 changes: 6 additions & 0 deletions js/dataframe/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 0.24.2

### Dependency updates

- @gradio/client@2.5.0

## 0.24.2

### Fixes

- [#13661](https://github.com/gradio-app/gradio/pull/13661) [`8647a06`](https://github.com/gradio-app/gradio/commit/8647a06d13a77aefb818565e8766474dae8eeb70) - Keep fullscreen component controls inside the visible viewport when the page has a scrollbar. Thanks @hysts!
Expand Down
6 changes: 6 additions & 0 deletions js/dataset/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 0.7.2

### Dependency updates

- @gradio/client@2.5.0

## 0.7.2

### Fixes

- [#13644](https://github.com/gradio-app/gradio/pull/13644) [`f0abb1e`](https://github.com/gradio-app/gradio/commit/f0abb1ea8e61f4b886296365639b9fe0492012a9) - restore shared props lost during frontend prop partitioning. Thanks @dawoodkhan82!
Expand Down
6 changes: 6 additions & 0 deletions js/downloadbutton/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.5.2

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/button@0.8.2
Expand Down
6 changes: 6 additions & 0 deletions js/file/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 0.16.0

### Dependency updates

- @gradio/client@2.5.0

## 0.16.0

### Features

- [#13329](https://github.com/gradio-app/gradio/pull/13329) [`7ac583a`](https://github.com/gradio-app/gradio/commit/7ac583a38a4c995d172033ff6e3700390201ff21) - Make builds go zoom zoom. Thanks @pngwn!
Expand Down
6 changes: 6 additions & 0 deletions js/fileexplorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 0.8.0

### Dependency updates

- @gradio/client@2.5.0

## 0.8.0

### Features

- [#13329](https://github.com/gradio-app/gradio/pull/13329) [`7ac583a`](https://github.com/gradio-app/gradio/commit/7ac583a38a4c995d172033ff6e3700390201ff21) - Make builds go zoom zoom. Thanks @pngwn!
Expand Down
6 changes: 6 additions & 0 deletions js/gallery/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.19.1

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
6 changes: 6 additions & 0 deletions js/html/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## 0.13.2

### Dependency updates

- @gradio/client@2.5.0

## 0.13.2

### Fixes

- [#13644](https://github.com/gradio-app/gradio/pull/13644) [`f0abb1e`](https://github.com/gradio-app/gradio/commit/f0abb1ea8e61f4b886296365639b9fe0492012a9) - restore shared props lost during frontend prop partitioning. Thanks @dawoodkhan82!
Expand Down
6 changes: 6 additions & 0 deletions js/image/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.28.1

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
6 changes: 6 additions & 0 deletions js/imageeditor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.20.1

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
6 changes: 6 additions & 0 deletions js/imageslider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.7.1

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
6 changes: 6 additions & 0 deletions js/model3D/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### Dependency updates

- @gradio/client@2.5.0

## 0.18.2

### Dependency updates

- @gradio/client@2.4.0
- @gradio/utils@0.14.0
- @gradio/atoms@0.26.1
Expand Down
Loading
Loading