Skip to content

Releases: alibaba/ice

v3.4.2

30 Jan 02:35
cab389a
Compare
Choose a tag to compare
  • Feat: refactor plugin-rax-compat including, support option inlineStyle in SSR and inline style for both less and scss
  • Feat: support optimize package import, it reduce compile time if barrel files is imported (only in speedup mode) #6736
  • Fix: register with new defaultTaskConfig evey time #6726 @AlbertXiao1994
  • Fix: server render result is not updated when using on-demand server #6738
  • Fix: can not resolve path of regenerator-runtime #6742
  • Fix: the conflict compile options caused by .swcrc #6746
  • Fix: pass the correct request context to data loader #6747
  • Fix(@ice/plugin-unocss): always add the preset of uno for plugin #6744

v3.4.1

17 Jan 07:47
d89bd8c
Compare
Choose a tag to compare
  • Deal with assets when pre bundle third-party dependencies #6688
  • Fix unstable_Offscreen to unstable_Activity for React experiment API changed #6694
  • Optimize compile Rules for build performance #6719
  • Support data loader when use speedup mode #6727
  • Fix build error when disable code splitting #6727
  • Fix pack error when using component of fusion #6727

v3.4.0

17 Jan 07:44
0a6d0c3
Compare
Choose a tag to compare

Improve the build speed by implement customize Rspack plugins and loaders by Rust. The build speed and HMR has been significantly improved in speedup mode. PR #6680

  • Bump rspack/core to 0.4.3
  • Replace native binding with @ice/pack-binding which is based on Rspack
  • Pre-bundle rspack bundler to override the implementation options

v3.3.9

25 Dec 05:45
4e5de5f
Compare
Choose a tag to compare
  • Feat: support plugin of Unocss #6665

    Install @ice/plugin-unocss:

    $ npm install @ice/plugin-unocss --save-dev

    Configure it in ice.config.mts:

    import { defineConfig } from '@ice/app';
    import Unocss from '@ice/plugin-unocss';
    
    export default defineConfig(() => ({
      plugins: [
        Unocss(),
      ]
    }));

    Plugin has a default preset @unocss/preset-uno for UnoCSS.

  • Feat: add default export of rax-compat #6643

  • Fix: better error handling of build script #6672

  • Chore: remove type exports #6651

v3.3.8

30 Nov 06:45
636ea8f
Compare
Choose a tag to compare

Fix: re-order transform plugins #6649

v3.3.7

30 Nov 06:43
a0df6fa
Compare
Choose a tag to compare

HotFix: the judgment of unsupported syntax #6646

v3.3.6

14 Nov 06:40
148e8ab
Compare
Choose a tag to compare
  • Support custom transform plugins in speedup mode, so plugin-store will works properly.
  • Fix compile config of data-loader, cont-and-let will be transformed if necessary.
  • Fix: assets rule in speedup mode #6632
  • Fix: do not minify assets in public by default #6631

v3.3.5

13 Nov 03:22
9585d65
Compare
Choose a tag to compare
  • Suppport default document #6580
  • Remove unnecessary clone deep in plugin-compat-rax #6576
  • Do not pre-bundle node built-in modules #6581

v3.3.4

25 Oct 12:09
99635bc
Compare
Choose a tag to compare
  • Compat with document file has extension of js, jsx #6545
  • Deal with json file when use on-demand compile #6548
  • Add typesVersions for @ice/app export fields support #6544
  • Update route config even if dataLoader is not defined #6552
  • Fix get flatten routes which nested level more than 3 #6555
  • Unnecessary to parse search query in FC #6572
  • Add type definition of runApp #6554
  • Return render root in case of plugin may depend on it #6571
  • Compat with Win32 when configure themePackage of plugin fusion #6565
  • Export createElement of react in @ice/runtime #6562
  • Support plugin API of configureWebpack in speedup mode #6564
  • Fix user compilation config lost when use plugin-rax-compat #6568

v3.3.3

26 Sep 02:34
adf1fa4
Compare
Choose a tag to compare
  • Support config css modules name by user config #6289
import { defineConfig } from '@ice/app';

export default defineConfig(() => ({
  cssModules: {
    localIdentName: '[hash:8]',
  },
}));
  • New plugin deal with stream error, it will fallback to CSR automatically when steam error #6530
import { defineConfig } from '@ice/app';
import streamError from '@ice/plugin-stream-error';

export default defineConfig(() => ({
  plugins: [
    streamError(),
  ],
}));
  • Compat with the build case which do not need document #6536