Version Packages (next)#880
Merged
Merged
Conversation
61e9a07 to
5444702
Compare
# Conflicts: # packages-runtime/merge/CHANGELOG.md # packages-runtime/runtime/CHANGELOG.md # packages-runtime/typography/CHANGELOG.md # packages/init/CHANGELOG.md # packages/postcss/CHANGELOG.md # packages/reset/CHANGELOG.md # packages/tailwindcss-injector/CHANGELOG.md # packages/weapp-style-injector/CHANGELOG.md # packages/weapp-tailwindcss/CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonnext.Releases
@weapp-tailwindcss/postcss@3.0.0-next.7
Minor Changes
unitConversion配置,支持基于postcss-rule-unit-converter的任意样式单位转换,并可按weapp、h5、web、app等平台分别配置转换规则。0b7694bby @sonofmagicPatch Changes
🐛 内置
css-macro的 PostCSS 转换感应逻辑:当 Tailwind CSS v3 配置中注册weapp-tailwindcss/css-macro,或 Tailwind CSS v4 入口 CSS 中声明@plugin "weapp-tailwindcss/css-macro"时,会自动启用条件编译注释转换,不再要求常规集成手动注册weapp-tailwindcss/css-macro/postcss。29901e2by @sonofmagiccss-macro产生的#ifdef/#ifndef/#endif注释,并同步更新文档与 demo 配置。🐛 升级 ESM 化依赖后,将公开包的 Node.js 安装版本约束统一到
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagicweapp-tailwindcss@5.0.0-next.25
Minor Changes
✨ 优化
css-macro的样式生成方式:宏变体现在不再输出伪@media (weapp-tw-platform:...)包裹,而是生成内部条件节点,并由内置转换直接产出小程序条件编译注释。07f1952by @sonofmagic@media (weapp-tw-platform:...)宏输出仍会被weapp-tailwindcss/css-macro/postcss兼容处理,方便存量自定义 PostCSS 流程平滑迁移。✨ 新增内置
unitConversion配置,支持基于postcss-rule-unit-converter的任意样式单位转换,并可按weapp、h5、web、app等平台分别配置转换规则。0b7694bby @sonofmagic✨ 新增默认关闭的
unocss兼容配置。开启后会复用tailwindcss-patch的 Tailwind CSS v4 裸任意值能力,class 字符转义继续沿用现有customReplaceDictionary链路,同时在文档站补充 UnoCSS 写法兼容章节。c5b26b4by @sonofmagicPatch Changes
🐛 内置
css-macro的 PostCSS 转换感应逻辑:当 Tailwind CSS v3 配置中注册weapp-tailwindcss/css-macro,或 Tailwind CSS v4 入口 CSS 中声明@plugin "weapp-tailwindcss/css-macro"时,会自动启用条件编译注释转换,不再要求常规集成手动注册weapp-tailwindcss/css-macro/postcss。29901e2by @sonofmagiccss-macro产生的#ifdef/#ifndef/#endif注释,并同步更新文档与 demo 配置。🐛 升级 ESM 化依赖后,将公开包的 Node.js 安装版本约束统一到
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagic🐛 移除 webpack loader 对
loader-utils的依赖,改为使用 webpack 5 loader context 的getOptions()读取配置。f18ee11by @sonofmagic📦 Dependencies
29901e2→
@weapp-tailwindcss/postcss@3.0.0-next.7,@weapp-tailwindcss/reset@0.1.1-next.1@weapp-tailwindcss/cva@0.1.7-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/runtime@0.1.6-next.0@weapp-tailwindcss/merge@2.2.1-next.0
Patch Changes
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagic01a0cb2→
@weapp-tailwindcss/runtime@0.1.6-next.0@weapp-tailwindcss/merge-v3@0.2.1-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/runtime@0.1.6-next.0@weapp-tailwindcss/runtime@0.1.6-next.0
Patch Changes
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagic@weapp-tailwindcss/typography@0.2.8-next.0
Patch Changes
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagic@weapp-tailwindcss/ui@0.0.9-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/merge@2.2.1-next.0,@weapp-tailwindcss/variants@0.2.3-next.0@weapp-tailwindcss/variants@0.2.3-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/runtime@0.1.6-next.0,@weapp-tailwindcss/merge@2.2.1-next.0@weapp-tailwindcss/variants-v3@0.1.3-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/runtime@0.1.6-next.0,@weapp-tailwindcss/merge-v3@0.2.1-next.0@weapp-tailwindcss/experimental@0.0.2-next.1
Patch Changes
29901e2→
@weapp-tailwindcss/postcss@3.0.0-next.7@weapp-tailwindcss/init@1.0.12-next.2
Patch Changes
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagic@weapp-tailwindcss/reset@0.1.1-next.1
Patch Changes
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagictailwindcss-injector@1.0.12-next.2
Patch Changes
^20.19.0 || >=22.12.0,避免不支持稳定 ESM/CJS 混合加载的 Node.js 版本安装使用。01a0cb2by @sonofmagicweapp-style-injector@0.0.3-next.0
Patch Changes
generateBundle中直接写入 bundle 资产的问题,改为通过emitFile生成分包样式入口,以兼容 Vite 8/Rolldown。a3129c6by @sonofmagicbenchmark-tailwindcss3@0.0.10-next.0
Patch Changes
→
@weapp-tailwindcss/merge-v3@0.2.1-next.0,@weapp-tailwindcss/variants-v3@0.1.3-next.0benchmark-tailwindcss4@0.0.8-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/merge@2.2.1-next.0,@weapp-tailwindcss/cva@0.1.7-next.0,@weapp-tailwindcss/variants@0.2.3-next.0@weapp-tailwindcss-demo/weapp-vite-tailwindcss-v4@1.0.21-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/merge@2.2.1-next.0@weapp-tailwindcss/build-all@0.0.26-next.25
Patch Changes
📦 Updated 6 dependencies
29901e2Details
weapp-tailwindcss@5.0.0-next.25,@weapp-tailwindcss/postcss@3.0.0-next.7,@weapp-tailwindcss/init@1.0.12-next.2,tailwindcss-injector@1.0.12-next.2,weapp-style-injector@0.0.3-next.0,@weapp-tailwindcss/experimental@0.0.2-next.1@weapp-tailwindcss/website@1.0.19-next.0
Patch Changes
01a0cb2→
@weapp-tailwindcss/merge@2.2.1-next.0,@weapp-tailwindcss/cva@0.1.7-next.0,@weapp-tailwindcss/variants@0.2.3-next.0