Skip to content

Import v3.0.0-beta.12

Pre-release
Pre-release

Choose a tag to compare

@zachleat zachleat released this 10 Nov 14:55
· 15 commits to main since this release
Immutable release. Only release title and notes can be modified.
cac9da4
  • New experimental source: git: imports the commit history of files into a commits array in each file's data file. It reads a local checkout with git log. Without a checkout it uses the GitHub API. A trailing / in --path imports every tracked file in a folder. Usage: npx @11ty/import git . --path=README.md,src/docs/
  • New feature: Adds --assetmaxsize (setAssetMaxSize()) to skip downloading assets over a size. Larger assets keep their remote URL. Usage: npx @11ty/import [type] [target] --assetmaxsize=10MB
  • On webmentions source imported comments and reactions now keep source and target (from wm-source and wm-target)
  • Fix: a <video poster> image now counts as an image (not a video) for the per-source assets option.
  • Fix: <track> captions now always download when assets are enabled.

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