LongYinan
681d25c67c
chore: bump up @electron-forge/maker-base version to v7.2.0 ( #5191 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@electron-forge/maker-base](https://togithub.com/electron/forge ) | [`7.1.0` -> `7.2.0`](https://renovatebot.com/diffs/npm/@electron-forge%2fmaker-base/7.1.0/7.2.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>electron/forge (@​electron-forge/maker-base)</summary>
### [`v7.2.0`](https://togithub.com/electron/forge/releases/tag/v7.2.0 )
[Compare Source](https://togithub.com/electron/forge/compare/v7.1.0...v7.2.0 )
#### What's Changed
##### Features
- feat: add support for sequential groups of webpack builds by [@​MarshallOfSound](https://togithub.com/MarshallOfSound ) in [https://github.com/electron/forge/pull/3435 ](https://togithub.com/electron/forge/pull/3435 )
##### Fixes
- fix: handle webpack configs exported as default by [@​MarshallOfSound](https://togithub.com/MarshallOfSound ) in [https://github.com/electron/forge/pull/3427 ](https://togithub.com/electron/forge/pull/3427 )
- fix: set empty publicPath for preload scripts by [@​MarshallOfSound](https://togithub.com/MarshallOfSound ) in [https://github.com/electron/forge/pull/3428 ](https://togithub.com/electron/forge/pull/3428 )
- fix: ensure that webpack is run once per arch for universal builds by [@​MarshallOfSound](https://togithub.com/MarshallOfSound ) in [https://github.com/electron/forge/pull/3433 ](https://togithub.com/electron/forge/pull/3433 )
##### Documentation
- docs: remove mention of v5 -> v6 migration by [@​erickzhao](https://togithub.com/erickzhao ) in [https://github.com/electron/forge/pull/3412 ](https://togithub.com/electron/forge/pull/3412 )
- docs: add notes on publishing a new monorepo package by [@​erickzhao](https://togithub.com/erickzhao ) in [https://github.com/electron/forge/pull/3415 ](https://togithub.com/electron/forge/pull/3415 )
##### Other Changes
- build(docs): enable API documentation builds for Forge v7 by [@​erickzhao](https://togithub.com/erickzhao ) in [https://github.com/electron/forge/pull/3413 ](https://togithub.com/electron/forge/pull/3413 )
- ci: allow manual API documentation publish by [@​dsanders11](https://togithub.com/dsanders11 ) in [https://github.com/electron/forge/pull/3414 ](https://togithub.com/electron/forge/pull/3414 )
- refactor: dedupe key resolver for static publishers by [@​MarshallOfSound](https://togithub.com/MarshallOfSound ) in [https://github.com/electron/forge/pull/3421 ](https://togithub.com/electron/forge/pull/3421 )
- chore: bump electronjs/node to 2.1.0 (main) by [@​electron-roller](https://togithub.com/electron-roller ) in [https://github.com/electron/forge/pull/3422 ](https://togithub.com/electron/forge/pull/3422 )
- chore: update deps to clear some audit warnings by [@​dsanders11](https://togithub.com/dsanders11 ) in [https://github.com/electron/forge/pull/3429 ](https://togithub.com/electron/forge/pull/3429 )
**Full Changelog**: https://github.com/electron/forge/compare/v7.1.0...v7.2.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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-11 07:43:15 +00:00
LongYinan
6a46ea85e7
chore: upgrade rustup toolchain ( #5246 )
2023-12-11 07:28:09 +00:00
LongYinan
73c2750596
chore: upgrade to yarn@4.0.2 ( #5245 )
2023-12-11 07:28:07 +00:00
LongYinan
8a22fbbec2
chore: bump up marked version to v11 ( #5200 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [marked](https://marked.js.org ) ([source](https://togithub.com/markedjs/marked )) | [`^9.1.2` -> `^11.0.0`](https://renovatebot.com/diffs/npm/marked/9.1.6/11.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>markedjs/marked (marked)</summary>
### [`v11.0.0`](https://togithub.com/markedjs/marked/releases/tag/v11.0.0 )
[Compare Source](https://togithub.com/markedjs/marked/compare/v10.0.0...v11.0.0 )
##### Bug Fixes
- clean up rules so they can be typed ([#​3087](https://togithub.com/markedjs/marked/issues/3087 )) ([175fc0c](https://togithub.com/markedjs/marked/commit/175fc0c3212b4af4d5f24482595823f2567f8f1e ))
- fix marked types ([#​3103](https://togithub.com/markedjs/marked/issues/3103 )) ([edae309](https://togithub.com/markedjs/marked/commit/edae309505b2d25f4040e7a37f02ef560c27fb26 ))
##### BREAKING CHANGES
- Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.
### [`v10.0.0`](https://togithub.com/markedjs/marked/releases/tag/v10.0.0 )
[Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.6...v10.0.0 )
##### Bug Fixes
- run spec tests with testutils ([#​3017](https://togithub.com/markedjs/marked/issues/3017 )) ([014d4e6](https://togithub.com/markedjs/marked/commit/014d4e61f662d308e434afe1fce513fda93e2d67 ))
##### BREAKING CHANGES
- drop support for node v16
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-11 07:13:01 +00:00
LongYinan
4de832d69d
chore: bump up vite-plugin-static-copy version to v1 ( #5205 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite-plugin-static-copy](https://togithub.com/sapphi-red/vite-plugin-static-copy ) | [`^0.17.1` -> `^1.0.0`](https://renovatebot.com/diffs/npm/vite-plugin-static-copy/0.17.1/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>sapphi-red/vite-plugin-static-copy (vite-plugin-static-copy)</summary>
### [`v1.0.0`](https://togithub.com/sapphi-red/vite-plugin-static-copy/blob/HEAD/CHANGELOG.md#100 )
[Compare Source](https://togithub.com/sapphi-red/vite-plugin-static-copy/compare/v0.17.1...vite-plugin-static-copy@1.0.0 )
##### Major Changes
- [`252f62c`](https://togithub.com/sapphi-red/vite-plugin-static-copy/commit/252f62ce6c3371367b4593b5c940371a88292021 ) Thanks [@​sapphi-red](https://togithub.com/sapphi-red )! - drop support for Vite 3 and 4
- [`252f62c`](https://togithub.com/sapphi-red/vite-plugin-static-copy/commit/252f62ce6c3371367b4593b5c940371a88292021 ) Thanks [@​sapphi-red](https://togithub.com/sapphi-red )! - drop CJS build. See https://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only for how to migrate from CJS to ESM.
- [`252f62c`](https://togithub.com/sapphi-red/vite-plugin-static-copy/commit/252f62ce6c3371367b4593b5c940371a88292021 ) Thanks [@​sapphi-red](https://togithub.com/sapphi-red )! - drop node 14.18/16/17/19 support
##### Patch Changes
- [#​67](https://togithub.com/sapphi-red/vite-plugin-static-copy/pull/67 ) [`8707d84`](https://togithub.com/sapphi-red/vite-plugin-static-copy/commit/8707d84d478c3b183cf8639d27158aba9318a0c6 ) Thanks [@​sapphi-red](https://togithub.com/sapphi-red )! - copy only once even if multiple bundles are generated
</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-->
2023-12-11 06:55:17 +00:00
LongYinan
f0c70b92f4
chore: bump up google-github-actions/setup-gcloud action to v2 ( #5241 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [google-github-actions/setup-gcloud](https://togithub.com/google-github-actions/setup-gcloud ) | action | major | `v1` -> `v2` |
---
### Release Notes
<details>
<summary>google-github-actions/setup-gcloud (google-github-actions/setup-gcloud)</summary>
### [`v2`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2 )
[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1...v2 )
**⚠️ This version requires Node 20 or later!**
Floating v2 alias
</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-->
2023-12-10 07:33:07 +00:00
LongYinan
255d25d20c
chore: bump up @opentelemetry/host-metrics version to ^0.34.0 ( #5234 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@opentelemetry/host-metrics](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-host-metrics#readme ) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib )) | [`^0.33.2` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fhost-metrics/0.33.2/0.34.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>open-telemetry/opentelemetry-js-contrib (@​opentelemetry/host-metrics)</summary>
### [`v0.34.0`](https://togithub.com/open-telemetry/opentelemetry-js-contrib/compare/607d375595da3ab51b7f773ac360900121c4361b...c7e7000b7bf79b0b107c448b403c2613a9b9e2c1 )
[Compare Source](https://togithub.com/open-telemetry/opentelemetry-js-contrib/compare/607d375595da3ab51b7f773ac360900121c4361b...c7e7000b7bf79b0b107c448b403c2613a9b9e2c1 )
</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-->
2023-12-10 07:20:58 +00:00
LongYinan
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-->
2023-12-08 09:57:11 +00:00
LongYinan
2269e68bd9
chore: bump up p-queue version to v8 ( #5235 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [p-queue](https://togithub.com/sindresorhus/p-queue ) | [`^7.4.1` -> `^8.0.0`](https://renovatebot.com/diffs/npm/p-queue/7.4.1/8.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>sindresorhus/p-queue (p-queue)</summary>
### [`v8.0.0`](https://togithub.com/sindresorhus/p-queue/releases/tag/v8.0.0 )
[Compare Source](https://togithub.com/sindresorhus/p-queue/compare/v7.4.1...v8.0.0 )
##### Breaking
- Require Node.js 18 [`68dfe95`](https://togithub.com/sindresorhus/p-queue/commit/68dfe95 )
- Removed the `AbortError` export. It now throws the built-in DOMException when using the `signal` option. [`68dfe95`](https://togithub.com/sindresorhus/p-queue/commit/68dfe95 )
- TypeScript: Rename `DefaultAddOptions` type to `QueueAddOptions`
</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-->
2023-12-08 08:06:46 +00:00
LongYinan
285fd367eb
chore: bump up undici version to v6 ( #5204 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [undici](https://undici.nodejs.org ) ([source](https://togithub.com/nodejs/undici )) | [`^5.27.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/undici/5.28.0/6.0.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>nodejs/undici (undici)</summary>
### [`v6.0.1`](https://togithub.com/nodejs/undici/releases/tag/v6.0.1 )
[Compare Source](https://togithub.com/nodejs/undici/compare/v6.0.0...v6.0.1 )
#### What's Changed
- fix: stream error timings by [@​ronag](https://togithub.com/ronag ) in [https://github.com/nodejs/undici/pull/2497 ](https://togithub.com/nodejs/undici/pull/2497 )
**Full Changelog**: https://github.com/nodejs/undici/compare/v6.0.0...v6.0.1
### [`v6.0.0`](https://togithub.com/nodejs/undici/releases/tag/v6.0.0 )
[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.2...v6.0.0 )
#### What's Changed
- 16 eol by [@​ronag](https://togithub.com/ronag ) in [https://github.com/nodejs/undici/pull/2480 ](https://togithub.com/nodejs/undici/pull/2480 )
- update spec & wpts by [@​KhafraDev](https://togithub.com/KhafraDev ) in [https://github.com/nodejs/undici/pull/2482 ](https://togithub.com/nodejs/undici/pull/2482 )
- version cleanup by [@​KhafraDev](https://togithub.com/KhafraDev ) in [https://github.com/nodejs/undici/pull/2483 ](https://togithub.com/nodejs/undici/pull/2483 )
- perf: avoid Response initialization by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2489 ](https://togithub.com/nodejs/undici/pull/2489 )
- perf: optimize `parseHeaders` by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2492 ](https://togithub.com/nodejs/undici/pull/2492 )
- chore: fix typo by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2490 ](https://togithub.com/nodejs/undici/pull/2490 )
- feat: print attempted addresses on ConnectTimeoutError by [@​fengmk2](https://togithub.com/fengmk2 ) in [https://github.com/nodejs/undici/pull/2494 ](https://togithub.com/nodejs/undici/pull/2494 )
- Expose HTTP errors that are not meant to be retried by [@​MzUgM](https://togithub.com/MzUgM ) in [https://github.com/nodejs/undici/pull/2496 ](https://togithub.com/nodejs/undici/pull/2496 )
**Full Changelog**: https://github.com/nodejs/undici/compare/v5.28.2...v6.0.0
### [`v5.28.2`](https://togithub.com/nodejs/undici/releases/tag/v5.28.2 )
[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.1...v5.28.2 )
#### What's Changed
- fix: remove optional chainning for compatible with Nodejs12 and below by [@​bugb](https://togithub.com/bugb ) in [https://github.com/nodejs/undici/pull/2470 ](https://togithub.com/nodejs/undici/pull/2470 )
- fix: remove `node:` prefix by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2471 ](https://togithub.com/nodejs/undici/pull/2471 )
- perf: avoid Headers initialization by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2468 ](https://togithub.com/nodejs/undici/pull/2468 )
- fix: handle SharedArrayBuffer correctly by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2466 ](https://togithub.com/nodejs/undici/pull/2466 )
- fix: Add `null` type to `signal` in `RequestInit` by [@​gebsh](https://togithub.com/gebsh ) in [https://github.com/nodejs/undici/pull/2455 ](https://togithub.com/nodejs/undici/pull/2455 )
- fix: correctly handle data URL with hashes. by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2475 ](https://togithub.com/nodejs/undici/pull/2475 )
- fix: check response for timinginfo allow flag by [@​ToshB](https://togithub.com/ToshB ) in [https://github.com/nodejs/undici/pull/2477 ](https://togithub.com/nodejs/undici/pull/2477 )
- Make call to onBodySent conditional in RetryHandler by [@​MzUgM](https://togithub.com/MzUgM ) in [https://github.com/nodejs/undici/pull/2478 ](https://togithub.com/nodejs/undici/pull/2478 )
- refactor: better integrity check by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2462 ](https://togithub.com/nodejs/undici/pull/2462 )
- fix: Added support for inline URL username:password proxy auth by [@​matt-way](https://togithub.com/matt-way ) in [https://github.com/nodejs/undici/pull/2473 ](https://togithub.com/nodejs/undici/pull/2473 )
- build(deps-dev): bump jsdom from 22.1.0 to 23.0.0 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2472 ](https://togithub.com/nodejs/undici/pull/2472 )
- build(deps-dev): bump sinon from 16.1.3 to 17.0.1 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2405 ](https://togithub.com/nodejs/undici/pull/2405 )
- build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2396 ](https://togithub.com/nodejs/undici/pull/2396 )
- build(deps): bump actions/setup-node from 3.8.1 to 4.0.0 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2395 ](https://togithub.com/nodejs/undici/pull/2395 )
- build(deps): bump step-security/harden-runner from 2.5.0 to 2.6.0 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2392 ](https://togithub.com/nodejs/undici/pull/2392 )
- build(deps-dev): bump formdata-node from 4.4.1 to 6.0.3 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2389 ](https://togithub.com/nodejs/undici/pull/2389 )
- build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by [@​dependabot](https://togithub.com/dependabot ) in [https://github.com/nodejs/undici/pull/2302 ](https://togithub.com/nodejs/undici/pull/2302 )
#### New Contributors
- [@​bugb](https://togithub.com/bugb ) made their first contribution in [https://github.com/nodejs/undici/pull/2470 ](https://togithub.com/nodejs/undici/pull/2470 )
- [@​gebsh](https://togithub.com/gebsh ) made their first contribution in [https://github.com/nodejs/undici/pull/2455 ](https://togithub.com/nodejs/undici/pull/2455 )
- [@​ToshB](https://togithub.com/ToshB ) made their first contribution in [https://github.com/nodejs/undici/pull/2477 ](https://togithub.com/nodejs/undici/pull/2477 )
- [@​MzUgM](https://togithub.com/MzUgM ) made their first contribution in [https://github.com/nodejs/undici/pull/2478 ](https://togithub.com/nodejs/undici/pull/2478 )
- [@​matt-way](https://togithub.com/matt-way ) made their first contribution in [https://github.com/nodejs/undici/pull/2473 ](https://togithub.com/nodejs/undici/pull/2473 )
**Full Changelog**: https://github.com/nodejs/undici/compare/v5.28.1...v5.28.2
### [`v5.28.1`](https://togithub.com/nodejs/undici/releases/tag/v5.28.1 )
[Compare Source](https://togithub.com/nodejs/undici/compare/v5.28.0...v5.28.1 )
#### What's Changed
- perf: Improve `normalizeMethod` by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2456 ](https://togithub.com/nodejs/undici/pull/2456 )
- fix: dispatch error handling by [@​ronag](https://togithub.com/ronag ) in [https://github.com/nodejs/undici/pull/2459 ](https://togithub.com/nodejs/undici/pull/2459 )
- perf(request): optimize if headers are given by [@​tsctx](https://togithub.com/tsctx ) in [https://github.com/nodejs/undici/pull/2454 ](https://togithub.com/nodejs/undici/pull/2454 )
**Full Changelog**: https://github.com/nodejs/undici/compare/v5.28.0...v5.28.1
</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-->
2023-12-08 06:57:56 +00:00
LongYinan
0be087b5d7
ci: fix rust build during deployment ( #5233 )
2023-12-08 06:39:16 +00:00
LongYinan
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-->
2023-12-08 06:08:54 +00:00
LongYinan
e93b497231
chore: also set version to helm charts in set-version.sh ( #5100 )
2023-12-08 13:53:23 +08:00
LongYinan
febe5cc2ae
ci: fix ts-node scripts ( #5225 )
...
- Ref: https://github.com/TypeStrong/ts-node/issues/2094
2023-12-07 09:13:00 +00:00
LongYinan
467d313730
test(server): remove flaky assertion ( #5224 )
2023-12-07 07:28:24 +00:00
LongYinan
3e92942bb5
ci: remove cache cleanup job because we are sharing cache cross branches ( #5214 )
2023-12-06 10:32:22 +00:00
LongYinan
1d9454118a
ci: reduce cache pressure on non-Linux platform ( #5213 )
2023-12-06 10:32:18 +00:00
LongYinan
2dcb5a3030
chore: bump up google-github-actions/auth action to v2 ( #5197 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [google-github-actions/auth](https://togithub.com/google-github-actions/auth ) | action | major | `v1` -> `v2` |
---
### Release Notes
<details>
<summary>google-github-actions/auth (google-github-actions/auth)</summary>
### [`v2`](https://togithub.com/google-github-actions/auth/releases/tag/v2 )
[Compare Source](https://togithub.com/google-github-actions/auth/compare/v1...v2 )
Floating v2 alias
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-06 09:57:17 +00:00
LongYinan
93a0349fbc
chore: bump up vite version to v4.5.1 [SECURITY] ( #5211 )
...
[](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.5.0` -> `4.5.1`](https://renovatebot.com/diffs/npm/vite/4.5.0/4.5.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/ ) |
### GitHub Vulnerability Alerts
#### [CVE-2023-49293](https://togithub.com/vitejs/vite/security/advisories/GHSA-92r3-m2mg-pj97 )
### Summary
When Vite's HTML transformation is invoked manually via `server.transformIndexHtml`, the original request URL is passed in unmodified, and the `html` being transformed contains inline module scripts (`<script type="module">...</script>`), it is possible to inject arbitrary HTML into the transformed output by supplying a malicious URL query string to `server.transformIndexHtml`.
### Impact
Only apps using `appType: 'custom'` and using the default Vite HTML middleware are affected. The HTML entry must also contain an inline script. The attack requires a user to click on a malicious URL while running the dev server. Restricted files aren't exposed to the attacker.
### Patches
Fixed in vite@5.0.5, vite@4.5.1, vite@4.4.12
### Details
Suppose `index.html` contains an inline module script:
```html
<script type="module">
// Inline script
</script>
```
This script is transformed into a proxy script like
```html
<script type="module" src="/index.html?html-proxy&index=0.js"></script>
```
due to Vite's HTML plugin:
https://github.com/vitejs/vite/blob/7fd7c6cebfcad34ae7021ebee28f97b1f28ef3f3/packages/vite/src/node/plugins/html.ts#L429-L465
When `appType: 'spa' | 'mpa'`, Vite serves HTML itself, and `htmlFallbackMiddleware` rewrites `req.url` to the canonical path of `index.html`,
https://github.com/vitejs/vite/blob/73ef074b80fa7252e0c46a37a2c94ba8cba46504/packages/vite/src/node/server/middlewares/htmlFallback.ts#L44-L47
so the `url` passed to `server.transformIndexHtml` is `/index.html`.
However, if `appType: 'custom'`, HTML is served manually, and if `server.transformIndexHtml` is called with the unmodified request URL (as the SSR docs suggest), then the path of the transformed `html-proxy` script varies with the request URL. For example, a request with path `/` produces
```html
<script type="module" src="/@​id/__x00__/index.html?html-proxy&index=0.js"></script>
```
It is possible to abuse this behavior by crafting a request URL to contain a malicious payload like
```
"></script><script>alert('boom')</script>
```
so a request to http://localhost:5173/?%22%3E%3C/script%3E%3Cscript%3Ealert(%27boom%27)%3C/script%3E produces HTML output like
```html
<script type="module" src="/@​id/__x00__/?"></script><script>alert("boom")</script>?html-proxy&index=0.js"></script>
```
which demonstrates XSS.
### PoC
- Example 1. Serving HTML from `vite dev` middleware with `appType: 'custom'`
- Go to https://stackblitz.com/edit/vitejs-vite-9xhma4?file=main.js&terminal=dev-html
- "Open in New Tab"
- Edit URL to set query string to `?%22%3E%3C/script%3E%3Cscript%3Ealert(%27boom%27)%3C/script%3E` and navigate
- Witness XSS:
- 
- Example 2. Serving HTML from SSR-style Express server (Vite dev server runs in middleware mode):
- Go to https://stackblitz.com/edit/vitejs-vite-9xhma4?file=main.js&terminal=server
- (Same steps as above)
- Example 3. Plain `vite dev` (this shows that vanilla `vite dev` is _not_ vulnerable, provided `htmlFallbackMiddleware` is used)
- Go to https://stackblitz.com/edit/vitejs-vite-9xhma4?file=main.js&terminal=dev
- (Same steps as above)
- You should _not_ see the alert box in this case
### Detailed Impact
This will probably predominantly affect [development-mode SSR](https://vitejs.dev/guide/ssr#setting-up-the-dev-server ), where `vite.transformHtml` is called using the original `req.url`, per the docs:
https://github.com/vitejs/vite/blob/7fd7c6cebfcad34ae7021ebee28f97b1f28ef3f3/docs/guide/ssr.md?plain=1#L114-L126
However, since this vulnerability affects `server.transformIndexHtml`, the scope of impact may be higher to also include other ad-hoc calls to `server.transformIndexHtml` from outside of Vite's own codebase.
My best guess at bisecting which versions are vulnerable involves the following test script
```js
import fs from 'node:fs/promises';
import * as vite from 'vite';
const html = `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
</head>
<body>
<script type="module">
// Inline script
</script>
</body>
</html>
`;
const server = await vite.createServer({ appType: 'custom' });
const transformed = await server.transformIndexHtml('/?%22%3E%3C/script%3E%3Cscript%3Ealert(%27boom%27)%3C/script%3E', html);
console.log(transformed);
await server.close();
```
and using it I was able to narrow down to #​13581. If this is correct, then vulnerable Vite versions are 4.4.0-beta.2 and higher (which includes 4.4.0).
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
### [`v4.5.1`](https://togithub.com/vitejs/vite/releases/tag/v4.5.1 )
[Compare Source](https://togithub.com/vitejs/vite/compare/v4.5.0...v4.5.1 )
Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md ) for details.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-06 08:55:32 +00:00
LongYinan
e5f8a58330
ci: refactor workflow ( #5139 )
...
Merge tests job into single one, reuse job as much as possible
2023-12-06 08:03:05 +00:00
LongYinan
246fbd8d4f
ci: fix auto labeler config
2023-12-05 18:21:32 +08:00
LongYinan
bd414b7f44
ci: fix auto labeler job ( #5206 )
2023-12-05 18:00:42 +08:00
LongYinan
37b1a54ec6
chore: bump up idb version to v8 ( #5198 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [idb](https://togithub.com/jakearchibald/idb ) | [`^7.1.1` -> `^8.0.0`](https://renovatebot.com/diffs/npm/idb/7.1.1/8.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>jakearchibald/idb (idb)</summary>
### [`v8.0.0`](https://togithub.com/jakearchibald/idb/compare/v7.1.1...v8.0.0 )
[Compare Source](https://togithub.com/jakearchibald/idb/compare/v7.1.1...v8.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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 08:38:04 +00:00
LongYinan
51e42af317
chore: bump up actions/labeler action to v5 ( #5192 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/labeler](https://togithub.com/actions/labeler ) | action | major | `v4` -> `v5` |
---
### Release Notes
<details>
<summary>actions/labeler (actions/labeler)</summary>
### [`v5`](https://togithub.com/actions/labeler/compare/v4...v5 )
[Compare Source](https://togithub.com/actions/labeler/compare/v4...v5 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 06:41:21 +00:00
LongYinan
e4c6db2d02
chore: bump up ava version to v6 ( #5195 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ava](https://avajs.dev ) ([source](https://togithub.com/avajs/ava )) | [`^5.3.1` -> `^6.0.0`](https://renovatebot.com/diffs/npm/ava/5.3.1/6.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>avajs/ava (ava)</summary>
### [`v6.0.0`](https://togithub.com/avajs/ava/releases/tag/v6.0.0 )
[Compare Source](https://togithub.com/avajs/ava/compare/v5.3.1...v6.0.0 )
#### Breaking Changes
- AVA now requires Node.js versions 18.18, 20.8 or 21. Versions 14 and 16 are no longer supported. [#​3251](https://togithub.com/avajs/ava/issues/3251 ) [#​3216](https://togithub.com/avajs/ava/issues/3216 )
- When tests finish, worker threads or child processes are no longer exited through `proces.exit()`. If your test file does not exit on its own, the test run will time out. [#​3260](https://togithub.com/avajs/ava/issues/3260 )
- Changes to watch mode [#​3218](https://togithub.com/avajs/ava/issues/3218 ):
- Watch mode can no longer be started via the `ava.config.*` or `package.json` configuration.
- The `ignoredByWatcher` configuration has moved to the `watchMode` object, under the `ignoreChanges` key.
- Watch mode now uses the built-in [`fs.watch()`](https://nodejs.org/api/fs.html#fswatchfilename-options-listener ) in recursive mode. This is supported on Linux in Node.js 20 or newer, and MacOS and Windows in Node.js 18 as well. There are [caveats](https://nodejs.org/api/fs.html#caveats ) to keep in mind.
- Failed assertions now throw, meaning that any subsequent code is not executed. This also impacts the type definitions. [#​3246](https://togithub.com/avajs/ava/issues/3246 )
- [Only native errors](https://nodejs.org/api/util.html#utiltypesisnativeerrorvalue ) are now considered errors by the `t.throws()` and `t.throwsAsync()` assertions. [`Object.create(Error.prototype)` is **not** a native error](Object.create\(Error.prototype\)). [#​3229](https://togithub.com/avajs/ava/issues/3229 )
- Changes to modules loaded through the `require` configuration [#​3184](https://togithub.com/avajs/ava/issues/3184 ):
- If such modules export a default function, this function is now invoked.
- Local files are loaded through `@ava/typescript` if necessary.
#### Improvements
##### Rewritten watcher
The watcher has been rewritten. It’s now built on [`fs.watch()`](https://nodejs.org/api/fs.html#fswatchfilename-options-listener ) in recursive mode.
[`@vercel/nft`](https://togithub.com/vercel/nft ) is used to perform static dependency analysis, supporting ESM and CJS imports for JavaScript & TypeScript source files. This is a huge improvement over the previous runtime tracking of CJS imports, which did not support ESM.
Integration with [`@ava/typescript`](https://togithub.com/avajs/typescript ) has been improved. The watcher can now detect a change to a TypeScript source file, then wait for the corresponding build output to change before re-running tests.
The ignoredByWatcher configuration has moved to the watchMode object, under the ignoreChanges key.
See [#​3218](https://togithub.com/avajs/ava/issues/3218 ) and [#​3257](https://togithub.com/avajs/ava/issues/3257 ).
##### Failed assertions now throw
Assertions now throw a `TestFailure` error when they fail. This error is not exported or documented and should not be used or thrown manually. You cannot catch this error in order to recover from a failure, use `t.try()` instead.
All assertions except for `t.throws()` and `t.throwsAsync()` now return `true` when they pass. This is useful for some of the assertions in TypeScript where they can be used as a type guard.
Committing a failed `t.try()` result now also throws.
See [#​3246](https://togithub.com/avajs/ava/issues/3246 ).
##### `t.throws()` and `t.throwsAsync()` can now expect any error
By default, the thrown error (or rejection reason) must be a native error. You can change the assertion to expect any kind of error by setting `any: true` in the expectation object:
```js
t.throws(() => { throw 'error' }, {any: true})
```
See [#​3245](https://togithub.com/avajs/ava/issues/3245 ) by [@​adiSuper94](https://togithub.com/adiSuper94 ).
##### The `require` configuration is now more powerful
It now loads ES modules.
Local files are loaded through `@ava/typescript` if necessary, so you can also write these in TypeScript.
If there is a default export function, it is invoked after loading. The function is awaited so it can do asynchronous setup before further modules are loaded. Arguments from the configuration can be passed to the function (as a \[[structured clone](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone )]\(https://developer.mozilla.org/en-US/docs/Web/API/structuredClone )).
See [#​3184](https://togithub.com/avajs/ava/issues/3184 ) by [@​sculpt0r](https://togithub.com/sculpt0r ).
##### Other changes worth noting
- Internal events can now be observed (experimentally). See [#​3247](https://togithub.com/avajs/ava/issues/3247 ) by [@​codetheweb](https://togithub.com/codetheweb ). It’s experimental and undocumented.
- You can now use `t.timeout.clear()` to restore a previous `t.timeout()`. [#​3221](https://togithub.com/avajs/ava/issues/3221 )
- Code coverage is flushed to disk at opportune moments. [#​3220](https://togithub.com/avajs/ava/issues/3220 )
#### New Contributors
- [@​sculpt0r](https://togithub.com/sculpt0r ) made their first contribution in [https://github.com/avajs/ava/pull/3184 ](https://togithub.com/avajs/ava/pull/3184 )
- [@​ZachHaber](https://togithub.com/ZachHaber ) made their first contribution in [https://github.com/avajs/ava/pull/3233 ](https://togithub.com/avajs/ava/pull/3233 )
- [@​adiSuper94](https://togithub.com/adiSuper94 ) made their first contribution in [https://github.com/avajs/ava/pull/3245 ](https://togithub.com/avajs/ava/pull/3245 )
- [@​bricker](https://togithub.com/bricker ) made their first contribution in [https://github.com/avajs/ava/pull/3250 ](https://togithub.com/avajs/ava/pull/3250 )
**Full Changelog**: https://github.com/avajs/ava/compare/v5.3.1...v6.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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 06:19:00 +00:00
LongYinan
2b7c6714eb
chore: bump up Helm release postgresql to v13 ( #5190 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [postgresql](https://bitnami.com ) ([source](https://togithub.com/bitnami/charts/tree/HEAD/bitnami/postgresql )) | major | `12.5.8` -> `13.2.23` |
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 04:26:32 +00:00
LongYinan
1dacb21178
chore: bump up @dnd-kit/modifiers version to v7 ( #5189 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@dnd-kit/modifiers](https://togithub.com/clauderic/dnd-kit ) ([source](https://togithub.com/clauderic/dnd-kit/tree/HEAD/packages/modifiers )) | [`^6.0.1` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@dnd-kit%2fmodifiers/6.0.1/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>clauderic/dnd-kit (@​dnd-kit/modifiers)</summary>
### [`v7.0.0`](https://togithub.com/clauderic/dnd-kit/blob/HEAD/packages/modifiers/CHANGELOG.md#700 )
[Compare Source](https://togithub.com/clauderic/dnd-kit/compare/@dnd-kit/modifiers@6.0.1...@dnd-kit/modifiers@7.0.0 )
##### Patch Changes
- Updated dependencies \[[`bc588c7`](https://togithub.com/clauderic/dnd-kit/commit/bc588c7f7b1124514b2834e14f9dad29ce49c8ce ), [`b417f0f`](https://togithub.com/clauderic/dnd-kit/commit/b417f0f94bfd8097bdf34eec27b7051dc0f5aa2a ), [`f342d5e`](https://togithub.com/clauderic/dnd-kit/commit/f342d5efd98507f173b6a170b35bee1545d40311 )]:
- [@​dnd-kit/core](https://togithub.com/dnd-kit/core )[@​6](https://togithub.com/6 ).1.0
- [@​dnd-kit/utilities](https://togithub.com/dnd-kit/utilities )[@​3](https://togithub.com/3 ).2.2
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 04:05:29 +00:00
LongYinan
f3e717ee5f
chore: bump up @opentelemetry/instrumentation-ioredis version to ^0.36.0 ( #5186 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@opentelemetry/instrumentation-ioredis](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-ioredis#readme ) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib )) | [`^0.35.3` -> `^0.36.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-ioredis/0.35.3/0.36.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>open-telemetry/opentelemetry-js-contrib (@​opentelemetry/instrumentation-ioredis)</summary>
### [`v0.36.0`](https://togithub.com/open-telemetry/opentelemetry-js-contrib/compare/607d375595da3ab51b7f773ac360900121c4361b...a757b5e443dfe1dade090aeb11ec37d0e802f8af )
[Compare Source](https://togithub.com/open-telemetry/opentelemetry-js-contrib/compare/607d375595da3ab51b7f773ac360900121c4361b...a757b5e443dfe1dade090aeb11ec37d0e802f8af )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 03:46:25 +00:00
LongYinan
9e8668de6b
ci: add electron-forge deps group ( #5185 )
2023-12-05 03:27:36 +00:00
LongYinan
eb93ae04e0
ci: exclude @blocksuite/icons from blocksuite nightly update group ( #5184 )
2023-12-05 02:45:55 +00:00
LongYinan
a9b021bafe
ci: use renovate to replace dependabot since depedabot has never worked ( #5182 )
...
https://github.com/toeverything/AFFiNE/network/updates/757631626 dependabot update jobs keep timeout
2023-12-05 00:47:40 +00:00
LongYinan
56b37c481e
chore: bump @adobe/css-tools from 4.3.1 to 4.3.2 ( #5181 )
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/adobe/css-tools/blob/main/History.md "><code>@adobe/css-tools</code>'s changelog</a>.</em></p>
<blockquote>
<h1>4.3.2 / 2023-11-28</h1>
<ul>
<li>Fix redos vulnerability with specific crafted css string - CVE-2023-48631</li>
<li>Fix Problem parsing with :is() and nested :nth-child() <a href="https://redirect.github.com/adobe/css-tools/issues/211 ">#211</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/adobe/css-tools/commits ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/toeverything/AFFiNE/network/alerts ).
</details>
2023-12-04 14:59:50 +00:00
LongYinan
33c53217c3
chore: move cargo fmt to lint-staged from pre-commit ( #5150 )
2023-12-04 06:42:54 +00:00
LongYinan
1f7654e80f
chore: bump @adobe/css-tools from 4.3.1 to 4.3.2 ( #5154 )
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/adobe/css-tools/blob/main/History.md "><code>@adobe/css-tools</code>'s changelog</a>.</em></p>
<blockquote>
<h1>4.3.2 / 2023-11-28</h1>
<ul>
<li>Fix redos vulnerability with specific crafted css string - CVE-2023-48631</li>
<li>Fix Problem parsing with :is() and nested :nth-child() <a href="https://redirect.github.com/adobe/css-tools/issues/211 ">#211</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/adobe/css-tools/commits ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/toeverything/AFFiNE/network/alerts ).
</details>
2023-12-01 08:52:40 +00:00
LongYinan
99f98fb9d3
ci: remove publish job ( #5135 )
2023-11-30 04:24:43 +00:00
LongYinan
906d224fa9
chore(native): fix useless import ( #5130 )
2023-11-29 10:11:40 +00:00
LongYinan
6fca1b43f0
chore: add rust-toolchain file ( #5129 )
2023-11-29 10:11:38 +00:00
LongYinan
3fc515491b
chore: remove useless circular command ( #5127 )
2023-11-29 10:11:36 +00:00
LongYinan
2a4741e9ab
chore: add lint-staged command to pre-commit file ( #5126 )
2023-11-29 10:11:34 +00:00
LongYinan
feddfdc5c9
ci: upgrade setup-node action ( #5125 )
2023-11-29 10:11:32 +00:00
LongYinan
a2b8a073cc
ci: pr title lint job does not need to install all dependencies ( #5124 )
2023-11-29 09:51:14 +00:00
LongYinan
7a7cbc45d7
fix: add prefer-readonly rule ( #5122 )
2023-11-29 15:19:00 +08:00
LongYinan
e9ea67bd38
fix: add prefer-for-of rule ( #5121 )
2023-11-29 15:18:52 +08:00
LongYinan
acf2de813a
fix: add unified-signatures rule ( #5120 )
2023-11-29 04:44:18 +00:00
LongYinan
db3039fbf4
fix: add require-array-sort-compare rule ( #5119 )
2023-11-29 04:44:14 +00:00
LongYinan
eadf8a085b
fix: add prefer-blob-reading-methods rule ( #5118 )
2023-11-29 04:44:10 +00:00
LongYinan
cb2c659f52
fix: add no-new-array rule ( #5117 )
2023-11-29 04:44:06 +00:00
LongYinan
68caf5027d
fix: add new-for-builtins rule ( #5116 )
2023-11-29 04:44:02 +00:00
LongYinan
19c61e051d
fix: add no-typeof-undefined rule ( #5114 )
2023-11-29 04:43:59 +00:00
LongYinan
bd488262fa
fix: add prefer-date-now rule ( #5113 )
2023-11-29 04:43:55 +00:00
LongYinan
4dddbbdaee
fix: add prefer-dom-node-remove rule ( #5112 )
2023-11-29 04:43:51 +00:00
LongYinan
45690c2756
fix: add no-useless-promise-resolve-reject rule ( #5111 )
2023-11-29 04:43:47 +00:00
LongYinan
d267029761
fix: add prefer-array-some rule ( #5109 )
2023-11-29 04:43:43 +00:00
LongYinan
23cfc58fe2
fix: add prefer-dom-node-append rule ( #5108 )
2023-11-29 04:43:39 +00:00
LongYinan
123f091e5b
fix: add prefer-dom-node-dataset rule ( #5107 )
2023-11-29 04:43:35 +00:00
LongYinan
923844f302
fix: add eqeqeq lint rule ( #5106 )
2023-11-29 04:43:31 +00:00
LongYinan
a843dcd851
fix: resolve cycle imports and prevent it by oxlint ( #5103 )
2023-11-29 04:43:27 +00:00
LongYinan
b73e87e4ad
chore: upgrade typescript-eslint ( #5110 )
2023-11-29 04:43:23 +00:00
LongYinan
c1cf25d2d5
style: add no-self-compare rule ( #5092 )
2023-11-28 08:55:50 +00:00
LongYinan
992ed89a89
Merge remote-tracking branch 'origin/canary' into stable
2023-11-28 15:12:52 +08:00
LongYinan
0ee2ecc1e9
ci: always perform fresh build in deployment job ( #5066 )
2023-11-28 06:59:50 +00:00
LongYinan
aaaed5ac14
fix(core): nx cache configuration ( #5065 )
2023-11-28 06:59:48 +00:00
LongYinan
30ec08cadf
chore: bump the all-cargo-dependencies group with 5 updates ( #5068 )
...
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps the all-cargo-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [napi](https://github.com/napi-rs/napi-rs ) | `2.14.0` | `2.14.1` |
| [napi-derive](https://github.com/napi-rs/napi-rs ) | `2.14.1` | `2.14.2` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.192` | `1.0.193` |
| [sqlx](https://github.com/launchbadge/sqlx ) | `0.7.2` | `0.7.3` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.6.0` | `1.6.1` |
Updates `napi` from 2.14.0 to 2.14.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/napi-rs/napi-rs/releases ">napi's releases</a>.</em></p>
<blockquote>
<h2><code>@napi-rs/cli</code><a href="https://github.com/2 "><code>@2</code></a>.14.1</h2>
<h2>What's Changed</h2>
<ul>
<li>[Fix] Quote toml path by <a href="https://github.com/TheBrenny "><code>@TheBrenny</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1410 ">napi-rs/napi-rs#1410</a></li>
<li>chore(cli): update CI template by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1416 ">napi-rs/napi-rs#1416</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/TheBrenny "><code>@TheBrenny</code></a> made their first contribution in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1410 ">napi-rs/napi-rs#1410</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/napi-rs/napi-rs/compare/napi@2.10.4...@napi-rs/cli@2.14.1 ">https://github.com/napi-rs/napi-rs/compare/napi@2.10.4 ...<code>@napi-rs/cli</code><code>@2.14.1</code></a></p>
<h2>napi-derive@2.14 .1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(napi-derive): async task void output type by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1795 ">napi-rs/napi-rs#1795</a></li>
<li>fix(napi-derive): async task optional output type by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1796 ">napi-rs/napi-rs#1796</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1 ">https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1 </a></p>
<h2>napi@2.14 .1</h2>
<h2>What's Changed</h2>
<ul>
<li>style(napi): clippy fix by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1815 ">napi-rs/napi-rs#1815</a></li>
<li>fix(napi): cargo doc build by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1819 ">napi-rs/napi-rs#1819</a></li>
<li>fix(napi): compile error for wasm32-unknown-unknown target by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1822 ">napi-rs/napi-rs#1822</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1 ">https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/napi-rs/napi-rs/commit/6a4f4f173db28cf6bab15f193927fe99d3505da8 "><code>6a4f4f1</code></a> chore(release): publish</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/e4ac44e5602dcb46fba092edfbfc3f8124e600d3 "><code>e4ac44e</code></a> Release independent packages</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/8a9c42a9859f0730719c1d526752b25821305e30 "><code>8a9c42a</code></a> fix(napi): compile error for wasm32-unknown-unknown target</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/7dced934a71797bd9159c3c91f8a3964cb4abd27 "><code>7dced93</code></a> fix(napi): cargo doc build</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/751312cec9481ef9c60d079ceef6e41aa83d503f "><code>751312c</code></a> test: add test file name into error message (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1821 ">#1821</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/7c3f8b514ef1f15e1e38489b77ae34858b9b85fd "><code>7c3f8b5</code></a> fix(napi-derive): compile warning (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1820 ">#1820</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/8c911b5d34018a4dff985b7db41f558b22370bcf "><code>8c911b5</code></a> chore: upgrade emnapi dependencies (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1817 ">#1817</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/76dcf833dabb38892357748a7f69fb9a96b67009 "><code>76dcf83</code></a> chore(deps): update dependency emnapi to v0.44.0 (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1805 ">#1805</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/6df0ca112e41cb1ed0ee76a446fa7e5f358dfaeb "><code>6df0ca1</code></a> chore: 🤖 align wasi template to nodejs demo (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1814 ">#1814</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/c321071c8902005f7d5295c2995ad03fa25fc395 "><code>c321071</code></a> chore(deps): update dependency <code>@emnapi/runtime</code> to v0.44.0 (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1804 ">#1804</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1 ">compare view</a></li>
</ul>
</details>
<br />
Updates `napi-derive` from 2.14.1 to 2.14.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/napi-rs/napi-rs/releases ">napi-derive's releases</a>.</em></p>
<blockquote>
<h2>napi-derive@2.14 .2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(napi-derive): compile warning by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1820 ">napi-rs/napi-rs#1820</a></li>
<li>fix(napi): compile error for wasm32-unknown-unknown target by <a href="https://github.com/Brooooooklyn "><code>@Brooooooklyn</code></a> in <a href="https://redirect.github.com/napi-rs/napi-rs/pull/1822 ">napi-rs/napi-rs#1822</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2 ">https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/napi-rs/napi-rs/commit/6a4f4f173db28cf6bab15f193927fe99d3505da8 "><code>6a4f4f1</code></a> chore(release): publish</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/e4ac44e5602dcb46fba092edfbfc3f8124e600d3 "><code>e4ac44e</code></a> Release independent packages</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/8a9c42a9859f0730719c1d526752b25821305e30 "><code>8a9c42a</code></a> fix(napi): compile error for wasm32-unknown-unknown target</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/7dced934a71797bd9159c3c91f8a3964cb4abd27 "><code>7dced93</code></a> fix(napi): cargo doc build</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/751312cec9481ef9c60d079ceef6e41aa83d503f "><code>751312c</code></a> test: add test file name into error message (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1821 ">#1821</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/7c3f8b514ef1f15e1e38489b77ae34858b9b85fd "><code>7c3f8b5</code></a> fix(napi-derive): compile warning (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1820 ">#1820</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/8c911b5d34018a4dff985b7db41f558b22370bcf "><code>8c911b5</code></a> chore: upgrade emnapi dependencies (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1817 ">#1817</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/76dcf833dabb38892357748a7f69fb9a96b67009 "><code>76dcf83</code></a> chore(deps): update dependency emnapi to v0.44.0 (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1805 ">#1805</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/6df0ca112e41cb1ed0ee76a446fa7e5f358dfaeb "><code>6df0ca1</code></a> chore: 🤖 align wasi template to nodejs demo (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1814 ">#1814</a>)</li>
<li><a href="https://github.com/napi-rs/napi-rs/commit/c321071c8902005f7d5295c2995ad03fa25fc395 "><code>c321071</code></a> chore(deps): update dependency <code>@emnapi/runtime</code> to v0.44.0 (<a href="https://redirect.github.com/napi-rs/napi-rs/issues/1804 ">#1804</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2 ">compare view</a></li>
</ul>
</details>
<br />
Updates `serde` from 1.0.192 to 1.0.193
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases ">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.193</h2>
<ul>
<li>Fix field names used for the deserialization of <code>RangeFrom</code> and <code>RangeTo</code> (<a href="https://redirect.github.com/serde-rs/serde/issues/2653 ">#2653</a>, <a href="https://redirect.github.com/serde-rs/serde/issues/2654 ">#2654</a>, <a href="https://redirect.github.com/serde-rs/serde/issues/2655 ">#2655</a>, thanks <a href="https://github.com/emilbonnek "><code>@emilbonnek</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/serde-rs/serde/commit/44613c7d0190dbb5ecd2d5ec19c636f45b7488cc "><code>44613c7</code></a> Release 1.0.193</li>
<li><a href="https://github.com/serde-rs/serde/commit/c706281df3c8d50dba1763f19c856df2746eba6c "><code>c706281</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2655 ">#2655</a> from dtolnay/rangestartend</li>
<li><a href="https://github.com/serde-rs/serde/commit/65d75b8fe3105f00ab2e01537d568d4587167582 "><code>65d75b8</code></a> Add RangeFrom and RangeTo tests</li>
<li><a href="https://github.com/serde-rs/serde/commit/332b0cba40bcbcc7a6b23a9706277c54791a9856 "><code>332b0cb</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2654 ">#2654</a> from dtolnay/rangestartend</li>
<li><a href="https://github.com/serde-rs/serde/commit/8c4af412969086bc8f54fdc2a079d373632e0a03 "><code>8c4af41</code></a> Fix more RangeFrom / RangeEnd mixups</li>
<li><a href="https://github.com/serde-rs/serde/commit/24a78f071b22ae491eec4127be696ac255b9b5d3 "><code>24a78f0</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2653 ">#2653</a> from emilbonnek/fix/range-to-from-de-mixup</li>
<li><a href="https://github.com/serde-rs/serde/commit/c91c33436d7aaef7472ebc18b734ddc9b5bd11fa "><code>c91c334</code></a> Fix Range{From,To} deserialize mixup</li>
<li><a href="https://github.com/serde-rs/serde/commit/2083f43a287cac8302009fda5bbe41518dd83209 "><code>2083f43</code></a> Update ui test suite to nightly-2023-11-19</li>
<li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193 ">compare view</a></li>
</ul>
</details>
<br />
Updates `sqlx` from 0.7.2 to 0.7.3
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md ">sqlx's changelog</a>.</em></p>
<blockquote>
<h2>0.7.3 - 2023-11-22</h2>
<p>38 pull requests were merged this release cycle.</p>
<h3>Added</h3>
<ul>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2478 ">#2478</a>]: feat(citext): support postgres citext [[<a href="https://github.com/hgranthorner "><code>@hgranthorner</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2545 ">#2545</a>]: Add <code>fixtures_path</code> in sqlx::test args [[<a href="https://github.com/ripa1995 "><code>@ripa1995</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2665 ">#2665</a>]: feat(mysql): support packet splitting [[<a href="https://github.com/tk2217 "><code>@tk2217</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2752 ">#2752</a>]: Enhancement <a href="https://redirect.github.com/launchbadge/sqlx/issues/2747 ">#2747</a> Provide <code>fn PgConnectOptions::get_host(&self)</code> [[<a href="https://github.com/boris-lok "><code>@boris-lok</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2769 ">#2769</a>]: Customize the macro error message based on the metadata [[<a href="https://github.com/Nemo157 "><code>@Nemo157</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2793 ">#2793</a>]: derived Hash trait for PgInterval [[<a href="https://github.com/yasamoka "><code>@yasamoka</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2801 ">#2801</a>]: derive FromRow: sqlx(default) for all fields [[<a href="https://github.com/grgi "><code>@grgi</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2827 ">#2827</a>]: Add impl <code>FromRow</code> for the unit type [[<a href="https://github.com/nanoqsh "><code>@nanoqsh</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2871 ">#2871</a>]: Add <code>MySqlConnectOptions::get_database()</code> [[<a href="https://github.com/shiftrightonce "><code>@shiftrightonce</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2873 ">#2873</a>]: Sqlx Cli: Added force flag to drop database for postgres [[<a href="https://github.com/Vrajs16 "><code>@Vrajs16</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2894 ">#2894</a>]: feat: <code>Text</code> adapter [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2701 ">#2701</a>]: Remove documentation on offline feature [[<a href="https://github.com/Baptistemontan "><code>@Baptistemontan</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2713 ">#2713</a>]: Add additional info regarding using Transaction and PoolConnection as… [[<a href="https://github.com/satwanjyu "><code>@satwanjyu</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2770 ">#2770</a>]: Update README.md [[<a href="https://github.com/snspinn "><code>@snspinn</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2797 ">#2797</a>]: doc(mysql): document behavior regarding <code>BOOLEAN</code> and the query macros [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2803 ">#2803</a>]: Don't use separate temp dir for query jsons (2) [[<a href="https://github.com/mattfbacon "><code>@mattfbacon</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2819 ">#2819</a>]: postgres begin cancel safe [[<a href="https://github.com/conradludgate "><code>@conradludgate</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2832 ">#2832</a>]: Update extra_float_digits default to 2 instead of 3 [[<a href="https://github.com/brianheineman "><code>@brianheineman</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2865 ">#2865</a>]: Update Faq - Bulk upsert with optional fields [[<a href="https://github.com/Vrajs16 "><code>@Vrajs16</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2880 ">#2880</a>]: feat: use specific message for slow query logs [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2882 ">#2882</a>]: Do not require db url for prepare [[<a href="https://github.com/tamasfe "><code>@tamasfe</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2890 ">#2890</a>]: doc(sqlite): cover lack of <code>NUMERIC</code> support [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
<li>[No PR]: Upgraded <code>libsqlite3-sys</code> to 0.27.0
<ul>
<li>Note: linkage to <code>libsqlite3-sys</code> is considered semver-exempt;
see the release notes for 0.7.0 below for details.</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2640 ">#2640</a>]: fix: sqlx::macro db cleanup race condition by adding a margin to current timestamp [[<a href="https://github.com/fhsgoncalves "><code>@fhsgoncalves</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2655 ">#2655</a>]: [fix] Urlencode when passing filenames to sqlite3 [[<a href="https://github.com/uttarayan21 "><code>@uttarayan21</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2684 ">#2684</a>]: Make PgListener recover from UnexpectedEof [[<a href="https://github.com/hamiltop "><code>@hamiltop</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2688 ">#2688</a>]: fix: Make rust_decimal and bigdecimal decoding more lenient [[<a href="https://github.com/cameronbraid "><code>@cameronbraid</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2754 ">#2754</a>]: Is tests/x.py maintained? And I tried fix it. [[<a href="https://github.com/qwerty2501 "><code>@qwerty2501</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2784 ">#2784</a>]: fix: decode postgres time without subsecond [[<a href="https://github.com/granddaifuku "><code>@granddaifuku</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2806 ">#2806</a>]: Depend on version of async-std with non-private spawn-blocking [[<a href="https://github.com/A248 "><code>@A248</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2820 ">#2820</a>]: fix: correct decoding of <code>rust_decimal::Decimal</code> for high-precision values [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2822 ">#2822</a>]: issue <a href="https://redirect.github.com/launchbadge/sqlx/issues/2821 ">#2821</a> Update error handling logic when opening a TCP connection [[<a href="https://github.com/anupj "><code>@anupj</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2826 ">#2826</a>]: chore: bump some sqlx-core dependencies [[<a href="https://github.com/djc "><code>@djc</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2838 ">#2838</a>]: Fixes rust_decimal scale for Postgres [[<a href="https://github.com/jkleinknox "><code>@jkleinknox</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2847 ">#2847</a>]: Fix comment in <code>sqlx migrate add</code> help text [[<a href="https://github.com/cryeprecision "><code>@cryeprecision</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2850 ">#2850</a>]: fix(core): avoid unncessary wakeups in <code>try_stream!()</code> [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2856 ">#2856</a>]: Prevent warnings running <code>cargo build</code> [[<a href="https://github.com/nyurik "><code>@nyurik</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2864 ">#2864</a>]: fix(sqlite): use <code>AtomicUsize</code> for thread IDs [[<a href="https://github.com/abonander "><code>@abonander</code></a>]]</li>
<li>[<a href="https://redirect.github.com/launchbadge/sqlx/issues/2892 ">#2892</a>]: Fixed force dropping bug [[<a href="https://github.com/Vrajs16 "><code>@Vrajs16</code></a>]]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/launchbadge/sqlx/commits/v0.7.3 ">compare view</a></li>
</ul>
</details>
<br />
Updates `uuid` from 1.6.0 to 1.6.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uuid-rs/uuid/releases ">uuid's releases</a>.</em></p>
<blockquote>
<h2>1.6.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix uuid macro in consts by <a href="https://github.com/KodrAus "><code>@KodrAus</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/721 ">uuid-rs/uuid#721</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.6.0...1.6.1 ">https://github.com/uuid-rs/uuid/compare/1.6.0...1.6.1 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/uuid-rs/uuid/commit/c8891073248ddc7faa8c53ac9ceb629a341c7b9b "><code>c889107</code></a> Merge pull request <a href="https://redirect.github.com/uuid-rs/uuid/issues/721 ">#721</a> from uuid-rs/fix/uuid-macro</li>
<li><a href="https://github.com/uuid-rs/uuid/commit/f3f74961c4a8628eb4247c56f93645bb42ee0d31 "><code>f3f7496</code></a> fix uuid macro in consts</li>
<li>See full diff in <a href="https://github.com/uuid-rs/uuid/compare/1.6.0...1.6.1 ">compare view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>
2023-11-27 07:24:08 +00:00
LongYinan
42f4045ad6
chore: adjust the request memory size and replica count ( #5046 )
2023-11-24 06:19:38 +00:00
LongYinan
55c6477bcc
fix(electron): appimage forge builder ( #5043 )
2023-11-23 11:46:50 +00:00
LongYinan
25eda22af6
v0.10.3-canary.2
2023-11-23 16:47:40 +08:00
LongYinan
3499dbbb7f
feat: upgrade dependencies and lockfile ( #5016 )
...
- Close https://github.com/toeverything/AFFiNE/security/dependabot/47
2023-11-23 05:18:05 +00:00
LongYinan
34c5e7d83d
build: remove useless source-map-loader to speedup webpack ( #4910 )
2023-11-20 11:04:57 +08:00
LongYinan
7f09652cca
fix(core): handle the getSession network error properly ( #4909 )
...
If network offline or API error happens, the `session` returned by the `useSession` hook will be null, so we can't assume it is not null.
There should be following changes:
1. create a page in ErrorBoundary to let the user refetch the session.
2. The `SessionProvider` stop to pull the new session once the session is null, we need to figure out a way to pull the new session when the network is back or the user click the refetch button.
2023-11-20 11:04:39 +08:00
LongYinan
cd291bb60e
build: remove useless source-map-loader to speedup webpack ( #4910 )
2023-11-20 10:52:28 +08:00
LongYinan
62c0efcfd1
fix(core): handle the getSession network error properly ( #4909 )
...
If network offline or API error happens, the `session` returned by the `useSession` hook will be null, so we can't assume it is not null.
There should be following changes:
1. create a page in ErrorBoundary to let the user refetch the session.
2. The `SessionProvider` stop to pull the new session once the session is null, we need to figure out a way to pull the new session when the network is back or the user click the refetch button.
2023-11-17 16:50:48 +08:00
LongYinan
703fad6a0d
ci: prevent error if rust build is cached by nx ( #4951 )
...
If Rust build was cached by nx, only the output file will be presented. The chmod command will be failed in this case like: https://github.com/toeverything/AFFiNE/actions/runs/6874496337/job/18697360212
2023-11-16 21:57:22 +08:00
LongYinan
51e71f4a0a
ci: prevent error if rust build is cached by nx ( #4951 )
...
If Rust build was cached by nx, only the output file will be presented. The chmod command will be failed in this case like: https://github.com/toeverything/AFFiNE/actions/runs/6874496337/job/18697360212
2023-11-16 10:31:51 +08:00
LongYinan
e7e617a791
chore: change default branch to canary ( #4948 )
2023-11-15 07:46:50 +00:00
LongYinan
cc2ade601c
ci: only disable postinstall on macOS in nightly desktop build ( #4938 )
2023-11-14 23:03:49 +08:00
LongYinan
01f481a9b6
ci: only disable postinstall on macOS in nightly desktop build ( #4938 )
2023-11-14 23:00:30 +08:00
LongYinan
8bcc886b46
ci: disable postinstall in nightly desktop build ( #4930 )
...
Should be part of https://github.com/toeverything/AFFiNE/pull/4885
2023-11-14 14:45:52 +08:00
LongYinan
5b0b8cf216
test(e2e): add subdoc migration test ( #4921 )
...
test(e2e): add subdoc migration test
fix: remove .only
2023-11-14 14:39:59 +08:00
LongYinan
05154dc7ca
ci: disable postinstall in nightly desktop build ( #4930 )
...
Should be part of https://github.com/toeverything/AFFiNE/pull/4885
2023-11-14 14:13:55 +08:00
LongYinan
dde779a71d
test(e2e): add subdoc migration test ( #4921 )
...
test(e2e): add subdoc migration test
fix: remove .only
2023-11-13 18:00:40 +08:00
LongYinan
f17c0e1268
Merge pull request #4915 from toeverything/chore/hotfix-back-to-master
...
fix: cherry pick hotfix back to master
2023-11-13 10:12:06 +08:00
LongYinan
48dc1049b3
Merge pull request #4913 from toeverything/darksky/cleanup-depolyment
...
chore: cleanup deployment
2023-11-12 11:20:02 +08:00
LongYinan
b77460d871
Merge pull request #4908 from toeverything/61/hotfix-websocket-payload
...
fix(server): increase server acceptable websocket payload size
2023-11-10 22:01:48 +08:00
LongYinan
9d89e4f7f5
fix(server): earlyAccessPreview env override ( #4898 )
2023-11-09 17:20:41 +00:00
LongYinan
7182b85bd0
chore: add performance logger ( #4896 )
...
Add more performance log to debug loading problem
2023-11-10 00:42:30 +08:00
LongYinan
91f1d0081b
ci: adjust the beta cluster configuration ( #4895 )
...
- Scale the pod counts to 10
- Set `earlyAccessPreview` to false
2023-11-10 00:42:19 +08:00
LongYinan
927a6489f9
ci: adjust the beta cluster configuration
2023-11-10 00:22:45 +08:00
LongYinan
839f500979
ci: disable postinstall on macOS build ( #4885 )
2023-11-09 11:58:55 +00:00
LongYinan
bf17b4789b
Merge pull request #4819 from toeverything/61/hotfix
...
fix(server): remove awareness states cache
2023-11-02 18:31:19 +08:00
LongYinan
6aaf550241
ci: fix wrangler deploy ( #4803 )
2023-11-01 09:12:00 +00:00
LongYinan
2d62ec72a7
ci: dynamic setup server deploy environment by release tag ( #4790 )
2023-11-01 07:38:15 +00:00
LongYinan
f6b53a1167
Merge pull request #4770 from toeverything/fix-html-template
...
fix(core): description field in html template
2023-10-30 16:37:45 +00:00
LongYinan
99b35c7a93
ci: reduce deployment events on pull requests
2023-10-30 19:57:54 +08:00
LongYinan
fc27a2e906
fix(core): description field in html template
2023-10-30 19:57:54 +08:00
LongYinan
581635f40b
Merge pull request #4709 from toeverything/61/doc-perf
...
perf(server): opmitize updates table
2023-10-30 09:27:19 +00:00
LongYinan
d752086846
Merge pull request #4767 from toeverything/61/fix/data-migration
...
fix(server): wrong prod data migration scripts filter
2023-10-30 09:21:37 +00:00
LongYinan
72babe9157
Merge pull request #4751 from toeverything/yarn-4.0.1
...
chore: upgrade to yarn@4.0.1
2023-10-30 07:49:29 +00:00
LongYinan
b6ca81821e
Merge pull request #4758 from toeverything/dependabot/cargo/all-cargo-dependencies-114856a603
...
chore: bump the all-cargo-dependencies group with 1 update
2023-10-30 07:46:35 +00:00
LongYinan
198befb006
Merge pull request #4748 from fourdim/doc-0627
...
docs: update README.md
2023-10-30 06:37:25 +00:00
LongYinan
fc3516acfb
Merge pull request #4746 from toeverything/data-migrations-system
...
feat(server): add data migration system
2023-10-30 06:36:18 +00:00