Skip to content

Commit 0186815

Browse files
authored
1.5.0 (#1146)
* 1.5.0 * doc edits * cache forecast.json
1 parent b6b982b commit 0186815

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

docs/data/forecast.json

+1
Large diffs are not rendered by default.

docs/getting-started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Next, decide whether you want sample files in your new project. These files demo
122122
<pre data-copy="none"><span class="muted">┌</span> <span class="invert"> observable create </span>
123123
<span class="muted">│</span>
124124
<span class="green">◇</span> Where to create your project?
125-
<span class="muted">│</span> <span class="muted">./hello-framework</span>
125+
<span class="muted">│</span> <span class="muted">hello-framework</span>
126126
<span class="muted">│</span>
127127
<span class="green">◇</span> What to title your project?
128128
<span class="muted">│</span> <span class="muted">Hello Framework</span>
@@ -194,7 +194,7 @@ And that’s it! After some downloading, copying, and installing, your new proje
194194
<span class="muted">│</span>
195195
<span class="green">◇</span> Next steps… <span class="muted">──────────╮</span>
196196
<span class="muted">│</span> <span class="muted">│</span>
197-
<span class="muted">│</span> <span class="focus">cd hello-framework</span> <span class="muted">│</span>
197+
<span class="muted">│</span> <span class="focus">cd hello-framework</span> <span class="muted">│</span>
198198
<span class="muted">│</span> <span class="focus">yarn dev</span> <span class="muted">│</span>
199199
<span class="muted">│</span> <span class="muted">│</span>
200200
<span class="muted">├────────────────────────╯</span>
@@ -221,7 +221,7 @@ Or with Yarn:
221221

222222
You should see something like this:
223223

224-
<pre data-copy="none"><b class="green">Observable Framework</b> v1.3.0
224+
<pre data-copy="none"><b class="green">Observable Framework</b> v1.5.0
225225
↳ <u><a href="http://127.0.0.1:3000/" style="color: inherit;">http://127.0.0.1:3000/</a></u></pre>
226226

227227
<div class="tip">

docs/javascript/files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ For missing files, `file.lastModified` is undefined. The `file.mimeType` is dete
9999

100100
The contents often dictate the appropriate method — for example, an Apache Arrow file is almost always read with `file.arrow`. When multiple methods are valid, choose based on your needs. For example, you can load a CSV file using `file.text` to implement parsing yourself instead of using D3.
101101

102-
In addition to the above, you can get the resolved absolute URL of the file using `file.href`:
102+
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>
103103

104104
```js echo
105105
FileAttachment("volcano.json").href

docs/markdown.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Cell 1-2 | Cell 2-2 | Cell 3-2
8787
[external link](<https://en.wikipedia.org/wiki/Tar_(computing)>)
8888
```
8989

90-
For privacy and convenience, links to external resources are given a default `rel` attribute of [`noreferrer`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer) and [`noopener`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noopener), and a default `target` attribute of [`_blank`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target). Hence by default an external link will open in a new window and not pass the (potentially sensitive) referrer to the (potentially untrusted) external site. You can override this behavior by specifying the `rel` or `target` attribute explicitly. For example `<a href="https://example.com" target="_self">` will open in the same window, and `<a href="https://acme.com" rel="">` will allow the referrer.
90+
For privacy and convenience, external links are given a default `rel` attribute of [`noreferrer`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer) [`noopener`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noopener) and a default `target` attribute of [`_blank`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target). <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> Hence by default an external link will open in a new window and not pass the (potentially sensitive) referrer to the (potentially untrusted) external site. You can override this behavior by specifying the `rel` or `target` attribute explicitly. For example `<a href="https://example.com" target="_self">` will open in the same window, and `<a href="https://acme.com" rel="">` will allow the referrer.
9191

9292
## Images
9393

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.4.0",
4+
"version": "1.5.0",
55
"type": "module",
66
"publishConfig": {
77
"access": "public"

0 commit comments

Comments
 (0)