2282 Commits
Author SHA1 Message Date
Emile Bangma ce1b5d4d89 Merge pull request #2716 from jackyzha0/dev-mode/deps-audit-fixes
chore(deps): plugin fixes from the test audit
2026-11-27 21:30:42 +01:00
saberzero1 e02d690957 chore(deps): plugins with the audit fixes (utils 1.3.3, bases-page 1.5.6, encrypted-pages 1.3.1, explorer 1.2.5, …) 2026-11-27 21:12:20 +01:00
saberzero1 5d94a93a03 Merge branch 'v5' of https://github.com/jackyzha0/quartz into dev-mode/deps-audit-fixes 2026-11-27 21:09:48 +01:00
Emile Bangma 9a4beb1747 Merge pull request #2715 from jackyzha0/dev-mode/audit-full
test + fix: audit of whole-repo coverage and mutation survivors, and the bugs it found
2026-11-27 20:37:58 +01:00
saberzero1 c03c643a7c test: compare emitted paths with / and give the parser POSIX paths, so the new tests pass on Windows 2026-11-27 16:32:34 +01:00
saberzero1 74d06afca0 docs(dispatcher): a plugin throwing in virtualPageHtmlPlugins fails the build 2026-11-27 16:10:11 +01:00
saberzero1 f285e12ff9 fix(plugins): compare dependency order only within a pipeline stage 2026-11-27 16:10:11 +01:00
saberzero1 6729a1e7bb fix(spa): keep the query string when rebasing relative URLs 2026-11-27 16:10:11 +01:00
saberzero1 37a61cfc08 chore(deps): explorer 1.2.4, search 1.1.3, canvas-page 1.1.5, latex 1.1.3, ox-hugo 1.0.4 2026-11-27 16:04:04 +01:00
saberzero1 45ed91c90c test(dispatcher, emitters, parse): page emission, resource bundling and parsing
PageTypeDispatcher emit/partialEmit (page type priority, virtual and 404
pages, processed file-backed pages, link marks, stale output, what bodies
see), ComponentResources (hashed names, script order, component CSS,
inline resource extraction, serve mode, analytics scripts) and the
single-threaded Markdown pipeline.
2026-11-27 14:44:06 +01:00
saberzero1 9909b508e7 test(config): plugin loading, option merging and dependency checks
loadQuartzConfig: CLI overrides, built-in settings exposed in the
configuration, absorbed crawl-links entries, defaultOptions under entry
options, plugin order, load failures and incompatible plugins in CI,
local plugin manifests from package.json, dependency errors. Unit tests
for source names, dependency validation and layout placement. Adds a todo
test: validateDependencies orders dependencies across pipeline stages.
2026-11-27 14:44:06 +01:00
saberzero1 bd3ac11469 test(links): link options, resources, removed-page marks and SPA URL rebasing
Covers the Links built-in's defaults and options (pretty links, new tab,
external icon, lazy loading), src/data resolution of media, object and
source elements, folder/home page existence, permalink anchors,
frontmatter fragment links, re-marking when a filter changes, and
normalizeRelativeURLs. Adds a todo test: normalizeRelativeURLs drops the
query string of relative URLs.
2026-11-27 14:44:06 +01:00
Emile Bangma 92fa358ef1 Merge pull request #2682 from jackyzha0/changeset-release/v5
chore: release Quartz
v5.3.0
2026-11-27 13:23:03 +01:00
github-actions[bot] ae8049d0fa chore: release Quartz 2026-11-27 12:21:03 +00:00
Emile Bangma e42cdf469d Merge pull request #2714 from jackyzha0/dev-mode/audit-tests-core
test: cover 5.3 changes the mutation audit found untested; fix double-decoded link targets under stripDiacritics
2026-11-27 13:20:39 +01:00
Emile Bangma 747d10ce3a Merge pull request #2713 from jackyzha0/dev-mode/prerelease-link-tests
test: broken-link marking for published folder notes and after page generation
2026-11-27 13:19:43 +01:00
saberzero1 2635c6080a fix(links): don't decode link targets twice under slugs.stripDiacritics
slugOptionsOnLinkPath decoded and stripped the target's path before transformLink, which
decodes it again and (utils 1.3) strips diacritics itself. It changed nothing for any link
except one with a percent-encoded % (`%2520`), which it turned into a space, so the link
pointed at the wrong slug and was marked broken. Removed; the stripDiacritics link tests
still pass without it.
2026-11-27 04:45:48 +01:00
saberzero1 149c82f1da test: cover 5.3 changes the mutation audit found untested
- SlugRedirects emitter (emit/partialEmit, gating, live set, relative targets)
- loadQuartzConfig with extends: default (merged configuration, plugins,
  layout; before/after against built-ins; JSON configs)
- fetchRemoteConfig: offline cache, http redirect, 1 MB limit (bytes),
  memoisation counted, retry after a failure; non-object base; cycle chain
- resolveTarget refuses http URLs that contain https://
- orderPlugins with several before/after targets
- plugin entry keys before/after accepted by the CLI validator
- Head on the 404 page and tag pages
- isolateComponentCss warning; componentStylesheet extracted from
  ComponentResources so the test uses the emitter's own wrapping
- dateIsFromFrontmatter, pluginMatchKey without name/subdir
- todo: stripDiacritics link paths decode a percent-encoded % twice
2026-11-27 04:44:46 +01:00
saberzero1 f47668e024 test: broken-link marking for published folder notes and after page generation
markUnpublishedLinks never marks a link to a published page (a folder note that no page
type generates, an alias) once the page types ran, and a draft folder note leaves the link
to the generated folder page or marks it missing. markLinksToUnpublishedPages (exported for
the test) builds the generated set from the virtual pages, marks drafts with their filter
and folders no page type generated as missing, reports changed pages once, and marks
nothing when the Links transformer doesn't mark broken links.
2026-11-27 04:24:38 +01:00
Emile Bangma 29be20f41c Merge pull request #2712 from jackyzha0/dev-mode/block-id-caret
fix: block anchors are #^id, separate from headings (as in Obsidian)
2026-11-27 00:44:05 +01:00
saberzero1 f7b41e7bbf chore(deps): block anchors #^id (utils 1.3.2, rehype-obsidian 1.6.0 via OFM 2.5.3, GFM 2.2.2, canvas-page 1.1.4, note-properties 1.2.3, bases-page 1.5.5) 2026-11-27 00:42:31 +01:00
saberzero1 7c24cc66e1 Merge remote-tracking branch 'origin/v5' into dev-mode/block-id-caret 2026-11-27 00:41:24 +01:00
saberzero1 3df0062b6f fix(transclude): find blocks by their lowercased name; docs for #^id block anchors 2026-11-27 00:22:34 +01:00
Emile Bangma beca3bc26d Merge pull request #2711 from jackyzha0/dev-mode/investigate-c
fix: broken marks for missing folder/tag pages, watch-mode re-emit, per-component CSS isolation, SPA scroll, stripDiacritics redirects, popover selector
2026-11-27 00:21:42 +01:00
saberzero1 0e16919455 docs(slugs): old addresses redirect when stripDiacritics is on; fold the redirect changeset into the option's 2026-11-27 00:20:07 +01:00
saberzero1 81b358224b fix(popover): escape the target id in the popover's scroll-to selector (ids like ^block-id are not CSS identifiers) 2026-11-26 23:30:54 +01:00
saberzero1 0346dc6149 feat(slugs): redirect from addresses that slugs.stripDiacritics changed 2026-11-26 23:25:25 +01:00
saberzero1 e0f1e03913 fix(spa): keep a scroll position still pending when Back/Forward leaves the entry 2026-11-26 23:23:03 +01:00
saberzero1 c79adab53b fix(css): parse each component's CSS on its own before joining the component stylesheet 2026-11-26 23:20:33 +01:00
saberzero1 af36801547 fix(links): mark links to folder/tag pages that aren't generated; re-emit pages whose link marks change in watch mode 2026-11-26 23:18:49 +01:00
Emile Bangma b1fc7acd8e Merge pull request #2707 from jackyzha0/docs/5-3-release-notes
docs: 5.2 and 5.3 release notes, upgrade steps and new plugin options
2026-11-26 23:13:24 +01:00
saberzero1 011c101cd3 docs: final stripDiacritics rule and stacking extends in what's new; canvas text-node embeds and tags; changeset no longer promises redirects from old addresses 2026-11-26 23:12:03 +01:00
saberzero1 690f7a0325 Merge remote-tracking branch 'origin/v5' into docs/5-3-release-notes 2026-11-26 23:11:21 +01:00
Emile Bangma abfda7b85e Merge pull request #2710 from jackyzha0/deps/5-3-audit-plugins
chore(deps): plugin releases from the pre-5.3 audit
2026-11-26 23:11:01 +01:00
saberzero1 f646ffe97d chore(deps): plugin releases from the pre-5.3 audit 2026-11-26 23:09:32 +01:00
Emile Bangma 61b06fa295 Merge pull request #2709 from jackyzha0/dev-mode/5-3-core-fixes
fix: pre-5.3 audit fixes (broken-link marks, stand-in dates, extends, CLI, order, conditions, head, frontmatter links, release workflow)
2026-11-26 22:47:29 +01:00
saberzero1 39520c2aca chore(deps): @quartz-community/utils ^1.3.1 (stripDiacritics folds Latin letters to ASCII) 2026-11-26 22:42:57 +01:00
saberzero1 842712113b ci(release): re-runnable tag/release/Docker steps; fail clearly on a tag at another commit 2026-11-26 22:42:07 +01:00
saberzero1 8be4d8eadc fix(frontmatter): parse Markdown link destinations and titles as CommonMark does (#2672) 2026-11-26 22:41:04 +01:00
saberzero1 7b4da1cbcc fix(head): reindex.md is an article; only index pages are websites 2026-11-26 22:40:07 +01:00
saberzero1 b2241c313e fix(conditions): is-folder-index is false on tag pages (tags/index) 2026-11-26 22:40:07 +01:00
saberzero1 bc0e3937c3 fix(order): before/after naming crawl-links, remove-draft or content-index mean the built-in 2026-11-26 22:39:04 +01:00
saberzero1 9de19e3027 fix(cli): plugin commands and info read the merged extends config; edits write only the user's entries; --serve watches local bases 2026-11-26 22:37:51 +01:00
saberzero1 a51b7df1ce fix(extends): stack listed presets; match monorepo plugins by subdir; clearer errors 2026-11-26 22:32:13 +01:00
saberzero1 2b061ab9de fix(links): don't mark links to emitted files (feeds, sitemap, static/) broken 2026-11-26 22:29:20 +01:00
saberzero1 0d05ef72d8 fix: leave the date plugin's stand-in (build-time) dates out of contentIndex.json and article meta 2026-11-26 22:28:19 +01:00
Emile Bangma e07aad698d Merge pull request #2708 from jackyzha0/chore/slug-options-from-utils
fix(slugs): stripDiacritics reaches plugins and the browser; use utils' slug options
2026-11-26 21:24:07 +01:00
saberzero1 dd667ee315 fix(slugs): pass slugs.stripDiacritics to browser scripts; plugins bundling utils 1.3 (bases-page, breadcrumbs, canvas-page, explorer, folder-page, note-properties, OFM) 2026-11-26 21:22:39 +01:00
saberzero1 673a596cf8 refactor(slugs): use @quartz-community/utils' slug options instead of core's copy (core requires utils 1.3) 2026-11-26 20:59:45 +01:00
saberzero1 57cd6631d3 docs: 5.2 and 5.3 release notes and upgrade steps; explorer sort/rootFolder, GFM singleTilde/replacements, OFM math/markdownEmbeds, canvas options, Pele default 2026-11-26 20:55:56 +01:00