Skip to content

Releases: alibaba/ice

v2.5.0

17 Jan 07:50
9431415
Compare
Choose a tag to compare

Improvement

  • Feat: support SSR in Vite mode #5045

Enable SSR feature in Vite mode by config "ssr": true:

{
  "vite": true,
+  "ssr": true
}
  • Feat: i18n solution for icejs #4969

A new plugin for i18n is provided by ICE Team, enable i18n by add plugin build-plugin-ice-i18n

{
  "plugins": [
    [
      "build-plugin-ice-i18n", {
        "locales": ["en-US", "zh-CN", "nl-NL"],
        "defaultLocale": "zh-CN"
      }
    ]
  ]
}
  • Feat: optimize runtime when build #5082

Built-in optimization for bundle size, size will reduce more than 20+KB(minified) .

  • Feat: support cli option force to clear cache #5117
npm start -- --force

or

- "start": "icejs start"
+ "start": "icejs start --force"

Bug Fix

  • Fix: set content-type for html output #5110
  • Fix: compatible for src/main input when using vite-plugin-index-html #5104
  • Fix: plugin-store use the incorrect alias #5113
  • Fix: swc mode error #5143

v2.4.3

30 Dec 08:41
0cb077d
Compare
Choose a tag to compare

Improvement

  • Feat: pass page props to NoAuthFallback component #5088

Bug Fix

  • Fix: circular dependence of lazy when run test #5077
  • Fix: open blank page in Vite mode #5086
  • Fix: error timing to call after.start.devServer in Vite mode #5085
  • Fix: oom when run ci workflow #5049

v2.4.2

23 Dec 06:59
ba799b7
Compare
Choose a tag to compare

Improvement

  • Feat: support specify rootDir for ice.js #5051

Bug Fix

  • Fix: lazy import is invalid with swc #5060
  • Fix: style import for multiple components with stylePath #5062
  • Fix: add proxy listeners if exists #5059

v2.4.1

16 Dec 06:46
12172cf
Compare
Choose a tag to compare

Bug Fix

  • fix: build error in win32 system #5043
  • fix: error redirection when import specifier from ice with alias #5042
  • fix: set proxy to false when all proxy rule is disabled #5037
  • fix: enhance alias for node_modules dependencies #5028

v2.4.0

09 Dec 09:10
Compare
Choose a tag to compare

Improvement

  • Feat: support output build-speed for each mode (Vite & Webpack) #4977
  • Feat: pre-bundle webpack-dev-server, webpack loaders and plugins depended by built-in plugins #5019
  • Feat: custom component props (props.pageConfig) for each page #4989
  • Feat: support IP address when enable https #5011

Bug Fix

  • Fix: built-in polyfill for globalThis in mode vite #4991
  • Fix: compatible with win32 system #5017 #5013
  • Fix: SSR error in production #5012

v2.3.1

09 Dec 09:06
967e09f
Compare
Choose a tag to compare

Bug Fix

  • fix: avoid error when disableRuntime #5002

v2.3.0

02 Dec 07:54
256595b
Compare
Choose a tag to compare

Improvement

  • refactor: optimize router render, support different config for router #4814
  • feat: lock npm version of ice dependencies #4986
  • chore: add test case for formatRoutes #4946

Bug Fix

  • fix: support SSR when use renderComponent #4987
  • chore: avoid show tabbar in every page #4974
  • chore: avoid render error when add el to body #4959

v2.2.3

25 Nov 07:13
6e979ba
Compare
Choose a tag to compare

Bug Fix

  • Fix: support config devServer.historyApiFallback #4963
  • Fix: compatible with special chars in html #4962
  • Fix: compatible with disable runtime when config mpa #4961
  • Fix: match the correct pathname of mock server #4960
  • Fix: re-calculate webpack cache id when config disableRuntime #4972
  • Fix: refactor miniapp page component #4867
  • Fix: TabBar resolve path and remove jsx+ for TabBar render #4957

v2.2.2

23 Nov 09:02
f9ab033
Compare
Choose a tag to compare
  • fix: ssr render error #4948

v2.2.1

19 Nov 07:33
07eb166
Compare
Choose a tag to compare

Bug Fix

Fix: nested router config #4945