New features
- Exported modules for embedded analytics! π #1084 #1637
- Exported files for hotlinking images (and more) πΌοΈ #1637
- JSR (
jsr:
) imports for the JavaScript Registry π¦ #956 #957 - New home config option for more sidebar customization, such as a logo π #1689
- Redesigned top-fixed header π #1682
- Redesigned center-column layout on wide screens ββ #657 #1023 #1682
- Enable CORS on the preview server with
--cors
#1583 #1637
Bug fixes and other improvements
- Allow
import.meta.resolve
to be used for local files #1008 #1696 - Favor
observablehq:stdlib
overnpm:@observablehq/stdlib
#1670 - Detect broken links during build #363 #1683 #1698
- Detect missing files during build #1650 #1651
- Detect file name conflicts during build #1367 #1374
- Fix crash during preview with temporary files (e.g., Vim) #1498 #1700
- Fix content hashes for modules that import builtins #1688
- Fix reactivity during preview for data loaders from modules #1661 #1662
- Fix reactivity during preview for parameterized modules 8cb2877 #1660
- Use registry.npmjs.org instead of data.jsdelivr.com to resolve npm package versions #1697
Full Changelog: v1.11.0...v1.12.0