mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 07:06:28 +08:00
d43fcdcdd65196a7517dde25eaee503fde8b6500
5988 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
d43fcdcdd6 |
fix(core): unexpected autofill style in dark mode (#7130)
before: <img width="395" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/028a6dcf-2b8f-465a-99e7-5ef147079b5c"> after: <img width="420" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/1ae1b75d-bb64-4b2c-9021-8fb7bb41460b"> |
||
|
|
06534bbc06 | chore(server): register user management resolver (#7118) | ||
|
|
798af4efee |
chore: bump blocksuite (#7120)
## Features - https://github.com/toeverything/BlockSuite/pull/7176 @regischen ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7186 @golok727 - https://github.com/toeverything/BlockSuite/pull/7185 @shvixxl |
||
|
|
235882f6f3 | chore(core): password input should be focused (#7125) | ||
|
|
5b8b2bbf48 |
fix(component): banner should not affect the editor layout (#7128)
Same as #6605 |
||
|
|
03be1d66f9 | feat: add feature flag for peek view (#7122) v0.15.0-canary.20 | ||
|
|
c96fb46751 | feat(core): adjust admin panel style (#7116) | ||
|
|
002b9e80f8 |
feat: e2e tests for peek view (#7112)
fix AFF-1163 |
||
|
|
ea0059fa1b |
feat: center peek view (#7073)
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">Kapture 2024-05-30 at 19.42.46.mp4</video>
|
||
|
|
b65c01c5e1 |
fix(core): listFloatingToolbar does not appear as expected (#7124)
close AFF-1201 |
||
|
|
1b633b5135 |
chore: update prompt (#7117)
fix AFF-1198 |
||
|
|
b13151b480 |
feat(core): add admin panel page (#7115)
The path is `/admin-panel` |
||
|
|
004390f40c |
feat: add chat onboarding entry (#7109)
Upstream: https://github.com/toeverything/blocksuite/pull/7161 |
||
|
|
fe38a3780f |
chore: bump blocksuite (#7113)
## Features - https://github.com/toeverything/BlockSuite/pull/7177 @pengx17 - https://github.com/toeverything/BlockSuite/pull/7174 @donteatfriedrice ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7175 @pengx17 - https://github.com/toeverything/BlockSuite/pull/7180 @fundon |
||
|
|
da3cbc69cf |
fix: patch service syntax (#7080)
Not sure if there is a better pattern like "macros" that can make this more generic. 🤡 also added notify impl to notification service for bs https://github.com/toeverything/blocksuite/pull/7160 |
||
|
|
622239fd41 | fix(server): runtime config overrides won't affect static startup (#7110) v0.15.0-beta.13 | ||
|
|
d7ced4a5d9 |
chore: bump blocksuite (#7107)
## Features - https://github.com/toeverything/BlockSuite/pull/7161 @regischen - https://github.com/toeverything/BlockSuite/pull/7142 @pengx17 - https://github.com/toeverything/BlockSuite/pull/7166 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7151 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/7164 @pengx17 - https://github.com/toeverything/BlockSuite/pull/7163 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/7156 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/7160 @pengx17 - https://github.com/toeverything/BlockSuite/pull/7158 @golok727 - https://github.com/toeverything/BlockSuite/pull/7157 @pengx17 - https://github.com/toeverything/BlockSuite/pull/7154 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7106 @fundon - https://github.com/toeverything/BlockSuite/pull/7136 @fourdim ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7171 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7169 @fundon - https://github.com/toeverything/BlockSuite/pull/7165 @lawvs ## Refactor - https://github.com/toeverything/BlockSuite/pull/7162 @regischen - https://github.com/toeverything/BlockSuite/pull/7153 @akumatus - https://github.com/toeverything/BlockSuite/pull/7149 @golok727 - https://github.com/toeverything/BlockSuite/pull/7152 @Flrande ## Misc - https://github.com/toeverything/BlockSuite/pull/7170 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/7155 @fundon |
||
|
|
d853fc879d | fix(server): deal with nested optional modules (#7101) | ||
|
|
bffbb1ea9f | feat(server): add users management api (#7092) | ||
|
|
0dfcc97c52 | chore: update cleanup history gql (#7103) | ||
|
|
4b30fbc1e2 | feat(server): add copilot prompts management api (#7082) | ||
|
|
1a269a4b52 | fix: missing quota resolver (#7094) | ||
|
|
e417c4cd44 | fix(server): OIDC bug (#7061) | ||
|
|
40b35b7bc2 | chore: update prompts (#7091) v0.14.8 v0.15.0-beta.12 v0.15.0-canary.19 | ||
|
|
638fc62601 |
feat(server): runtime setting support (#5602)
--- <details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev">Graphite</a>)</summary> > ## TL;DR > This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations. > > ## What changed > - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`. > - Added a new model `ApplicationSetting` with properties `key` and `value`. > - Added a new module `RuntimeSettingModule` that exports the `Runtime` service. > - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations. > - Modified the `app.module.ts` file to import the `RuntimeSettingModule`. > - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service. > - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation. > - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service. > > ## How to test > 1. Run the migration script to create the `application_settings` table. > 2. Use the `Runtime` service to get, set, and update runtime configurations. > 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service. > > ## Why make this change > This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application. </details> |
||
|
|
9d296c4b62 |
chore: adjust find in page modal style (#7087)
  |
||
|
|
2ca77d9170 |
refactor: find in page (#7086)
- refactor rxjs data flow - use canvas text to mitigate searchable search box input text issue |
||
|
|
bd9c929d05 |
feat(core): cmd+f search in doc function (#7040)
You can use the cmd+F shortcut key to trigger the FindInPage function. |
||
|
|
5759c15de3 |
chore: bump up @blocksuite/icons version to v2.1.52 (#7046)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.51` -> `2.1.52`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.51/2.1.52) | [](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>toeverything/icons (@​blocksuite/icons)</summary> ### [`v2.1.52`](https://togithub.com/toeverything/icons/compare/6390fb2163adddc73f1d0ec20a9851af7d99474b...aab53a95445916f6a47bc4f81e2d3d5dc1814251) [Compare Source](https://togithub.com/toeverything/icons/compare/6390fb2163adddc73f1d0ec20a9851af7d99474b...aab53a95445916f6a47bc4f81e2d3d5dc1814251) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> |
||
|
|
94e2122703 | fix: add DEPLOYMENT_TYPE env to migration job (#7089) | ||
|
|
0b682c01f0 |
chore: Lock file maintenance (#7074)
[](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> |
||
|
|
f4fdbbe6dd |
feat(core): expose toggle ai onboarding apis (#7039)
```ts
import { toggleGeneralAIOnboarding } from '@affine/core/components/affine/ai-onboarding/apis';
// show
// toggleGeneralAIOnboarding();
toggleGeneralAIOnboarding(true);
// dismiss
toggleGeneralAIOnboarding(false);
```
|
||
|
|
aa4fa44e1a |
chore: bump up blocksuite-canary to v0.15.0-canary-202405271425-84b069d (#7053)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405261009-6c8ef5b` -> `0.15.0-canary-202405271425-84b069d`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405261009-6c8ef5b/0.15.0-canary-202405271425-84b069d) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
|
|
8d9a178428 |
chore: bump up all non-major dependencies (#7084)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`8.4.0` -> `8.5.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/8.4.0/8.5.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/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`14.11.0` -> `14.11.1`](https://renovatebot.com/diffs/npm/happy-dom/14.11.0/14.11.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/) | | [jotai](https://togithub.com/pmndrs/jotai) | [`2.8.1` -> `2.8.2`](https://renovatebot.com/diffs/npm/jotai/2.8.1/2.8.2) | [](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>getsentry/sentry-javascript (@​sentry/react)</summary> ### [`v8.5.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#850) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.4.0...8.5.0) ##### Important Changes - **feat(react): Add React 19 to peer deps ([#​12207](https://togithub.com/getsentry/sentry-javascript/issues/12207))** This release adds support for React 19 in the `@sentry/react` SDK package. - **feat(node): Add `@sentry/node/preload` hook ([#​12213](https://togithub.com/getsentry/sentry-javascript/issues/12213))** This release adds a new way to initialize `@sentry/node`, which allows you to use the SDK with performance instrumentation even if you cannot call `Sentry.init()` at the very start of your app. First, run the SDK like this: ```bash node --require @​sentry/node/preload ./app.js ``` Now, you can initialize and import the rest of the SDK later or asynchronously: ```js const express = require('express'); const Sentry = require('@​sentry/node'); const dsn = await getSentryDsn(); Sentry.init({ dsn }); ``` For more details, head over to the [PR Description of the new feature](https://togithub.com/getsentry/sentry-javascript/pull/12213). Our docs will be updated soon with a new guide. ##### Other Changes - feat(browser): Do not include metrics in base CDN bundle ([#​12230](https://togithub.com/getsentry/sentry-javascript/issues/12230)) - feat(core): Add `startNewTrace` API ([#​12138](https://togithub.com/getsentry/sentry-javascript/issues/12138)) - feat(core): Allow to pass custom scope to `captureFeedback()` ([#​12216](https://togithub.com/getsentry/sentry-javascript/issues/12216)) - feat(core): Only allow `SerializedSession` in session envelope items ([#​11979](https://togithub.com/getsentry/sentry-javascript/issues/11979)) - feat(nextjs): Use Vercel's `waitUntil` to defer freezing of Vercel Lambdas ([#​12133](https://togithub.com/getsentry/sentry-javascript/issues/12133)) - feat(node): Ensure manual OTEL setup works ([#​12214](https://togithub.com/getsentry/sentry-javascript/issues/12214)) - fix(aws-serverless): Avoid minifying `Module._resolveFilename` in Lambda layer bundle ([#​12232](https://togithub.com/getsentry/sentry-javascript/issues/12232)) - fix(aws-serverless): Ensure lambda layer uses default export from `ImportInTheMiddle` ([#​12233](https://togithub.com/getsentry/sentry-javascript/issues/12233)) - fix(browser): Improve browser extension error message check ([#​12146](https://togithub.com/getsentry/sentry-javascript/issues/12146)) - fix(browser): Remove optional chaining in INP code ([#​12196](https://togithub.com/getsentry/sentry-javascript/issues/12196)) - fix(nextjs): Don't report React postpone errors ([#​12194](https://togithub.com/getsentry/sentry-javascript/issues/12194)) - fix(nextjs): Use global scope for generic event filters ([#​12205](https://togithub.com/getsentry/sentry-javascript/issues/12205)) - fix(node): Add origin to redis span ([#​12201](https://togithub.com/getsentry/sentry-javascript/issues/12201)) - fix(node): Change import of `@prisma/instrumentation` to use default import ([#​12185](https://togithub.com/getsentry/sentry-javascript/issues/12185)) - fix(node): Only import `inspector` asynchronously ([#​12231](https://togithub.com/getsentry/sentry-javascript/issues/12231)) - fix(replay): Update matcher for hydration error detection to new React docs ([#​12209](https://togithub.com/getsentry/sentry-javascript/issues/12209)) - ref(profiling-node): Add warning when using non-LTS node ([#​12211](https://togithub.com/getsentry/sentry-javascript/issues/12211)) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v14.11.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.0...6ada81698021c35f074e575ec232d1bb7bafb4bc) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.0...v14.11.1) </details> <details> <summary>pmndrs/jotai (jotai)</summary> ### [`v2.8.2`](https://togithub.com/pmndrs/jotai/compare/v2.8.1...v2.8.2) [Compare Source](https://togithub.com/pmndrs/jotai/compare/v2.8.1...v2.8.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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> |
||
|
|
0dd0432531 | fix(server): update mind map prompt (#7079) v0.15.0-canary.18 | ||
|
|
aff166a0ef | feat(server): add administrator feature (#6995) | ||
|
|
5ba9e2e9b1 |
fix: choose provider correctly (#7081)
fix no provider error in caption generate action |
||
|
|
50dcce891b |
fix(core): clear input value after selecting a tag in page info (#7076)
close AFF-1140 |
||
|
|
cf42faa83b | fix: helm config typo (#7078) | ||
|
|
b356ddbe6e | fix(core): fix ui flashing (#7056) | ||
|
|
306cf2ae6f | fix(core): unexpected re-render in edgeless (#7077) | ||
|
|
2d2a84927d |
fix(core): unable to create blank lines correctly (#7032)
Close #7022 |
||
|
|
8ed0ceb63e |
fix: reset doc mode correctly (#7071)
it looks like a typo to me, but no obvious issue has been reported related to it?v0.15.0-canary.17 |
||
|
|
a365acbd87 |
chore: bump up all non-major dependencies (#7059)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.0.8` -> `19.1.0`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.8/19.1.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/) | devDependencies | minor | | [cloudflare/wrangler-action](https://togithub.com/cloudflare/wrangler-action) | `v3.6.0` -> `v3.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/) | action | patch | | [electron-log](https://togithub.com/megahertz/electron-log) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/electron-log/5.1.4/5.1.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [esbuild](https://togithub.com/evanw/esbuild) | [`0.21.3` -> `0.21.4`](https://renovatebot.com/diffs/npm/esbuild/0.21.3/0.21.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`15.2.4` -> `15.2.5`](https://renovatebot.com/diffs/npm/lint-staged/15.2.4/15.2.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [nodemon](https://nodemon.io) ([source](https://togithub.com/remy/nodemon)) | [`3.1.0` -> `3.1.1`](https://renovatebot.com/diffs/npm/nodemon/3.1.0/3.1.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/) | devDependencies | patch | | [nx](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/nx)) | [`19.0.8` -> `19.1.0`](https://renovatebot.com/diffs/npm/nx/19.0.8/19.1.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/) | devDependencies | minor | | [parking_lot](https://togithub.com/Amanieu/parking_lot) | `0.12.2` -> `0.12.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch | | [react-virtuoso](https://virtuoso.dev/) ([source](https://togithub.com/petyosi/react-virtuoso)) | [`4.7.10` -> `4.7.11`](https://renovatebot.com/diffs/npm/react-virtuoso/4.7.10/4.7.11) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | [serde](https://serde.rs) ([source](https://togithub.com/serde-rs/serde)) | `1.0.202` -> `1.0.203` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch | --- ### Release Notes <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v19.1.0`](https://togithub.com/nrwl/nx/releases/tag/19.1.0) [Compare Source](https://togithub.com/nrwl/nx/compare/19.0.8...19.1.0) ##### 19.1.0 (2024-05-24) ##### 🚀 Features - **angular:** support angular 18.0.0 ([#​22509](https://togithub.com/nrwl/nx/pull/22509)) - **bundling:** added support for declarations (\*.d.ts) ([#​21084](https://togithub.com/nrwl/nx/pull/21084)) - **core:** add an option to seperate the output of show with provide… ([#​23172](https://togithub.com/nrwl/nx/pull/23172)) - **core:** support finding matching projects with only negative patterns ([#​22743](https://togithub.com/nrwl/nx/pull/22743)) - **core:** default show to web view when in interactive terminal ([#​23358](https://togithub.com/nrwl/nx/pull/23358)) - **core:** resolve nx migrate target version against registry ([#​23450](https://togithub.com/nrwl/nx/pull/23450)) - **core:** allow executor definition to point to another executor ([#​23576](https://togithub.com/nrwl/nx/pull/23576)) - **core:** add bun package manager ([#​22602](https://togithub.com/nrwl/nx/pull/22602)) - **graph:** change gradle and nextjs svg ([#​23201](https://togithub.com/nrwl/nx/pull/23201)) - **graph:** show script content in header ([#​23257](https://togithub.com/nrwl/nx/pull/23257)) - **misc:** improve nx cloud setup prompts and messaging ([#​23218](https://togithub.com/nrwl/nx/pull/23218)) - **module-federation:** add remote configuration override ([#​19694](https://togithub.com/nrwl/nx/pull/19694)) - **nextjs:** Update Next & Tailwindcss Package ([#​23313](https://togithub.com/nrwl/nx/pull/23313)) - **nx-dev:** show banner on documentation pages ([#​23266](https://togithub.com/nrwl/nx/pull/23266)) - **nx-dev:** check for missing images ([#​23248](https://togithub.com/nrwl/nx/pull/23248)) - **nx-dev:** put banner above menu ([#​23335](https://togithub.com/nrwl/nx/pull/23335)) - **nx-dev:** Add more blogs ([#​25939](https://togithub.com/nrwl/nx/pull/25939)) - **react:** Add SvgOptions for NxReactWebpackPlugin and WithNx ([#​23283](https://togithub.com/nrwl/nx/pull/23283)) - **react-native:** add optional syncDeps param to storybook executor ([#​22032](https://togithub.com/nrwl/nx/pull/22032)) - **release:** updateDependents generator option for versioning, support circular dependencies ([#​23252](https://togithub.com/nrwl/nx/pull/23252)) - **testing:** updates cypress and [@​cypress/webpack-dev-server](https://togithub.com/cypress/webpack-dev-server) ([#​22902](https://togithub.com/nrwl/nx/pull/22902)) - **testing:** remove --watch=false from inferred vitest targets to keep things inlined with vitest recommendations ([#​25975](https://togithub.com/nrwl/nx/pull/25975)) - **vite:** support incremental builds with nxViteTsPaths ([#​23908](https://togithub.com/nrwl/nx/pull/23908)) ##### 🩹 Fixes - **angular:** libraries should not contain tslib by default [#​21023](https://togithub.com/nrwl/nx/issues/21023) ([#​23423](https://togithub.com/nrwl/nx/pull/23423), [#​21023](https://togithub.com/nrwl/nx/issues/21023)) - **angular:** [@​angular/core](https://togithub.com/angular/core) should always be provided as a shared package [#​19121](https://togithub.com/nrwl/nx/issues/19121) ([#​23464](https://togithub.com/nrwl/nx/pull/23464), [#​19121](https://togithub.com/nrwl/nx/issues/19121)) - **bundling:** rollup does not log build errors ([#​23141](https://togithub.com/nrwl/nx/pull/23141)) - **bundling:** resolve index files from ts paths when running esbuild without bundling ([#​23098](https://togithub.com/nrwl/nx/pull/23098)) - **core:** set yarn berry nodeLinker correctly in migrate command ([#​23249](https://togithub.com/nrwl/nx/pull/23249)) - **core:** show project --web shouldn't error ([#​23251](https://togithub.com/nrwl/nx/pull/23251)) - **core:** update getLastValueFromAsyncIterableIterator to support AsyncIterables returned from executors ([#​23229](https://togithub.com/nrwl/nx/pull/23229)) - **core:** include more binary extensions ([#​22788](https://togithub.com/nrwl/nx/pull/22788), [#​22861](https://togithub.com/nrwl/nx/pull/22861)) - **core:** workspace remove generator should handle no root jest config ([#​23328](https://togithub.com/nrwl/nx/pull/23328)) - **core:** addPlugin should not conflict on project.json targets ([#​23264](https://togithub.com/nrwl/nx/pull/23264)) - **core:** throw a specific error for print-affected and affected graph ([#​23336](https://togithub.com/nrwl/nx/pull/23336)) - **core:** properly indent command output with mixed line endings ([#​23321](https://togithub.com/nrwl/nx/pull/23321)) - **core:** read socket dir on demand & load .env files on client startup ([#​23348](https://togithub.com/nrwl/nx/pull/23348)) - **core:** not load env files when NX_LOAD_DOT_ENV_FILES is false ([#​23231](https://togithub.com/nrwl/nx/pull/23231)) - **core:** addPlugin should not conflict on project.json targ… ([#​23391](https://togithub.com/nrwl/nx/pull/23391)) - **core:** fix affected detection for inputs after named inputs ([#​23354](https://togithub.com/nrwl/nx/pull/23354)) - **core:** fix eslint --help command ([#​23274](https://togithub.com/nrwl/nx/pull/23274)) - **core:** copy native files to tmp file location instead of .nx/cache ([#​23375](https://togithub.com/nrwl/nx/pull/23375)) - **core:** retry interrupted errors when writing to stdout ([#​23359](https://togithub.com/nrwl/nx/pull/23359)) - **core:** do not add an ending new line when serializing a json ([#​23440](https://togithub.com/nrwl/nx/pull/23440)) - **core:** migrate should warn if package does not exist ([#​23317](https://togithub.com/nrwl/nx/pull/23317)) - **core:** azure ci workflow ([#​23453](https://togithub.com/nrwl/nx/pull/23453)) - **core:** only check for `err` in `handleWorkspaceChanges` ([#​23500](https://togithub.com/nrwl/nx/pull/23500)) - **core:** remove duplicate `js-yaml` packages ([f1ae1bc879](https://togithub.com/nrwl/nx/commit/f1ae1bc879)) - **core:** fix alias package parsing and pruning for npm ([#​23474](https://togithub.com/nrwl/nx/pull/23474)) - **core:** install packages per migration when creating commits ([#​23820](https://togithub.com/nrwl/nx/pull/23820)) - **core:** more helpful output for format:check --verbose ([#​23503](https://togithub.com/nrwl/nx/pull/23503)) - **core:** fix buildTargetFromScript takes a long time ([#​25209](https://togithub.com/nrwl/nx/pull/25209)) - **core:** cache getting the package manager to the module scope ([#​25992](https://togithub.com/nrwl/nx/pull/25992)) - **core:** use zkochan/js-yaml directly to avoid false audit errors ([#​25999](https://togithub.com/nrwl/nx/pull/25999)) - **core:** use current user when hashing native file & enable setting its directory via env ([#​24326](https://togithub.com/nrwl/nx/pull/24326)) - **devkit:** combineAsyncIterable should not be blocking when error occurs [#​21393](https://togithub.com/nrwl/nx/issues/21393) ([#​23400](https://togithub.com/nrwl/nx/pull/23400), [#​21393](https://togithub.com/nrwl/nx/issues/21393)) - **gradle:** use local gradlew instead of sdkman ([#​23205](https://togithub.com/nrwl/nx/pull/23205)) - **gradle:** run gradle init if no settings.gradle ([#​23226](https://togithub.com/nrwl/nx/pull/23226)) - **graph:** properly remove <base> tag when generating static graph file ([#​23399](https://togithub.com/nrwl/nx/pull/23399)) - **graph:** reload graph app only when hash changes in watch mode ([#​23434](https://togithub.com/nrwl/nx/pull/23434)) - **js:** Adds mjs files to prettierrcNameOptions ([#​21796](https://togithub.com/nrwl/nx/pull/21796)) - **js:** copy assets handler should correctly handle assets on windows ([#​23351](https://togithub.com/nrwl/nx/pull/23351)) - **js:** Respect loose option provided from config ([#​23406](https://togithub.com/nrwl/nx/pull/23406)) - **js:** fix update package.json ([#​21415](https://togithub.com/nrwl/nx/pull/21415)) - **js:** print warning when --generateLockfile is used with Bun rather than erroring out ([#​25158](https://togithub.com/nrwl/nx/pull/25158)) - **js:** export setup verdaccio generator ([#​24008](https://togithub.com/nrwl/nx/pull/24008)) - **js:** handle tsconfig file with no compilerOptions ([#​25966](https://togithub.com/nrwl/nx/pull/25966)) - **linter:** ensure config.rules is spread into rules in flat config migration ([#​23263](https://togithub.com/nrwl/nx/pull/23263)) - **linter:** ensure all spreads are removed from rules before parsing ([#​23292](https://togithub.com/nrwl/nx/pull/23292)) - **linter:** log transpilation errors of workspace rules ([#​21503](https://togithub.com/nrwl/nx/pull/21503)) - **linter:** rename languageSettings to languageOptions for flat config migration ([#​22924](https://togithub.com/nrwl/nx/pull/22924)) - **linter:** fix migrating projects with the eslint plugin ([#​23147](https://togithub.com/nrwl/nx/pull/23147)) - **linter:** support eslint v9 ([#​24632](https://togithub.com/nrwl/nx/pull/24632)) - **linter:** only set flat config env for eslint v9+ ([#​25189](https://togithub.com/nrwl/nx/pull/25189)) - **linter:** only depend on eslint v8 ([#​25938](https://togithub.com/nrwl/nx/pull/25938)) - **linter:** migrate no-extra-semi rules into user config, out of nx extendable configs ([#​26011](https://togithub.com/nrwl/nx/pull/26011)) - **linter:** move eslint to peerDependencies and allow eslint 9 ([#​26013](https://togithub.com/nrwl/nx/pull/26013)) - **misc:** create workspaces and default app with the name as provided ([#​23196](https://togithub.com/nrwl/nx/pull/23196)) - **misc:** adjust deprecation messages to v20 ([#​23223](https://togithub.com/nrwl/nx/pull/23223)) - **misc:** move e2e-ci to a separate parallel 1 command ([#​23305](https://togithub.com/nrwl/nx/pull/23305)) - **misc:** guard against failure to decode file in migration ([#​23069](https://togithub.com/nrwl/nx/pull/23069)) - **misc:** adjust npm keywords ([#​24743](https://togithub.com/nrwl/nx/pull/24743)) - **misc:** various inference plugins caching should track changes ([#​23315](https://togithub.com/nrwl/nx/pull/23315)) - **module-federation:** nested projects should be ordered first when reading from tsconfig paths [#​20284](https://togithub.com/nrwl/nx/issues/20284) ([#​23212](https://togithub.com/nrwl/nx/pull/23212), [#​20284](https://togithub.com/nrwl/nx/issues/20284)) - **module-federation:** Throw an error if remote is invalid ([#​23100](https://togithub.com/nrwl/nx/pull/23100)) - **nextjs:** Moving a library using [@​nx/workspace](https://togithub.com/nx/workspace):move should update … ([#​23311](https://togithub.com/nrwl/nx/pull/23311)) - **nextjs:** additional experimental HTTPS options ([#​23334](https://togithub.com/nrwl/nx/pull/23334)) - **node:** Docker generator should work ([#​23452](https://togithub.com/nrwl/nx/pull/23452)) - **nx-cloud:** ensure generated ci workflows use dlx for nx-cloud ([#​23333](https://togithub.com/nrwl/nx/pull/23333)) - **nx-dev:** fix home page mobile menu ([#​23250](https://togithub.com/nrwl/nx/pull/23250)) - **nx-dev:** move table of contents down ([#​23350](https://togithub.com/nrwl/nx/pull/23350)) - **react:** respect unitTestRunner passed to the generator ([#​23383](https://togithub.com/nrwl/nx/pull/23383)) - **react:** remote generator should update host's app routes ([#​23499](https://togithub.com/nrwl/nx/pull/23499)) - **react:** applications not using plugin usage should set target defaults ([#​23582](https://togithub.com/nrwl/nx/pull/23582)) - **react-native:** fix test-setup for react native/expo jest ([#​23314](https://togithub.com/nrwl/nx/pull/23314)) - **release:** ensure changelog renderers are resolvable when processing config ([#​23214](https://togithub.com/nrwl/nx/pull/23214)) - **release:** invalid tag for fixed groups without changes ([#​22800](https://togithub.com/nrwl/nx/pull/22800)) - **release:** npm publish error when file path contains spaces ([#​24750](https://togithub.com/nrwl/nx/pull/24750)) - **repo:** hash proper projects when nx ([#​23506](https://togithub.com/nrwl/nx/pull/23506)) - **storybook:** should handle inferred cypress when generating cypress project [#​21770](https://togithub.com/nrwl/nx/issues/21770) ([#​23327](https://togithub.com/nrwl/nx/pull/23327), [#​21770](https://togithub.com/nrwl/nx/issues/21770)) - **testing:** resolve absolute paths for ts path mappings in jest resolver ([#​23346](https://togithub.com/nrwl/nx/pull/23346)) - **testing:** ignore jest-sequencer- paths in jest resolver ([#​23396](https://togithub.com/nrwl/nx/pull/23396)) - **testing:** check for project eslint config file in cypress and pla… ([#​23401](https://togithub.com/nrwl/nx/pull/23401)) - **testing:** handle existing jest preset file correctly ([#​23437](https://togithub.com/nrwl/nx/pull/23437)) - **vite:** don't generate tasks for remix projects ([#​22551](https://togithub.com/nrwl/nx/pull/22551)) - **vite:** get tsconfig from new path including target ([#​22775](https://togithub.com/nrwl/nx/pull/22775)) - **vite:** support passing --watch to inferred vitest commands ([#​23298](https://togithub.com/nrwl/nx/pull/23298)) - **vite:** generate vitest cache dir scoped to each project root and normalize vite cache dir ([#​23330](https://togithub.com/nrwl/nx/pull/23330)) - **vite:** migration should handle config object correctly [#​20921](https://togithub.com/nrwl/nx/issues/20921) ([#​23364](https://togithub.com/nrwl/nx/pull/23364), [#​20921](https://togithub.com/nrwl/nx/issues/20921)) - **vite:** add prop to config to ensure output dir is emptied [#​23382](https://togithub.com/nrwl/nx/issues/23382) ([#​23466](https://togithub.com/nrwl/nx/pull/23466), [#​23382](https://togithub.com/nrwl/nx/issues/23382)) - **vue:** ootb unit testing should work with --routing [#​19921](https://togithub.com/nrwl/nx/issues/19921) ([#​23441](https://togithub.com/nrwl/nx/pull/23441), [#​19921](https://togithub.com/nrwl/nx/issues/19921)) - **web:** Add strict mode ([#​23457](https://togithub.com/nrwl/nx/pull/23457)) - **web:** Add strict mode" ([#​23472](https://togithub.com/nrwl/nx/pull/23472)) - **web:** Add strict mode for [@​nx/web](https://togithub.com/nx/web) ([#​23497](https://togithub.com/nrwl/nx/pull/23497)) - **webpack:** fix default compiler option ([#​22762](https://togithub.com/nrwl/nx/pull/22762)) - **webpack:** don't overwrite output config ([#​22116](https://togithub.com/nrwl/nx/pull/22116)) - **webpack:** publicPath and rebaseRootRelative ([#​20992](https://togithub.com/nrwl/nx/pull/20992)) - **webpack:** apply-base-config should initialize options it will set [#​23296](https://togithub.com/nrwl/nx/issues/23296) ([#​23368](https://togithub.com/nrwl/nx/pull/23368), [#​23296](https://togithub.com/nrwl/nx/issues/23296)) - **webpack:** only add entrypoints if they are intentionally injected [#​20049](https://togithub.com/nrwl/nx/issues/20049) ([#​23444](https://togithub.com/nrwl/nx/pull/23444), [#​20049](https://togithub.com/nrwl/nx/issues/20049)) ##### ❤️ Thank You - andriizavoiko [@​andriizavoiko](https://togithub.com/andriizavoiko) - arekkubaczkowski [@​arekkubaczkowski](https://togithub.com/arekkubaczkowski) - castleadmin [@​castleadmin](https://togithub.com/castleadmin) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Daniel Santiago - Denis Bendrikov - dmcweeney - Dmitry Zakharov [@​pumano](https://togithub.com/pumano) - Edward Wang [@​wzc0415](https://togithub.com/wzc0415) - Emily Xiong [@​xiongemi](https://togithub.com/xiongemi) - Isaac Mann [@​isaacplmann](https://togithub.com/isaacplmann) - Jack Hsu [@​jaysoo](https://togithub.com/jaysoo) - James Henry [@​JamesHenry](https://togithub.com/JamesHenry) - Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz) - Jonathan Cammisuli - Jordan Hall [@​Jordan-Hall](https://togithub.com/Jordan-Hall) - Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini) - Krystian Sowiński [@​plumcoding](https://togithub.com/plumcoding) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - Mateo Tibaquirá - Matthias Stemmler [@​ms-tng](https://togithub.com/ms-tng) - MaxKless [@​MaxKless](https://togithub.com/MaxKless) - Mehrad Rafigh [@​mehrad-rafigh](https://togithub.com/mehrad-rafigh) - Mike Peters - Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) - Patrick P [@​ppfenning92](https://togithub.com/ppfenning92) - Phillip Barta [@​Phillip9587](https://togithub.com/Phillip9587) - Robin Csutorás - Sean Sanker - Younes Jaaidi </details> <details> <summary>cloudflare/wrangler-action (cloudflare/wrangler-action)</summary> ### [`v3.6.1`](https://togithub.com/cloudflare/wrangler-action/releases/tag/v3.6.1) [Compare Source](https://togithub.com/cloudflare/wrangler-action/compare/v3.6.0...v3.6.1) ##### Patch Changes - [#​265](https://togithub.com/cloudflare/wrangler-action/pull/265) [`2d275a8f2d279dc91912c1ff8023af109ef3280c`](https://togithub.com/cloudflare/wrangler-action/commit/2d275a8f2d279dc91912c1ff8023af109ef3280c) Thanks [@​Maximo-Guk](https://togithub.com/Maximo-Guk)! - Reverts [#​235](https://togithub.com/cloudflare/wrangler-action/issues/235) which may have caused the latest version of wrangler to be installed, if no wrangler version was found </details> <details> <summary>megahertz/electron-log (electron-log)</summary> ### [`v5.1.5`](https://togithub.com/megahertz/electron-log/compare/v5.1.4...v5.1.5) [Compare Source](https://togithub.com/megahertz/electron-log/compare/v5.1.4...v5.1.5) </details> <details> <summary>evanw/esbuild (esbuild)</summary> ### [`v0.21.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0214) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.3...v0.21.4) - Update support for import assertions and import attributes in node ([#​3778](https://togithub.com/evanw/esbuild/issues/3778)) Import assertions (the `assert` keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with `--target=node22` or above: ▲ [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with] example.mjs:1:40: 1 │ import json from "esbuild/package.json" assert { type: "json" } │ ~~~~~~ ╵ with Did you mean to use "with" instead of "assert"? Import attributes (the `with` keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with `--target=node18.N` if `N` is 20 or greater. - Fix `for await` transform when a label is present This release fixes a bug where the `for await` transform, which wraps the loop in a `try` statement, previously failed to also move the loop's label into the `try` statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code: ```js // Original code async function test() { outer: for await (const x of [Promise.resolve([0, 1])]) { for (const y of x) if (y) break outer throw 'fail' } } // Old output (with --target=es6) function test() { return __async(this, null, function* () { outer: try { for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } // New output (with --target=es6) function test() { return __async(this, null, function* () { try { outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } ``` - Do additional constant folding after cross-module enum inlining ([#​3416](https://togithub.com/evanw/esbuild/issues/3416), [#​3425](https://togithub.com/evanw/esbuild/issues/3425)) This release adds a few more cases where esbuild does constant folding after cross-module enum inlining. ```ts // Original code: enum.ts export enum Platform { WINDOWS = 'windows', MACOS = 'macos', LINUX = 'linux', } // Original code: main.ts import { Platform } from './enum'; declare const PLATFORM: string; export function logPlatform() { if (PLATFORM == Platform.WINDOWS) console.log('Windows'); else if (PLATFORM == Platform.MACOS) console.log('macOS'); else if (PLATFORM == Platform.LINUX) console.log('Linux'); else console.log('Other'); } // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform}; // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){console.log("macOS")}export{n as logPlatform}; ``` - Pass import attributes to on-resolve plugins ([#​3384](https://togithub.com/evanw/esbuild/issues/3384), [#​3639](https://togithub.com/evanw/esbuild/issues/3639), [#​3646](https://togithub.com/evanw/esbuild/issues/3646)) With this release, on-resolve plugins will now have access to the import attributes on the import via the `with` property of the arguments object. This mirrors the `with` property of the arguments object that's already passed to on-load plugins. In addition, you can now pass `with` to the `resolve()` API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written: ```js const examplePlugin = { name: 'Example plugin', setup(build) { build.onResolve({ filter: /.*/ }, args => { if (args.with.type === 'external') return { external: true } }) } } require('esbuild').build({ stdin: { contents: ` import foo from "./foo" with { type: "external" } foo() `, }, bundle: true, format: 'esm', write: false, plugins: [examplePlugin], }).then(result => { console.log(result.outputFiles[0].text) }) ``` - Formatting support for the `@position-try` rule ([#​3773](https://togithub.com/evanw/esbuild/issues/3773)) Chrome shipped this new CSS at-rule in version 125 as part of the [CSS anchor positioning API](https://developer.chrome.com/blog/anchor-positioning-api). With this release, esbuild now knows to expect a declaration list inside of the `@position-try` body block and will format it appropriately. - Always allow internal string import and export aliases ([#​3343](https://togithub.com/evanw/esbuild/issues/3343)) Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuild's `inject` feature even when the target is earlier than ES2022. </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v15.2.5`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://togithub.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@​iiroj](https://togithub.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#​1423](https://togithub.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://togithub.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@​iiroj](https://togithub.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://togithub.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@​iiroj](https://togithub.com/iiroj)! - Upgrade micromatch@4.0.7 </details> <details> <summary>remy/nodemon (nodemon)</summary> ### [`v3.1.1`](https://togithub.com/remy/nodemon/releases/tag/v3.1.1) [Compare Source](https://togithub.com/remy/nodemon/compare/v3.1.0...v3.1.1) ##### Bug Fixes - add types to help with required nodemon usage ([#​2204](https://togithub.com/remy/nodemon/issues/2204)) ([cd27c0b](https://togithub.com/remy/nodemon/commit/cd27c0b50584e078a10338ef0c37282255f3f9ca)) </details> <details> <summary>Amanieu/parking_lot (parking_lot)</summary> ### [`v0.12.3`](https://togithub.com/Amanieu/parking_lot/blob/HEAD/CHANGELOG.md#parkinglot-0123-2024-05-24) [Compare Source](https://togithub.com/Amanieu/parking_lot/compare/0.12.2...0.12.3) - Export types provided by arc_lock feature ([#​442](https://togithub.com/Amanieu/parking_lot/issues/442)) </details> <details> <summary>petyosi/react-virtuoso (react-virtuoso)</summary> ### [`v4.7.11`](https://togithub.com/petyosi/react-virtuoso/releases/tag/v4.7.11) [Compare Source](https://togithub.com/petyosi/react-virtuoso/compare/v4.7.10...v4.7.11) ##### Bug Fixes - update initialTopMostItemIndex type in TableVirtuoso interface ([#​1091](https://togithub.com/petyosi/react-virtuoso/issues/1091)) ([9a93e93](https://togithub.com/petyosi/react-virtuoso/commit/9a93e93dcbe5c02ad61dbd87d5e0c27251a583c6)) </details> <details> <summary>serde-rs/serde (serde)</summary> ### [`v1.0.203`](https://togithub.com/serde-rs/serde/compare/v1.0.202...v1.0.203) [Compare Source](https://togithub.com/serde-rs/serde/compare/v1.0.202...v1.0.203) </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> |
||
|
|
13b51c7b22 |
build: enable new decorator for swc (#7070)
bs now has migrated to stage 3 decorators. to enable running affine locally with debugging blocksuite, we need to [turn this on](https://swc.rs/docs/configuration/compilation#jsctransformdecoratorversion). Question: It seems affine core code already uses stage 3 decorators, however we do not have an issue without this flag since we haven't used class field decorators that uses the `accessor` keyword? |
||
|
|
a440e85ffe |
chore: bump blocksuite (#7075)
## Features - toeverything/blocksuite#6937 @Flrande ## Bugfix - toeverything/blocksuite#7137 @fundon - toeverything/blocksuite#7126 @golok727 - toeverything/blocksuite#7128 @CatsJuice - toeverything/blocksuite#7130 @fundon ## Refactor ## Misc - toeverything/blocksuite#7131 @fundon ## Additional changes Adjust the awareness provider so that it only obtains awareness instances when connect, and fixes the dependencies between workspace components. |
||
|
|
5552c02e4a |
chore: bump up all non-major dependencies (#7050)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.582.0` -> `3.583.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.582.0/3.583.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/) | devDependencies | minor | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.0.6` -> `19.0.8`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.6/19.0.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | [cloudflare/wrangler-action](https://togithub.com/cloudflare/wrangler-action) | `v3.5.0` -> `v3.6.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/) | action | minor | | [glob](https://togithub.com/isaacs/node-glob) | [`10.4.0` -> `10.4.1`](https://renovatebot.com/diffs/npm/glob/10.4.0/10.4.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/) | devDependencies | patch | | [nx](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/nx)) | [`19.0.7` -> `19.0.8`](https://renovatebot.com/diffs/npm/nx/19.0.7/19.0.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.583.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35830-2024-05-23) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.582.0...v3.583.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v19.0.8`](https://togithub.com/nrwl/nx/releases/tag/19.0.8) [Compare Source](https://togithub.com/nrwl/nx/compare/19.0.7...19.0.8) ##### 19.0.8 (2024-05-24) ##### 🚀 Features - **testing:** remove --watch=false from inferred vitest targets to keep things inlined with vitest recommendations ([#​25975](https://togithub.com/nrwl/nx/pull/25975)) ##### 🩹 Fixes - **core:** cache getting the package manager to the module scope ([#​25992](https://togithub.com/nrwl/nx/pull/25992)) - **core:** use zkochan/js-yaml directly to avoid false audit errors ([#​25999](https://togithub.com/nrwl/nx/pull/25999)) - **core:** use current user when hashing native file & enable setting its directory via env ([#​24326](https://togithub.com/nrwl/nx/pull/24326)) - **js:** handle tsconfig file with no compilerOptions ([#​25966](https://togithub.com/nrwl/nx/pull/25966)) - **misc:** various inference plugins caching should track changes ([#​23315](https://togithub.com/nrwl/nx/pull/23315)) ##### ❤️ Thank You - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Isaac Mann [@​isaacplmann](https://togithub.com/isaacplmann) - Jack Hsu [@​jaysoo](https://togithub.com/jaysoo) - Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz) - MaxKless [@​MaxKless](https://togithub.com/MaxKless) - Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav) ### [`v19.0.7`](https://togithub.com/nrwl/nx/releases/tag/19.0.7) [Compare Source](https://togithub.com/nrwl/nx/compare/19.0.6...19.0.7) #### 19.0.7 (2024-05-23) ##### 🚀 Features - **nx-dev:** Add more blogs ([#​25939](https://togithub.com/nrwl/nx/pull/25939)) ##### 🩹 Fixes - **core:** more helpful output for format:check --verbose ([#​23503](https://togithub.com/nrwl/nx/pull/23503)) - **core:** fix buildTargetFromScript takes a long time ([#​25209](https://togithub.com/nrwl/nx/pull/25209)) - **js:** export setup verdaccio generator ([#​24008](https://togithub.com/nrwl/nx/pull/24008)) - **linter:** only set flat config env for eslint v9+ ([#​25189](https://togithub.com/nrwl/nx/pull/25189)) - **linter:** only depend on eslint v8 ([#​25938](https://togithub.com/nrwl/nx/pull/25938)) - **misc:** adjust npm keywords ([#​24743](https://togithub.com/nrwl/nx/pull/24743)) - **release:** npm publish error when file path contains spaces ([#​24750](https://togithub.com/nrwl/nx/pull/24750)) ##### ❤️ Thank You - dmcweeney - Emily Xiong [@​xiongemi](https://togithub.com/xiongemi) - James Henry [@​JamesHenry](https://togithub.com/JamesHenry) - Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) </details> <details> <summary>cloudflare/wrangler-action (cloudflare/wrangler-action)</summary> ### [`v3.6.0`](https://togithub.com/cloudflare/wrangler-action/releases/tag/v3.6.0) [Compare Source](https://togithub.com/cloudflare/wrangler-action/compare/v3.5.0...v3.6.0) ##### Minor Changes - [#​235](https://togithub.com/cloudflare/wrangler-action/pull/235) [`0545ad285acaff2b92053d636ee17fb303b4c5f5`](https://togithub.com/cloudflare/wrangler-action/commit/0545ad285acaff2b92053d636ee17fb303b4c5f5) Thanks [@​AdiRishi](https://togithub.com/AdiRishi)! - wrangler-action will now re-use existing wrangler installations when available </details> <details> <summary>isaacs/node-glob (glob)</summary> ### [`v10.4.1`](https://togithub.com/isaacs/node-glob/compare/v10.4.0...3cb1ed75b2631a567030131f422b961818bedf76) [Compare Source](https://togithub.com/isaacs/node-glob/compare/v10.4.0...v10.4.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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> |
||
|
|
88d4351c28 |
feat: provide notification to bs (#7002)
upstream https://github.com/toeverything/blocksuite/pull/7101 fix AFF-1120 |
||
|
|
919e40f28e | feat: support more ai image actions (#7027) | ||
|
|
950e163314 |
feat(core): bump blocksuite (#7055)
## Features - https://github.com/toeverything/BlockSuite/pull/7107 @donteatfriedrice ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7129 @fundon ## Refactor - https://github.com/toeverything/BlockSuite/pull/7134 @zzj3720 ## Misc |