Minor Changes
- 9ebfc67:
extendsinquartz.config.yamlis stable fordefaultand local paths: its merge rules won't change in a minor release.https://URLs stay experimental. Keys starting with$are now reserved in every file of anextendschain (the top-level$schemaaside), so merge operators such as appending to a list can be added later without changing existing configs; a config that uses one stops with an error naming the key. Configs withoutextendsare not affected. - cc8d104:
quartz.lock.jsonis read and written next to the config file Quartz uses, and everynpx quartz plugincommand takes--config/-Clikebuild. A site's repository can hold its content,quartz.config.yamlandquartz.lock.jsonwhile Quartz is checked out elsewhere (as the GitHub Action will). With the config in Quartz's folder nothing changes, and a config elsewhere keeps using an existing lockfile in Quartz's folder until its own folder has one. Plugin commands with a config chosen byQUARTZ_CONFIG_PATHnow also edit that file; they used to write their changes to./quartz.config.yaml. - b86276f: npm plugins that Quartz's
package.jsondoesn't list are pinned inquartz.lock.json(version and integrity) and installed into.quartz/plugins/@scope/name, like Git plugins.plugin add, andplugin install --from-config(e.g. for theobsidianandttrpgtemplates' Excalidraw plugin), no longer write them into Quartz'spackage.json, sonpx quartz upgradedoesn't conflict with your plugins, andnpm install/npm cican't remove them.plugin install,--latest,restore,remove,prune,list,doctorandnpx quartz pluginhandle them alongside Git plugins, and a build installs a missing one at its pinned version. npm plugins inpackage.json(the default plugins, and any younpm installyourself) are versioned there and load fromnode_modules, as before: when a plugin is in both,package.jsonwins.
Patch Changes
- ea4b075: Plugin update: og-image 1.2.0. A page's social image (
socialImage, or Obsidian'simage/coverproperty) can be an image in the content folder, written as a wikilink ([[cover.png]]), a path from the content folder, a path relative to the note, or a bare file name. Before, every value that was not a URL was read as a path inquartz/static/.