Skip to content

Commit

Permalink
1.10.0 (#1549)
Browse files Browse the repository at this point in the history
* 1.10.0

* update version badges

* fix Arquero capitalization

* fix release note links
  • Loading branch information
mbostock authored Aug 6, 2024
1 parent cd7f2f4 commit c5d57f7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ For missing files, `file.lastModified` is undefined. The `file.mimeType` is dete
[xlsx]: ./lib/xlsx
[zip]: ./lib/zip

The contents of a file often dictate the appropriate method — for example, an Excel XLSX file is almost always read with `file.xlsx`. When multiple methods are valid, choose based on your needs. For example, you can load a CSV file using `file.arquero` to load it into [arquero](./lib/arquero)<a href="https://github.com/observablehq/framework/pull/1509" class="observablehq-version-badge" data-version="prerelease" title="Added in #1509"></a>, or even using `file.text` to implement parsing yourself.
The contents of a file often dictate the appropriate method — for example, an Excel XLSX file is almost always read with `file.xlsx`. When multiple methods are valid, choose based on your needs. For example, you can load a CSV file using `file.arquero` to load it into [Arquero](./lib/arquero)<a href="https://github.com/observablehq/framework/releases/tag/v1.10.0" class="observablehq-version-badge" data-version="^1.10.0" title="Added in 1.10.0"></a>, or even using `file.text` to implement parsing yourself.

In addition to the above, you can get the resolved absolute URL of the file using `file.href`: <a href="https://github.com/observablehq/framework/releases/tag/v1.5.0" class="observablehq-version-badge" data-version="^1.5.0" title="Added in 1.5.0"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Or with Yarn:

You should see something like this:

<pre data-copy="none"><b class="green">Observable Framework</b> v1.9.0
<pre data-copy="none"><b class="green">Observable Framework</b> v1.10.0
↳ <u><a href="http://127.0.0.1:3000/" style="color: inherit;">http://127.0.0.1:3000/</a></u></pre>

<div class="note">
Expand Down
4 changes: 2 additions & 2 deletions docs/inputs/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const selection = view(Inputs.table(penguins, {required: false}));
selection // Try selecting rows above!
```

The _required_ option determines the selection when no items are selected from the table: if it is true (default), the selection contains the full dataset; otherwise, the selection is empty. The _select_ option <a href="https://github.com/observablehq/framework/pull/1541" class="observablehq-version-badge" data-version="prerelease" title="Added in #1541"></a> disables user selection of rows, hiding the checkboxes in the first column.
The _required_ option determines the selection when no items are selected from the table: if it is true (default), the selection contains the full dataset; otherwise, the selection is empty. The _select_ option <a href="https://github.com/observablehq/framework/releases/tag/v1.10.0" class="observablehq-version-badge" data-version="^1.10.0" title="Added in 1.10.0"></a> disables user selection of rows, hiding the checkboxes in the first column.

The table input assumes that all values in a given column are the same type, and chooses a suitable formatter based on the first non-null value in each column.

Expand Down Expand Up @@ -180,7 +180,7 @@ The available table input options are:
- _maxHeight_ - the maximum table height, if any; defaults to (_rows_ + 1) \* 22 - 1
- _layout_ - the [table layout](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout); defaults to fixed for ≤12 columns
- _required_ - if true, the table’s value is all _data_ if no selection; defaults to true
- _select_ <a href="https://github.com/observablehq/framework/pull/1541" class="observablehq-version-badge" data-version="prerelease" title="Added in #1541"></a> - if true, allows the user to modify the table’s value by selecting rows; defaults to true
- _select_ <a href="https://github.com/observablehq/framework/releases/tag/v1.10.0" class="observablehq-version-badge" data-version="^1.10.0" title="Added in 1.10.0"></a> - if true, allows the user to modify the table’s value by selecting rows; defaults to true
- _multiple_ - if true, allow multiple rows to be selected; defaults to true

If _width_ is _auto_, the table width will be based on the table contents; note that this may cause the table to resize as rows are lazily rendered.
2 changes: 1 addition & 1 deletion docs/lib/arquero.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ dt.fold(aq.all(), {as: ["city", "sun"]})
.objects()
```

To load an Arquero table from an Apache Arrow, Apache Parquet, CSV, TSV, or JSON file, use [`file.arquero`](../files#arquero) <a href="https://github.com/observablehq/framework/pull/1509" class="observablehq-version-badge" data-version="prerelease" title="Added in #1509"></a>:
To load an Arquero table from an Apache Arrow, Apache Parquet, CSV, TSV, or JSON file, use [`file.arquero`](../files#arquero) <a href="https://github.com/observablehq/framework/releases/tag/v1.10.0" class="observablehq-version-badge" data-version="^1.10.0" title="Added in 1.10.0"></a>:

```js run=false
const flights = FileAttachment("flights-200k.arrow").arquero();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@observablehq/framework",
"license": "ISC",
"version": "1.9.0",
"version": "1.10.0",
"type": "module",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit c5d57f7

Please sign in to comment.