Commit Graph

3297 Commits

Author SHA1 Message Date
ClarkXia c53deef96e
chore: localize remote assets to reduce test time (#6566) 2023-10-11 13:36:11 +08:00
ClarkXia 7924f2d1d5
fix: return render root (#6571) 2023-10-11 13:35:24 +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
水澜 df854102c9
fix: query info in fc (#6572)
* fix: compatible with query parsing errors caused by ctx.req.url  error in the fc environment

* chore: add changelog
2023-10-11 09:55:26 +08:00
ClarkXia aa29b37b59
fix: get flatten routes which nested level more than 3 (#6555)
* fix: get flatten routes which nested level more than 3

* fix: lint
2023-10-10 17:29:20 +08:00
dependabot[bot] 8fbe3d88b6
chore(deps): bump postcss from 8.4.12 to 8.4.31 (#6559)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.12 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.12...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 14:24: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
Linbudu 244bb17f78
fix(@ice/app): add typesVersions for export fields support (#6544) 2023-09-27 10:25:26 +08:00
染陌同学 93e868d339
fix: hasDocument should check jsx (#6545)
* fix: hasDocument should check jsx

* chore: add js for document
2023-09-25 04:13:14 -07:00
ClarkXia adf1fa4de8
Merge pull request #6541 from alibaba/release/next
Release 3.3.3
2023-09-21 16:18:39 +08:00
ClarkXia 40f1071940
chore: update versions (#6537) 2023-09-21 15:17:00 +08:00
ClarkXia f2c7df96af
feat: new plugin deal with stream error (#6530)
* feat: new plugin deal with stream error

* fix: add options for local test
2023-09-21 10:56:01 +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
染陌同学 82702258c4
feat: compat no document (#6536)
* feat: compat no document

* chore: modify if

* chore: Document is not requied
2023-09-18 23:14:21 -07:00
染陌同学 c3a9c20aec
chore: modify output (#6534) 2023-09-18 17:18:20 +08:00
ClarkXia 6926c477c0
Merge pull request #6513 from alibaba/release/next
Release 3.3.2
2023-09-14 14:16:31 +08:00
ClarkXia fbeaf932cb
chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
ClarkXia 66689409eb Merge branch 'master' into release/next 2023-09-13 15:35:09 +08:00
ClarkXia 97cecb7951
chore: update versions (#6526) 2023-09-13 15:09:34 +08:00
ClarkXia 06829a4eb2
fix: params urls for hook before.start.run (#6525) 2023-09-11 11:24:35 +08:00
ClarkXia cec448c36a
fix: browsers compatibility of dataLoader (#6522) 2023-09-11 11:24:19 +08:00
ZeroLing b70bba1efd
Refactor/rax compat (#6493)
* refactor: rax compat

1. update @swc/helpers version to latest.
2. relplace create react class with simple impl.

* test: add specs for createReactClass

* chore: rename to createReactClass
2023-09-11 10:53:58 +08:00
染陌同学 a04cc00242
Fix/style not match (#6521)
* fix: fix style not match when hydrate

* chore: add changeset
2023-09-07 23:11:40 -07:00
ClarkXia b748810588
fix: support custom middleware on dev server (#6520) 2023-09-07 15:13:15 +08:00
染陌同学 1e4b20af84
Feat/fix storage (#6488)
* fix: The base64 of canvans may be too large, and the syncCall will block the thread

* chore: add changeset

* feat: modify return

* feat: modify promise

* feat: modify

* chore: modify version
2023-09-06 04:21:01 -07:00
luhc228 b8b1d5e41f
fix: source map url in prod files but the sourceMap files not published (#6511)
* fix: source map url in prod files

* chore: changeset
2023-09-06 10:09:59 +08:00
ClarkXia 7194c75c0e
fix: throw error when server compile failed (#6508) 2023-09-05 15:23:07 +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 42718fd65d
Merge pull request #6486 from alibaba/release/next
Release 3.3.1
2023-08-31 15:49:39 +08:00
ClarkXia 9dec0097b5
chore: update versions (#6487) 2023-08-31 15:25:26 +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 477d14cc66
fix: mark polyfill signal as es module (#6500) 2023-08-30 18:52:29 +08:00
ClarkXia 2875b544db
chore: bump @swc/core version (#6501) 2023-08-30 18:52:04 +08:00
ClarkXia e3e1f27cba
fix: compatible with win32 in speedup mode (#6497)
* fix: compatible with win32 in speedup mode

* chore: comment
2023-08-30 13:29:18 +08:00
ClarkXia 1fa826b0ff
chore: bump rspack version for more hook and plugin support (#6498) 2023-08-30 13:29:07 +08:00
ClarkXia 101eadeaa5
fix: transform import with special identifier (#6499)
* fix: transform import with special identifier

* fix: test case
2023-08-30 13:28:54 +08:00
dependabot[bot] d8f238a5af
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#6405)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 15:20:16 +08:00
ZeroLing 99c0dd26e8
Hotfix/sourcemap pref (#6490)
* fix: sourcemap perf

* chore: comments prettier
2023-08-25 16:17:50 +08:00
Homyee King c715742cf1
fix(jsx-plus): transform w/ parent is a <></> (#6418)
* fix(jsx-plus): transform w/ parent is a <></>

* feat: up babel-plugin-transform-jsx-condition

* chore: code style

* fix: lock file

* fix(runtime): type error

* fix(runtime): type err

* fix(i18n): up swc-helper

* chore: up lock

* chore: use next lock

* fix: lock file

* fix: ci
2023-08-25 13:26:05 +08:00
ClarkXia d4904e9269
fix: runtime should compat with old browsers (#6478)
* fix: runtime should compat with old browsers

* fix: optimize code

* fix: lint

* chore: optimize code

* chore: optimize code
2023-08-24 12:06:56 +08:00
ClarkXia 47ba84d3cf
fix: typo of specifier for app data loader (#6480) 2023-08-23 15:13:18 +08:00
ClarkXia 41bc144072
fix: ignore static resource when render server entry (#6484)
* fix: ignore static resource when render server entry

* chore: changelog
2023-08-23 10:17:49 +08:00
ClarkXia 3236acd338
Merge pull request #6481 from alibaba/release/next
Release 3.3.0
2023-08-22 14:54:37 +08:00
ClarkXia 48e3d8b6f9
chore: update versions (#6482) 2023-08-22 12:07:37 +08:00
ClarkXia 1ccd3a6ef2 chore: fix type error 2023-08-21 17:38:24 +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 dd8106056c
Merge pull request #6465 from alibaba/release/next
Release 3.2.10
2023-08-21 14:26:30 +08:00