Commit Graph

79 Commits

Author SHA1 Message Date
ClarkXia 3a02e7be8e
Release@3.6.2 (#7109)
* fix: jsxplugs transform (#7076)

* fix: jsxplugs transform

* chore: change set

* Feat: add support for custom loaders in rspack configuration (#7078)

* feat: add support for custom loaders in rspack configuration

* chore: changeset

* fix: miniapp using absolute path to match route manifest (#7095)

* fix(miniapp-runtime): enter same page twice then exit should not throw error (#7104)

* fix: rename dropLog to dropLogLevel  in config.md (#7103)

* chore: update @swc/helpers to 0.5.17 (#7106)

* Fix/provide (#7097)

* feat: parse inject file

* feat: compileIncludes

* chore: change set

* feat: getexportsvariable

* chore: update versions (#7077)

---------

Co-authored-by: Homyee King <HomyeeKing@gmail.com>
Co-authored-by: XGHeaven <xgheaven@gmail.com>
Co-authored-by: Frank <405267330@qq.com>
2025-06-24 10:42:01 +08:00
Frank 0d0e5ab039
fix: rename dropLog to dropLogLevel in config.md (#7103)
Publish canary / Check Changeset exists (push) Waiting to run Details
Publish canary / Publish Canary (18) (push) Blocked by required conditions Details
CI / build (16.x, ubuntu-latest) (push) Waiting to run Details
CI / build (16.x, windows-latest) (push) Waiting to run Details
CI / build (18.x, ubuntu-latest) (push) Waiting to run Details
CI / build (18.x, windows-latest) (push) Waiting to run Details
Version / Version (16) (push) Waiting to run Details
2025-06-05 17:27:54 +08:00
Phanendra Guptha Katta b719564cd9
Update development.md (#7071)
CI / build (16.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (16.x, windows-latest) (push) Has been cancelled Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (18.x, windows-latest) (push) Has been cancelled Details
Release / Release (16) (push) Has been cancelled Details
Build Website / build-and-deploy (push) Has been cancelled Details
2025-04-16 13:40:35 +08:00
XGHeaven f0c6380b0c
feat: support htmlGeneratingMode option (#7032) 2024-12-12 16:34:48 +08:00
ClarkXia de66896321
docs: update the demo code of customize script (#6918) 2024-06-20 14:02:24 +08:00
ClarkXia a8a86d8b9c
docs: update api document (#6836) 2024-03-20 16:06:58 +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
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
水澜 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
heziqiang 30e2cb182a
fix demo code error (#6009)
fix demo code error about mockjs
2023-04-11 12:14:58 +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
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 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
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
ClarkXia 6dfc4b00e1
Merge pull request #5875 from alibaba/release/next
Release 3.1.1
2023-02-20 11:52:53 +08:00
水澜 866ca0e2ab
feat: redirect imports (#5919)
* feat: redirect runtime imports

* chore: change log

* docs: add info for data loader
2023-02-15 19:35:02 -08:00
waynelee d70f5246f4
docs: don't import defineDataLoader as a type (#5901) 2023-02-12 22:59:25 +08:00
luhc228 842a2c00fb
docs: add searchParams usage (#5898) 2023-02-10 01:38:12 -08:00
ClarkXia a364a619c9
Merge pull request #5804 from alibaba/release/3.1.0
Release/3.1.0
2023-02-03 11:39:48 +08:00
水澜 d2f0b7e5c7
feat: suspense ssr (#5584)
* feat: suspense ssr demo

* chore: rename global variable

* chore: update lock

* feat: suspense demo

* chore: delete dead code

* refactor: rename to data context

* fix: error triggered in steam, should not downgrade

* feat: suspense ssr

* fix: should async script when suspense

* feat: support suspense for common components

* feat: support suspense for common components

* fix: style type lint

* fix: typings

* feat: remove server data loader for suspense component

* feat: disable dataLoader for suspense

* chore: add style

* chore: add changelog

* chore: add changelog

* chore: add comments

* refactor: check suspense data

* fix: type

* test: suspnese

* fix: compat with ssg

* feat: fallback for suspense

* feat: suspense fallback

* refactor: pass id as props

* refactor: pass fallback as element

* fix: type

* docs: suspense

* docs: suspense

* refactor: support suspense in components

* fix: changelog

* fix: lint

* fix: should not replace env to string

* chore: add changelog

* chore: remove dead code

* revert: dataloader for ssr

* fix: lint

* refactor: rename

* docs: hide suspense ssr

* refactor: remove internal error boundary

* refactor: merge if condition

* fix: type

* refactor: suspense api

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-02-02 16:00:04 +08:00
luhc228 bde7dbd6f7
docs: optimize cli documentation (#5846) 2023-02-02 10:46:17 +08:00
ZeroLing f46d0e7204
feat: support target and renderer (#5700)
* feat: support target and renderMode

* fix: test case and renderer

* Update build.ts

* refactor: constant

* fix: eslint

* fix: remove empty line

* fix: remove useless code

* feat: add import.meta.env

* fix: type webpack

* fix: server compiler defines
2023-01-06 15:07:39 +08:00
水澜 fb7dd7f394
docs: server external (#5729) 2022-12-26 17:00:53 +08:00
染陌同学 17161f9302
docs: add statit dataLoader (#5737) 2022-12-26 16:50:28 +08:00
染陌同学 e133db8101
docs: modify doc of appear (#5734) 2022-12-26 16:47:28 +08:00
染陌同学 f9dc5ffa85
docs: add docs of cumstom render for document (#5689) 2022-12-09 18:05:10 +08:00
luhc228 e339d4a003
optimize route docs (#5610)
* docs: update route config

* docs: get route info

* docs: route redirect

* docs: ignoreFiles in route docs

* docs: $.tsx

* feat: add route tip

* fix: comment
2022-12-07 19:17:17 +08:00
luhc228 c66f60e410
docs: add Document props pagePath (#5621)
* docs: add document props pagePath

* Update document.md

* Update document.md

* Update document.md

Co-authored-by: ZeroLing <i@zeroling.com>
2022-11-25 22:52:14 +08:00
Rhuzerv cffc9895a5
docs: modify the url to the correct repo (#5612) 2022-11-24 13:24:35 +08:00
ZeroLing f6cfab13b4
Docs/update ssr (#5581)
* docs: remove tips s

* docs: modify docs
2022-11-23 20:10:17 +08:00
染陌同学 9ff4a3591a
docs: modify route docs (#5597) 2022-11-21 14:36:23 +08:00
ZeroLing 2ef2eeb003
docs: modify ice.js documentations (#5579) 2022-11-17 19:51:12 +08:00
NK 8a60304b0b Fix/miniapp problems (#671)
* fix(miniapp): page load after getAppData

* docs(miniapp): update miniapp-runtime readme

* feat(miniapp): support turn off rpx2vw using enableRpx2Vw

* chore(miniapp): update example

* fix(miniapp): outputDir is wrong in command line

* fix(miniapp): no log in build command

* fix(miniapp): history type

* chore(miniapp): update example

* feat(miniapp): support enableCache to disable cache in miniapp task

* fix(miniapp): throw error if no getConfig function in page component

* feat(miniapp): add params to specify getData and getConfig

* fix(miniapp): getData/getAppData existence situation

* feat(miniapp): normalize route in history

* fix: lint warning

* feat(miniapp): align Link to props and history.push props

* docs(miniapp): add more articles

* feat(miniapp): support nativeConfig in plugin-miniapp

* feat(miniapp): rename getConfig to pageConfig

* feat(miniapp): rename getData to dataLoader

* fix: lint warning

* docs: fix broken links

* docs(miniapp): update miniapp location and relative links

* Update start.md

Co-authored-by: ZeroLing <i@zeroling.com>
2022-11-15 16:31:24 +08:00
luhc228 4148b2a761 docs: optimize (#686) 2022-11-15 16:31:18 +08:00
水澜 6ce0835d9b refactor: app data loader (#689)
* refactor: getAppData to dataLoader

* refactor: merge data loader logic in one file

* fix: comments
2022-11-15 16:31:09 +08:00
ZeroLing d2c7e0696d chore: optimize (#676)
* chore: optimize with rax-compat docs

* refactor: add mock express types dependency

* refactor: change usage for definePageConfig

* chore: change docs

* docs: ICE to ice.js

* fix: templorary remove the type

* chore: handle with lint problems

* fix: lock file
2022-11-15 10:33:11 +08:00
luhc228 ecc32ac672 docs: optimize assets docs (#669)
* docs: optimize assets docs

* docs: typo

* fix: assets docs problems

* refactor: optimize docs
2022-11-15 10:33:11 +08:00