Skip to content

Quartz 5.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 11:04
· 28 commits to v5 since this release
2e69d52

Minor Changes

  • 9ebfc67: extends in quartz.config.yaml is stable for default and 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 an extends chain (the top-level $schema aside), 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 without extends are not affected.
  • cc8d104: quartz.lock.json is read and written next to the config file Quartz uses, and every npx quartz plugin command takes --config / -C like build. A site's repository can hold its content, quartz.config.yaml and quartz.lock.json while 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 by QUARTZ_CONFIG_PATH now also edit that file; they used to write their changes to ./quartz.config.yaml.
  • b86276f: npm plugins that Quartz's package.json doesn't list are pinned in quartz.lock.json (version and integrity) and installed into .quartz/plugins/@scope/name, like Git plugins. plugin add, and plugin install --from-config (e.g. for the obsidian and ttrpg templates' Excalidraw plugin), no longer write them into Quartz's package.json, so npx quartz upgrade doesn't conflict with your plugins, and npm install / npm ci can't remove them. plugin install, --latest, restore, remove, prune, list, doctor and npx quartz plugin handle them alongside Git plugins, and a build installs a missing one at its pinned version. npm plugins in package.json (the default plugins, and any you npm install yourself) are versioned there and load from node_modules, as before: when a plugin is in both, package.json wins.

Patch Changes

  • ea4b075: Plugin update: og-image 1.2.0. A page's social image (socialImage, or Obsidian's image / cover property) 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 in quartz/static/.