Middleman v4.1.0 Release Notes

    • Add rewrite_ignore option to asset_hash, asset_host, cache_buster & relative_assets. This proc let's you opt-out of the extension behavior on a per-path basis.
    • 0๏ธโƒฃ gzip extension now compresses svgs by default
    • Fix the encoding option.
    • Fix relative paths on image_tag helper.
    • Correctly exit with error code on failed init
    • ๐Ÿ›  Fixed asset_hash when path has query string or #hashes
    • Fix new extension template
    • ๐Ÿ“œ Don't parse frontmatter on ignored files.
    • Fix displaying frontmatter on /__middleman/sitemap
    • ๐Ÿ— Add skip_build_clean config which when set to a block, will avoid removing non-generated paths from build, like .git (#1716)
    • ๐ŸŽ Minor performance improvements
    • DRY-up config.rb-specific commands like ignore or path.
    • ๐Ÿ›  Fix automatic images with absolute (or images dir missing) paths in markdown. Fixes (#1755)
    • ๐Ÿ“ˆ Fix asset_host in combination with Google Analytics snippet. (#1751)
    • Show an error message when git CLI is not available. (#1765)
    • ๐Ÿฑ Correctly show file names of GZIP'ed assets. (#1364)
    • ๐Ÿ— Build file output is now parallel-ized! Use middleman build --no-parallel to disable.
    • Make template file extensions that get layouts by default configurable via config[:extensions_with_layout]
    • ๐Ÿšš Remove = from inline url matcher. This means paths in HTML attributes MUST be quoted. Fixes (#1780)