pengx17
|
df87300a3f
|
chore(electron): upgrade electron to v32 (#8235)
workaround provided by https://github.com/electron/electron/issues/43556
|
2024-09-13 04:23:10 +00:00 |
|
renovate
|
8800abded7
|
chore: bump up oxlint version to v0.9.5 (#8155)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.9.2` -> `0.9.5`](https://renovatebot.com/diffs/npm/oxlint/0.9.2/0.9.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/) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.9.5`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.5): oxlint v0.9.5
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.4...oxlint_v0.9.5)
#### \[0.9.5] - 2024-09-12
##### Features
- [`4b04f65`](https://redirect.github.com/oxc-project/oxc/commit/4b04f65) linter: Implement `no-plusplus` rule ([#​5570](https://redirect.github.com/oxc-project/oxc/issues/5570)) (Cam McHenry)
- [`9ca2593`](https://redirect.github.com/oxc-project/oxc/commit/9ca2593) linter: Eslint/sort-keys ([#​4845](https://redirect.github.com/oxc-project/oxc/issues/4845)) (Na'aman Hirschfeld)
- [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac)
- [`24d6a47`](https://redirect.github.com/oxc-project/oxc/commit/24d6a47) linter: Implement `eslint/no-invalid-regexp` ([#​5443](https://redirect.github.com/oxc-project/oxc/issues/5443)) (Boshen)
- [`c6bbf94`](https://redirect.github.com/oxc-project/oxc/commit/c6bbf94) minifier: Constant fold unary expression ([#​5669](https://redirect.github.com/oxc-project/oxc/issues/5669)) (Boshen)
##### Bug Fixes
- [`af6d240`](https://redirect.github.com/oxc-project/oxc/commit/af6d240) linter: Panic in consistent-function-scoping ([#​5613](https://redirect.github.com/oxc-project/oxc/issues/5613)) (DonIsaac)
- [`54e2e76`](https://redirect.github.com/oxc-project/oxc/commit/54e2e76) linter: `react/no_set_state` + `react/no_string_refs` rules find correct parent ([#​5615](https://redirect.github.com/oxc-project/oxc/issues/5615)) (overlookmotel)
- [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) linter: Fix no_unused_vars panic when encountering unicode ([#​5582](https://redirect.github.com/oxc-project/oxc/issues/5582)) (Boshen)
##### Performance
- [`bfe9186`](https://redirect.github.com/oxc-project/oxc/commit/bfe9186) linter: Use `cow_replace` instead of `replace` ([#​5643](https://redirect.github.com/oxc-project/oxc/issues/5643)) (dalaoshu)
- [`e3ae5db`](https://redirect.github.com/oxc-project/oxc/commit/e3ae5db) linter: Use cow_to_ascii_lowercase/uppercase ([#​5637](https://redirect.github.com/oxc-project/oxc/issues/5637)) (heygsc)
- [`a0370bf`](https://redirect.github.com/oxc-project/oxc/commit/a0370bf) linter: Use cow_utils in no_script_url ([#​5633](https://redirect.github.com/oxc-project/oxc/issues/5633)) (heygsc)
- [`37e922c`](https://redirect.github.com/oxc-project/oxc/commit/37e922c) linter: `eslint/no_shadow_restricted_names` use `run_on_symbol` ([#​5618](https://redirect.github.com/oxc-project/oxc/issues/5618)) (overlookmotel)
- [`0b7fccf`](https://redirect.github.com/oxc-project/oxc/commit/0b7fccf) linter: `react/no_set_state` + `react/no_string_refs` rules reduce iteration over ancestors ([#​5616](https://redirect.github.com/oxc-project/oxc/issues/5616)) (overlookmotel)
- [`2c3f3fe`](https://redirect.github.com/oxc-project/oxc/commit/2c3f3fe) linter: Make `jsx_key` slightly faster ([#​5585](https://redirect.github.com/oxc-project/oxc/issues/5585)) (Boshen)
- [`cd81d12`](https://redirect.github.com/oxc-project/oxc/commit/cd81d12) linter: Add `should_run` to check path only once to nextjs/no_typos ([#​5584](https://redirect.github.com/oxc-project/oxc/issues/5584)) (Boshen)
- [`d18c896`](https://redirect.github.com/oxc-project/oxc/commit/d18c896) rust: Use `cow_utils` instead ([#​5664](https://redirect.github.com/oxc-project/oxc/issues/5664)) (dalaoshu)
##### Documentation
- [`64f9575`](https://redirect.github.com/oxc-project/oxc/commit/64f9575) linter: Add plugin usage to example with configuration (Boshen)
- [`8c9179d`](https://redirect.github.com/oxc-project/oxc/commit/8c9179d) linter: Fix typos ([#​5591](https://redirect.github.com/oxc-project/oxc/issues/5591)) (Brian Donovan)
##### Refactor
- [`9e9435f`](https://redirect.github.com/oxc-project/oxc/commit/9e9435f) linter: Add `LintFilter` ([#​5685](https://redirect.github.com/oxc-project/oxc/issues/5685)) (DonIsaac)
- [`4f70fe5`](https://redirect.github.com/oxc-project/oxc/commit/4f70fe5) linter: Start internal/external split of LintPluginOptions ([#​5660](https://redirect.github.com/oxc-project/oxc/issues/5660)) (DonIsaac)
- [`5ae9b48`](https://redirect.github.com/oxc-project/oxc/commit/5ae9b48) linter: Start internal/external split of `OxlintOptions` ([#​5659](https://redirect.github.com/oxc-project/oxc/issues/5659)) (DonIsaac)
- [`c8bc6f0`](https://redirect.github.com/oxc-project/oxc/commit/c8bc6f0) linter: Use `std::ptr::eq` ([#​5649](https://redirect.github.com/oxc-project/oxc/issues/5649)) (overlookmotel)
- [`a37c064`](https://redirect.github.com/oxc-project/oxc/commit/a37c064) linter: Use `ContentHash` for `no_duplicate_case`; remove `calculate_hash` ([#​5648](https://redirect.github.com/oxc-project/oxc/issues/5648)) (Boshen)
- [`0b3c1d7`](https://redirect.github.com/oxc-project/oxc/commit/0b3c1d7) linter: Start internal/external split of `OxlintConfig` ([#​5595](https://redirect.github.com/oxc-project/oxc/issues/5595)) (DonIsaac)
- [`89bdf55`](https://redirect.github.com/oxc-project/oxc/commit/89bdf55) linter: Inline `Rule` trait default methods ([#​5619](https://redirect.github.com/oxc-project/oxc/issues/5619)) (overlookmotel)
- [`afea8d5`](https://redirect.github.com/oxc-project/oxc/commit/afea8d5) linter: Rename `Rule` trait method params ([#​5617](https://redirect.github.com/oxc-project/oxc/issues/5617)) (overlookmotel)
- [`4e748b5`](https://redirect.github.com/oxc-project/oxc/commit/4e748b5) linter: Replace ast "compare by hash" to "compare by content" ([#​5602](https://redirect.github.com/oxc-project/oxc/issues/5602)) (dalaoshu)
- [`bac03e3`](https://redirect.github.com/oxc-project/oxc/commit/bac03e3) linter: Make fields of `LintServiceOptions` private ([#​5593](https://redirect.github.com/oxc-project/oxc/issues/5593)) (DonIsaac)
- [`2661d8b`](https://redirect.github.com/oxc-project/oxc/commit/2661d8b) linter: Jest prefer_strict_equal ([#​5588](https://redirect.github.com/oxc-project/oxc/issues/5588)) (IWANABETHATGUY)
- [`067f9b5`](https://redirect.github.com/oxc-project/oxc/commit/067f9b5) semantic: Introduce `IsGlobalReference` trait ([#​5672](https://redirect.github.com/oxc-project/oxc/issues/5672)) (Boshen)- [`26d9235`](https://redirect.github.com/oxc-project/oxc/commit/26d9235) Enable clippy::ref_as_ptr ([#​5577](https://redirect.github.com/oxc-project/oxc/issues/5577)) (夕舞八弦)
##### Testing
- [`8e79f8d`](https://redirect.github.com/oxc-project/oxc/commit/8e79f8d) linter: Add class method test cases for `oxc/no-async-await` ([#​5550](https://redirect.github.com/oxc-project/oxc/issues/5550)) (DonIsaac)
- [`3835189`](https://redirect.github.com/oxc-project/oxc/commit/3835189) linter: Add test case for no_unused_vars in [`3b87ac4`](https://redirect.github.com/oxc-project/oxc/commit/3b87ac4) (Boshen)
- [`5f27551`](https://redirect.github.com/oxc-project/oxc/commit/5f27551) linter: Add a passing case to no_undef ([#​5580](https://redirect.github.com/oxc-project/oxc/issues/5580)) (Boshen)
### [`v0.9.4`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#094---2024-09-12)
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.3...oxlint_v0.9.4)
##### Features
- [`023c160`](https://redirect.github.com/oxc-project/oxc/commit/023c160) linter: Impl `Serialize` for `OxlintConfig` ([#​5594](https://redirect.github.com/oxc-project/oxc/issues/5594)) (DonIsaac)
### [`v0.9.3`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#093---2024-09-07)
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.2...oxlint_v0.9.3)
##### Styling
- [`694f032`](https://redirect.github.com/oxc-project/oxc/commit/694f032) Add trailing line breaks to `package.json` files ([#​5542](https://redirect.github.com/oxc-project/oxc/issues/5542)) (overlookmotel)
</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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
|
2024-09-13 04:07:34 +00:00 |
|
renovate
|
7f4b069f5e
|
chore: bump up @chromatic-com/storybook version to v2 (#8178)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@chromatic-com/storybook](https://redirect.github.com/chromaui/addon-visual-tests) | [`^1` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@chromatic-com%2fstorybook/1.8.0/2.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>chromaui/addon-visual-tests (@​chromatic-com/storybook)</summary>
### [`v2.0.0`](https://redirect.github.com/chromaui/addon-visual-tests/blob/HEAD/CHANGELOG.md#v200-Mon-Sep-09-2024)
[Compare Source](https://redirect.github.com/chromaui/addon-visual-tests/compare/v1.9.0...v2.0.0)
##### 💥 Breaking Change
- Align with Storybook 8.2 core package layout [#​330](https://redirect.github.com/chromaui/addon-visual-tests/pull/330) ([@​ndelangen](https://redirect.github.com/ndelangen) [@​ghengeveld](https://redirect.github.com/ghengeveld))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://redirect.github.com/ghengeveld))
- Norbert de Langen ([@​ndelangen](https://redirect.github.com/ndelangen))
***
### [`v1.9.0`](https://redirect.github.com/chromaui/addon-visual-tests/blob/HEAD/CHANGELOG.md#v190-Fri-Sep-06-2024)
[Compare Source](https://redirect.github.com/chromaui/addon-visual-tests/compare/v1.8.0...v1.9.0)
##### 🚀 Enhancement
- Relay client-side fetch requests to the server using the Storybook channel API [#​331](https://redirect.github.com/chromaui/addon-visual-tests/pull/331) ([@​ghengeveld](https://redirect.github.com/ghengeveld))
##### Authors: 1
- Gert Hengeveld ([@​ghengeveld](https://redirect.github.com/ghengeveld))
***
</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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
|
2024-09-13 03:51:36 +00:00 |
|
renovate
|
b690653451
|
chore: bump up sinon version to v19 (#8231)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sinon](https://sinonjs.org/) ([source](https://redirect.github.com/sinonjs/sinon)) | [`^18.0.0` -> `^19.0.0`](https://renovatebot.com/diffs/npm/sinon/18.0.0/19.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>sinonjs/sinon (sinon)</summary>
### [`v19.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1900)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.1...v19.0.0)
- [`3534ab4f`](https://redirect.github.com/sinonjs/sinon/commit/3534ab4fb02803173d9ca34f6020c3701d82abc9)
Bump samsam and nise to latest versions ([#​2617](https://redirect.github.com/sinonjs/sinon/issues/2617)) (Carl-Erik Kopseng)
> Ensures consistency and less breakage when there are "circular" dependencies.
- [`912c568d`](https://redirect.github.com/sinonjs/sinon/commit/912c568d3038dc0bea0e8a7b25e4298087c7c99c)
upgrade fake timers and others ([#​2612](https://redirect.github.com/sinonjs/sinon/issues/2612)) (Carl-Erik Kopseng)
> - Upgrade dependencies (includes breaking API in Fake Timers)
> - fake-timers: no longer creating dates using the original Date class, but a subclass (proxy)
- [`9715798e`](https://redirect.github.com/sinonjs/sinon/commit/9715798e30e59b110a1349cd0bd087b0fa5f9af2)
Use newer @​mochify/\* packages ([#​2609](https://redirect.github.com/sinonjs/sinon/issues/2609)) (Carl-Erik Kopseng)
> Co-authored-by: Maximilian Antoni <mail@maxantoni.de>
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.*
### [`v18.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1801)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.0...v18.0.1)
Basically a patch release to update a transitive dependency in Nise.
- [`03e33ec6`](https://redirect.github.com/sinonjs/sinon/commit/03e33ec6475d7e7acfe62676af63eb2344cd6db0)
Pin fake-timers@11.2.2 to avoid breaking change (Carl-Erik Kopseng)
- [`5a7924ad`](https://redirect.github.com/sinonjs/sinon/commit/5a7924ad94f37b9985899fc8a1dbfd29cbdd7967)
Add createStubInstance header in stubs.md (Daniel Kaplan)
- [`ad6804cd`](https://redirect.github.com/sinonjs/sinon/commit/ad6804cd4143eaaaa8f989dae20dbf7295444893)
Bump elliptic from 6.5.5 to 6.5.7 ([#​2608](https://redirect.github.com/sinonjs/sinon/issues/2608)) (dependabot\[bot])
- [`033287bd`](https://redirect.github.com/sinonjs/sinon/commit/033287bded8dfce16653b33292ef2fef9ed487b0)
Bump path-to-regexp and nise ([#​2611](https://redirect.github.com/sinonjs/sinon/issues/2611)) (dependabot\[bot])
> Bumps [path-to-regexp](https://redirect.github.com/pillarjs/path-to-regexp) to 8.1.0 and updates ancestor dependency [nise](https://redirect.github.com/sinonjs/nise). These dependencies need to be updated together.
>
> Updates `path-to-regexp` from 6.2.2 to 8.1.0
>
> - [Release notes](https://redirect.github.com/pillarjs/path-to-regexp/releases)
> - [Changelog](https://redirect.github.com/pillarjs/path-to-regexp/blob/master/History.md)
> - [Commits](https://redirect.github.com/pillarjs/path-to-regexp/compare/v6.2.2...v8.1.0)
>
> Updates `nise` from 6.0.0 to 6.0.1
>
> - [Changelog](https://redirect.github.com/sinonjs/nise/blob/main/History.md)
> - [Commits](https://redirect.github.com/sinonjs/nise/commits)
>
> ***
>
> updated-dependencies:
>
> - dependency-name: path-to-regexp
>
> dependency-type: indirect
>
> - dependency-name: nise
>
> dependency-type: direct:production
>
> ...
>
> Signed-off-by: dependabot\[bot] <support@github.com>
>
> Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com>
- [`0c609f95`](https://redirect.github.com/sinonjs/sinon/commit/0c609f95b1f4f18e02896b5a87bbc59f5787093e)
re-add testing of esm browser builds (Carl-Erik Kopseng)
> It seems unclear why it was removed in the first place: I have tested extensively that it
> does work and it does fail the build if changing any assertion in the script
- [`da4230a0`](https://redirect.github.com/sinonjs/sinon/commit/da4230a00c929f56738d272da469a5ecb9d40da7)
Bump braces from 3.0.2 to 3.0.3 ([#​2605](https://redirect.github.com/sinonjs/sinon/issues/2605)) (dependabot\[bot])
> Bumps [braces](https://redirect.github.com/micromatch/braces) from 3.0.2 to 3.0.3.
>
> - [Changelog](https://redirect.github.com/micromatch/braces/blob/master/CHANGELOG.md)
> - [Commits](https://redirect.github.com/micromatch/braces/compare/3.0.2...3.0.3)
>
> ***
>
> updated-dependencies:
>
> - dependency-name: braces
>
> dependency-type: indirect
>
> ...
>
> Signed-off-by: dependabot\[bot] <support@github.com>
>
> Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com>
- [`02542370`](https://redirect.github.com/sinonjs/sinon/commit/02542370a4d92ef12270638f97db29ca4f1cca66)
feat(ci): add node v22 ([#​2600](https://redirect.github.com/sinonjs/sinon/issues/2600)) (Rotzbua)
- [`794cb81a`](https://redirect.github.com/sinonjs/sinon/commit/794cb81a3bf639c8fb0880f4509a5a1a42066b6e)
fix(tests): typo ([#​2603](https://redirect.github.com/sinonjs/sinon/issues/2603)) (Rotzbua)
- [`1eb2a254`](https://redirect.github.com/sinonjs/sinon/commit/1eb2a25486564ff6b834cfe0a62329dd8bd455fe)
Use NodeJS 22.2.0 as base development version (Carl-Erik Kopseng)
- [`1aa713fd`](https://redirect.github.com/sinonjs/sinon/commit/1aa713fd413e1b34645fddff1871da99c6d263f8)
Bump rexml from 3.2.5 to 3.2.8 ([#​2599](https://redirect.github.com/sinonjs/sinon/issues/2599)) (dependabot\[bot])
> Bumps [rexml](https://redirect.github.com/ruby/rexml) from 3.2.5 to 3.2.8. >
>
> - [Release notes](https://redirect.github.com/ruby/rexml/releases) >
> - [Changelog](https://redirect.github.com/ruby/rexml/blob/master/NEWS.md) >
> - [Commits](https://redirect.github.com/ruby/rexml/compare/v3.2.5...v3.2.8) > >
> \--- >
> updated-dependencies: >
> - dependency-name: rexml >
> dependency-type: indirect >
> ... > >
> Signed-off-by: dependabot\[bot] <support@github.com> >
> Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com>
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-10.*
</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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
|
2024-09-13 02:22:03 +00:00 |
|
Saul-Mirone
|
445acfa323
|
chore: bump bs (#8227)
|
2024-09-13 02:10:16 +00:00 |
|
fundon
|
39a5d8e64f
|
fix(core): reference link icon (#8223)
Closes [AF-1384](https://linear.app/affine-design/issue/AF-1384/edgeless-reference-icon-在fail版本中显示不正确)
|
2024-09-12 11:56:07 +00:00 |
|
pengx17
|
4b920a867c
|
fix(electron): app fallback styles (#8225)
|
2024-09-12 11:21:29 +00:00 |
|
pengx17
|
d2b482bcb2
|
fix(electron): incorrect path to root dir (#8220)
|
2024-09-12 09:00:18 +00:00 |
|
renovate
|
23c7f8b01d
|
chore: bump up express version to v4.20.0 [SECURITY] (#8205)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [express](http://expressjs.com/) ([source](https://redirect.github.com/expressjs/express)) | [`4.19.2` -> `4.20.0`](https://renovatebot.com/diffs/npm/express/4.19.2/4.20.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/) |
### GitHub Vulnerability Alerts
#### [CVE-2024-43796](https://redirect.github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx)
### Impact
In express <4.20.0, passing untrusted user input - even after sanitizing it - to `response.redirect()` may execute untrusted code
### Patches
this issue is patched in express 4.20.0
### Workarounds
users are encouraged to upgrade to the patched version of express, but otherwise can workaround this issue by making sure any untrusted inputs are safe, ideally by validating them against an explicit allowlist
### Details
successful exploitation of this vector requires the following:
1. The attacker MUST control the input to response.redirect()
1. express MUST NOT redirect before the template appears
1. the browser MUST NOT complete redirection before:
1. the user MUST click on the link in the template
---
### Release Notes
<details>
<summary>expressjs/express (express)</summary>
### [`v4.20.0`](https://redirect.github.com/expressjs/express/blob/HEAD/History.md#4200--2024-09-10)
[Compare Source](https://redirect.github.com/expressjs/express/compare/4.19.2...4.20.0)
\==========
- deps: serve-static@0.16.0
- Remove link renderization in html while redirecting
- deps: send@0.19.0
- Remove link renderization in html while redirecting
- deps: body-parser@0.6.0
- add `depth` option to customize the depth level in the parser
- IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`)
- Remove link renderization in html while using `res.redirect`
- deps: path-to-regexp@0.1.10
- Adds support for named matching groups in the routes using a regex
- Adds backtracking protection to parameters without regexes defined
- deps: encodeurl@~2.0.0
- Removes encoding of `\`, `|`, and `^` to align better with URL spec
- Deprecate passing `options.maxAge` and `options.expires` to `res.clearCookie`
- Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
</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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
|
2024-09-12 08:43:05 +00:00 |
|
fundon
|
8a9d9b42a3
|
feat(core): support block links on cmdk (#8192)
Upstreams: https://github.com/toeverything/blocksuite/pull/8260
Closes: [BS-1323](https://linear.app/affine-design/issue/BS-1323/粘贴-link-to-block-到-link-弹窗,不符合预期)
|
2024-09-12 08:25:28 +00:00 |
|
JimmFly
|
2cba8a4ccd
|
fix(core): title could not be changed when creating a new doc (#8203)
Before change, the title could not be modified from outside the editor without refreshing:
https://github.com/user-attachments/assets/536acba1-4e31-418a-bc1a-8578e3128bba
after:
https://github.com/user-attachments/assets/30a4b270-b8b1-4787-acef-0ab2a72a8f74
|
2024-09-12 07:55:23 +00:00 |
|
EYHN
|
cc5a6e6d40
|
refactor: new project struct (#8199)
packages/frontend/web -> packages/frontend/apps/web
packages/frontend/mobile -> packages/frontend/apps/mobile
packages/frontend/electron -> packages/frontend/apps/electron
|
2024-09-12 07:42:57 +00:00 |
|
L-Sun
|
7c4eab6cd3
|
fix(core): add edit entry for mobile edition (#8173)
|
2024-09-12 06:48:22 +00:00 |
|
JimmFly
|
8e71815e46
|
fix(component): windows client does not have app controls on some pages (#8176)
close AF-1266
|
2024-09-12 06:35:55 +00:00 |
|
EYHN
|
3999b04cf1
|
feat(core): download template from snapshot url (#8211)
|
2024-09-12 06:21:52 +00:00 |
|
zzj3720
|
aad7b90859
|
feat(core): add database full-width feature flag (#8210)
|
2024-09-12 05:14:13 +00:00 |
|
akumatus
|
456aa047cb
|
fix: missing font in text preview of editor settings (#8213)
Close issue [BS-1394](https://linear.app/affine-design/issue/BS-1394).
Add `FontConfigExtension` to `edgeless:preview` spec.
|
2024-09-12 04:40:17 +00:00 |
|
doouding
|
393dcfec78
|
feat: bump bs (#8212)
https://github.com/toeverything/blocksuite/pull/8311
|
2024-09-12 04:28:14 +00:00 |
|
pengx17
|
24bf1beac8
|
fix(electron): devtools open in detach mode (#8200)
fix AF-1380
|
2024-09-12 03:20:19 +00:00 |
|
CatsJuice
|
8bf0458ef4
|
fix(mobile): remove all focus style for link and button (#8208)
|
2024-09-12 03:07:31 +00:00 |
|
Saul-Mirone
|
ba81b1a9ca
|
chore: bump bs (#8204)
|
2024-09-11 12:04:26 +00:00 |
|
fundon
|
b74dd1c92e
|
feat(core): support block links on Bi-Directional Links (#8169)
Clsoes [AF-1348](https://linear.app/affine-design/issue/AF-1348/修复-bi-directional-links-里面的链接地址)
* Links to the current document should be ignored on `Backlinks`
* Links to the current document should be ignored on `Outgoing links`
https://github.com/user-attachments/assets/dbc43cea-5aca-4c6f-886a-356e3a91c1f1
|
2024-09-11 11:08:12 +00:00 |
|
CatsJuice
|
b7d05d2078
|
feat(core): new empty states for doc/collection/tag (#8197)
AF-1329, AF-1330
|
2024-09-11 10:48:52 +00:00 |
|
akumatus
|
f12655655e
|
feat: add mindmap and connector settings (#8198)
### What changed?
- Add `connector` label settings.
- Add `mindmap` style settings.
- Add skeleton loading placeholder.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov">录屏2024-09-11 16.30.17.mov</video>
|
2024-09-11 09:17:11 +00:00 |
|
EYHN
|
85aa73bcf6
|
fix(core): disconnect ws when user logout (#8188)
|
2024-09-11 07:55:42 +00:00 |
|
EYHN
|
d93c3b3719
|
feat(core): user data db (#7930)
|
2024-09-11 07:55:37 +00:00 |
|
EYHN
|
498a69af53
|
feat(core): move enable ai to feature flag (#8195)
|
2024-09-11 07:42:07 +00:00 |
|
EYHN
|
8c191e6baa
|
feat(core): preview template & snapshot import (#8193)
|
2024-09-11 07:11:33 +00:00 |
|
doouding
|
52d9569f47
|
feat: add mind map import feature flag (#8196)
|
2024-09-11 06:27:47 +00:00 |
|
EYHN
|
f009371e06
|
fix(core): fix menu shaking (#8187)
|
2024-09-11 03:42:13 +00:00 |
|
forehalo
|
7a546ff8a1
|
feat(core): add auth metrics (#8194)
close AF-849
|
2024-09-11 03:28:32 +00:00 |
|
CatsJuice
|
81ab8ac8b3
|
feat(mobile): pwa and browser theme-color optimization (#8168)
[AF-1325](https://linear.app/affine-design/issue/AF-1325/优化-pwa-体验), [AF-1317](https://linear.app/affine-design/issue/AF-1317/优化:-pwa-的顶部-status-bar-颜色应与背景保持一致), [AF-1318](https://linear.app/affine-design/issue/AF-1318/优化:pwa-的底部应当有符合设备安全高度的padding), [AF-1321](https://linear.app/affine-design/issue/AF-1321/更新一下-fail-的-pwa-icon)
- New `<SafeArea />` ui component
- New `useThemeColorV1` / `useThemeColorV2` hook:
- to modify `<meta name="theme-color" />` with given theme key
|
2024-09-11 02:20:59 +00:00 |
|
L-Sun
|
9038592715
|
fix(core): disable append paragraph in shared page editor (#8191)
Disable append paragraph function for readonly or shared page editor.
### Before

|
2024-09-10 15:33:52 +00:00 |
|
L-Sun
|
6ce6cb33ef
|
feat(core): add outline viewer for share page (#8190)
|
2024-09-10 14:00:17 +00:00 |
|
Saul-Mirone
|
daa9d9ff5c
|
chore: bump bs (#8189)
|
2024-09-10 13:48:08 +00:00 |
|
darkskygit
|
95738e796f
|
fix: client captcha (#8186)
|
2024-09-10 09:34:21 +00:00 |
|
JimmFly
|
9ccf517e06
|
chore: adjust the border color of Point component (#8185)
close AF-1367
|
2024-09-10 09:22:34 +00:00 |
|
JimmFly
|
31561d8203
|
chore: bump theme version (#8184)
|
2024-09-10 09:05:30 +00:00 |
|
donteatfriedrice
|
9dfd366382
|
fix: ai error message tip would be cut off (#8183)
Use `<affine-tooltip>` component that updates the float position when it might be clipped。
Fix: [BS-1386](https://linear.app/affine-design/issue/BS-1386/[bug]-tooltip-位置错误)
|
2024-09-10 08:12:05 +00:00 |
|
JimmFly
|
4c0d0ab8de
|
fix(core): page jumps unexpectedly when clicking the collection operation (#8182)
close AF-1371
https://github.com/user-attachments/assets/9cc25790-8755-458c-94ac-a8d1b584c428
|
2024-09-10 06:38:33 +00:00 |
|
EYHN
|
0cdc486f1f
|
fix(core): reduce state refresh (#8181)
|
2024-09-10 06:21:15 +00:00 |
|
pengx17
|
fb76fdfca3
|
fix(core): menu not scrollable when opening in modal (#8179)
fix AF-1360
When menu (with modal = false) is rendered in Modal, the [RemoveScroll utility wrapped by Modal](https://github.com/radix-ui/primitives/blob/660060a765634e9cc7bf4513f41e8dabc9824d74/packages/react/dialog/src/Dialog.tsx#L203) will prevent menu from scrolling.
The reason why menu is scrollable within a dialog is because it is also wrapped a RemoveScroll [when modal is on. ](https://github.com/radix-ui/primitives/blob/660060a765634e9cc7bf4513f41e8dabc9824d74/packages/react/menu/src/Menu.tsx#L305)
In this fix, added a `useWithinModal` utility hook so that menu will automatically assign noportal mode for menu when it is rendered inside of a modal.
|
2024-09-10 06:09:00 +00:00 |
|
JimmFly
|
9d343bdaa6
|
feat(core): add enable url preview to workspace settings (#8089)
|
2024-09-10 04:04:06 +00:00 |
|
Brooooooklyn
|
fe1eefdbb2
|
feat: init renderer server (#8088)
|
2024-09-10 04:03:59 +00:00 |
|
forehalo
|
0add8917f9
|
feat(server): enable share og information for docs (#7794)
|
2024-09-10 04:03:52 +00:00 |
|
darkskygit
|
34eac4c24e
|
feat: improve ai query performance (#8170)
|
2024-09-09 09:39:28 +00:00 |
|
JimmFly
|
b48cc825e0
|
fix(core): unexpected jump when clicking save tag (#8171)
close AF-1285
https://github.com/user-attachments/assets/1ec4adf5-4340-4e94-9e56-6a05e7a65f18
|
2024-09-09 07:54:56 +00:00 |
|
forehalo
|
32f673fa3d
|
perf(server): index lower user email (#8167)
|
2024-09-09 04:43:59 +00:00 |
|
JimmFly
|
a7ecfea3b5
|
fix(core): disable border thickness setting when no border is selected (#8152)
close AF-1351
|
2024-09-09 03:25:04 +00:00 |
|
fundon
|
6b266e3a1b
|
fix(core): link copying and pasting (#8157)
Related to: https://github.com/toeverything/blocksuite/pull/8233
|
2024-09-09 03:11:20 +00:00 |
|