mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 07:06:28 +08:00
aaeae8ebcd792103ab34fb8f900ec027d3f4c5cb
66 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c92bec0ebb |
chore: bump blocksuite (#6448)
## Features - https://github.com/toeverything/BlockSuite/pull/6679 @pengx17 - https://github.com/toeverything/BlockSuite/pull/6620 @doouding - https://github.com/toeverything/BlockSuite/pull/6602 @golok727 - https://github.com/toeverything/BlockSuite/pull/6661 @Flrande - https://github.com/toeverything/BlockSuite/pull/6591 @fundon - https://github.com/toeverything/BlockSuite/pull/6634 @golok727 - https://github.com/toeverything/BlockSuite/pull/6626 @regischen - https://github.com/toeverything/BlockSuite/pull/6630 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6605 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6614 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6508 @doouding - https://github.com/toeverything/BlockSuite/pull/6578 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6572 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6571 @golok727 - https://github.com/toeverything/BlockSuite/pull/6573 @fundon - https://github.com/toeverything/BlockSuite/pull/6580 @Flrande - https://github.com/toeverything/BlockSuite/pull/6540 @golok727 - https://github.com/toeverything/BlockSuite/pull/6567 @Flrande - https://github.com/toeverything/BlockSuite/pull/6565 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6561 @zzj3720 ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6677 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6681 @fundon - https://github.com/toeverything/BlockSuite/pull/6673 @fundon - https://github.com/toeverything/BlockSuite/pull/6652 @fundon - https://github.com/toeverything/BlockSuite/pull/6641 @fourdim - https://github.com/toeverything/BlockSuite/pull/6649 @golok727 - https://github.com/toeverything/BlockSuite/pull/6648 @doouding - https://github.com/toeverything/BlockSuite/pull/6662 @Flrande - https://github.com/toeverything/BlockSuite/pull/6659 @zkwolf - https://github.com/toeverything/BlockSuite/pull/6644 @doouding - https://github.com/toeverything/BlockSuite/pull/6633 @golok727 - https://github.com/toeverything/BlockSuite/pull/6632 @golok727 - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6600 @fourdim - https://github.com/toeverything/BlockSuite/pull/6617 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6618 @Flrande - https://github.com/toeverything/BlockSuite/pull/6576 @fundon - https://github.com/toeverything/BlockSuite/pull/6595 @fundon - https://github.com/toeverything/BlockSuite/pull/6596 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6574 @fundon - https://github.com/toeverything/BlockSuite/pull/6593 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6588 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6590 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6589 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6584 @lawvs - https://github.com/toeverything/BlockSuite/pull/6579 @fundon - https://github.com/toeverything/BlockSuite/pull/6538 @golok727 - https://github.com/toeverything/BlockSuite/pull/6570 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6569 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6564 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6563 @zzj3720 ## Refactor - https://github.com/toeverything/BlockSuite/pull/6683 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6668 @Flrande - https://github.com/toeverything/BlockSuite/pull/6635 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6653 @fundon - https://github.com/toeverything/BlockSuite/pull/6615 @Flrande - https://github.com/toeverything/BlockSuite/pull/6534 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6553 @golok727 ## Misc - chore(examples): cleanup types - https://github.com/toeverything/BlockSuite/pull/6664 @fourdim - https://github.com/toeverything/BlockSuite/pull/6657 @fourdim - https://github.com/toeverything/BlockSuite/pull/6654 @fourdim - https://github.com/toeverything/BlockSuite/pull/6587 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6562 @donteatfriedrice |
||
|
|
891ab6ab51 |
chore: bump up style-loader version to v4 (#6490)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [style-loader](https://togithub.com/webpack-contrib/style-loader) | [`^3.3.4` -> `^4.0.0`](https://renovatebot.com/diffs/npm/style-loader/3.3.4/4.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack-contrib/style-loader (style-loader)</summary> ### [`v4.0.0`](https://togithub.com/webpack-contrib/style-loader/blob/HEAD/CHANGELOG.md#400-2024-04-08) [Compare Source](https://togithub.com/webpack-contrib/style-loader/compare/v3.3.4...v4.0.0) ##### ⚠ BREAKING CHANGES - minimum supported webpack version is `5.27.0` - minimum support Node.js version is `18.12.0` - the `insert` option can only be a selector or the path to the module Migration: Before: **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { injectType: "styleTag", styleTagTransform: function (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; document.head.appendChild(style); }, }, }, "css-loader", ], }, ], }, }; ``` After: **insert-function.js** ```js function insert(css, style) { var parent = options.target || document.head; parent.appendChild(element); } module.exports = insert; ``` **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { insert: require.resolve("./insert.js"), }, }, "css-loader", ], }, ], }, }; ``` - the `styleTagTransform` option can only be the path to the module Migration: Before: **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { injectType: "styleTag", styleTagTransform: function (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; document.head.appendChild(style); }, }, }, "css-loader", ], }, ], }, }; ``` After: **style-tag-transform-function.js** ```js function styleTagTransform(css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; document.head.appendChild(style); } module.exports = styleTagTransform; ``` **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { styleTagTransform: require.resolve("./style-tag-transform-function.js"), }, }, "css-loader", ], }, ], }, }; ``` ##### Bug Fixes - css experiments logic ([#​617](https://togithub.com/webpack-contrib/style-loader/issues/617)) ([8b9fc97](https://togithub.com/webpack-contrib/style-loader/commit/8b9fc976628341d3e33b77b5eb4b6ebad009fd19)) ##### [3.3.3](https://togithub.com/webpack-contrib/style-loader/compare/v3.3.2...v3.3.3) (2023-05-19) ##### Bug Fixes - compatibility with built-in CSS support ([#​605](https://togithub.com/webpack-contrib/style-loader/issues/605)) ([9636f58](https://togithub.com/webpack-contrib/style-loader/commit/9636f5805407734f587a87e69dd048e5cc7f1021)) ##### [3.3.2](https://togithub.com/webpack-contrib/style-loader/compare/v3.3.1...v3.3.2) (2023-03-13) ##### Bug Fixes - noop in environment without DOM API ([#​597](https://togithub.com/webpack-contrib/style-loader/issues/597)) ([03d3df3](https://togithub.com/webpack-contrib/style-loader/commit/03d3df3c363484c18a1e9a5e468a7600ea1322f3)) ##### [3.3.1](https://togithub.com/webpack-contrib/style-loader/compare/v3.3.0...v3.3.1) (2021-10-21) ##### Bug Fixes - small perf improvement ([#​544](https://togithub.com/webpack-contrib/style-loader/issues/544)) ([610524e](https://togithub.com/webpack-contrib/style-loader/commit/610524ef6266c27e147d3c0003e7825b08f17454)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
4351dc8541 |
chore: bump up css-loader version to v7 (#6458)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [css-loader](https://togithub.com/webpack-contrib/css-loader) | [`^6.10.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/css-loader/6.10.0/7.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack-contrib/css-loader (css-loader)</summary> ### [`v7.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#700-2024-04-04) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0) ##### ⚠ BREAKING CHANGES - The `modules.namedExport` option is `true` by default if you enable the `esModule` option Migration guide: Before: ```js import style from "./style.css"; console.log(style.myClass); ``` After: ```js import * as style from "./style.css"; console.log(style.myClass); ``` - The `modules.exportLocalsConvention` has the value `as-is` when the `modules.namedExport` option is `true` and you don't specify a value - Minimum supported webpack version is `5.27.0` - Minimum supported Node.js version is `18.12.0` ##### Features - The `modules.namedExports` option works fine with any `modules.exportLocalsConvention` values ([f96a110](https://togithub.com/webpack-contrib/css-loader/commit/f96a11007da55a632de7f58167895e1b5814d717)) - Added dashed variants for the `modules.exportLocalsConvention` options ([40e1668](https://togithub.com/webpack-contrib/css-loader/commit/40e1668b8366f0df63343efe706ba848c2b5dfb2)) ### [`v6.11.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#6110-2024-04-03) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.10.0...v6.11.0) ##### Features - supports multiple composes ([#​1582](https://togithub.com/webpack-contrib/css-loader/issues/1582)) ([bbca614](https://togithub.com/webpack-contrib/css-loader/commit/bbca61411dc5f82964653a6d1aa27854519b743d)) ##### Bug Fixes - do not break `@scope` at-rule without params ([#​1581](https://togithub.com/webpack-contrib/css-loader/issues/1581)) ([e022e3b](https://togithub.com/webpack-contrib/css-loader/commit/e022e3bb405472ac7d51ff1114783fc2811dfe04)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
8bd2408b0c | fix(core): selfhost should not use favicon from affine.pro (#6425) | ||
|
|
9c6eba8971 | fix(electron): fix build script (#6422) | ||
|
|
5490944d04 |
refactor(core): favorite adapter (#6285)
1. abstraction over favourites that supports different type of resources 2. sorting abstraction |
||
|
|
c2847e2082 | chore(core): split sentry and setup into web/electron (#6357) | ||
|
|
ffbfdb65a2 | fix(core): add env info to tracks (#6313) | ||
|
|
48abc52e85 |
feat: bump blocksuite (#6294)
## Features - https://github.com/toeverything/BlockSuite/pull/6544 @golok727 - https://github.com/toeverything/BlockSuite/pull/6543 @golok727 - https://github.com/toeverything/BlockSuite/pull/6536 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6497 @doouding - https://github.com/toeverything/BlockSuite/pull/6514 @regischen - https://github.com/toeverything/BlockSuite/pull/6523 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6530 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6526 @fourdim - https://github.com/toeverything/BlockSuite/pull/6532 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6493 @golok727 - https://github.com/toeverything/BlockSuite/pull/6529 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6528 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6509 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6525 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6502 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6489 @Flrande ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6558 @fourdim - https://github.com/toeverything/BlockSuite/pull/6556 @fourdim - https://github.com/toeverything/BlockSuite/pull/6547 @fundon - https://github.com/toeverything/BlockSuite/pull/6537 @golok727 - https://github.com/toeverything/BlockSuite/pull/6531 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6524 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6519 @regischen - https://github.com/toeverything/BlockSuite/pull/6517 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6516 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6510 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6511 @congzhou09 - https://github.com/toeverything/BlockSuite/pull/6507 @doouding - https://github.com/toeverything/BlockSuite/pull/6500 @fourdim - https://github.com/toeverything/BlockSuite/pull/6486 @congzhou09 - https://github.com/toeverything/BlockSuite/pull/6495 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6488 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6482 @Flrande - https://github.com/toeverything/BlockSuite/pull/6558 @fourdim ## Refactor - https://github.com/toeverything/BlockSuite/pull/6548 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6522 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6518 @regischen - https://github.com/toeverything/BlockSuite/pull/6521 @Saul-Mirone ## Misc - https://github.com/toeverything/BlockSuite/pull/6557 @fourdim - https://github.com/toeverything/BlockSuite/pull/6546 @Flrande - docs: update package desc - https://github.com/toeverything/BlockSuite/pull/6527 @fourdim - https://github.com/toeverything/BlockSuite/pull/6505 @Brooooooklyn - https://github.com/toeverything/BlockSuite/pull/6503 @fourdim - v0.13.0 - https://github.com/toeverything/BlockSuite/pull/6496 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6562 @donteatfriedrice |
||
|
|
f2adbdaba4 | style: enable import-x/no-duplicates (#6279) | ||
|
|
a1532d4df2 |
chore: fix renderer entry path not found in desktop development (#6270)
Co-authored-by: LongYinan <lynweklm@gmail.com> |
||
|
|
6a0ab54e25 | ci: fix isSelfHosted does not take effect (#6249) | ||
|
|
3edf32b1df | build: add sourceMaps and inlineSourcesContent option to swc (#6234) | ||
|
|
483f957583 |
chore: bump up @aws-sdk/client-s3 version to v3.537.0 (#6210)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.536.0` -> `3.537.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.536.0/3.537.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.537.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35370-2024-03-19) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.536.0...v3.537.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
332cd3b380 |
refactor(core): split web entry from core (#6082)
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that. |
||
|
|
bba1a95f9c | chore: bump base version to 0.14.0 (#6170) | ||
|
|
d1e6b23e1a | feat: bump blocksuite (#5953) | ||
|
|
931c29fd31 |
chore: bump up commitlint monorepo to v19 (major) (#5928)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | [`^18.6.2` -> `^19.0.0`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/18.6.2/19.0.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [commitlint](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@alias/commitlint)) | [`^18.6.1` -> `^19.0.0`](https://renovatebot.com/diffs/npm/commitlint/18.6.1/19.0.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/config-conventional)</summary> ### [`v19.0.3`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1903-2024-02-28) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.0...v19.0.3) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) ### [`v19.0.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1900-2024-02-27) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.2...v19.0.0) - feat!: migrate to pure ESM ([#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850)) ([3423735](https://togithub.com/conventional-changelog/commitlint/commit/342373559bdf7c783c4ef37ff05dc38a5f681159)), closes [#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850) ##### Reverts - Revert "chore!: minimum node version v20" ([2816783](https://togithub.com/conventional-changelog/commitlint/commit/2816783d00e7eb967de3ac9347c2fc43dc8b94fa)) ##### BREAKING CHANGES - migrate to pure ESM - feat: migrate to pure ESM - chore: update snapshot - fix: load `parserPreset` with another `await` - test: migrate to vitest - test: remove no replacement `--runInBand` test-ci script - chore: fix code reviews - refactor(load): rewrite resolve logic - fix(config-nx-scopes): fix syntax error - feat(resolve-extends): add resolveFrom and loadParserPreset - feat(load): use resolveFrom and loadParserPreset from resolve-extends - test: include only @​commitlint/\* packages src in coverage - test: explicit import vitest utilities - test: remove [@​jest/globals](https://togithub.com/jest/globals) from dependencies - fix(resolve-extends): `resolveFrom` output should be platform aware - test: restore NO_COLOR to test script - chore: fix linting issues - fix: should use fileURLToPath instead of pathname for Windows compatibility - Apply suggestions from code review - fix: should reuse `cli` instead call `yargs()` - feat(cli): set terminalWidth as wrap to avoid work break on help - Update .eslintrc.cjs - feat: migrate [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) to pure ESM #### [18.6.2](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.1...v18.6.2) (2024-02-14) ##### Bug Fixes - **config-conventional:** use default export ([#​3911](https://togithub.com/conventional-changelog/commitlint/issues/3911)) ([bc48408](https://togithub.com/conventional-changelog/commitlint/commit/bc4840832f9484186d3281d13ab5e0b4f9f63113)) #### [18.6.1](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.0...v18.6.1) (2024-02-13) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) </details> <details> <summary>conventional-changelog/commitlint (commitlint)</summary> ### [`v19.0.3`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​alias/commitlint/CHANGELOG.md#1903-2024-02-28) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.2...v19.0.3) **Note:** Version bump only for package commitlint ### [`v19.0.2`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​alias/commitlint/CHANGELOG.md#1902-2024-02-28) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.1...v19.0.2) **Note:** Version bump only for package commitlint ### [`v19.0.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​alias/commitlint/CHANGELOG.md#1901-2024-02-27) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.0...v19.0.1) **Note:** Version bump only for package commitlint ### [`v19.0.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​alias/commitlint/CHANGELOG.md#1900-2024-02-27) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.1...v19.0.0) - feat!: migrate to pure ESM ([#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850)) ([3423735](https://togithub.com/conventional-changelog/commitlint/commit/342373559bdf7c783c4ef37ff05dc38a5f681159)), closes [#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850) ##### Reverts - Revert "chore!: minimum node version v20" ([2816783](https://togithub.com/conventional-changelog/commitlint/commit/2816783d00e7eb967de3ac9347c2fc43dc8b94fa)) ##### BREAKING CHANGES - migrate to pure ESM - feat: migrate to pure ESM - chore: update snapshot - fix: load `parserPreset` with another `await` - test: migrate to vitest - test: remove no replacement `--runInBand` test-ci script - chore: fix code reviews - refactor(load): rewrite resolve logic - fix(config-nx-scopes): fix syntax error - feat(resolve-extends): add resolveFrom and loadParserPreset - feat(load): use resolveFrom and loadParserPreset from resolve-extends - test: include only @​commitlint/\* packages src in coverage - test: explicit import vitest utilities - test: remove [@​jest/globals](https://togithub.com/jest/globals) from dependencies - fix(resolve-extends): `resolveFrom` output should be platform aware - test: restore NO_COLOR to test script - chore: fix linting issues - fix: should use fileURLToPath instead of pathname for Windows compatibility - Apply suggestions from code review - fix: should reuse `cli` instead call `yargs()` - feat(cli): set terminalWidth as wrap to avoid work break on help - Update .eslintrc.cjs - feat: migrate [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) to pure ESM #### [18.6.1](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.0...v18.6.1) (2024-02-13) **Note:** Version bump only for package commitlint </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
571b20d082 |
chore: bump up @commitlint/cli version to v19 (#5926)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`^18.6.1` -> `^19.0.0`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/18.6.1/19.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v19.0.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1900-2024-02-27) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.1...f1ff12159d627ee63bf8982ab02e6cca8f10b09f) - feat!: migrate to pure ESM ([#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850)) ([3423735](https://togithub.com/conventional-changelog/commitlint/commit/342373559bdf7c783c4ef37ff05dc38a5f681159)), closes [#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850) ##### Reverts - Revert "chore!: minimum node version v20" ([2816783](https://togithub.com/conventional-changelog/commitlint/commit/2816783d00e7eb967de3ac9347c2fc43dc8b94fa)) ##### BREAKING CHANGES - migrate to pure ESM - feat: migrate to pure ESM - chore: update snapshot - fix: load `parserPreset` with another `await` - test: migrate to vitest - test: remove no replacement `--runInBand` test-ci script - chore: fix code reviews - refactor(load): rewrite resolve logic - fix(config-nx-scopes): fix syntax error - feat(resolve-extends): add resolveFrom and loadParserPreset - feat(load): use resolveFrom and loadParserPreset from resolve-extends - test: include only @​commitlint/\* packages src in coverage - test: explicit import vitest utilities - test: remove [@​jest/globals](https://togithub.com/jest/globals) from dependencies - fix(resolve-extends): `resolveFrom` output should be platform aware - test: restore NO_COLOR to test script - chore: fix linting issues - fix: should use fileURLToPath instead of pathname for Windows compatibility - Apply suggestions from code review - fix: should reuse `cli` instead call `yargs()` - feat(cli): set terminalWidth as wrap to avoid work break on help - Update .eslintrc.cjs - feat: migrate [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) to pure ESM #### [18.6.1](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.0...v18.6.1) (2024-02-13) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
ad9b0303c4 |
refactor(core): refactor atom to use di (#5831)
To support multiple instances, this PR removes some atoms and implements them using the new DI system. removed atom - `pageSettingsAtom` - `currentPageIdAtom` - `currentModeAtom` |
||
|
|
ae41c6c544 | chore: bump all dependencies (#5891) | ||
|
|
4641bc422b |
feat: move templates into AFFiNE (#5750)
Related to https://github.com/toeverything/blocksuite/pull/6156 ### Change Move the edgeless templates to AFFiNE. All templates are stored as zip files. Run `node build-edgeless.mjs` in `@affine/templates` to generate JSON-format templates and importing script. The template will be generated automatically during building and dev (`yarn dev`). |
||
|
|
fec2090de5 |
feat: bump blocksuite (#5767)
Co-authored-by: LongYinan <lynweklm@gmail.com> |
||
|
|
61677b2ac4 |
chore: change bump-blocksuite script to js (#5763)
`./scripts/bump-blocksuite.js` |
||
|
|
5bd339bed7 | feat: generate blocksuite changelog (#5724) | ||
|
|
bd8c7751db | chore: update base version to 0.12.0 (#5695) | ||
|
|
44eb7b97f4 | chore: bump vulnerable deps (#5494) | ||
|
|
86bd2a7d72 | refactor(infra): no bundle infra (#5414) | ||
|
|
4e861d8118 | refactor(electron): create electron api package (#5334) | ||
|
|
265ee81666 |
refactor(infra): remove old plugin system (#5411)
plugin system need redesign |
||
|
|
03b68e2654 |
chore: bump up @vitejs/plugin-vue version to v5 (#5394)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitejs/plugin-vue](https://togithub.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://togithub.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue)) | [`^4.4.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/4.5.0/5.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v5.0.0`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#500-2023-12-25) - **Breaking:** drop `reactivityTransform` support - **Breaking:** drop Node 14/16 support - **Breaking:** drop Vite 4.x support - Vue 3.4 template AST reuse support - Vue 3.4 compile-time flag `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` support - Added `customElement` option - Deprecated `defineModel` option </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
a4f31df192 | chore: update basic version to 0.11.0 (#5355) | ||
|
|
800ea0abf1 | fix(core): remove ses lockdown (#5350) | ||
|
|
30e62bd2c6 |
fix(core): downgrade ses (#5347)
ses@1 makes [this line](https://github.com/lit/lit/blob/lit-html%403.1.0/packages/reactive-element/src/reactive-element.ts#L406) throw an error: `TypeError: Cannot add property metadata, object is not extensible.` |
||
|
|
15dd20ef48 |
feat(electron): onboarding at first launch logic for client and web (#5183)
- Added a simple abstraction of persistent storage class.
- Different persistence solutions are provided for web and client.
- web: stored in localStorage
- client: stored in the application directory as `.json` file
- Define persistent app-config schema
- Add a new hook that can interactive with persistent-app-config reactively
|
||
|
|
e4369c7f0b |
chore: bump up @endo/static-module-record version to v1 (#5281)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@endo/static-module-record](https://togithub.com/endojs/endo/tree/master/packages/static-module-record#readme) ([source](https://togithub.com/endojs/endo)) | [`^0.8.2` -> `^1.0.0`](https://renovatebot.com/diffs/npm/@endo%2fstatic-module-record/0.8.2/1.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>endojs/endo (@​endo/static-module-record)</summary> ### [`v1.0.0`](https://togithub.com/endojs/endo/compare/@endo/static-module-record@0.8.2...@endo/static-module-record@1.0.0) [Compare Source](https://togithub.com/endojs/endo/compare/@endo/static-module-record@0.8.2...@endo/static-module-record@1.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9--> |
||
|
|
feed400462 |
chore: bump up vite version to v5 (#5203)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`^4.4.11` -> `^5.0.0`](https://renovatebot.com/diffs/npm/vite/4.5.1/5.0.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite (vite)</summary> ### [`v5.0.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small506-2023-12-06-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.5...v5.0.6) - perf: in-memory public files check ([#​15195](https://togithub.com/vitejs/vite/issues/15195)) ([0f9e1bf](https://togithub.com/vitejs/vite/commit/0f9e1bf)), closes [#​15195](https://togithub.com/vitejs/vite/issues/15195) - chore: remove unneccessary eslint-disable-next-line regexp/no-unused-capturing-group ([#​15247](https://togithub.com/vitejs/vite/issues/15247)) ([35a5bcf](https://togithub.com/vitejs/vite/commit/35a5bcf)), closes [#​15247](https://togithub.com/vitejs/vite/issues/15247) ### [`v5.0.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small505-2023-12-04-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.4...v5.0.5) - fix: emit `vite:preloadError` for chunks without deps ([#​15203](https://togithub.com/vitejs/vite/issues/15203)) ([d8001c5](https://togithub.com/vitejs/vite/commit/d8001c5)), closes [#​15203](https://togithub.com/vitejs/vite/issues/15203) - fix: esbuild glob import resolve error ([#​15140](https://togithub.com/vitejs/vite/issues/15140)) ([676804d](https://togithub.com/vitejs/vite/commit/676804d)), closes [#​15140](https://togithub.com/vitejs/vite/issues/15140) - fix: json error with position ([#​15225](https://togithub.com/vitejs/vite/issues/15225)) ([14be75f](https://togithub.com/vitejs/vite/commit/14be75f)), closes [#​15225](https://togithub.com/vitejs/vite/issues/15225) - fix: proxy html path should be encoded ([#​15223](https://togithub.com/vitejs/vite/issues/15223)) ([5b85040](https://togithub.com/vitejs/vite/commit/5b85040)), closes [#​15223](https://togithub.com/vitejs/vite/issues/15223) - fix(deps): update all non-major dependencies ([#​15233](https://togithub.com/vitejs/vite/issues/15233)) ([ad3adda](https://togithub.com/vitejs/vite/commit/ad3adda)), closes [#​15233](https://togithub.com/vitejs/vite/issues/15233) - fix(hmr): don't consider CSS dep as a circular dep ([#​15229](https://togithub.com/vitejs/vite/issues/15229)) ([5f2cdec](https://togithub.com/vitejs/vite/commit/5f2cdec)), closes [#​15229](https://togithub.com/vitejs/vite/issues/15229) - feat: add '\*.mov' to client.d.ts ([#​15189](https://togithub.com/vitejs/vite/issues/15189)) ([d93a211](https://togithub.com/vitejs/vite/commit/d93a211)), closes [#​15189](https://togithub.com/vitejs/vite/issues/15189) - feat(server): allow disabling built-in shortcuts ([#​15218](https://togithub.com/vitejs/vite/issues/15218)) ([7fd7c6c](https://togithub.com/vitejs/vite/commit/7fd7c6c)), closes [#​15218](https://togithub.com/vitejs/vite/issues/15218) - chore: replace 'some' with 'includes' in resolveEnvPrefix ([#​15220](https://togithub.com/vitejs/vite/issues/15220)) ([ee12f30](https://togithub.com/vitejs/vite/commit/ee12f30)), closes [#​15220](https://togithub.com/vitejs/vite/issues/15220) - chore: update the website url for homepage in package.json ([#​15181](https://togithub.com/vitejs/vite/issues/15181)) ([282bd8f](https://togithub.com/vitejs/vite/commit/282bd8f)), closes [#​15181](https://togithub.com/vitejs/vite/issues/15181) - chore: update vitest to 1.0.0-beta.6 ([#​15194](https://togithub.com/vitejs/vite/issues/15194)) ([2fce647](https://togithub.com/vitejs/vite/commit/2fce647)), closes [#​15194](https://togithub.com/vitejs/vite/issues/15194) - refactor: make HMR agnostic to environment ([#​15179](https://togithub.com/vitejs/vite/issues/15179)) ([0571b7c](https://togithub.com/vitejs/vite/commit/0571b7c)), closes [#​15179](https://togithub.com/vitejs/vite/issues/15179) - refactor: use dedicated regex methods ([#​15228](https://togithub.com/vitejs/vite/issues/15228)) ([0348137](https://togithub.com/vitejs/vite/commit/0348137)), closes [#​15228](https://togithub.com/vitejs/vite/issues/15228) - perf: remove debug only prettifyUrl call ([#​15204](https://togithub.com/vitejs/vite/issues/15204)) ([73e971f](https://togithub.com/vitejs/vite/commit/73e971f)), closes [#​15204](https://togithub.com/vitejs/vite/issues/15204) - perf: skip computing sourceRoot in injectSourcesContent ([#​15207](https://togithub.com/vitejs/vite/issues/15207)) ([1df1fd1](https://togithub.com/vitejs/vite/commit/1df1fd1)), closes [#​15207](https://togithub.com/vitejs/vite/issues/15207) ### [`v5.0.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small504-2023-11-29-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.3...v5.0.4) - fix: bindCLIShortcuts to proper server ([#​15162](https://togithub.com/vitejs/vite/issues/15162)) ([67ac572](https://togithub.com/vitejs/vite/commit/67ac572)), closes [#​15162](https://togithub.com/vitejs/vite/issues/15162) - fix: revert "fix: js fallback sourcemap content should be using original content ([#​15135](https://togithub.com/vitejs/vite/issues/15135))" ([#​15178](https://togithub.com/vitejs/vite/issues/15178)) ([d2a2493](https://togithub.com/vitejs/vite/commit/d2a2493)), closes [#​15135](https://togithub.com/vitejs/vite/issues/15135) [#​15178](https://togithub.com/vitejs/vite/issues/15178) - fix(define): allow define process.env ([#​15173](https://togithub.com/vitejs/vite/issues/15173)) ([ec401da](https://togithub.com/vitejs/vite/commit/ec401da)), closes [#​15173](https://togithub.com/vitejs/vite/issues/15173) - fix(resolve): respect order of browser in mainFields when resolving ([#​15137](https://togithub.com/vitejs/vite/issues/15137)) ([4a111aa](https://togithub.com/vitejs/vite/commit/4a111aa)), closes [#​15137](https://togithub.com/vitejs/vite/issues/15137) - feat: preserve vite.middlewares connect instance after restarts ([#​15166](https://togithub.com/vitejs/vite/issues/15166)) ([9474c4b](https://togithub.com/vitejs/vite/commit/9474c4b)), closes [#​15166](https://togithub.com/vitejs/vite/issues/15166) - refactor: align with Promise.withResolvers() ([#​15171](https://togithub.com/vitejs/vite/issues/15171)) ([642f9bc](https://togithub.com/vitejs/vite/commit/642f9bc)), closes [#​15171](https://togithub.com/vitejs/vite/issues/15171) ### [`v5.0.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small503-2023-11-28-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.2...v5.0.3) - fix: `generateCodeFrame` infinite loop ([#​15093](https://togithub.com/vitejs/vite/issues/15093)) ([6619de7](https://togithub.com/vitejs/vite/commit/6619de7)), closes [#​15093](https://togithub.com/vitejs/vite/issues/15093) - fix: js fallback sourcemap content should be using original content ([#​15135](https://togithub.com/vitejs/vite/issues/15135)) ([227d56d](https://togithub.com/vitejs/vite/commit/227d56d)), closes [#​15135](https://togithub.com/vitejs/vite/issues/15135) - fix(css): render correct asset url when CSS chunk name is nested ([#​15154](https://togithub.com/vitejs/vite/issues/15154)) ([ef403c0](https://togithub.com/vitejs/vite/commit/ef403c0)), closes [#​15154](https://togithub.com/vitejs/vite/issues/15154) - fix(css): use non-nested chunk name if facadeModule is not CSS file ([#​15155](https://togithub.com/vitejs/vite/issues/15155)) ([811e392](https://togithub.com/vitejs/vite/commit/811e392)), closes [#​15155](https://togithub.com/vitejs/vite/issues/15155) - fix(dev): bind plugin context functions ([#​14569](https://togithub.com/vitejs/vite/issues/14569)) ([cb3243c](https://togithub.com/vitejs/vite/commit/cb3243c)), closes [#​14569](https://togithub.com/vitejs/vite/issues/14569) - chore(deps): update all non-major dependencies ([#​15145](https://togithub.com/vitejs/vite/issues/15145)) ([7ff2c0a](https://togithub.com/vitejs/vite/commit/7ff2c0a)), closes [#​15145](https://togithub.com/vitejs/vite/issues/15145) - build: handle latest json-stable-stringify replacement ([#​15049](https://togithub.com/vitejs/vite/issues/15049)) ([bcc4a61](https://togithub.com/vitejs/vite/commit/bcc4a61)), closes [#​15049](https://togithub.com/vitejs/vite/issues/15049) ### [`v5.0.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small502-2023-11-21-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.1...v5.0.2) - fix: make htmlFallback more permissive ([#​15059](https://togithub.com/vitejs/vite/issues/15059)) ([6fcceeb](https://togithub.com/vitejs/vite/commit/6fcceeb)), closes [#​15059](https://togithub.com/vitejs/vite/issues/15059) ### [`v5.0.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small501-2023-11-21-small) - test: avoid read check when running as root ([#​14884](https://togithub.com/vitejs/vite/issues/14884)) ([1d9516c](https://togithub.com/vitejs/vite/commit/1d9516c)), closes [#​14884](https://togithub.com/vitejs/vite/issues/14884) - perf(hmr): skip traversed modules when checking circular imports ([#​15034](https://togithub.com/vitejs/vite/issues/15034)) ([41e437f](https://togithub.com/vitejs/vite/commit/41e437f)), closes [#​15034](https://togithub.com/vitejs/vite/issues/15034) - fix: run htmlFallbackMiddleware for no accept header requests ([#​15025](https://togithub.com/vitejs/vite/issues/15025)) ([b93dfe3](https://togithub.com/vitejs/vite/commit/b93dfe3)), closes [#​15025](https://togithub.com/vitejs/vite/issues/15025) - fix: update type CSSModulesOptions interface ([#​14987](https://togithub.com/vitejs/vite/issues/14987)) ([d0b2153](https://togithub.com/vitejs/vite/commit/d0b2153)), closes [#​14987](https://togithub.com/vitejs/vite/issues/14987) - fix(legacy): error in build with --watch and manifest enabled ([#​14450](https://togithub.com/vitejs/vite/issues/14450)) ([b9ee620](https://togithub.com/vitejs/vite/commit/b9ee620)), closes [#​14450](https://togithub.com/vitejs/vite/issues/14450) - chore: add comment about crossorigin attribute for script module ([#​15040](https://togithub.com/vitejs/vite/issues/15040)) ([03c371e](https://togithub.com/vitejs/vite/commit/03c371e)), closes [#​15040](https://togithub.com/vitejs/vite/issues/15040) - chore: cleanup v5 beta changelog ([#​14694](https://togithub.com/vitejs/vite/issues/14694)) ([531d3cb](https://togithub.com/vitejs/vite/commit/531d3cb)), closes [#​14694](https://togithub.com/vitejs/vite/issues/14694) ### [`v5.0.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#500-2023-11-16) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9--> |
||
|
|
37a32d1f7d |
chore: bump up rollup version to v4 (#5202)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://togithub.com/rollup/rollup)) | [`^3.29.4` -> `^4.0.0`](https://renovatebot.com/diffs/npm/rollup/3.29.4/4.6.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rollup/rollup (rollup)</summary> ### [`v4.6.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#461) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.6.0...v4.6.1) *2023-11-30* ##### Bug Fixes - Resolve a situation where declaring the same `var` several times was considered a conflict ([#​5276](https://togithub.com/rollup/rollup/issues/5276)) ##### Pull Requests - [#​5275](https://togithub.com/rollup/rollup/pull/5275): Add TNG as special sponsor ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5276](https://togithub.com/rollup/rollup/pull/5276): Allow to redeclare parameters multiple times in nested scopes ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.6.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#460) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.5.2...v4.6.0) *2023-11-26* ##### Features - Allow `this.addWatchFile` in all plugin hooks ([#​5270](https://togithub.com/rollup/rollup/issues/5270)) ##### Bug Fixes - Show helpful error when native binaries are not installed due to an `npm` issue ([#​5267](https://togithub.com/rollup/rollup/issues/5267)) - Do not access `this` context in `this.addWatchFile` so it does not need to be bound when passed around ([#​5270](https://togithub.com/rollup/rollup/issues/5270)) ##### Pull Requests - [#​5267](https://togithub.com/rollup/rollup/pull/5267): Add friendly error for npm bug ([@​sapphi-red](https://togithub.com/sapphi-red)) - [#​5270](https://togithub.com/rollup/rollup/pull/5270): Allow this.addWatchFile in all hooks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5272](https://togithub.com/rollup/rollup/pull/5272): Debug deployed graphs ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.5.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#452) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.5.1...v4.5.2) *2023-11-24* ##### Bug Fixes - Handle files with UTF-8 BOM when using the commonjs plugin ([#​5268](https://togithub.com/rollup/rollup/issues/5268)) ##### Pull Requests - [#​5268](https://togithub.com/rollup/rollup/pull/5268): fix: strip BOM before calling transform hook ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5269](https://togithub.com/rollup/rollup/pull/5269): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) ### [`v4.5.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#451) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.5.0...v4.5.1) *2023-11-21* ##### Bug Fixes - Do not error when a function expression uses the same name for a parameter and its id ([#​5262](https://togithub.com/rollup/rollup/issues/5262)) ##### Pull Requests - [#​5257](https://togithub.com/rollup/rollup/pull/5257): Fix graphs in docs, improve REPL colors ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5262](https://togithub.com/rollup/rollup/pull/5262): Allow function expression parameters to shadow the function id ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.5.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#450) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.4.1...v4.5.0) *2023-11-18* ##### Bug Fixes - Show a proper error when using native Rollup on armv7 musl Linux ([#​5255](https://togithub.com/rollup/rollup/issues/5255)) ##### Pull Requests - [#​5251](https://togithub.com/rollup/rollup/pull/5251): doc fix import assertions to attributes in API plugin development page ([@​lhapaipai](https://togithub.com/lhapaipai)) - [#​5253](https://togithub.com/rollup/rollup/pull/5253): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5255](https://togithub.com/rollup/rollup/pull/5255): Error for armv7 musl build ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.4.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#441) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.4.0...v4.4.1) *2023-11-14* ##### Bug Fixes - Do not flag duplicate function declarations in function scopes as syntax errors ([#​5248](https://togithub.com/rollup/rollup/issues/5248)) ##### Pull Requests - [#​5248](https://togithub.com/rollup/rollup/pull/5248): Allow functions to redeclare vars and functions in function scopes ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.4.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#440) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.3.1...v4.4.0) *2023-11-12* ##### Features - Replace SWC linting with faster internal linting to error on duplicate declarations etc. ([#​5207](https://togithub.com/rollup/rollup/issues/5207)) ##### Bug Fixes - Show proper error when an entry exports non-existing bindings ([#​5207](https://togithub.com/rollup/rollup/issues/5207)) ##### Pull Requests - [#​5207](https://togithub.com/rollup/rollup/pull/5207): perf: run lint while constructing nodes ([@​sapphi-red](https://togithub.com/sapphi-red)) ### [`v4.3.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#431) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.3.0...v4.3.1) *2023-11-11* ##### Bug Fixes - Fix rename error when handling errors in watch mode ([#​5240](https://togithub.com/rollup/rollup/issues/5240)) - Prevent warning when using `--forceExit` ([#​5245](https://togithub.com/rollup/rollup/issues/5245)) ##### Pull Requests - [#​5240](https://togithub.com/rollup/rollup/pull/5240): fix: allow the name of Rollup Error to be modified ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5243](https://togithub.com/rollup/rollup/pull/5243): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5245](https://togithub.com/rollup/rollup/pull/5245): Ensure --forceExit works without warning ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.3.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#430) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.2.0...v4.3.0) *2023-11-03* ##### Features - Add `forceExit` CLI flag for situations where the CLI does not exit gracefully ([#​5195](https://togithub.com/rollup/rollup/issues/5195)) ##### Bug Fixes - Properly catch errors when removing a temporary config file fails ([#​5198](https://togithub.com/rollup/rollup/issues/5198)) ##### Pull Requests - [#​5195](https://togithub.com/rollup/rollup/pull/5195): Add `forceExit` CLI flag ([@​raphael-theriault-swi](https://togithub.com/raphael-theriault-swi)) - [#​5198](https://togithub.com/rollup/rollup/pull/5198): fix: prevent `ENOENT` error on temp config removal ([@​jzempel](https://togithub.com/jzempel)) - [#​5237](https://togithub.com/rollup/rollup/pull/5237): chore: remove unused files and deps ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5238](https://togithub.com/rollup/rollup/pull/5238): chore(deps): update dependency eslint-plugin-unicorn to v49 ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5239](https://togithub.com/rollup/rollup/pull/5239): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) ### [`v4.2.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#420) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.1.6...v4.2.0) *2023-10-31* ##### Features - Run parsing in multiple threads and introduce `parseAstAsync` helper function ([#​5202](https://togithub.com/rollup/rollup/issues/5202)) ##### Pull Requests - [#​5202](https://togithub.com/rollup/rollup/pull/5202): perf: introduce `parseAstAsync` and parallelize parsing AST ([@​sapphi-red](https://togithub.com/sapphi-red)) ### [`v4.1.6`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#416) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.1.5...v4.1.6) *2023-10-31* ##### Bug Fixes - Fix a bug where emtpy block comments in certain positions could freeze Rollup ([#​5231](https://togithub.com/rollup/rollup/issues/5231)) ##### Pull Requests - [#​5228](https://togithub.com/rollup/rollup/pull/5228): build: ensure rust toolchain components for linting are installed ([@​jerome-benoit](https://togithub.com/jerome-benoit)) - [#​5231](https://togithub.com/rollup/rollup/pull/5231): Render emtpy block comments after tree-shaken statements ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5232](https://togithub.com/rollup/rollup/pull/5232): Revert specifying rustfmt and clippy in toolchain file as it breaks REPL build ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.1.5`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#415) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.1.4...v4.1.5) *2023-10-28* ##### Bug Fixes - Fix an issue where actual entries that were also implicit entries could remain implicit ([#​5220](https://togithub.com/rollup/rollup/issues/5220)) ##### Pull Requests - [#​5209](https://togithub.com/rollup/rollup/pull/5209): Document Vite workaround for browser build ([@​curran](https://togithub.com/curran)) - [#​5215](https://togithub.com/rollup/rollup/pull/5215): chore(deps): update dependency lint-staged to v15 ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5216](https://togithub.com/rollup/rollup/pull/5216): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5218](https://togithub.com/rollup/rollup/pull/5218): Update license plugin ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5219](https://togithub.com/rollup/rollup/pull/5219): Fix error highlight in REPL ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5220](https://togithub.com/rollup/rollup/pull/5220): Fix race condition when emitting implicitly dependent entries ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5224](https://togithub.com/rollup/rollup/pull/5224): chore(deps): update actions/setup-node action to v4 ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5225](https://togithub.com/rollup/rollup/pull/5225): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) ### [`v4.1.4`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#414) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.1.3...v4.1.4) *2023-10-16* ##### Bug Fixes - Reduce sizes [@​rollup/browser](https://togithub.com/rollup/browser) and [@​rollup/wasm-node](https://togithub.com/rollup/wasm-node) WASM artifacts ([#​5204](https://togithub.com/rollup/rollup/issues/5204)) ##### Pull Requests - [#​5204](https://togithub.com/rollup/rollup/pull/5204): perf: shrink wasm size by avoid importing browserslist ([@​sapphi-red](https://togithub.com/sapphi-red)) ### [`v4.1.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#413) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.1.1...v4.1.3) *2023-10-15* ##### Bug Fixes - Fix WASM build as hash function was not exported ([#​5203](https://togithub.com/rollup/rollup/issues/5203)) ##### Pull Requests - [#​5203](https://togithub.com/rollup/rollup/pull/5203): fix: export xxhashBase64Url from wasm ([@​sapphi-red](https://togithub.com/sapphi-red)) ### [`v4.1.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#411) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.1.0...v4.1.1) *2023-10-15* ##### Bug Fixes - Improve Node parsing performance ([#​5201](https://togithub.com/rollup/rollup/issues/5201)) ##### Pull Requests - [#​5201](https://togithub.com/rollup/rollup/pull/5201): perf: use mimalloc for bindings_napi ([@​sapphi-red](https://togithub.com/sapphi-red)) ### [`v4.1.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#410) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.0.2...v4.1.0) *2023-10-14* ##### Features - Reduce memory usage of Rollup builds ([#​5133](https://togithub.com/rollup/rollup/issues/5133)) ##### Pull Requests - [#​5133](https://togithub.com/rollup/rollup/pull/5133): perf: reducing ast node memory overhead ([@​thebanjomatic](https://togithub.com/thebanjomatic)) - [#​5177](https://togithub.com/rollup/rollup/pull/5177): chore: explicitly set rust toolchain channel ([@​cijiugechu](https://togithub.com/cijiugechu)) - [#​5179](https://togithub.com/rollup/rollup/pull/5179): Update migration guide for Rollup 4 ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5180](https://togithub.com/rollup/rollup/pull/5180): Resolve clippy errors ([@​cijiugechu](https://togithub.com/cijiugechu)) - [#​5183](https://togithub.com/rollup/rollup/pull/5183): Add clippy to pipeline and fix remaining issues ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5184](https://togithub.com/rollup/rollup/pull/5184): docs: fix code example for `onLog` ([@​tjenkinson](https://togithub.com/tjenkinson)) - [#​5186](https://togithub.com/rollup/rollup/pull/5186): Improve wording for native artifacts in migration guide ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5190](https://togithub.com/rollup/rollup/pull/5190): test: add verifyAst type ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5196](https://togithub.com/rollup/rollup/pull/5196): chore(deps): update dependency rollup to v4 ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5197](https://togithub.com/rollup/rollup/pull/5197): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) ### [`v4.0.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#402) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.0.1...v4.0.2) *2023-10-06* ##### Bug Fixes - Fix annotation detection logic to not fail when a non-ASCII character precedes a double underscore ([#​5178](https://togithub.com/rollup/rollup/issues/5178)) ##### Pull Requests - [#​5178](https://togithub.com/rollup/rollup/pull/5178): Handle special characters before double underscores ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.0.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#401) [Compare Source](https://togithub.com/rollup/rollup/compare/v4.0.0...v4.0.1) *2023-10-06* ##### Bug Fixes - Do not panic on trailing semicolons after class methods ([#​5173](https://togithub.com/rollup/rollup/issues/5173)) - Add artifact for arm64 linux musl target ([#​5176](https://togithub.com/rollup/rollup/issues/5176)) ##### Pull Requests - [#​5172](https://togithub.com/rollup/rollup/pull/5172): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5173](https://togithub.com/rollup/rollup/pull/5173): fix: ignores empty statements in class body that is returned by SWC parser ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5176](https://togithub.com/rollup/rollup/pull/5176): Fix linux arm musl build ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v4.0.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#400) [Compare Source](https://togithub.com/rollup/rollup/compare/v3.29.4...v4.0.0) *2023-10-05* ##### BREAKING CHANGES ##### General Changes - The minimal required Node version is now 18.0.0 ([#​5142](https://togithub.com/rollup/rollup/issues/5142)) - The browser build now relies on a WASM artifact that needs to be provided as well ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - The NodeJS build now relies on an optional native binary; for unsupported platforms, users can use the `@rollup/wasm-node` package that has the same interface as Rollup but relies on WASM artifacts ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - The `INVALID_IMPORT_ASSERTION` error code has been replaced with `INVALID_IMPORT_ATTRIBUTE` ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - Rollup will now warn for `@__PURE__` and `@__NO_SIDE_EFFECTS__` annotations in invalid locations ([#​5165](https://togithub.com/rollup/rollup/issues/5165)) - If an entry module starts with a shebang comment `#!...`, this comment will be prepended to the output for `es` and `cjs` formats ([#​5163](https://togithub.com/rollup/rollup/issues/5163)) - File hashes will now use url-safe base64 encoded hashes ([#​5155](https://togithub.com/rollup/rollup/issues/5155)) - The maximum hash length has been reduced to 22 characters ([#​5155](https://togithub.com/rollup/rollup/issues/5155)) - The `RollupWarning` type has been removed in favor of the `RollupLog` type ([#​5147](https://togithub.com/rollup/rollup/issues/5147)) ##### Changes to Rollup Options - Acorn plugins are no longer supported, the `acornInjectPlugins` option has been removed ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - The `acorn` option has been removed ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - `output.externalImportAssertions` has been deprecated in favor of `output.externalImportAttributes` ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - `inlineDynamicImports`, `manualChunks` and `preserveModules` have been removed on input option level: Please use the corresponding output options of the same names ([#​5143](https://togithub.com/rollup/rollup/issues/5143)) - Removed output options ([#​5143](https://togithub.com/rollup/rollup/issues/5143)): - `output.experimentalDeepDynamicChunkOptimization`: This option is no longer needed as Rollup now always runs the full chunking algorithm - `output.dynamicImportFunction`: Use the `renderDynamicImport` plugin hook instead - `output.namespaceToStringTag`: Use `output.generatedCode.symbols` instead - `output.preferConst`: Use `output.generatedCode.constBindings` instead ##### Plugin API Changes - For `this.resolve`, the default of the `skipSelf` option is now `true` ([#​5142](https://togithub.com/rollup/rollup/issues/5142)) - `this.parse` now only supports the `allowReturnOutsideFunction` option for now ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - Import assertions now use the [new import attribute AST structure](https://togithub.com/estree/estree/blob/master/experimental/import-attributes.md) ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - "assertions" have been replaced with "attributes" in various places of the plugin interface ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - If the import of a module id is handled by the `load` hook of a plugin, `rollup.watch` no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for calling `this.addWatchFile` for any dependency files ([#​5150](https://togithub.com/rollup/rollup/issues/5150)) - The normalized input options provided by `buildStart` and other hooks no longer contain an `onwarn` handler; plugins should use `onLog` instead ([#​5147](https://togithub.com/rollup/rollup/issues/5147)) - `this.moduleIds` has been removed from the plugin context: Use `this.getModuleIds()` instead ([#​5143](https://togithub.com/rollup/rollup/issues/5143)) - The `hasModuleSideEffects` flag has been removed from the `ModuleInfo` returned by `this.getModuleInfo()`: Use `moduleSideEffects` on the `ModuleInfo` instead ([#​5143](https://togithub.com/rollup/rollup/issues/5143)) ##### Features - Improve parsing speed by switching to a native SWC-based parser ([#​5073](https://togithub.com/rollup/rollup/issues/5073)) - Rollup will now warn for `@__PURE__` and `@__NO_SIDE_EFFECTS__` annotations in invalid locations ([#​5165](https://togithub.com/rollup/rollup/issues/5165)) - The parser is now exposed as a separate export `parseAst` ([#​5169](https://togithub.com/rollup/rollup/issues/5169)) ##### Bug Fixes - Rollup no longer tries to watch virtual files if their name corresponds to an actual file name; instead, plugins handle watching via `this.addWatchFile()` ([#​5150](https://togithub.com/rollup/rollup/issues/5150)) ##### Pull Requests - [#​5073](https://togithub.com/rollup/rollup/pull/5073): \[v4.0] Switch parser to SWC and introduce native/WASM code ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5142](https://togithub.com/rollup/rollup/pull/5142): \[v4.0] Set the default of skipSelf to true ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5143](https://togithub.com/rollup/rollup/pull/5143): \[v4.0] Remove deprecated features ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5144](https://togithub.com/rollup/rollup/pull/5144): \[v4.0] Imporve the performance of generating ast and rollup ast nodes ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5147](https://togithub.com/rollup/rollup/pull/5147): \[v4.0] Remove onwarn from normalized input options ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5150](https://togithub.com/rollup/rollup/pull/5150): \[v4.0] feat: Do not watch files anymore if their content is returned by the load hook ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5154](https://togithub.com/rollup/rollup/pull/5154): \[v4.0] Add parse option to allow return outside function ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5155](https://togithub.com/rollup/rollup/pull/5155): \[v4.0] feat: implement hashing content in Rust ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5157](https://togithub.com/rollup/rollup/pull/5157): \[v4.0] Handle empty exports ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5160](https://togithub.com/rollup/rollup/pull/5160): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​5163](https://togithub.com/rollup/rollup/pull/5163): \[v4.0] feat: preserve shebang in entry module for CJS and ESM outputs ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5164](https://togithub.com/rollup/rollup/pull/5164): \[v4.0] fix: also strip BOM from code strings in JS ([@​TrickyPi](https://togithub.com/TrickyPi)) - [#​5165](https://togithub.com/rollup/rollup/pull/5165): \[v4.0] warn for invalid annotations ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5168](https://togithub.com/rollup/rollup/pull/5168): \[v4.0] Ensure we support new import attribute "with" syntax ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​5169](https://togithub.com/rollup/rollup/pull/5169): \[v4.0] Expose parser ([@​lukastaegert](https://togithub.com/lukastaegert)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9--> |
||
|
|
e93b497231 | chore: also set version to helm charts in set-version.sh (#5100) | ||
|
|
eb7d293aaa |
fix(core): implement editor timeout and report error from boundary (#5105) (#5151)
fix(core): implement editor timeout and report error from boundary (#5105) ci: add sentry env when frontend assets build (#5131) fix(core): expose catched editor load error (#5133) fix(infra): use blocksuite api to check compatibility (#5137) fix(infra): compatibility logic follow blocksuite (#5143) fix(core): rerender error boundary when route change and improve sentry report (#5147) |
||
|
|
a2b8a073cc | ci: pr title lint job does not need to install all dependencies (#5124) | ||
|
|
e9ea67bd38 | fix: add prefer-for-of rule (#5121) | ||
|
|
25eda22af6 | v0.10.3-canary.2 | ||
|
|
9ded6afb4b | chore: v0.10.3-canary.1 | ||
|
|
4c8d54b3a7 |
refactor(core): use manual upgrade to replace auto migration when web setup (#5022)
1. Split logic in `packages/common/infra/src/blocksuite/index.ts` to multiple single files 2. Move migration logic from setup to upgrade module, to prevent auto migration problems and loading problem |
||
|
|
00c11d40cf | v0.10.3-canary.0 | ||
|
|
0f6b28fd06 | c0.11.0-canary.0 | ||
|
|
5c48c83301 | v0.10.0 | ||
|
|
063f5a683e | v0.10.0-canary.16 | ||
|
|
075eead9fa | v0.10.0-canary.15 |