Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 19, 2024
1 parent 99627a6 commit 979c89f
Show file tree
Hide file tree
Showing 10 changed files with 81 additions and 38 deletions.
5 changes: 0 additions & 5 deletions .changeset/empty-walls-know.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/three-snails-give.md

This file was deleted.

34 changes: 34 additions & 0 deletions packages/anywidget/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# anywidget

## 0.9.8

### Patch Changes

- Ensure anywidget.experimental.command is called with self ([#545](https://github.com/manzt/anywidget/pull/545))

- Experimental: Replace invoke timeout with more flexible `AbortSignal` ([#540](https://github.com/manzt/anywidget/pull/540))

This allows more flexible control over aborting the invoke request, including delegating to third-party libraries that manage cancellation.

```js
export default {
async render({ model, el }) {
const controller = new AbortController();

// Randomly abort the request after 1 second
setTimeout(() => Math.random() < 0.5 && controller.abort(), 1000);

const signal = controller.signal;
model
.invoke("echo", "Hello, world", { signal })
.then((result) => {
el.innerHTML = result;
})
.catch((err) => {
el.innerHTML = `Error: ${err.message}`;
});
},
};
```

- Updated dependencies [[`a4b0ec07b2b8937111487108e9b82daf3d9be2df`](https://github.com/manzt/anywidget/commit/a4b0ec07b2b8937111487108e9b82daf3d9be2df)]:
- @anywidget/types@0.1.9

## 0.9.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/anywidget/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "anywidget",
"type": "module",
"version": "0.9.7",
"version": "0.9.8",
"author": "Trevor Manz",
"license": "MIT",
"main": "dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @anywidget/react

## 0.0.7

### Patch Changes

- Updated dependencies [[`a4b0ec07b2b8937111487108e9b82daf3d9be2df`](https://github.com/manzt/anywidget/commit/a4b0ec07b2b8937111487108e9b82daf3d9be2df)]:
- @anywidget/types@0.1.9

## 0.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@anywidget/react",
"type": "module",
"version": "0.0.6",
"version": "0.0.7",
"description": "React utilities for anywidget",
"main": "index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @anywidget/svelte

## 0.0.8

### Patch Changes

- Updated dependencies [[`a4b0ec07b2b8937111487108e9b82daf3d9be2df`](https://github.com/manzt/anywidget/commit/a4b0ec07b2b8937111487108e9b82daf3d9be2df)]:
- @anywidget/types@0.1.9

## 0.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@anywidget/svelte",
"type": "module",
"version": "0.0.7",
"version": "0.0.8",
"description": "Svelte utilities for anywidget",
"main": "src/index.js",
"types": "dist/index.d.ts",
Expand Down
29 changes: 29 additions & 0 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @anywidget/types

## 0.1.9

### Patch Changes

- Experimental: Replace invoke timeout with more flexible `AbortSignal` ([#540](https://github.com/manzt/anywidget/pull/540))

This allows more flexible control over aborting the invoke request, including delegating to third-party libraries that manage cancellation.

```js
export default {
async render({ model, el }) {
const controller = new AbortController();

// Randomly abort the request after 1 second
setTimeout(() => Math.random() < 0.5 && controller.abort(), 1000);

const signal = controller.signal;
model
.invoke("echo", "Hello, world", { signal })
.then((result) => {
el.innerHTML = result;
})
.catch((err) => {
el.innerHTML = `Error: ${err.message}`;
});
},
};
```

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@anywidget/types",
"type": "module",
"version": "0.1.8",
"version": "0.1.9",
"description": "utility types for anywidget",
"main": "./index.ts",
"types": "./index.ts",
Expand Down

0 comments on commit 979c89f

Please sign in to comment.