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.
This is just a maintenance release to update dependencies.
- build(deps): bump posthtml-base-url from 3.1.7 to 3.1.8 9144f5d
- fix: specify correct posthtml-base-url minimum version f2f8434
- build(deps): bump posthtml-url-parameters from 3.1.2 to 3.1.3 03a33ea
- build(deps): bump posthtml-markdownit from 3.1.1 to 3.1.2 142002c
- build(deps): bump posthtml-fetch from 4.0.2 to 4.0.3 ebbdfd7
- build(deps): bump posthtml-extra-attributes from 3.1.3 to 3.1.4 fc578ec
- build(deps): bump posthtml-postcss-merge-longhand from 3.1.3 to 3.1.4 3b10c6f
This release adds support for configuring multiple static asset folders, allowing you to specify multiple directories from which static assets will be copied to the build output.
- feature: support an array of objects with source and destination 13d4379
- fix: ignoring production folders as static files sources for server a3e4044
This release adds support for using Tailwind CSS color opacity modifiers in Gmail by automatically converting modern rgb/a syntax to the legacy, comma-separated syntax.
- feat: use commas instead of slash for css color opacity modifiers f26774b
This release fixes an issue where builds failed because preferUnitlessValues (which is on by default) was throwing an error when encountering invalid inline CSS.
- fix: skip parsing invalid css in
preferUnitlessValuese891c14
This release fixes an issue that prevented the use of posthtml.plugins.before and posthtml.plugins.after simultaneously.
- fix:
posthtml.plugins.before4374706 - build(deps): bump vite from 6.2.5 to 6.2.6 cafa1f6
- fixed an issue with
altattribute values being overwritten f083636
- chore: add license and changelog to dist 4685745
- chore: update types a5c08ce
- 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
preferUnitlessValues2e0b456
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.removetype d10dc05 - fix: include user-defined
components.fileExtensionin list of component file extensions to scan for 005e2ee
- refactor: access
baseURLconfig 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.currentto server routes a9160e2
- build: update dependencies 596f4b2
- feat: add
css.resolveCalcoption cde20d4
- chore: remove duplicate declaration removal 619ef35
- feat: add
css.resolvePropsoption 097e8d4
- fix: add back build.current in
maizzle serve9b53fcb
- refactor: remove
beforeCreateevent inmaizzle serve653ec48
- feat: scan additional components folders 38e0ed4
- feat: add types for safelist options 6e1610f
- feat:
preservedSelectorsoption for inliner 3598cf7
- refactor: rename comb option to
safelist89d7051 - refactor: rename
preservedSelectorstosafelist58f2e9c - 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-widowsinstead ofstring-remove-widowsbccbd7b
- 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 forpreserveattribute f957568 - return tree from
prettifytransformer 1d15fc5 - use correct config object in events e3a4b36
- move expressions config object to root 43a1d76
- [breaking] bump required node version to
18.20b305d56 - 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
juiceto10.0.1973a820 - updated index page b8e6b83
https://github.com/maizzle/framework/compare/v5.0.0-beta.22...v5.0.0-beta.23
- downgrade
cheeriotorc.12d9e2924
- update
cheerioimport path dca3fb6
- create correct build output paths 398705c
- add type for
build.output.from49b1955
https://github.com/maizzle/framework/compare/v5.0.0-beta.19...v5.0.0-beta.20
- add types for
build.current18c75f7 - 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
.tsconfig 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
replaceStringstransformer 6a381b7
- revert exposing posthtml compiler in events 50eb0ff
- revert automatically setting
baseURLdd6c321 - update github workflow 657cba3
https://github.com/maizzle/framework/compare/v5.0.0-beta.17...v5.0.0-beta.18
envtags and attributes in components bf33ee8
- update events types 0847b46
- export
fetchtag config types b7e3a64 - define
fetchkey 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
urlParameterstype 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
addAttributeadds 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.jpghttps://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
envtags cf1d875 - srcset
baseUrlpath joins eb49bd6
- update
envtag 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
afterBuildevent b1154e1 - expose posthtml and transformers to
renderevents ae1227a
- export types for
build.expressions8175e1b - actually export transformers 66d5872
build.contenttype definition 98ab301- missing calc precision param d128cd7
- update events tests 9227365
- build command 9f84e35
- set
resolveCalcprecision to2df006eb
https://github.com/maizzle/framework/compare/v5.0.0-beta.3...v5.0.0-beta.4
- add release script 56c78d8
safeClassNamesoption 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