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
orpath
. - ๐ 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)