Skip to content

Releases: maizzle/framework

v0.5.0

12 Dec 02:11
Compare
Choose a tag to compare

This minor release adds both new and long-awaited features to Maizzle.

Lifecycle hooks

You can now hook into the build process when using the render() function. See more in #71.

Escaped class names

You can now safely use the : separator, as well as / in your class names - Maizzle replaces escaped characters in CSS selectors and HTML classes like sm\:w-1\/2 and sm:w-1/2 with a simple but email client-compatible -

Template inheritance

This has now been fixed so that you can even extend a template from another template.

Prevent Widows

You can now use a prevent-widows attribute on any tag, in order to prevent widow words. Spaces and hyphens at the end of a paragraph will be replaced with non-breaking spaces and non-breaking hyphens.

Additionally....:

  • maizzle build now also uses the toString() method. d2adb1a
  • will throw error if Tailwind config is not an object. cf46651
  • Compile Tailwind only if needed. 0f663d6
  • Copy assets to output dir as a final step. 0ed5198
  • Start using ESLint. 9b5d03a

v0.4.4...v0.5.0

v0.4.4

02 Dec 15:06
Compare
Choose a tag to compare

Just a maintenance release.

v0.4.3...v0.4.4

v0.4.3

17 Sep 10:08
Compare
Choose a tag to compare

Update to this patch release to fix critical issues with email-comb, and to get better error handling for the render() method in Node.

  • [Hotfix] Bump email-comb from 3.7.1 to 3.8.0 ba0d2b7
  • Remove console.log f88c50e

v0.4.2...v0.4.3

v0.4.2

11 Sep 13:18
Compare
Choose a tag to compare
  • [Hotfix] Update email-comb to 3.7.1 c55023c

v0.4.1...v0.4.2

v0.4.1

10 Sep 17:47
Compare
Choose a tag to compare
  • Add replaceStrings transformer. 1779ddb
  • Pass through minifier only if explicitly enabled. 37f8f06

v0.4.0...v0.4.1

v0.4.0

10 Sep 13:28
Compare
Choose a tag to compare
  • Use Nunjucks extends in render() 05a5389
    Fixes an issue with Nunjucks templating in Node context, where you couldn't extend a Layout from a Template.

  • Make opts.tailwind.css optional in render() 15898cf
    Default to @tailwind utilities; if no tailwind.css has been passed to render() opts

Updated dependencies:

  • Bump posthtml from 0.11.4 to 0.11.6 ee9fccf
  • Bump color-shorthand-hex-to-six-digit from 2.10.37 to 2.10.40 5eb3035
  • Bump query-string from 6.8.2 to 6.8.3 780ebd5
  • Bump email-comb from 3.5.1 to 3.6.1 f5fd1c5
  • Bump string-strip-html from 4.0.29 to 4.1.1 bbf1b33

v0.3.3...v0.4.0

v0.3.3

28 Aug 10:48
Compare
Choose a tag to compare

This is just a security & maintenance release:

  • [Security] Bump set-value from 2.0.0 to 2.0.1 5da7c27
  • [Security] Bump mixin-deep from 1.3.1 to 1.3.2 af7f0c4
  • Bump query-string from 6.8.1 to 6.8.2 d8eba9e
  • Bump color-shorthand-hex-to-six-digit from 2.10.35 to 2.10.37 9e63ac0
  • Bump email-comb from 3.4.8 to 3.5.1 1e5bf71
  • Bump tailwindcss from 1.0.6 to 1.1.2 13c8832
  • Bump string-strip-html from 4.0.27 to 4.0.29 227514a

v0.3.2...v0.3.3

v0.3.2

15 Aug 22:44
Compare
Choose a tag to compare
  • Better media query sorting. 99d1aa5

v0.3.1...v0.3.2

v0.3.1

13 Aug 12:18
Compare
Choose a tag to compare
  • Specify env when getting config in serve method. acbeb91

v0.3.0...v0.3.1

v0.3.0

01 Aug 13:49
Compare
Choose a tag to compare
  • Remove fix for Tailwind CSS escaped characters. 9d0a870
  • Throw error if building env with missing config. 5ca5230
  • Allow using array for build.templates.filetypes ab361d2
  • Don't add baseImageURL to empty attributes. a5e7e4a
  • Support falsy values for baseImageURL. 3412db5

+ dependencies & security updates

v0.2.4...v0.3.0