Commit Graph

3297 Commits

Author SHA1 Message Date
ClarkXia 75880524d3
fix: minor version of @ice/runtime (#6184) 2023-04-24 18:03:08 +08:00
逆葵 0effed1bcf Merge branch 'master' into feat/miniapp-native-events 2023-04-24 17:40:46 +08:00
ClarkXia f62560f9b3
chore: tag minor bump (#6183) 2023-04-24 17:23:59 +08:00
ClarkXia 8f97e538d6
chore: bump build-scripts version to unify esbuild version (#6179) 2023-04-24 14:27:07 +08:00
luhc228 1c3d3fec6c
feat: i18n plugin (#6149)
* feat: antd5 example with i18n

* feat: fusion example with i18n

* feat: init plugin-i18n

* feat: init i18n example

* chore: lock

* feat: add language selector

* feat: i18n route

* feat: getAllLocales and getDefaultLocale API

* fix: ssr render error

* feat: support auto redirect

* fix: redirect without url param

* feat: support add response handler

* chore: lock

* feat: support blockCookie option

* fix: route test

* fix: ssg error

* fix: i18n response

* feat: add server example

* chore: add basename

* chore: add headers

* feat: i18n docs

* fix: i18n plugin

* feat: enhance disable cookie

* docs: update disabledCookie documentation

* chore: update desc

* fix: param not defined

* fix: generate routes.ts

* fix: remove todo

* test: i18n

* test: i18n

* fix: lint warning

* fix: addDefineRoutesFunc to addRoutesDefinition

* chore: i18n plugin version

* chore: changelog

* feat: use modifyRenderData instead of runtimeOptions.raw

* chore: update changelog

* chore: rename param

* fix: comment

* feat: use createLogger instead of consola directly

* feat: change customRuntimeOptions type from string to object

* refactor: route id

* chore: remove unused console.log

* chore: add comment

* fix: win32 test fail

* chore: changelog
2023-04-24 10:18:53 +08:00
luhc228 3ede3c5a2a
feat: enable type=module to rax-compat (#6176)
* chore: add type module

* chore: changeset

* chore: add .js suffix
2023-04-23 19:00:48 -07:00
ClarkXia 467dc56b5a
fix: only create esbuild context when dev (#6181) 2023-04-23 17:44:31 +08:00
luhc228 13770d53e7
fix: compatible with runtime absolute path on win32 (#6172)
* fix: compatible-with-runtime-abso-path-on-win32

* chore: changelog

* fix: rootDir param is not passed
2023-04-23 14:53:47 +08:00
luhc228 6e518afcd5
docs: optimize plugin dev (#6173) 2023-04-23 11:46:04 +08:00
Day c554f8851d
fix: typo (#6164) 2023-04-20 16:32:19 +08:00
NK 71bd7926a2
feat: upgrade esbuild version to v0.17 (#6146)
* feat: upgrade esbuild version to v0.17

* chore: update lock file && add registry

* fix: lint warning
2023-04-20 16:31:33 +08:00
luhc228 3839f2851b
docs: fix addWrapper usage (#6171) 2023-04-20 16:01:19 +08:00
水澜 da7c733c53
fix: data loader format (#6168)
* fix: use iife format stands

* chore: add changeset
2023-04-18 18:10:42 +08:00
ClarkXia 5dd3c86ed7
Refactor: use swc plugin to remove code (#6144)
* refactor: use swc plugin to remove code

* chore: update version
2023-04-18 17:01:37 +08:00
染陌同学 ce94e05489
fix: fix frames error with multiple (#6154)
* fix: fix frames error with multiple

* chore: add changeset
2023-04-16 23:07:56 -07:00
染陌同学 b1e89bc73c
fix: PHA plugin can only run in web (#6155) 2023-04-16 21:06:23 -07:00
染陌同学 d4f943fb42
feat: support downgradeUrl (#6161) 2023-04-16 21:06:09 -07:00
ClarkXia 9de09ee8da
feat: support version check between @ice/app and @ice/runtime (#6151)
* feat: support version check between @ice/app and @ice/runtime

* fix: update lock
2023-04-14 11:04:53 +08:00
ClarkXia 4763bc7666
Refactor: router (#6123)
* chore: refactor unfinished

* feat: support create router

* refactor: render mode

* fix: code splitting false

* feat: add location for icestark

* chore: remove console

* test: examples

* fix: dataloader is undefined

* fix: test

* fix: test case

* fix: test case

* fix: types

* fix: test case

* fix: lock

* fix: update lock

* fix: hydration

* fix: router

* fix: router

* chore: log

* fix: hmr

* fix: test

* fix: test

* chore: optimize code

* Update singleRoute.test.tsx

* fix: types
2023-04-13 12:01:16 +08:00
heziqiang 30e2cb182a
fix demo code error (#6009)
fix demo code error about mockjs
2023-04-11 12:14:58 +08:00
ClarkXia 7b04ca7ed7
fix: remove all exports of routes when render mode is csr (#6140) 2023-04-11 12:00:48 +08:00
逆葵 cc448339dc feat(miniapp): set miniappLifecycles default value 2023-04-11 11:18:13 +08:00
逆葵 4655a76dbe chore: add changeset 2023-04-10 16:37:33 +08:00
逆葵 f79764a5b0 Merge branch 'release/next' into feat/miniapp-native-events 2023-04-10 16:17:05 +08:00
ClarkXia 48c40ea04e
chore: update versions (#6128) 2023-03-31 11:14:01 +08:00
ClarkXia deda06de7a
fix: revert the upgrade of @swc/core (#6127) 2023-03-31 10:55:07 +08:00
ClarkXia 8d79059c00
Merge pull request #6090 from alibaba/release/next
Release 3.1.5
2023-03-30 15:14:13 +08:00
ClarkXia be9816f996
chore: update versions (#6089)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-03-30 13:22:49 +08:00
水澜 4e1d906560
fix: resue route paths (#6074)
* refactor: resue route paths

* chore: add changeset

* fix: type

* refactor: don't pass data cache

* fix: lint

* fix: should include layout file
2023-03-29 19:34:06 -07:00
染陌同学 83af2887c8
Feat/support pullfresh (#6121)
* feat: support page of pullrefresh

* feat: support pull refresh

* chore: add changeset and test
2023-03-29 19:05:58 -07:00
逆葵 925d186dd8 chore: update package.json 2023-03-29 11:00:41 +08:00
逆葵 572198480c chore: add changeset 2023-03-29 10:50:50 +08:00
逆葵 c4493e5f9d docs(miniapp): add native lifecycle events doc 2023-03-28 20:04:30 +08:00
逆葵 7840bd2c9b test(miniapp): add test case 2023-03-28 19:53:50 +08:00
逆葵 41fdcee486 docs: update 2023-03-28 17:20:17 +08:00
逆葵 ee556594f7 docs: update 2023-03-28 17:18:15 +08:00
逆葵 9de87a0015 fix: build error 2023-03-28 17:08:16 +08:00
luhc228 97f8a80142
feat: disable compress config in dev server for streaming render (#6116)
* feat: disable compress config in dev-server

* chore: changeset
2023-03-28 17:02:50 +08:00
逆葵 b1bfef0ca9 Merge remote-tracking branch 'origin/release/next' into feat/miniapp-native-events 2023-03-28 15:05:11 +08:00
逆葵 d3ddcccad0 fix(miniapp): update swc helpers config 2023-03-28 14:16:44 +08:00
逆葵 995b02e8ee chore(miniapp): update define config 2023-03-28 14:16:04 +08:00
逆葵 56fb6387eb chore: update lock file 2023-03-28 11:47:07 +08:00
逆葵 2d7d4bf1fc Merge branch 'master' into feat/miniapp-native-events 2023-03-28 11:40:52 +08:00
ClarkXia 42d185390a
fix: micro app render in qiankun (#6106)
* fix: micro app render in qiankun

* fix: compatible with qiankun
2023-03-27 10:06:54 +08:00
luhc228 d9d65c076e
fix: not build before release beta version (#6102) 2023-03-24 17:33:04 +08:00
ClarkXia 764ef0b612
fix: get route assets by route manifest (#6083) 2023-03-23 14:42:16 +08:00
ClarkXia af5bb58c1e
docs: update docs for antd (#6101) 2023-03-23 14:04:41 +08:00
ClarkXia 085498aa8a
feat: support plugin API of excuteServerEntry (#6097)
* feat: support plugin API of excuteServerEntry

* fix: build error

* chore: optimize code

* fix: remove cache for excute server entry
2023-03-22 17:53:24 +08:00
ZeroLing ebcdf1ae4d
docs: update appear (#6094)
* docs: update appear

* Update appear.md

* Update appear.md
2023-03-21 19:03:25 -07:00
ClarkXia ee4141d5c3
chore: update dependencies (#6026)
* chore: update dependencies

* chore: remove empty line

* chore: update swc version

* Revert "chore: update swc version"

This reverts commit 47c62bbe56.

* fix: update lock

* chore: update lock

* fix: bump @swc/core and swc plugins version

* chore: update changelog

* chore: update changelog

* fix: update lock
2023-03-21 17:00:31 +08:00