Skip to content

Releases: maizzle/framework

v4.4.4

30 Mar 15:32
Compare
Choose a tag to compare

Fixed

  • fixed an issue where selectors safelisted with removeUnusedCSS.whitelist were still being removed after they were inlined. To make sure that a selector that was inlined will not be removed from the HTML markup, you need to safelist it like this:

     // config.production.js
     module.exports = {
      // ...
       inlineCSS: true,
       removeUnusedCSS: {
         whitelist: ['.preserve-me'] // need the full CSS selector with leading dot etc., not just "preserve-me"
       },
     }
  • fixed an issue where removeInlinedSelectors could not be disabled.

    You may now choose to not remove from the HTML any CSS classes that were inlined:

     // config.production.js
     module.exports = {
      // ...
       inlineCSS: true,
       removeUnusedCSS: {
         removeInlinedSelectors: false,
       },
     }

    CSS will be inlined, but classes will not be removed from the elements or from <style>.


v4.4.3...v4.4.4

v4.4.3

28 Mar 17:32
Compare
Choose a tag to compare

Changed

  • build(deps): bump tailwindcss from 3.2.7 to 3.3.0 9d4010e
  • build(deps): bump postcss-merge-longhand from 5.1.7 to 6.0.0 7f9693c

v4.4.2...v4.4.3

v4.4.2

24 Mar 20:47
Compare
Choose a tag to compare

Fixed

v4.4.1...v4.4.2

v4.4.1

24 Mar 19:22
Compare
Choose a tag to compare

Fixed

  • fixed an issue where utilities in Templates inside directories with dots in their name (like src/templates/test.com) were not being generated

Changed

  • add {raw: html, extension: 'html'} to Tailwind's content.files only if html was passed to the Tailwind compiler - this happens/is needed only when using Maizzle programmatically, so we removed it for normal use cases

v4.4.0...v4.4.1

v4.4.0

21 Mar 16:57
Compare
Choose a tag to compare

🥳 v4.4.0 is here, bringing a new Components system, new Starter components, omit/skip, and tons of bugfixes!

New features

  • Blade-like Components system

    We have a new, awesome Components system! It uses Blade-like syntax and comes with a lot of cool features, like slots, stacks, props, and more! Checkout the new Components documentation for more information.

  • Added new Starter Components: Spacer, Divider, Button

  • Added new omit option for templates (docs) #851

  • Added new skip option for templates (docs) #851

  • Added shorthandCSS as an alias for shorthandInlineCSS #855

  • Added support for config.cjs files #873

  • Added support for for tag name in loops #902

Changed

  • Updated the official Starter to use the new Components syntax
  • Updated tailwind.config.js in the Starter to use types, so you now get autocompletion for config keys in your IDE
  • Improved build error message when you don't have a build.templates.source defined in the config #878
  • Do not duplicate CSS properties to HTML attributes by default 6c36024

Fixed

  • Fixed issue in removeUnusedCSS where some selectors were being purged even if they were a pseudo selector or part of a media query #853
  • Fixed an issue with removing possibly inlined CSS selectors from the <style> tag #855
  • Fixed an issue with CSS shorthand inconsistencies between inline CSS and CSS in <style> tag #855
  • Fixed an issue where the string undefined was being prepended to VML src paths if you were using object syntax for baseURL #857
  • Fixed an issue with baseURL defaults preventing URLs from being prepended, when it was configured as an object #877
  • Fixed an issue where new data added to the config while the server is running were not always available when developing locally #886
  • Fixed a bug where your custom Tailwind config object was not being used when rendering emails through the Maizzle API #890
  • Fixed an issue where information about the current template was not being updated when developing locally #897
  • Fixed an issue where an empty Tailwind CSS config was being used when developing locally #899, #900
  • Fixed an issue where saving a template file while developing locally was outputting it in a wrong location #901
  • Fixed an issue where removeUnusedCSS was running in local dev, even though it wasn't enabled in the config f105672
  • Fixed an issue with Tailwind CSS content paths for Layouts and Components were removed if the user configured content as an array in their tailwind.config.js 0641846
  • Fixed specificity issue where you couldn't override an existing class because everything had !important d4e54da
  • Fixed an issue with the permalink Front Matter option not working 4e4f742

v4.4.0-beta.14...v4.4.0

v4.4.0-beta.14

21 Mar 15:07
Compare
Choose a tag to compare
v4.4.0-beta.14 Pre-release
Pre-release
  • fix: add !important only to modifiers d4e54da
  • fix: content paths when content is array 0641846

v4.4.0-beta.13...v4.4.0-beta.14

v4.4.0-beta.13

20 Mar 18:28
Compare
Choose a tag to compare
v4.4.0-beta.13 Pre-release
Pre-release
  • fix: ensure removeUnusedCSS is opt in f105672

v4.4.0-beta.12...v4.4.0-beta.13

v4.4.0-beta.12

20 Mar 13:48
Compare
Choose a tag to compare
v4.4.0-beta.12 Pre-release
Pre-release
  • added support for self-closing component tags, so you can do <slot:template /> instead of <slot:template></slot:template>
  • prevent duplicating any CSS props as HTML attributes
  • updated some dependencies

v4.4.0-beta.11...v4.4.0-beta.12

v4.4.0-beta.11

07 Mar 15:21
Compare
Choose a tag to compare
v4.4.0-beta.11 Pre-release
Pre-release
  • feat: add for as an alternative loop tag name 9d9d964
  • updated dependencies

v4.4.0-beta.10...v4.4.0-beta.11

v4.4.0-beta.10

13 Feb 14:58
Compare
Choose a tag to compare
v4.4.0-beta.10 Pre-release
Pre-release

This release fixes some issues with the local dev server:

  • fix: normalize file paths in local dev 804b100, #901
  • refactor: throw on rebuild error in local dev e317e4c, #901
  • fix: tailwindcss config in local dev 6a5bd28, #900

v4.4.0-beta.9...v4.4.0-beta.10