All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- fix: skip vml tags when replacing sources inside mso comments e1a867f
https://github.com/maizzle/framework/compare/v5.0.5...v5.0.6
- fix: broad regex when checking for selectors to preserve 97073e4
https://github.com/maizzle/framework/compare/v5.0.4...v5.0.5
- fix: handling of pseudo-classes when inlining css c0b7457
https://github.com/maizzle/framework/compare/v5.0.3...v5.0.4
- fix: handling of base64 encoded css values in
preferUnitlessValues
2e0b456
https://github.com/maizzle/framework/compare/v5.0.2...v5.0.3
- fix: handle baseUrl inside mso comments for non-vml tags 935d4fb
- build(deps): bump posthtml-base-url from 3.1.6 to 3.1.7 35306ff
- fix: export correct generatePlaintext type definition 0dc868a
- fix: plaintext files output path 9fba8f7
- fix: output files at root of output.path bdc66b6
- fix: ensure node exists 85c4685
https://github.com/maizzle/framework/compare/v5.0.1...v5.0.2
- fixed an issue with HMR in workspaces and pnpm projects
- fixed an issue preventing
<fetch>
from working
- updated dependencies (see compare link below)
https://github.com/maizzle/framework/compare/v5.0.0...v5.0.1
Maizzle 5 comes with awesome new features like:
- New dev server with HMR*
- 10x faster local dev
- Streamlined configs
- Streamlined Tailwind CSS
npx create-maizzle
- Revamped CLI
- Content source globs
- Updated template
- Better modern CSS support (vars, calc)
- Improved type definitions
- New tags (
<env:?>
,<template>
) - Enhanced events/hooks
Maizzle 5 requires Node.js 18.20+
* Hot Markup Replacement™
Upgrade guide: https://maizzle.com/docs/upgrade-guide
- fix:
attributes.remove
type d10dc05 - fix: include user-defined
components.fileExtension
in list of component file extensions to scan for 005e2ee
- refactor: access
baseURL
config only once d42f405
- fix: use correct output file extensions 5c9421b
- build(deps): use posthtml-component@next f725e50
This release uses posthtml-component@next
which now supports fileExtension
as an Array
of file extensions to use when scanning for components.
The goal is to allow using templates with multiple file extensions, as right now only one extension can be used.
So for example you could have a project for Woocommerce emails with this structure:
emails
├── html
│ └── order-received.html
└── woocommerce
└── order-received.php
- fix: server start time logging ad4e8e0
- fix: css type declarations e234e76
- chore: add
build.current
to server routes a9160e2
- build: update dependencies 596f4b2
- feat: add
css.resolveCalc
option cde20d4
- chore: remove duplicate declaration removal 619ef35
- feat: add
css.resolveProps
option 097e8d4
- fix: add back build.current in
maizzle serve
9b53fcb
- refactor: remove
beforeCreate
event inmaizzle serve
653ec48
- feat: scan additional components folders 38e0ed4
- feat: add types for safelist options 6e1610f
- feat:
preservedSelectors
option for inliner 3598cf7
- refactor: rename comb option to
safelist
89d7051 - refactor: rename
preservedSelectors
tosafelist
58f2e9c - build(deps): update vitest 2917c80
- fix: list of templates to compile 9688ff9
- fix: copy source files to destination 0b4caab
- build(deps): update dependencies d24e49a
- refactor: use
posthtml-widows
instead ofstring-remove-widows
bccbd7b
- fix: default posthtml options 6a5249b
- refactor: widow words default attribute name 01623cc
- fix: preserve email client target selectors when inlining 24a1a9b
- fix: using style[data-embed] c735364
- test: generates plaintext file e9fb327
- build(deps): update dependencies 1d6a684
- refactor: transformers tests a21172a
- refactor: transformer order 4a24a9b
- feat: toggle nested folders in dev index page 368f04b
- fix: config object in beforeCreate event 81288f8
- fix: encode index URI for special characters d7053a8
- fix: error when filename has a space 5ca34b5
- chore: update markdown type definition 9dd5708
- feat: return early in markdown transformer daea021
https://github.com/maizzle/framework/compare/v5.0.0-beta.24...v5.0.0-beta.25
- synchronized scrolling 619fb51
- checking
<template>
tag forpreserve
attribute f957568 - return tree from
prettify
transformer 1d15fc5 - use correct config object in events e3a4b36
- move expressions config object to root 43a1d76
- [breaking] bump required node version to
18.20
b305d56 - updated dependencies e42050d
https://github.com/maizzle/framework/compare/v5.0.0-beta.23...v5.0.0-beta.24
- plaintext generation 571c1cf
- update inline type dec0dd5
- bump
juice
to10.0.1
973a820 - updated index page b8e6b83
https://github.com/maizzle/framework/compare/v5.0.0-beta.22...v5.0.0-beta.23
- downgrade
cheerio
torc.12
d9e2924
- update
cheerio
import path dca3fb6
- create correct build output paths 398705c
- add type for
build.output.from
49b1955
https://github.com/maizzle/framework/compare/v5.0.0-beta.19...v5.0.0-beta.20
- add types for
build.current
18c75f7 - 404 page for local dev ce9416f
- locals passed to fetch plugin cca8060
- serve static files added to watched paths after server was started ab7eb6d
- wait for file contents to be written before reading them 8c9324c
- posthtml expression config 1f95625
- start dev server spinner sooner 566dc54
- watch maizzle
.ts
config files cdbf3dd - watch more config file extensions 45575fb
https://github.com/maizzle/framework/compare/v5.0.0-beta.18...v5.0.0-beta.19
- allow capturing groups replacement in
replaceStrings
transformer 6a381b7
- revert exposing posthtml compiler in events 50eb0ff
- revert automatically setting
baseURL
dd6c321 - update github workflow 657cba3
https://github.com/maizzle/framework/compare/v5.0.0-beta.17...v5.0.0-beta.18
env
tags and attributes in components bf33ee8
- update events types 0847b46
- export
fetch
tag config types b7e3a64 - define
fetch
key at root of config 0acd06b
https://github.com/maizzle/framework/compare/v5.0.0-beta.16...v5.0.0-beta.17
- type definitions 6e59b4f
- updated dependencies a96bf00
https://github.com/maizzle/framework/compare/v5.0.0-beta.15...v5.0.0-beta.16
- add
<fetch>
tag 7ec603b
- serve templates added after the watcher started cc58423
- make keys optional in type definitions faf910b
https://github.com/maizzle/framework/compare/v5.0.0-beta.14...v5.0.0-beta.15
- don't import transformers in build command cf8acef
- pass posthtml options to parse function d048b08
- update
urlParameters
type definition 8ff5e1c - update config types 504e158
- update build config type definitions 2e662da
- update events type definitions e4ed0ed
- revert exposing transformers in events 9f0797c
- update transformers tests 41e864b
- ensure
addAttribute
adds default img attribute with no value b36d92d
https://github.com/maizzle/framework/compare/v5.0.0-beta.12...v5.0.0-beta.13
- expose front matter object in events 9603739
- events type definitions 9858437
- use posthtml default config when parsing front matter dca806c
https://github.com/maizzle/framework/compare/v5.0.0-beta.11...v5.0.0-beta.12
- allow customizing the spinner when developing locally 7d06117
- use components options from user config 3cd3096
- remove unused imports 430908d
https://github.com/maizzle/framework/compare/v5.0.0-beta.10...v5.0.0-beta.11
- copying static assets 43c28b6
Fixed an issue with static assets being copied twice if they were nested in the static.source
directory.
For example this:
src/images
/v1/hero.jpg
logo.jpg
... was copied over to this:
build_production/images
/v1/hero.jpg
hero.jpg # this shouldn't be here!
logo.jpg
https://github.com/maizzle/framework/compare/v5.0.0-beta.9...v5.0.0-beta.10
- update posthtml-base-url 7362db8
- update dependencies 11d30b7
- update morphdom to 2.7.4 9a5b7cd
https://github.com/maizzle/framework/compare/v5.0.0-beta.8...v5.0.0-beta.9
<template>
tag 9ae94ee- built templates count ff28808
- inlining css values containing colons 66a5e34
- loose check for
env
tags cf1d875 - srcset
baseUrl
path joins eb49bd6
- update
env
tag test 3e34c20
https://github.com/maizzle/framework/compare/v5.0.0-beta.7...v5.0.0-beta.8
- add support for
<env:...>
tags aedc861
https://github.com/maizzle/framework/compare/v5.0.0-beta.6...v5.0.0-beta.7
- support more attribute names for preventing inlining ee0523e
https://github.com/maizzle/framework/compare/v5.0.0-beta.5...v5.0.0-beta.6
- environment-based attribute values d129e6a
https://github.com/maizzle/framework/compare/v5.0.0-beta.4...v5.0.0-beta.5
- expose transformers to
afterBuild
event b1154e1 - expose posthtml and transformers to
render
events ae1227a
- export types for
build.expressions
8175e1b - actually export transformers 66d5872
build.content
type definition 98ab301- missing calc precision param d128cd7
- update events tests 9227365
- build command 9f84e35
- set
resolveCalc
precision to2
df006eb
https://github.com/maizzle/framework/compare/v5.0.0-beta.3...v5.0.0-beta.4
- add release script 56c78d8
safeClassNames
option name 8dceb20- update dependencies d223968
https://github.com/maizzle/framework/compare/v5.0.0-beta.2...v5.0.0-beta.3
- morphdom path e2bb669
- force reload if no websocket support a79a50c
https://github.com/maizzle/framework/compare/v5.0.0-beta.1...v5.0.0-beta.2
- git conflicts fd73020
- bump posthtml-attrs-parser from 1.1.0 to 1.1.1 2140655
- bump posthtml-markdownit from 1.3.1 to 3.1.0 6575567
- bump posthtml-content from 1.0.3 to 2.1.0 fad8740
- bump posthtml-mso from 2.0.1 to 3.1.0 ca2df93
- bump posthtml-postcss-merge-longhand from 3.1.1 to 3.1.2 925f21a
- bump postcss from 8.4.38 to 8.4.39 547659a
https://github.com/maizzle/framework/compare/v4.8.8...v5.0.0-beta.1