All @quartz-community/* dependencies move to ^1.0.0 and @quartz-themes/core
to ^2.0.0, following the coordinated 1.0 release.
Pre-1.0 caret ranges pinned the minor version, so published fixes to shared
packages could never be resolved. This also eliminates the 46 nested
duplicate copies of @quartz-community/types that the old ranges forced into
the dependency tree.
Add disabled theme entry to default config and default/blog templates.
Migrate obsidian and ttrpg templates from git-based quartz-themes source
to npm @quartz-themes/core package.
Remove unconditional import of CustomOgImagesEmitterName from
.quartz/plugins in Head.tsx. This caused builds to fail when the
og-image plugin was not listed in quartz.config.yaml, violating the
plugin system's opt-in contract.
The fix inlines the emitter name string constant at the usage site.
Also convert the ContentDetails import in fileTrie.ts to
`import type` since it is only used in a type position.
Multiple plugins declare incompatible peer dep ranges for shared packages
(sharp, @myriaddreamin/rehype-typst, etc). These are optional peers that
work correctly at runtime. legacy-peer-deps is the appropriate setting
for a host application consuming many plugins.
The npm specifier path requires additional work in the esbuild
transpilation pipeline to mark npm imports as external. Reverting
to github: specifiers to restore the docs site immediately.
The npm loader code (parsePluginSource, config-loader, CLI) remains
in place for future use. Only the default config/templates are reverted.
The lockfile was generated on linux x86_64 but CI needs platform-
specific optional deps for all architectures. npm install resolves
them correctly while npm ci requires exact lockfile match.
og-image requires sharp as a peer dep which conflicts with the
version installed by quartz core. legacy-peer-deps allows both
to coexist until the peer dep ranges are aligned.
- Added all 44 default plugins as dependencies so npm ci installs them
- Fixed @quartz-community/fonts → @quartz-community/quartz-fonts (actual npm name)
- Regenerated package-lock.json with plugin dependencies
Plugins can now be referenced as "@quartz-community/<name>" in
quartz.config.yaml and via 'quartz plugin add'. The npm path skips
git installation and resolves from node_modules.
Changes:
- gitLoader.ts: detect @scope/name as npm package in parsePluginSource()
- config-loader.ts: skip git install for npm packages, read manifests
from node_modules via createRequire
- install-plugins.ts: filter npm packages from prebuild, fallback to
YAML config parsing to avoid loading full quartz.ts
- plugin-data.js: npm detection in CLI parseGitSource()
- plugin-git-handlers.js: npm install path in handlePluginAdd()
- package.json: add missing hast-util-from-html dependency
Added repository, enabled, and required fields to the frontmatter of
all 44 plugin documentation files. Updated Plugins.base to include
these columns, matching the information previously in the manual tables.
Also filtered out internal plugins (Assets, Static, ComponentResources,
NotFoundPage) from the base query.
Plugin listings in plugins/index.md and getting-started/whats-new.md
are now generated from .base files that query plugin docs by their tags.
This prevents the tables from going out of sync when plugins are added
or updated. Added new-in-v5 frontmatter property to 8 plugin docs for
the what's-new page filter.
Covers the plugin ecosystem, YAML configuration, Obsidian compatibility,
page type system, layout system, performance, CLI, i18n, new plugins,
and plugin development changes. Also updates home page clone command
for v5 as default branch.
loadQuartzConfig() internally calls loadQuartzLayout() to build the
PageTypeDispatcher, which instantiates components. Plugin option overrides
must be registered before this happens. Updated quartz.ts and all doc
snippets that show the ExternalPlugin override pattern to place calls
before loadQuartzConfig(). Also updated OxHugo and Roam docs from stale
v4 plugins pattern to v5 override pattern.
- Fix popover crash on missing Content-Type header (null check)
- Fix SPA loading bar corrupting page via micromorph interference
(remove bar before morph, use ephemeral DOM elements instead of
persistent reference)
- Add stopLoading() cleanup in navigation finally block