Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jsx-email,app-preview,create-jsx-email,plugin-inline,plugin-minify,plugin-pretty): version 2.0.0 #206

Merged
merged 40 commits into from
Sep 22, 2024

Conversation

shellscape
Copy link
Owner

@shellscape shellscape commented Sep 14, 2024

Component / Package Name: Everything

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

At a high level, the list below is what has changed. We'll be updating docs and writing a migration guide as a followup.

  • Switching to tshy for proper ESM/CJS compatible exports
  • Config file supported. defineConfig and mergeConfig exports.
  • Rendering lifecycle hooks (requires a config file)
  • New plugins system
  • Minify and Pretty functionality moved to plugins
  • New inline-css plugin
  • Added exclude glob support to preview
  • Prefer named exports from template files
  • Replace shijiki with shiki
  • Templates are now pre-built for the preview app, and rebuilt on changes. This moves rendering out of the vite app for the preview which makes it faster, as well as more stable. Shouldn't be any more dependency limitations for the preview
  • New components: Graph and Background

Fixes #121

shellscape and others added 30 commits February 13, 2024 10:26
Co-authored-by: EJ <me@me>
Co-authored-by: shellscape <[email protected]>
Co-authored-by: Andrew Powell <[email protected]>
@shellscape shellscape merged commit 4197bb9 into main Sep 22, 2024
3 checks passed
@shellscape shellscape deleted the release/v2 branch September 22, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tailwind classes rendered in head don't get forwarded
3 participants