Skip to content

chore(release): version packages - #1202

Open
sonofmagic wants to merge 1 commit into
mainfrom
release/pnpm-version
Open

sonofmagic wants to merge 1 commit into
mainfrom
release/pnpm-version

Conversation

@sonofmagic

@sonofmagic sonofmagic commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Release Notes

12 packages updated · 24 changes

🚀 Features

  • @weapp-tailwindcss/cn@0.1.1: 新增基于 npm cn 引擎的面向小程序类名组合工具,兼容条件类名、Tailwind 冲突合并与 rpx 任意值,作为 @weapp-tailwindcss/merge 的后续替代入口。 f6ca965 · #1200

🐞 Bug Fixes

  • @weapp-tailwindcss/merge@2.2.4: 修复 twMerge 处理以数字开头的变体类名(如 2xl: 等)时的转义与冲突消解问题。 - 在 wrapClassAggregator 中对包含空格的多类名字符串进行分词处理,使每个类名 Token 都能独立应用完整的 escape/unescape 前缀逻辑。 - 解决数字开头变体类名在小程序运行时冲突未消解、或因丢失下划线前缀导致样式在真机及模拟器中失效的问题。 05ea1fb · #1198 · #1199
  • @weapp-tailwindcss/runtime@0.1.9: 修复 twMerge 处理以数字开头的变体类名(如 2xl: 等)时的转义与冲突消解问题。 - 在 wrapClassAggregator 中对包含空格的多类名字符串进行分词处理,使每个类名 Token 都能独立应用完整的 escape/unescape 前缀逻辑。 - 解决数字开头变体类名在小程序运行时冲突未消解、或因丢失下划线前缀导致样式在真机及模拟器中失效的问题。 05ea1fb · #1198 · #1199
  • @weapp-tailwindcss/postcss@3.3.5: 修复 Tailwind CSS v4 在 web/H5 生成路径中 cssCalc 无法预计算配置的 CSS 自定义属性的问题。 - 抽出仅计算 calc() / var() 的 applyConfiguredCssCalc,web 目标不再走会改写选择器的完整小程序 style handler。 - 完整生成、增量生成和 web 用户 CSS(含 @apply)都会消费生成器收集的变量映射;未匹配变量与循环引用仍保留运行时表达式。 804b09a · #1203 · #1194
  • weapp-tailwindcss@5.5.6: 修复 Tailwind CSS v4 CSS 恢复与清理时误删用户自定义变量的问题:使用生成阶段的具体声明识别重复主题变量,保留用户变量的值、优先级和覆盖顺序,避免原始 rem 值覆盖已经转换的 rpx 值。 恢复框架 vendor CSS 时通过规则索引精确匹配条件上下文、选择器和完整声明,保留生成侧已有的层位置以及框架侧的后续覆盖,合并重复编码声明。大产物同样执行完整恢复,批量清理节点并共享生成主题声明索引,避免重复解析和逐条删除造成的性能开销。同时改进 Taro issue-998 配置的跨平台路径检测。 公开 core 编译入口在最终生成小程序 CSS 时也移除 Tailwind banner,避免 weapp-vite 等内置集成绕过 bundler 适配后留下 WXSS 产物检测误报。 默认产物 matcher 识别钉钉 .ddml 和 .ddss,使 Mpx 钉钉构建中的模板类名转译及 rem2rpx 样式适配正常执行。没有生成 CSS 时仍合并框架样式的编码声明并保留覆盖顺序。 d3a5778 · #1197
  • weapp-tailwindcss@5.5.6: 修复 Tailwind CSS v4 在 web/H5 生成路径中 cssCalc 无法预计算配置的 CSS 自定义属性的问题。 - 抽出仅计算 calc() / var() 的 applyConfiguredCssCalc,web 目标不再走会改写选择器的完整小程序 style handler。 - 完整生成、增量生成和 web 用户 CSS(含 @apply)都会消费生成器收集的变量映射;未匹配变量与循环引用仍保留运行时表达式。 804b09a · #1203 · #1194

🏎 Performance

  • @weapp-tailwindcss/cn@0.1.1: 导出 wrapRuntimeAggregator,让 @weapp-tailwindcss/cn 复用有界 LRU 与按需 unescape/escape,并接入与 merge 相同的 rpx 长度归一化,使 text-red 与 text-[80rpx] 等颜色 + 长度类可以共存。 0fe748c · #1205 · #1200
  • @weapp-tailwindcss/runtime@0.1.9: 导出 wrapRuntimeAggregator,让 @weapp-tailwindcss/cn 复用有界 LRU 与按需 unescape/escape,并接入与 merge 相同的 rpx 长度归一化,使 text-red 与 text-[80rpx] 等颜色 + 长度类可以共存。 0fe748c · #1205 · #1200
🧰 Maintenance
  • @weapp-tailwindcss/cn@0.1.1: Updated dependency to @weapp-tailwindcss/runtime@0.1.9.
  • @weapp-tailwindcss/cva@0.1.10: Updated dependency to @weapp-tailwindcss/runtime@0.1.9.
  • @weapp-tailwindcss/merge@2.2.4: Updated dependency to @weapp-tailwindcss/runtime@0.1.9. 05ea1fb · #1198 · #1199
  • @weapp-tailwindcss/ui@0.0.14: Updated dependencies: @weapp-tailwindcss/merge@2.2.4, @weapp-tailwindcss/variants@0.2.7.
  • @weapp-tailwindcss/variants@0.2.7: Updated dependencies: @weapp-tailwindcss/merge@2.2.4, @weapp-tailwindcss/runtime@0.1.9.
  • @weapp-tailwindcss/cli@5.5.6: Updated dependency to weapp-tailwindcss@5.5.6.
  • @weapp-tailwindcss/experimental@0.0.42: Updated dependency to @weapp-tailwindcss/postcss@3.3.5.
  • @weapp-tailwindcss/lynx@0.3.15: Updated dependency to weapp-tailwindcss@5.5.6.
  • @weapp-tailwindcss/postcss@3.3.5: 将 CSS 语法解析与 tokenize 收口到 @weapp-tailwindcss/postcss,主包不再直接依赖样式处理库 abd00dc · #1206
  • @weapp-tailwindcss/postcss@3.3.5: 将 legacy selector/unit、空块清理和 Harmony CSS style value 变换迁到 @weapp-tailwindcss/postcss abd00dc · #1206
  • @weapp-tailwindcss/postcss@3.3.5: 将 uni-app x 边框 preflight 与 v4 theme CSS 变换迁到 @weapp-tailwindcss/postcss abd00dc · #1206
  • @weapp-tailwindcss/react-native@0.2.18: Updated dependency to weapp-tailwindcss@5.5.6.
  • weapp-tailwindcss@5.5.6: 将 CSS 语法解析与 tokenize 收口到 @weapp-tailwindcss/postcss,主包不再直接依赖样式处理库 abd00dc · #1206
  • weapp-tailwindcss@5.5.6: 将 legacy selector/unit、空块清理和 Harmony CSS style value 变换迁到 @weapp-tailwindcss/postcss abd00dc · #1206
  • weapp-tailwindcss@5.5.6: 将 uni-app x 边框 preflight 与 v4 theme CSS 变换迁到 @weapp-tailwindcss/postcss abd00dc · #1206
  • weapp-tailwindcss@5.5.6: Updated dependency to @weapp-tailwindcss/postcss@3.3.5.

Packages

Package From To
@weapp-tailwindcss/cn 0.1.0 0.1.1
@weapp-tailwindcss/cva 0.1.9 0.1.10
@weapp-tailwindcss/merge 2.2.3 2.2.4
@weapp-tailwindcss/runtime 0.1.8 0.1.9
@weapp-tailwindcss/ui 0.0.13 0.0.14
@weapp-tailwindcss/variants 0.2.6 0.2.7
@weapp-tailwindcss/cli 5.5.5 5.5.6
@weapp-tailwindcss/experimental 0.0.41 0.0.42
@weapp-tailwindcss/lynx 0.3.14 0.3.15
@weapp-tailwindcss/postcss 3.3.4 3.3.5
@weapp-tailwindcss/react-native 0.2.17 0.2.18
weapp-tailwindcss 5.5.5 5.5.6

❤️ Contributors

Thanks to ice breaker · @sonofmagic · @Z41sArrebol

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

PR 性能基准报告:部分结果

  • Commit:055a19998a10
  • 生成时间:2026-09-14T06:38:47.209Z
  • Benchmark:success
  • Watch:未触发/无产物

总览

指标 结果
Build 稳态中位数平均变化 +0.04%
HMR 稳态 P95 平均变化 -0.12%
插件 Build 中位数平均变化 +0.69%
插件 HMR 门禁统计平均变化 -0.48%
Watch HMR p50 / p95 N/A / N/A ms
Watch RSS 峰值 / 最大增量 0.00 / 0.00 MB
Watch Heap 峰值 0.00 MB

Benchmark 项目矩阵

项目 平台 Base Build 冷/稳态(ms) Current Build 冷/稳态(ms) Build 变化 Base HMR median/P95(ms) Current HMR median/P95(ms) HMR 变化 状态
demo-mpx-tailwindcss-v4__mp-weixin mp-weixin 12848.99 / 12386.23 12483.66 / 12530.51 +0.73% 4380.33 / 5002.22 4341.11 / 5001.29 -0.02% ok
demo-taro-vite-react-tailwindcss-v4__mp-weixin mp-weixin 34995.33 / 33634.44 33579.12 / 33742.26 -0.27% 6847.55 / 7379.79 7413.69 / 7419.73 +0.54% ok
demo-taro-webpack-react-tailwindcss-v4__mp-weixin mp-weixin 24629.33 / 24529.50 24735.23 / 24394.75 -0.55% 4096.12 / 9467.17 4098.76 / 9406.59 -0.64% ok
demo-uni-app-vite-tailwindcss-v4__mp-weixin mp-weixin 7810.95 / 7775.23 8059.81 / 7847.43 +1.09% 1001.39 / 2969.66 1030.67 / 2971.60 +0.07% ok
demo-weapp-vite-tailwindcss-v4__mp-weixin mp-weixin 5515.66 / 5509.04 5504.29 / 5467.95 -0.79% 7986.40 / 8266.65 7916.72 / 8219.69 -0.57% ok

Benchmark 插件处理阶段

项目 Build Plugin base/current(ms) 变化 HMR Plugin base/current(ms) 变化
demo-mpx-tailwindcss-v4__mp-weixin 1125.00 / 1149.00 +2.13% 1226.00 / 1225.00 -0.08%
demo-taro-vite-react-tailwindcss-v4__mp-weixin 7000.00 / 6912.00 -1.26% 3651.00 / 3710.00 +1.62%
demo-taro-webpack-react-tailwindcss-v4__mp-weixin 7538.00 / 7594.00 +0.74% 6586.00 / 6584.00 -0.03%
demo-uni-app-vite-tailwindcss-v4__mp-weixin 2534.00 / 2563.00 +1.14% 989.00 / 955.00 -3.44%
demo-weapp-vite-tailwindcss-v4__mp-weixin N/A / N/A N/A N/A / N/A N/A

Benchmark 内存

项目 Build RSS base peak/steady(MB) Build RSS current peak/steady(MB) Peak 变化 HMR RSS base peak/steady(MB) HMR RSS current peak/steady(MB) Peak 变化
demo-mpx-tailwindcss-v4__mp-weixin 1227.84 / 1176.67 1247.64 / 1183.03 +1.61% 2181.52 / 2114.89 2242.06 / 2119.92 +2.78%
demo-taro-vite-react-tailwindcss-v4__mp-weixin 1712.73 / 1603.60 1619.55 / 1561.79 -5.44% 3037.43 / 2987.61 3011.91 / 2952.23 -0.84%
demo-taro-webpack-react-tailwindcss-v4__mp-weixin 1413.56 / 1363.24 1428.95 / 1371.79 +1.09% 1880.76 / 1783.67 1861.49 / 1784.08 -1.02%
demo-uni-app-vite-tailwindcss-v4__mp-weixin 762.51 / 762.51 762.07 / 762.07 -0.06% 1049.95 / 967.42 1052.18 / 963.61 +0.21%
demo-weapp-vite-tailwindcss-v4__mp-weixin 599.90 / 536.93 597.70 / 536.79 -0.37% 1500.72 / 1449.73 1478.83 / 1433.88 -1.46%

Watch 明细

项目 平台 变更类型 样本数 ready(ms) avg/p50/p95/max(ms) 插件 p50/p95(ms) RSS peak/delta(MB) Heap peak(MB)

门禁与诊断

  • Benchmark 性能门禁:通过
  • Benchmark 缺失项目:无
  • Benchmark 错误:0
  • Watch 解析错误:0

运行链接

统计口径
  • Build/HMR 版本对照沿用现有 benchmark 的 base/current 和门禁统计。
  • Watch 仅报告当前提交的真实跨平台 watcher 结果,不额外运行 base;跨 shard 总览分位数按各报告摘要聚合,项目/平台行保留原始口径。
  • 未触发或缺失的场景显示为 N/A,不当作 0。

@github-actions
github-actions Bot force-pushed the release/pnpm-version branch 5 times, most recently from 51b93ec to cebc263 Compare September 15, 2026 08:51
@github-actions
github-actions Bot force-pushed the release/pnpm-version branch from cebc263 to 9059a4d Compare September 15, 2026 13:09
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.

1 participant