Releases: maizzle/framework
v1.3.1
v1.3.0
Pass config object to serve()
You can now pass a Maizzle config object to the serve()
method. Most users won't need this, it was mainly added for use in the test suite. But it's still technically a new feature, hence the v1.3.0
feature release.
Additionally, this release updates some dependencies and includes a security fix (for lodash
).
- build(deps): bump posthtml-url-parameters from 1.0.3 to 1.0.4 95f894f
- test(todisk): fix failing tests 1900843
- feat: allow passing a config to serve() method 0431c46
- build(deps): bump tailwindcss from 1.4.6 to 1.5.2 478decc
- build(deps-dev): bump ava from 3.10.1 to 3.11.0 9b77d6c
- build(deps): bump browser-sync from 2.26.7 to 2.26.12 6587b85
- build(deps): bump ora from 4.0.4 to 4.0.5 0689100
- build(deps): [security] bump lodash from 4.17.14 to 4.17.19 c67b973
- build(deps-dev): bump np from 6.3.1 to 6.3.2 fa908d1
- build(deps): bump postcss-nested from 4.2.2 to 4.2.3 8f0e7b3
- build(deps): bump juice from 6.0.0 to 7.0.0 a9bc488
v1.2.1
This release mainly fixes an issue with parsing expressions passed to <content></content>
in components (posthtml/posthtml-modules#46)
- build(deps-dev): bump np from 6.3.0 to 6.3.1 f2ad173
- build(deps): bump posthtml-modules from 0.6.1 to 0.6.2 39cc7b2
- build(deps): bump posthtml-expressions from 1.4.4 to 1.4.5 89ff144
- build(deps-dev): bump ava from 3.10.0 to 3.10.1 bbfb50f
- build(deps-dev): bump np from 6.2.5 to 6.3.0 22fd4e6
- build(deps-dev): bump xo from 0.32.0 to 0.32.1 d8fe3aa
- build(deps): bump postcss-nested from 4.2.1 to 4.2.2 853889f
- build(deps): bump html-crush from 1.9.36 to 2.0.0 2d66fd7
- build(deps-dev): bump ava from 3.9.0 to 3.10.0 60937c6
v1.2.0
This minor release contains mostly dependency updates, but it also adds a new feature and fixes a few issues.
Features
- feat: support all browsersync options 00f4196
Fixed
- skip inexistent asset paths ded92b2
- external engine variables break urlParameters #213 (fixed in posthtml/posthtml-url-parameters#3)
<raw>
tag not working inside<if>
condition (fixed in posthtml/posthtml-expressions#87)- escape custom delimiters when ignoring expressions (fixed in posthtml/posthtml-expressions#91)
- correctly output nested components (fixed in posthtml/posthtml-modules#44)
v1.1.1
v1.1.0
First feature release since v1.0 🎉
Multiple asset paths
You can now define multiple asset paths, with an array. For example:
// config.js
module.exports = {
build: {
assets: {
source: ['src/assets/images', 'src/fonts'],
destination: 'assets',
},
// ...
}
}
Disable safeClassNames
You can now disable the safeClassNames
transformer:
// config.js
module.exports = {
safeClassNames: false,
}
Doing this will no longer replace escaped characters in CSS class names with email-safe alternatives.
Updated extraAttributes
extraAttributes
now uses PostHTML too, replacing cheerio
. This was done so that we push the HTML through a single parser, for consistency and predictability - except the inliner, all transformers in Maizzle now use PostHTML.
See docs for new extraAttributes
options.
Bug Fixes
Fixed an obscure issue with posthtml-safe-class-names
, where CSS comments containing HTML tag names were breaking the build (posthtml/posthtml-safe-class-names@3d7deb9).
See full diff:
v1.0.9
This release updates some dependencies and fixes issues with ignoring expression delimiters (#160 and #171).
- build: update dependencies 828e397
- build(deps): bump front-matter from 3.1.0 to 3.2.1 21ba57a
- build(deps): bump email-comb from 3.9.14 to 3.9.16 21935ea
- build(deps): bump string-strip-html from 4.4.3 to 4.4.5 c6249a3
- build(deps): bump postcss from 7.0.29 to 7.0.30 7bd7f37
- build(deps): bump posthtml-expressions from 1.4.0 to 1.4.1 737b0ec
- build(deps): bump html-crush from 1.9.31 to 1.9.33 a0ec0cd
v1.0.8
- test: add tests for helpers d0b1281
- test(tostring): add inheritance test 0792e13
- fix(posthtml): use expressions plugin last 211d64e
- revert(posthtml): remove initial option from modules plugin 9a2abc8
- fix(tailwind): prepend passed css string to css from existing file aad35d1
- build: disable complexity in linter 878cefc
- refactor(tailwind): use a single function for css compilation 9c329cd
- test(transformers): update transform test 16d43c1
Full diff: v1.0.7...v1.0.8
v1.0.7
This release bumps some dependencies versions, and fixes an issue with safe class names not working with @font-face
.
- chore: bump posthtml-safe-class-names 8f40131
- build(deps): bump postcss from 7.0.28 to 7.0.29 1446d9a
- build(deps): bump posthtml-mso from 1.0.0 to 1.0.1 cd5dad2
- build(deps): bump tailwindcss from 1.4.0 to 1.4.4 4ddd93c
- build(deps): bump postcss from 7.0.27 to 7.0.28 90518bb
- build(deps-dev): bump np from 6.2.2 to 6.2.3 e92835a