Skip to content

Commit 10cd987

Browse files
authored
1.11.0 (#1620)
1 parent fa80489 commit 10cd987

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The pages list should _not_ include the home page (`/`) as this is automatically
155155

156156
Whether to show the previous & next links in the footer; defaults to true. The pages are linked in the same order as they appear in the sidebar.
157157

158-
## dynamicPaths <a href="https://github.com/observablehq/framework/pull/1523" class="observablehq-version-badge" data-version="prerelease" title="Added in #1523"></a>
158+
## dynamicPaths <a href="https://github.com/observablehq/framework/releases/tag/v1.11.0" class="observablehq-version-badge" data-version="^1.11.0" title="Added in 1.11.0"></a>
159159

160160
The list of [parameterized pages](./params) and [dynamic pages](./page-loaders) to generate, either as a (synchronous) iterable of strings, or a function that returns an async iterable of strings if you wish to load the list of dynamic pages asynchronously.
161161

@@ -305,6 +305,6 @@ The set of replacements for straight double and single quotes used when the [**t
305305

306306
If true (the default), automatically convert URL-like text to links in Markdown.
307307

308-
## globalStylesheets <a href="https://github.com/observablehq/framework/pull/1597" class="observablehq-version-badge" data-version="prerelease" title="Added in #1597"></a>
308+
## globalStylesheets <a href="https://github.com/observablehq/framework/releases/tag/v1.11.0" class="observablehq-version-badge" data-version="^1.11.0" title="Added in 1.11.0"></a>
309309

310310
An array of links to global stylesheets to add to every page’s head, in addition to the [page stylesheet](#style). Defaults to loading [Source Serif 4](https://fonts.google.com/specimen/Source+Serif+4) from Google Fonts.

docs/files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Load files — whether static or generated dynamically by a [data loader](./data
1010
import {FileAttachment} from "npm:@observablehq/stdlib";
1111
```
1212

13-
The `FileAttachment` function takes a path and returns a file handle. This handle exposes the file’s name, [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types), size in bytes <a href="https://github.com/observablehq/framework/pulls/1608" class="observablehq-version-badge" data-version="prerelease" title="Added in #1608"></a>, and modification time <a href="https://github.com/observablehq/framework/releases/tag/v1.4.0" class="observablehq-version-badge" data-version="^1.4.0" title="Added in 1.4.0"></a> (represented as the number of milliseconds since UNIX epoch).
13+
The `FileAttachment` function takes a path and returns a file handle. This handle exposes the file’s name, [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types), size in bytes <a href="https://github.com/observablehq/framework/releases/tag/v1.11.0" class="observablehq-version-badge" data-version="^1.11.0" title="Added in 1.11.0"></a>, and modification time <a href="https://github.com/observablehq/framework/releases/tag/v1.4.0" class="observablehq-version-badge" data-version="^1.4.0" title="Added in 1.4.0"></a> (represented as the number of milliseconds since UNIX epoch).
1414

1515
```js echo
1616
FileAttachment("volcano.json")

docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Or with Yarn:
148148

149149
You should see something like this:
150150

151-
<pre data-copy="none"><b class="green">Observable Framework</b> v1.10.1
151+
<pre data-copy="none"><b class="green">Observable Framework</b> v1.11.0
152152
↳ <u><a href="http://127.0.0.1:3000/" style="color: inherit;">http://127.0.0.1:3000/</a></u></pre>
153153

154154
<div class="note">

docs/javascript.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const number = Generators.input(numberInput);
127127

128128
Expressions cannot declare top-level reactive variables. To declare a variable, use a code block instead. You can declare a variable in a code block (without displaying it) and then display it somewhere else using an inline expression.
129129

130-
## TypeScript <a href="https://github.com/observablehq/framework/pull/1632" class="observablehq-version-badge" data-version="prerelease" title="Added in #1632"></a>
130+
## TypeScript <a href="https://github.com/observablehq/framework/releases/tag/v1.11.0" class="observablehq-version-badge" data-version="^1.11.0" title="Added in 1.11.0"></a>
131131

132132
TypeScript fenced code blocks (<code>```ts</code>) allow TypeScript to be used in place of JavaScript. You can also import TypeScript modules (`.ts`). Use the `.js` file extension when importing TypeScript modules; TypeScript is transpiled to JavaScript during build.
133133

docs/page-loaders.md.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ process.stdout.write(`---
22
keywords: server-side rendering, ssr
33
---
44
5-
# Page loaders <a href="https://github.com/observablehq/framework/pull/1523" class="observablehq-version-badge" data-version="prerelease" title="Added in #1523"></a>
5+
# Page loaders <a href="https://github.com/observablehq/framework/releases/tag/v1.11.0" class="observablehq-version-badge" data-version="^1.11.0" title="Added in 1.11.0"></a>
66
77
Page loaders are a special type of [data loader](./data-loaders) for dynamically generating (or “server-side rendering”) pages. Page loaders are programs that emit [Markdown](./markdown) to standard out, and have a double extension starting with \`.md\`, such as \`.md.js\` for a JavaScript page loader or \`.md.py\` for a Python page loader.
88

docs/params.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Parameterized routes <a href="https://github.com/observablehq/framework/pull/1523" class="observablehq-version-badge" data-version="prerelease" title="Added in #1523"></a>
1+
# Parameterized routes <a href="https://github.com/observablehq/framework/releases/tag/v1.11.0" class="observablehq-version-badge" data-version="^1.11.0" title="Added in 1.11.0"></a>
22

33
Parameterized routes allow a single [Markdown](./markdown) source file or [page loader](./page-loaders) to generate many pages, or a single [data loader](./data-loaders) to generate many files.
44

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@observablehq/framework",
33
"license": "ISC",
4-
"version": "1.10.1",
4+
"version": "1.11.0",
55
"type": "module",
66
"publishConfig": {
77
"access": "public"

0 commit comments

Comments
 (0)