Skip to content

Import v3.0.0-beta.13

Pre-release
Pre-release

Choose a tag to compare

@zachleat zachleat released this 10 Nov 21:48
Immutable release. Only release title and notes can be modified.
2694e64
  • Breaking (against v3.0.0-beta.1): --contentselector is no longer a CLI flag. Use the contentSelector source option instead. Usage: importer.addSource("wayback", { url: "example.com", contentSelector: "div.entry" })
  • Source git: commits keeps only the 10 newest commits by default. Use the commits source option to change this (0 keeps the full history). Usage: importer.addSource("git", { url: ".", path: "README.md", commits: 25 })
  • Source git: adds an authors array, each author from a file's full history once, oldest first. It isn't limited by commits, and authors are never removed on later imports.
  • Source git: adds a route source option (api or local) to force a route. api on a folder target uses its GitHub origin remote and the branch it tracks there.
  • Source git: the GitHub API route now pages through histories longer than 100 commits.
  • Source git: commit author avatars from the GitHub API now follow the same download rules as comment avatars.
  • Source wordpress: adds a route source option (api, wordpressdotcom, or rss) to skip discovery.
  • Source substack: linked full-size images are now downloaded. substackcdn.com image proxy URLs resolve to the original image, so a link and its image share one local file.
  • Fix: Source substack archive requests no longer fail with a 400 error (pages with cursor instead of offset). #65
  • Fix: Linked images with block children (e.g. Substack's <a><div><img></div></a>) no longer split across multiple lines in Markdown output. #66

Import v3.0.0 Milestone: https://github.com/11ty/import/milestone/5?closed=1
Full Changelog: v3.0.0-beta.12...v3.0.0-beta.13