diff --git a/.editorconfig b/.editorconfig index c6c8b362..d03e4647 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,9 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e0c861d0..196f69dc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,4 +5,3 @@ updates: schedule: interval: "daily" target-branch: "master" - open-pull-requests-limit: 10 diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 9cf981dc..abd058db 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,7 +7,6 @@ on: push: branches: [master] pull_request: - branches: [master] jobs: build: @@ -15,7 +14,7 @@ jobs: strategy: matrix: - node-version: [14, 16, 18] + node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..cdd2c354 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,490 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [5.0.0-beta.38] - 2024-11-30 + +### Fixed + +- fix: `attributes.remove` type d10dc05 +- fix: include user-defined `components.fileExtension` in list of component file extensions to scan for 005e2ee + +### Changed + +- refactor: access `baseURL` config only once d42f405 + +## [5.0.0-beta.37] - 2024-11-29 + +### Fixed + +- fix: use correct output file extensions 5c9421b + +## [5.0.0-beta.36] - 2024-11-29 + +### Added + +- 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: + +```sh +emails + ├── html + │ └── order-received.html + └── woocommerce + └── order-received.php +``` + +### Fixed + +- fix: server start time logging ad4e8e0 + +## [5.0.0-beta.35] - 2024-11-28 + +### Fixed + +- fix: css type declarations e234e76 +- chore: add `build.current` to server routes a9160e2 + +### Changed + +- build: update dependencies 596f4b2 + +## [5.0.0-beta.34] - 2024-11-26 + +### Added + +- feat: add `css.resolveCalc` option cde20d4 + +### Changed + +- chore: remove duplicate declaration removal 619ef35 + +## [5.0.0-beta.33] - 2024-11-26 + +### Added + +- feat: add `css.resolveProps` option 097e8d4 + +### Fixed + +- fix: add back build.current in `maizzle serve` 9b53fcb + +### Changed + +- refactor: remove `beforeCreate` event in `maizzle serve` 653ec48 + +## [5.0.0-beta.32] - 2024-11-20 + +### Added + +- feat: scan additional components folders 38e0ed4 + +## [5.0.0-beta.31] - 2024-11-19 + +### Added + +- feat: add types for safelist options 6e1610f + +## [5.0.0-beta.30] - 2024-11-19 + +### Added + +- feat: `preservedSelectors` option for inliner 3598cf7 + +### Changed + +- refactor: rename comb option to `safelist` 89d7051 +- refactor: rename `preservedSelectors` to `safelist` 58f2e9c +- build(deps): update vitest 2917c80 + +## [5.0.0-beta.29] - 2024-11-17 + +### Fixed + +- fix: list of templates to compile 9688ff9 +- fix: copy source files to destination 0b4caab + +## [5.0.0-beta.28] - 2024-11-16 + +### Changed + +- build(deps): update dependencies d24e49a +- refactor: use `posthtml-widows` instead of `string-remove-widows ` bccbd7b + +## [5.0.0-beta.27] - 2024-11-04 + +### Fixed + +- fix: default posthtml options 6a5249b + +### Changed + +- refactor: widow words default attribute name 01623cc + +## [5.0.0-beta.26] - 2024-09-28 + +### Fixed + +- fix: preserve email client target selectors when inlining 24a1a9b +- fix: using style[data-embed] c735364 +- test: generates plaintext file e9fb327 + +### Changed + +- build(deps): update dependencies 1d6a684 +- refactor: transformers tests a21172a +- refactor: transformer order 4a24a9b + +## [5.0.0-beta.25] - 2024-09-10 + +### Added + +- feat: toggle nested folders in dev index page 368f04b + +### Fixed + +- fix: config object in beforeCreate event 81288f8 +- fix: encode index URI for special characters d7053a8 +- fix: error when filename has a space 5ca34b5 + +### Changed + +- 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 + +## [5.0.0-beta.24] - 2024-08-28 + +### Fixed + +- synchronized scrolling 619fb51 +- checking `