Skip to content

Releases: alibaba/ice

v2.6.7

28 Sep 02:51
3d83bba
Compare
Choose a tag to compare

BugFix:

  • do not remove origin output css when config cssChunkNames #5490
  • compatible with router false of plugin-icestark #5491
  • compatible with webpack4 hash type #5478

v2.6.6

14 Sep 02:44
5670bf1
Compare
Choose a tag to compare
  • feat: add i18n cookie options #5471
  • feat: support ssr nodeExternals #5474
  • fix: not get the real component when enable i18n #5428
  • fix: not await dynamic chunks load #5468
  • fix: some i18n bugs #5400

v2.6.5

11 Aug 03:44
faad6b7
Compare
Choose a tag to compare
  • Feat: support type definition of store by createModel #5443
  • Fix: do not minify source in folder public when build #5308
  • Fix: duplicate interceptor used when load App as a sub app #5321
  • Fix: problems with parse paths specified in url of css files #5350
  • Fix: getInitialProps and getStaticPath do not execute in mode SSR #5398 #5325
  • Fix: compatible to toString() function #5399
  • Fix: compatible with undefined proxy #5369
  • Fix: use fullhash replace of hash in webpack mode #5407
  • Feat: add options forceLocal of extract-css-assets plugin #5378
  • Feat: top-level warning in vite mode #5447
  • Chore: fix types of plugin-auth #5328

v1.18.6

27 Jun 09:13
82e13b5
Compare
Choose a tag to compare
  • fix: prettier formats import/export statement order #5373

v2.6.4

28 Apr 06:49
f5067ec
Compare
Choose a tag to compare

Feat: support reslove mjs and mts files #5300
Fix: compatible with folder which has parentheses and spaces #5299
Fix: resolve process/browser with fully specified path for esm package #5293
Fix: generate default html when SSG #5296
Chore: upgrade dependencies version includes (webpack@5.72.0 / css-loader@6.7.1 / caniuse-lite@1.0.30001332 / etc.) ice-lab/builder-deps#25

v2.6.3

14 Apr 07:02
b00457e
Compare
Choose a tag to compare

Feat: support framworke alias in mode vite. Relates to #5245
Fix: miniapp app lifecycle is invalid. Relates to #5263
Fix: pre-analyze for js/jsx file. Relates to #5270
Fix: default config of conditionNames #5277
Chore: optimize compile log in mode vite. Relates to #5269

v2.6.2

31 Mar 08:54
545ced1
Compare
Choose a tag to compare
  • feat: When memory router is enabled, you can pass initialIndex and initialEntries. Relates to #5247
  • feat: support setLocale API outer components. Relates to #5253

v2.6.1

17 Mar 06:58
4993830
Compare
Choose a tag to compare

Bug Fix

  • Fix: folder name for generate dts file #5229
  • Fix: support custom history #5226
  • Fix: filter js file when analyze #5234

v2.6.0

10 Mar 08:24
16f82e4
Compare
Choose a tag to compare

Improvement

  • Feat: support env vaiables #5164

ice.js will load additional environment variables from the following files in project root

.env                # loaded in all cases
.env.local          # loaded in all cases, recommended ignored by git
.env.[mode]         # only loaded in specified mode
.env.[mode].local   # only loaded in specified mode, recommended ignored by git

To prevent accidentally leaking env variables to the client, only variables prefixed with ICE_ are exposed to project code

  • Feat: support rename main css chunk name #5159

Specify css chunk name in your build.json config:

{
  "cssChunkNames": "index-main.css"
}

css main chunk will be always named as index-main.css when build in vite mode

  • Feat: optimize webpack-dev-mock transformer #5162

speed up mock service by esbuild

Bug Fix

  • Fix: multi socket for hmr #5129
  • Fix: vitePlugins only take effect when vite is true #5160
  • Fix: escape MockPlugn when --disable-mock in mode vite #5178
  • Fix: disable router should work as usual in mode vite #5181
  • Fix: additional analyze for auth #5209

v2.5.1

18 Jan 07:49
524d321
Compare
Choose a tag to compare

Bug Fix

  • fix: slice error for array of source files
  • fix: filter runtime modules after file generation