The default source root is now src
instead of docs
. For backwards compatibility, we’ll continue to default to docs
if it exists, but we now recommend that you specify the root config option.
We’ve added a few new markdown-it config options. The typographer option enables simple typographic replacements, such as smart quotes (replacing straight quotes with curly quotes based on context). You can customize the quotes using the quotes option. And the linkify option lets you turn off automatic linking of URL-like text in Markdown.
We’ve improved node import compatibility by supporting packages that require or import JSON, such as arquero
. We also now better handle certain CommonJS packages (using requireReturnsDefault
) and certain transitive imports. We now use the latest version of npm:parquet-wasm
if no version range is specified, rather than defaulting to 0.5.0; thank you to @kylebarron for fixing parquet-wasm’s conditional exports in 0.6.0 to improve compatibility.
Deploying to Observable is now significantly faster when only some files have changed: rather than uploading every file, we now only upload files that have changed. We’ve also improved the error message when a file is too big or the file quota has been exceeded. We removed support for the deprecated deploy config option; the deploy configuration should instead live in .observablehq/deploy.json
within the source root.
Lastly, we fixed the scripts config option to correctly handle resolution of local modules; we also now recommend that you use the head config option instead.
Thanks to @scresawn, @declann, and @russbiggs for contributing to the docs!
Full Changelog: v1.6.0...v1.7.0