Commit Graph

2915 Commits

Author SHA1 Message Date
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 cf8a78e379
feat: support code splitting strategy of page-vendors (#6386)
* feat: support code splitting strategy of page-vendors

* chore: fix type

* fix: test case
2023-07-17 10:44:15 +08:00
染陌同学 39c92e5b0a
fix: format of dataLoaderConfig loader changed (#6384)
* fix: format of dataLoaderConfig loader changed

* chore: modify titleId

* test: modify test
2023-07-12 00:27:43 -07:00
ClarkXia 27a7253694
fix: always external dependencies when get config (#6383) 2023-07-12 14:30:56 +08:00
Linbudu 6f3e16ce4d
feat: support inline style filter (#6380)
* feat: support inlineStyle filter

* docs: enhance rax-compat desc

* chore: update comments

* chore: fix comment styles

* chore: fix comment styles
2023-07-11 19:59:55 +08:00
spicylemonhaha f58e0c16d5
feat: enhance dropLogLevel build config (#6376)
* feat: 增强droplog功能

* fix: 修改warn说明

* fix: 补充md文件

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-07-07 18:02:56 +08:00
ClarkXia ae705c03e8
Merge pull request #6369 from alibaba/release/next
Release 3.2.7
2023-07-06 17:26:40 +08:00
ClarkXia 76ef029d0c
chore: update versions (#6368) 2023-07-06 16:41:48 +08:00
Linbudu 7f718c5f3d
fix: fix Rax namespace typing compat with React v18 (#6355)
* fix: fix Rax namespace typing compat with React v18

* fix: add missing ForwardRefExoticComponent type

* feat: fixup tests

* fix: fix cr issues

* fix: fix typing injection
2023-07-06 16:33:09 +08:00
Linbudu bf8af99dea
remove plugin-rax-compat server options (#6362)
* fix: remove server options setter

* fix: remove server options setter

* feat: fixup tests

* fix: buildOptions compat
2023-07-06 11:00:14 +08:00
ClarkXia 110b282b47
feat: support user config htmlGenerating (#6346)
* feat: support user config htmlGenerating to control the generation of html

* fix: add warning

* chore: add user config comments

* Update build.ts

* fix: do not render document when template is false

* fix: comments
2023-07-06 10:41:44 +08:00
ClarkXia 429a2a8315
fix: relative id in pipe transform (#6340) 2023-07-05 14:31:12 +08:00
ClarkXia c7aad4ebed
chore: add user config comments (#6347)
* chore: add user config comments

* Update userConfig.ts
2023-07-05 14:30:39 +08:00
ClarkXia 29ad1b5242
fix: add warning log for mutate suspense data directly (#6351) 2023-07-05 14:30:16 +08:00
luhc228 dd297f96cb
fix: compilation config not extend (#6342)
* fix: compilation config not extend

* chore: changeset

* fix: compile option override

* fix: deepClone duplicated
2023-07-05 14:08:50 +08:00
ClarkXia d8f4520f26
fix: alias for type declaration (#6360) 2023-07-05 14:08:29 +08:00
ClarkXia 170fe47aa7
Merge pull request #6308 from alibaba/release/next
Release 3.2.6
2023-06-16 10:42:11 +08:00
ClarkXia 45fbf7d5d7
chore: update versions (#6300) 2023-06-16 10:07:54 +08:00
ClarkXia 9d50f5fcdc
fix: deprecated warning for use app context form @ice/runtime (#6325)
* fix: deprecated warning for use app context form @ice/runtime

* fix: test case
2023-06-14 19:03:08 +08:00
ClarkXia 1171475d42
fix: ignore hydration error in dev server overly (#6326)
* fix: ignore hydration error in dev server overly

* fix: throw error
2023-06-14 19:02:47 +08:00
ClarkXia 098cb37c56
chore: add changeset (#6324) 2023-06-14 11:31:47 +08:00
染陌同学 9eec33ad21
feat: support weex start sourcemap (#6315)
* feat: support weex start sourcemap

* chore: add changeset
2023-06-14 11:12:52 +08:00
染陌同学 583c29b3e0
feat: support isPHAAppWorker (#6321)
* feat: support isPHAAppWorker

* feat: remove isPHAWorker from env

* chore: modify changeset
2023-06-14 11:10:04 +08: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 b10d9cb8c7
fix: support source map for stack traces in node (#6322)
* fix: support source map for stack traces in node

* chore: changelog

* fix: optimize sourcemap
2023-06-14 10:50:08 +08:00
染陌同学 94dac52edb
chore: add return for default of dataLoaderFetcher (#6320) 2023-06-13 18:06:11 +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 c50367ae9b Revert "fix: backforward for ts error"
This reverts commit ce71f72e46.
2023-06-12 17:21:21 +08:00
ClarkXia ce71f72e46 fix: backforward for ts error 2023-06-12 16:51:12 +08:00
ClarkXia c68c5da305
fix: replace history methods by router navigate for backwards compatibility (#6317) 2023-06-12 16:35:53 +08:00
hzyhbk ed97eccd28
feat: 兼容一套代码同构流式SSR和小程序的模式 (#6268)
* feat: 兼容一套代码同构流式SSR和小程序的模式

* fix: miniapp-runtime 增加 useSuspenseData 注释
2023-06-09 11:35:15 +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
luhc228 abdd49de8d
Fix: modified task alias not be consumed (#6296)
* fix: task alias not be consumed

* chore: changeset

* fix: taskConfigs side effects
2023-06-07 19:22:55 +08:00
Lei Ma effe79860c
fix(runtime): when SSR client send extra useless requests (fix #6306) (#6307)
detail: SSR compile time data field 'loaderData' not match runtime 'routesData'
2023-06-07 16:51:09 +08:00
ClarkXia 87dd2a9434 Merge branch 'release/next' of github.com:alibaba/ice into release/next 2023-06-07 14:54:55 +08:00
ClarkXia 234245e1bd
chore: update versions (#6305) 2023-06-07 13:35:14 +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 af0a6d7ad3
fix: route paths are not match with hash (#6304)
* fix: bump react-router version to fix route path not match with location hash

* chore: changeset
2023-06-07 11:07:41 +08:00
水澜 aa41dd8570
feat: use scripts (#6238)
* feat: build for production

* feat: use scripts

* revert: production config

* feat: use render mode

* test: use scripts

* fix: export

* fix: exports

* fix: lint

* revert: lock

* feat: export useAppContext

* fix: type

* fix: type

* refactor: hooks name

* fix: type

* refactor: remove useRenderMode

* refactor: remove useRenderMode

* refactor: function name

* fix: export app config

* refactor: app context

* chore: add changelog

* chore: remove demo code
2023-06-05 16:03:03 +08:00
水澜 474e19356f
feat: use scripts (#6238)
* feat: build for production

* feat: use scripts

* revert: production config

* feat: use render mode

* test: use scripts

* fix: export

* fix: exports

* fix: lint

* revert: lock

* feat: export useAppContext

* fix: type

* fix: type

* refactor: hooks name

* fix: type

* refactor: remove useRenderMode

* refactor: remove useRenderMode

* refactor: function name

* fix: export app config

* refactor: app context

* chore: add changelog

* chore: remove demo code
2023-06-05 16:01:11 +08:00
luhc228 f839c67d7a
fix: load route module error when only has one router (#6297)
* fix: loadRouteModule error when only has one router

* chore: changeset
2023-06-05 14:01:16 +08:00
ClarkXia a55bc97711
chore: update versions (#6292) 2023-06-02 10:17:00 +08:00
ClarkXia b21ab5cdac
fix: compile @remix-run/router when minify is swc (#6291)
* fix: compile @remix-run/router when minify is swc

* chore: comment
2023-06-01 16:06:17 +08:00
ZeroLing 4a8dcc02d2
Hotfix: rax compat style (#6290)
* fix: rax style compat

* chore: add changeset
2023-06-01 16:05:31 +08:00
ClarkXia fa884ad30e
Merge pull request #6277 from alibaba/release/next
Release 3.2.3
2023-05-31 16:00:20 +08:00
ClarkXia 45bb4620c4
chore: update versions (#6276) 2023-05-31 15:41:55 +08:00
水澜 51411c4e67
feat: onShellReady (#6285)
* feat: onShellReady

* revert: version

* chore: add chagnelog

* revert: version

* revert: version

* feat: hooks for render

* fix: type

* refactor: stream options
2023-05-31 14:31:28 +08:00
ClarkXia 87be462139
chore: update versions (#6275) 2023-05-31 10:40:26 +08:00