Commit Graph

522 Commits

Author SHA1 Message Date
Keith a0099df51e
feat: change suspense event id (#7057)
* feat: change suspense event id

* chore: add missing change set
2025-03-07 11:27:17 +08:00
XXXMrG 60c2a70370 Merge remote-tracking branch 'origin/release/next' into feat/suspense-event 2025-02-24 15:46:25 +08:00
XXXMrG ff791dcd98 feat: dispatch suspense event 2025-02-24 15:17:08 +08:00
XXXMrG b75f55e903 feat: support suspense event 2025-02-21 14:48:12 +08:00
XGHeaven f0c6380b0c
feat: support htmlGeneratingMode option (#7032) 2024-12-12 16:34:48 +08:00
染陌同学 9c3d9c583e
feat: support suspence event (#6975)
* feat: support suspence event

* feat: support suspense script id
2024-08-30 10:23:38 +08:00
ClarkXia 15c8200f60
Feat: unnecessary to compile routes config for server render (#6856)
* fix: unnecessary to compile routes config for server render

* chore: format ejs template

* feat: support build fallback entry

* chore: add test case for fallback entry

* chore: update lock

* chore: changeset

* chore: lint

* chore: lint

* chore: remove console log

* fix: merge conflict

* fix: undefined assign
2024-06-17 16:24:57 +08:00
ClarkXia d073ee5ade
feat: externals plugin for external dependencies mush easier (#6892)
* feat: externals plugin for external dependencies mush easier

* fix: optimize code

* fix: optimize code

* fix: example preset react

---------

Co-authored-by: ZeroLing <i@zeroling.com>
2024-06-13 13:36:25 +08:00
ClarkXia 8dada9b6cd
Feat: plugin for intl (#6863)
* feat: plugin for intl

* chore: readme

* chore: changelog

* Update runtime.tsx

* Update README.md

* feat: support intl in server
2024-05-06 09:56:22 +08:00
ClarkXia 5c40dc9328
fix: do not remove request config of dataLoader compilation (#6869) 2024-04-25 17:15:12 +08:00
dependabot[bot] 28b2874188
chore(deps-dev): bump express from 4.18.2 to 4.19.2 (#6844)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 11:24:04 +08:00
Homyee King 25c7584326
feat: dynamic API (#6831)
* chore: save

* feat: basic dynamic

* feat: export from ice/runtime

* test: with-dynamic

* test(with-dynamic): name export

* feat: use useMounted

* chore: cmt

* chore: up lock file

* chore: use universal-env

* fix: ci

* Revert "chore: use universal-env"

This reverts commit 98f5dff99f.

* chore: optimize logic
2024-03-20 14:44:21 +08:00
ClarkXia ba811d72d3
Feat: support props for KeepAliveOutlet (#6819)
* feat: support props for KeepAliveOutlet

* fix: lint warning

* fix: lint
2024-03-11 16:06:14 +08:00
ClarkXia 591a9abe96
Feat: support keepalive without experimental version of react (#6768)
* feat: support keepalive without experimental version of react

* feat: add keep alive example

* fix: optimize code
2024-02-20 11:22:19 +08:00
ClarkXia 8d57a24aec
Feat: enhance single router mode without react-router (#6761)
* feat: enhance single router mode without react-router

* fix: test case
2024-01-25 13:21:45 +08:00
ClarkXia 45c61db885
Feat: support optimize package import (#6736)
* feat: support optimize package import

* chore: comment

* fix: optimize imports
2024-01-18 10:37:35 +08:00
luhc228 23811c8201
fix: unstable_Offscreen to unstable_Activity (#6694)
* fix: OffScreen to Activity

* chore: changeset
2023-12-18 14:24:03 +08:00
ClarkXia d61d15f365
feat: support plugin of unocss (#6665)
* feat: support unocss

* chore: update lock

* docs: unocss docs

* fix: remove unexpected commit

* Update package.json
2023-11-29 15:31:20 +08:00
染陌同学 5d85418890
chore: remove switch of firstchunk (#6638)
* chore: remove switch of firstchunk

* chore: add changeset

* feat: add export and modify example
2023-11-16 01:39:09 -08:00
染陌同学 61624f16c2
chore: modify file name (#6619)
* chore: modify file name

* chore: modify lock
2023-11-01 07:55:32 -07:00
染陌同学 81849becf8
feat: support first chunk cache (#6607)
* feat: support first chunk cache

* chore: remove cacheFirstChunk

* chore: modify fcc comment

* feat: add FirstChunkCache function

* feat: add first chunk demo

* chore: modify example

* chore: update lock

* chore: update package
2023-10-30 01:21:49 -07:00
ClarkXia c53deef96e
chore: localize remote assets to reduce test time (#6566) 2023-10-11 13:36:11 +08:00
ClarkXia 1de19371d7
feat: add type definition of runApp (#6554)
* feat: add type defination of runApp

* chore: changeset
2023-10-11 10:22:02 +08:00
ClarkXia 6f18c3db54
fix: deal with json file when use on-demand compile (#6548)
* fix: deal with json file when use on-demand compile

* chore: changeset
2023-09-27 13:57:03 +08:00
ClarkXia 4d256e3063
fix: update route config when dataLoader is not defined (#6552)
* fix: update route config when dataLoader is not defined

* chore: test case
2023-09-27 13:56:36 +08:00
水澜 78f850fa67
feat: hash only css modules (#6289)
* feat: hash only css modules

* fix: type

* docs: css modules hash only

* chore: add changeset

* refactor: support localIdentName

* chore: add todo
2023-09-20 15:17:28 +08:00
ClarkXia 68f19eaeab
fix: unnecessary to import runtime module and routes when csr (#6507)
* fix: unnecessary to import runtime module and routes when csr

* fix: optimize code
2023-09-04 11:29:51 +08:00
ClarkXia 644422693c
fix: redirect import of definePageConfig (#6505)
* fix: redirect import of definePageConfig

* fix: modify template

* chore: test case

* fix: default value

* chore: test case

* fix: optimize code
2023-09-04 10:43:50 +08:00
ClarkXia 69e68633ff
feat: support API useDocumentData (#6408)
* feat: support API useDocumentData

* refactor: make document data unstable

* refactor: document data loader

* chore: lint

* chore: lint

* chore: lint

---------

Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
2023-08-31 10:12:45 +08:00
ClarkXia f5d155b5f0
feat: support register different bundler (#6440)
* feat: refactor bundler

* fix: refactor getwebpack config

* fix: add start and build

* fix: optimize code

* fix: remove useless file

* chore: remove useless file

* chore: optimize code

* fix: bump build-scripts version

* fix: bump build-scripts version

* chore: refactor file

* feat: refactor shared config

* feat: support rspack config

* fix: reset example

* chore: optimize code

* fix: update css rule

* chore: version

* chore: update lock

* fix: get css modules ident

* feat: support rspack build

* fix: css modules ident rule

* chore: add changelog

* chore: test case

* chore: test case

* chore: optimize code

* fix: compilation.chunks cause performace issue

* fix: hmr

* chore: lint

* feat: support dataLoader in rspack mode

* chore: format

* fix: add dependencies to bundles

* chore: reduce dependencies

* refactor: optimize code
2023-08-21 17:17:17 +08:00
ClarkXia 1dbcfa51a6
chore: bump version of dependencies (#6472)
* chore: bump version of dependencies

* fix: update transform rule

* fix: test case

* chore: update core-js
2023-08-21 16:26:00 +08:00
ClarkXia 5aa73572e2 Merge branch 'master' into release/next 2023-08-17 12:27:15 +08:00
ClarkXia 5fbf49a843
fix: compatible with Win32 when enable onDemand compile (#6466)
* fix: compatible with Win32 when enable onDemand compile

* test: add test case
2023-08-16 16:25:50 +08:00
染陌同学 4d5112bfe3
feat: add storage for canvas (#6399)
* feat: add storage for canvas

* feat: add changeset

* feat: add storage for script

* feat: add set value

* feat: modify userKVStorage

* feat: modify getItem

* feat: add bizID

* chore: add @ice/runtime to dev dependencied
2023-08-09 02:27:57 -07:00
ZeroLing 372699db3e
hotfix: inline style with less (#6444)
* fix: inline style with less

* chore: add changeset
2023-08-08 17:38:50 +08:00
ClarkXia 67eae5c1ac
feat: support app config of runApp (#6398) 2023-08-02 17:04:50 +08:00
ClarkXia b691b9e96c
feat: support remove router even if route count is greater than 1 (#6382)
* feat: support remove router even if route count is greater than 1

* fix: add test case

* Update createService.ts

* Update createService.ts
2023-07-18 15:20:26 +08:00
染陌同学 018238f904
feat: support canvans 2d for cache (#6367)
* feat: support canvans 2d for cache

* fix: image src hydrate

* chore: update lock

* fix: img not match when ssr

* fix: canvas dispalay

* chore: remove runtime

* chore: add event for taobao

* chore: add window.WindVane

* chore: add declare

* chore: add changeset

* feat: add cacheCanvasToStorage to ref

* chore: modify function

* feat: add @ice/cache-canvas

* feat: replace mounted

* chore: add dependence to useCallback

* chore: add try to Storage

* chore: import CacheCanvas from ice in example

* chore: add changeset

* chore: add conment

* feat: add rendered

* feat: add getSnapshot

* feat: modify

* chore: add import meta

* chore: add CacheCanvasProps
2023-07-16 23:07:27 -07:00
ClarkXia f95bbc2e71
fix: optimize deprecation warning of webpack (#6319)
* fix: optimize deprecation warning of webpack

* fix: changelog
2023-06-14 11:09:13 +08:00
ClarkXia c4f625a22e
fix: single router optimization (#6310)
* fix: optimize single router

* chore: changelog

* fix: test case

* fix: optimize code
2023-06-13 11:23:40 +08:00
水澜 137d6b1c99
fix: server dataLoader error (#6316)
* fix: server error

* chore: add changelog

* fix: fallback should be optional

* chore: add changelog
2023-06-13 11:23:18 +08:00
ClarkXia c70c77379d
fix: refactor error handling (#6286)
* fix: refactor error handling

* fix: logger

* fix: sourcemap

* fix: test case

* fix: test

* fix: add brief error message

* fix: changelog and lint
2023-06-08 18:12:12 +08:00
ClarkXia ed4ed7ee7a
hotfix: auto polyfill for abortcontroller (#6301)
* fix: auto polyfill for abortcontroller

* fix: polyfill

* feat: changelog

* fix: lint

* fix: optimize code

* fix: signal
2023-06-07 11:26:01 +08:00
luhc228 f652be72b2
fix: import identifier is invalid in route config (#6265)
* fix: import identifier is invalid in route config

* chore: changeset
2023-05-24 13:51:42 +08:00
水澜 45cb1c779d
fix: jsx comment (#6239)
* fix: jsx comment

* chore: add changelog

* fix: set source with jsx comment to classic mode

* fix: jsx pragma
2023-05-18 17:59:16 +08:00
染陌同学 f24b045de9
Feat/support sourcemap (#6158)
* feat: add generateSourceMap

* feat: generate souce map

* chore: add changeset

* feat: add data-sourcemap

* feat: add with-entry-type example

* feat: add sourcemap info

* fix: modify toJson to toString

* chore: rename generate sourcemap

* feat: modify line of child map

* feat: add base line

* chore: modify BASE_COLUMN

* chore: modify pnpm lock

* feat: data-sourcemap should be delete

* chore: update lock

* chore: add changeset

* chore: modify lock

* chore: remove app worker and data loader

* chore: if sourceMapFileList is empty, return empty string

* feat: support sourcemap meta

* feat: dealwith style

* feat: add prependCode

* chore: modify package

* chore: modify if
2023-05-17 20:01:34 -07:00
ClarkXia 07687cc157 Merge branch 'master' into release/next 2023-05-09 15:34:11 +08:00
luhc228 6e9c822af8
fix: define config (#6198)
* chore: remove useless define variables

* chore: remove useless define variables

* fix: server define config

* chore: changeset

* chore: update comment

* fix: define variables in onDemand server

* docs: update define config

* fix: test

* chore: update test case

* fix: process.env variable
2023-05-08 12:04:07 +08:00
水澜 65680d4465
fix: inline style (#6167)
* fix: inline style

* fix: test for css modules

* chore: add changeset

* fix: support global css

* revert: version

* fix: version

* refactor: add option to config css module

* fix: default support css modules

* fix: default support css modules

* fix: lint
2023-05-01 23:44:28 +08:00
逆葵 39b66b27fb fix: lint warning 2023-04-26 14:51:38 +08:00