Commit Graph

138 Commits

Author SHA1 Message Date
luhc228 23811c8201
fix: unstable_Offscreen to unstable_Activity (#6694)
* fix: OffScreen to Activity

* chore: changeset
2023-12-18 14:24:03 +08:00
luhc228 0626b3e045
docs: fix request base url env (#6679) 2023-12-05 10:22:12 +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
Linbudu f926df2bc2
fix: fix doc content (#6669) 2023-11-29 11:39:41 +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 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
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 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
水澜 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 6c62576308
docs: add proxy config desc (#6253) 2023-05-19 14:10:01 +08:00
水澜 51b6df6bb2
docs: compile deps (#6247)
* docs: compile deps

* chore: add caution

* chore: add caution
2023-05-17 14:01:17 +08:00
ClarkXia d927acb577 Merge branch 'master' into release/next 2023-05-10 14:34:55 +08:00
luhc228 86ff43db66
docs: update externals config (#6226) 2023-05-10 11:18:20 +08: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
逆葵 c7ec3a43a8 Merge branch 'release/next' into feat/miniapp-native-events 2023-04-25 15:25:10 +08:00
逆葵 4539817317 docs(miniapp): update doc and example 2023-04-25 10:57:36 +08:00
水澜 f56497f694
feat: async data loader (#6137)
* 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

* feat: async data loader

* fix: update lock

* fix: hydration

* fix: router

* fix: router

* chore: log

* fix: hmr

* fix: test

* fix: test

* feat: await

* fix: await component

* fix: lint

* refactor: type

* fix: type

* fix: app data loader

* fix: test

* fix: test

* test: async data

* test: async data

* docs: async data loader

* fix: lint

* refactor: loader config

* fix: test

* fix: compat with old useage

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-04-25 10:47:40 +08:00
逆葵 c59b5f4c9e Merge branch 'release/next' into feat/miniapp-native-events 2023-04-24 18:05:57 +08:00
逆葵 0effed1bcf Merge branch 'master' into feat/miniapp-native-events 2023-04-24 17:40:46 +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 6e518afcd5
docs: optimize plugin dev (#6173) 2023-04-23 11:46:04 +08:00
luhc228 3839f2851b
docs: fix addWrapper usage (#6171) 2023-04-20 16:01:19 +08:00
heziqiang 30e2cb182a
fix demo code error (#6009)
fix demo code error about mockjs
2023-04-11 12:14:58 +08:00
逆葵 f79764a5b0 Merge branch 'release/next' into feat/miniapp-native-events 2023-04-10 16:17:05 +08:00
ClarkXia 8d79059c00
Merge pull request #6090 from alibaba/release/next
Release 3.1.5
2023-03-30 15:14:13 +08:00
逆葵 c4493e5f9d docs(miniapp): add native lifecycle events doc 2023-03-28 20:04:30 +08:00
逆葵 41fdcee486 docs: update 2023-03-28 17:20:17 +08:00
逆葵 ee556594f7 docs: update 2023-03-28 17:18:15 +08:00
逆葵 b1bfef0ca9 Merge remote-tracking branch 'origin/release/next' into feat/miniapp-native-events 2023-03-28 15:05:11 +08:00
逆葵 2d7d4bf1fc Merge branch 'master' into feat/miniapp-native-events 2023-03-28 11:40:52 +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
ZeroLing ebcdf1ae4d
docs: update appear (#6094)
* docs: update appear

* Update appear.md

* Update appear.md
2023-03-21 19:03:25 -07:00
ClarkXia 3acc10ace8
docs: plugin fusion (#6052) 2023-03-20 17:01:13 +08:00
ZeroLing df3458ee4c
Docs/optimize website (#6073)
* chore: website css

* docs: seprate rax-compat and rename code-splitting

* chore: optimize docs

* fix: doc reference path

* docs: update decription
2023-03-17 11:03:19 +08:00
ClarkXia b04a59c43b
Merge pull request #6006 from alibaba/release/next
Release 3.1.3
2023-03-16 13:56:21 +08:00
染陌同学 87472b397a
docs: add event of rax compat (#6037)
* docs: add event of rax compat

* docs: modify event
2023-03-10 10:45:43 +08:00
水澜 2c6cf5c23a
fix: setRender api (#6031) 2023-03-09 10:17:53 +08:00
luhc228 71bb754dc8
feat: support route index and nested url without nested layout (#6020)
* feat: support route index

* chore: changeset

* docs: update router docs

* feat: support nested urls without nesting layouts

* feat: support escape route

* docs: nested url

* chore: update changeset

* fix: test

* test: escape and nested routes

* chore: add comment
2023-03-09 10:17:25 +08:00
ClarkXia 4601c028b5
chore: docs for new feature (#6013)
* chore: docs for new feature

* chore: package link
2023-03-06 15:03:10 +08:00
ClarkXia c23c10e4ff
Merge pull request #5950 from alibaba/release/next
Release 3.1.2
2023-03-02 14:58:36 +08:00
luhc228 dae91e218c
fix: request plugin type and usage (#5992)
* feat: add d.ts type

* fix: request type

* fix: useRequest usage

* chore: changeset

* feat: support useRequest param is string
2023-03-01 18:00:59 +08:00
ClarkXia 56fb406e8a
fix: import path of types and runtime (#5981)
* fix: import path of types and runtime

* chore: package.json

* chore: add changelog

* fix: typings

* fix: type declare
2023-02-28 15:08:10 +08:00
染陌同学 f7b5894063
docs: add appear doc (#5980)
* docs: add appear doc

* docs: modify VisibilityChange
2023-02-28 10:59:36 +08:00
ClarkXia 071a627dac
feat: support code spiliting strategy (#5957)
* feat: support code spiliting strategy

* fix: optimize code

* fix: compatible with splitChunks

* fix: compatible with splitChunks

* chore: default value chunks

* Update config.md

* Update routes.ts
2023-02-24 17:22:18 +08:00
ClarkXia 23504a77d4
docs: route limit (#5964) 2023-02-23 19:28:32 +08:00
染陌同学 e5df1cea7a
docs: modify docs of rax-migrate (#5907) 2023-02-21 19:01:45 -08:00
ClarkXia 6dfc4b00e1
Merge pull request #5875 from alibaba/release/next
Release 3.1.1
2023-02-20 11:52:53 +08:00