Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(en): merge rollup/master into rollup-docs-cn/master @ d90f2748 #74

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4576ef3
[v4.0] Set minimum Node version to 18
lukastaegert Sep 18, 2023
643272e
[v4.0] Switch parser to SWC and introduce native/WASM code (#5073)
lukastaegert Sep 17, 2023
92864d4
[v4.0] Set the default of skipSelf to true (#5142)
TrickyPi Sep 18, 2023
62cbff4
[v4.0] Imporve the performance of generating ast and rollup ast nodes…
TrickyPi Sep 21, 2023
55abe0f
[v4.0] Remove deprecated features (#5143)
lukastaegert Sep 21, 2023
accd66a
[v4.0] feat: Do not watch files anymore if their content is returned …
TrickyPi Sep 24, 2023
7325320
[v4.0] Remove onwarn from normalized input options (#5147)
lukastaegert Sep 24, 2023
fda977b
[v4.0] Add parse option to allow return outside function (#5154)
lukastaegert Sep 26, 2023
0b0eabd
[v4.0] Handle empty exports (#5157)
lukastaegert Sep 26, 2023
fbc25af
[v4.0] feat: implement hashing content in Rust (#5155)
TrickyPi Sep 30, 2023
4e562e5
[v4.0] fix: also strip BOM from code strings in JS (#5164)
TrickyPi Oct 2, 2023
bfbea66
[v4.0] feat: preserve shebang in entry module for CJS and ESM outputs…
TrickyPi Oct 3, 2023
dd709c3
[v4.0] warn for invalid annotations (#5165)
lukastaegert Oct 3, 2023
cade24f
[v4.0] Ensure we support new import attribute "with" syntax (#5168)
lukastaegert Oct 5, 2023
4e8e5b4
[v4.0] Expose parser (#5169)
lukastaegert Oct 5, 2023
2f26135
4.0.0
lukastaegert Oct 5, 2023
95c2da8
Fix REPL artifacts workflow
lukastaegert Oct 6, 2023
7d88ef0
chore(deps): lock file maintenance minor/patch updates (#5172)
renovate[bot] Oct 6, 2023
4611d81
fix: ignores empty statements in class body that is returned by SWC p…
TrickyPi Oct 6, 2023
10eb5e8
Fix linux arm musl build (#5176)
lukastaegert Oct 6, 2023
fcab1f6
4.0.1
lukastaegert Oct 6, 2023
b132bd4
Handle special characters before double underscores (#5178)
lukastaegert Oct 6, 2023
3d9c833
4.0.2
lukastaegert Oct 6, 2023
8b217ce
Update migration guide for Rollup 4 (#5179)
lukastaegert Oct 7, 2023
15d321b
chore: explicitly set rust toolchain channel (#5177)
cijiugechu Oct 7, 2023
2a86412
Fix toolchain for REPL workflow
lukastaegert Oct 9, 2023
e99ff72
Resolve clippy errors (#5180)
cijiugechu Oct 9, 2023
c453664
docs: fix code example for `onLog` (#5184)
tjenkinson Oct 9, 2023
080d224
Add clippy to pipeline and fix remaining issues (#5183)
lukastaegert Oct 9, 2023
f52a2eb
Improve wording for native artifacts in migration guide (#5186)
lukastaegert Oct 10, 2023
d90f274
test: add verifyAst type (#5190)
TrickyPi Oct 11, 2023
fe7c6a5
docs(en): merging all conflicts
docschina-bot Oct 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve wording for native artifacts in migration guide (#5186)
Improve wording for antive artifacts in migration guide
  • Loading branch information
lukastaegert authored Oct 10, 2023
commit f52a2ebfdcd568b0876af3fadf9e85f7c4af6e5d
2 changes: 1 addition & 1 deletion docs/migration/index.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ For larger configs, it can make sense to update to `[email protected]` first, add th

## General Changes

Rollup now relies on some native code. For most users, this code should automatically be installed as an optional dependency depending on your platform and architecture. If your system is not supported, you can instead use `@rollup/wasm-node` as a platform-independent drop-in replacement.
Rollup now includes native code that is automatically installed (and removed) as an [optional npm dependency](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#optionaldependencies) if your platform and architecture is supported. More precisely, Rollup has a list of `optionalDependencies`, each of which only install on a specific [`os`](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#os) and [`cpu`](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#cpu). If your system is not supported, you will receive an error message when starting Rollup that will tell you about your platform and architecture and gives you a list of supported ones. In that case, you can instead use `@rollup/wasm-node` as a platform-independent drop-in replacement.

Otherwise, an obvious change is that Rollup now uses url-safe base64 hashes in file names instead of the older base16 hashes. This provides more hash safety but means that hash length is now limited to at most 22 characters for technical reasons.