Commit Graph

6088 Commits

Author SHA1 Message Date
L-Sun
0d711667a8
chore: adjust order of slash menu items (#7278)
Before -> After
<p float="left">
  <img src="https://github.com/toeverything/AFFiNE/assets/20479050/b3937947-7c7c-4463-ae05-87b8f2694989" width="45%" />
  <img src="https://github.com/toeverything/AFFiNE/assets/20479050/e886c20d-e436-4190-aebf-a6b7d711b61e" width="45%" />
</p>
2024-06-20 02:33:18 +00:00
EYHN
7c0a686cd9
refactor(i18n): new hook api (#7273)
# NEW HOOK API

`useI18n`: same as `useAFFiNEI18N`, with additional APIs

```ts
import { useI18n } from '@affine/i18n'

const i18n = useI18n()
i18n['hello world']() -> 你好世界
```

# NEW GLOBAL i18n Instance

`I18n`: use i18n capabilities outside of React

```ts
import { I18n } from '@affine/i18n'

I18n['hello world']() -> 你好世界
```

# NEW TYPES

`I18nKeys` -> all i18n keys

`I18nString` -> An i18n message (key&options)
transfer and store i18n text outside of React
```ts
const msg: I18nString = {
  key: 'helloworld',
  options: {
    arg1: '123'
  }
}

I18n.t(msg) -> 你好世界123
```

before:

```ts
registerCommand('open-page', {
  name: t('command.open-page')
  // ^- translation happens here,
})
```

after:

```ts
registerCommand('open-page', {
  name: { key: 'command.open-page' }
  // ^- store I18nString here, translate when the command render to UI
})
```
2024-06-20 02:19:41 +00:00
pengx17
5b0f56399c
fix(electron): remove duplicate change log open (#7276) 2024-06-19 13:43:46 +00:00
forehalo
d34c5c42ef
feat(server): allow customize server external url (#7270)
closes https://github.com/toeverything/AFFiNE/issues/7252
2024-06-19 12:03:36 +00:00
akumatus
9746ddb5e0 fix: remove useless padding css style (#7274)
Fix issue [BS-581](https://linear.app/affine-design/issue/BS-581).Remove the extra 100px padding of embed doc.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/14ef1f94-512f-4376-9498-03e21c8968d0.png)
2024-06-19 11:29:28 +00:00
CatsJuice
f9903fd748
fix(core): can't enter presentation again in share page (#7262)
Fix [TOV-916](https://linear.app/affine-design/issue/TOV-916/分享页面的-present-按钮在第二次进入演示模式时未生效)
2024-06-19 09:21:23 +00:00
CatsJuice
98e35384a6
feat(component): helper function observeResize to observe size change via global ResizeObserver (#7241)
```ts
import { observeResize } from "@affine/component";

useEffect(() => {
  const dispose = observeResize(element entry => {
    console.log(entry.contentRect);
  });

  return () => dispose();
}, []);
```
2024-06-19 09:04:56 +00:00
regischen
be36e033f2 chore: bump blocksuite (#7272)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7375 @regischen
- https://github.com/toeverything/BlockSuite/pull/7371 @donteatfriedrice

## Refactor

## Misc
2024-06-19 08:10:18 +00:00
L-Sun
84ad23625f
chore: remove tree shaking (#7271)
remove `sideEffects` field from `frontend/core/packages.json`
2024-06-19 07:57:05 +00:00
EYHN
bcc66422fd
refactor(i18n): i18n utils tools (#7251) 2024-06-19 07:38:20 +00:00
doouding
b379aa0a91
feat: bump bs (#7266)
## Features
- https://github.com/toeverything/BlockSuite/pull/7366 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7360 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7350 @Flrande

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7372 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7365 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7369 @doouding
- https://github.com/toeverything/BlockSuite/pull/7367 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7364 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7356 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7335 @doouding
- https://github.com/toeverything/BlockSuite/pull/7362 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7361 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7359 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7358 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7344 @fundon

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/7370 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7368 @Saul-Mirone
2024-06-19 06:56:25 +00:00
doouding
314fa064ab
fix: peek view on synced doc (#7265) 2024-06-19 06:41:08 +00:00
akumatus
bbf796faaf fix: icon of page reference node (#7255)
- Use `EdgelessIcon` if linked document mode is edgeless
- Update reference icon when document mode changes

https://github.com/toeverything/AFFiNE/assets/12724894/40db8930-dd7f-4154-ad0a-b1eea97d23db
2024-06-19 06:28:50 +00:00
L-Sun
fa1e7c6be0
fix: cycle import (#7264)
Sometimes the GitHub Action (Lint) will fail.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/b567d983-14de-4002-bebf-1eb1e9635ee0.png)
2024-06-19 05:19:17 +00:00
L-Sun
d84eea85b6
fix: ai slide render initialize error (#7261)
Need add `collection.meta.initialize()` in AI slide render.
Similar codes:
b3ec3a2b3e/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts (L177-L195)
2024-06-19 04:26:57 +00:00
L-Sun
501fa0bb91
fix(core): ai lit element import (#7257)
Fix ai lit component import error.

f57a665819/packages/frontend/core/package.json (L13-L16)
2024-06-19 04:26:49 +00:00
regischen
dddfcdbabb fix: chat more popper position (#7260) 2024-06-19 04:11:08 +00:00
donteatfriedrice
ce9a3c82ee
feat: remove new image actions feature flag (#7256) 2024-06-19 03:13:19 +00:00
Brooooooklyn
eb71471820
fix: nginx config for admin router (#7254) 2024-06-19 03:01:03 +00:00
JimmFly
6c3e13316e
feat(i18n): update resources and add Swedish language (#7247)
close AFF-1279
2024-06-19 02:47:05 +00:00
akumatus
4edf0b1d85 fix: add patch doc mode service (#7249) 2024-06-18 10:16:44 +00:00
Brooooooklyn
96df708e3a
chore: fix web nginx conf (#7246) 2024-06-18 09:07:54 +00:00
L-Sun
09201d42a0
chore: bump up @blocksuite/icons version (#7233) 2024-06-18 17:07:11 +08:00
EYHN
390852f8be
chore(server): lint ignore error gen file (#7245) 2024-06-18 08:48:19 +00:00
EYHN
98258b0211
feat(core): show sync state at doc info (#7244) 2024-06-18 08:35:22 +00:00
JimmFly
ea718d30e9
refactor(core): replace the Modal of the FindInPage component with Dialog (#7149)
In order to customize the opening and closing styles, the Modal were replaced.

https://github.com/toeverything/AFFiNE/assets/102217452/ece774ea-634c-4723-bace-7926f003497c
2024-06-18 07:46:22 +00:00
L-Sun
b3ec3a2b3e
refactor(core): migrate ai preset to AFFiNE (#7219)
## TL;DR
Move `@blocksuite/presets/ai` to AFFiNE. After this PR is merged, you can use AI features from `@affine/core/blocksuite/presets/ai`.
2024-06-18 07:31:06 +00:00
Brooooooklyn
0fe672efa5
feat(admin): init project (#7197) 2024-06-18 06:01:13 +00:00
forehalo
d216606193
fix(server): wrong doc manager config (#7239) 2024-06-18 05:17:18 +00:00
L-Sun
9b89c9ed38
chore: bump up blocksuite version (#7243)
## Features
- https://github.com/toeverything/BlockSuite/pull/7330 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7348 @zzj3720

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7338 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7353 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7351 @lawvs
- https://github.com/toeverything/BlockSuite/pull/7357 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7355 @akumatus

## Misc
- https://github.com/toeverything/BlockSuite/pull/7352 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7349 @pengx17
2024-06-18 04:29:55 +00:00
pengx17
006c260e5f
feat: add isNewDoc flag to quick search api (#7232) 2024-06-18 04:07:55 +00:00
Yuji Oshiro
e3bd8562b8
feat(electron): add documentation button in help menu bar (#7199)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2024-06-17 22:13:06 +08:00
donteatfriedrice
e14e110f03
feat: bump blocksuite (#7237)
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7346 @donteatfriedrice

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7322 @L-Sun

## Misc
- https://github.com/toeverything/BlockSuite/pull/7347 @L-Sun
2024-06-17 12:27:04 +00:00
EYHN
e2dbac6bf8
chore: bump blocksuite (#7235)
## Features
- https://github.com/toeverything/BlockSuite/pull/7340 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7334 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7339 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7328 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7324 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7297 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7318 @CatsJuice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7343 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7345 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7341 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7342 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7329 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7337 @fundon
- https://github.com/toeverything/BlockSuite/pull/7333 @fundon
- https://github.com/toeverything/BlockSuite/pull/7326 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7325 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7323 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7312 @golok727
- https://github.com/toeverything/BlockSuite/pull/7317 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7319 @akumatus

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7327 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7320 @Flrande

## Misc
- https://github.com/toeverything/BlockSuite/pull/7303 @fundon
- https://github.com/toeverything/BlockSuite/pull/7321 @Saul-Mirone
2024-06-17 10:55:40 +00:00
liuyi
54fc1197ad
feat(server): introduce user friendly server errors (#7111) 2024-06-17 11:30:58 +08:00
pengx17
5307a55f8a
feat: add importWorkspaceSnapshot for testing (#7224) 2024-06-14 09:33:13 +00:00
pengx17
7062790488
fix: edgeless object creation events (#7206)
related to AFF-1154
upstream: https://github.com/toeverything/blocksuite/pull/7297
2024-06-14 08:46:09 +00:00
renovate
32a5943a90
chore: bump up rustc version to v1.79.0 (#7220)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [rustc](https://togithub.com/rust-lang/rust) | minor | `1.78.0` -> `1.79.0` |

---

### Release Notes

<details>
<summary>rust-lang/rust (rustc)</summary>

### [`v1.79.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1790-2024-06-13)

[Compare Source](https://togithub.com/rust-lang/rust/compare/1.78.0...1.79.0)

\==========================

<a id="1.79.0-Language"></a>

## Language

-   [Stabilize inline `const {}` expressions.](https://togithub.com/rust-lang/rust/pull/104087/)
-   [Prevent opaque types being instantiated twice with different regions within the same function.](https://togithub.com/rust-lang/rust/pull/116935/)
-   [Stabilize WebAssembly target features that are in phase 4 and 5.](https://togithub.com/rust-lang/rust/pull/117457/)
-   [Add the `redundant_lifetimes` lint to detect lifetimes which are semantically redundant.](https://togithub.com/rust-lang/rust/pull/118391/)
-   [Stabilize the `unnameable_types` lint for public types that can't be named.](https://togithub.com/rust-lang/rust/pull/120144/)
-   [Enable debuginfo in macros, and stabilize `-C collapse-macro-debuginfo` and `#[collapse_debuginfo]`.](https://togithub.com/rust-lang/rust/pull/120845/)
-   [Propagate temporary lifetime extension into `if` and `match` expressions.](https://togithub.com/rust-lang/rust/pull/121346/)
-   [Restrict promotion of `const fn` calls.](https://togithub.com/rust-lang/rust/pull/121557/)
-   [Warn against refining impls of crate-private traits with `refining_impl_trait` lint.](https://togithub.com/rust-lang/rust/pull/121720/)
-   [Stabilize associated type bounds (RFC 2289).](https://togithub.com/rust-lang/rust/pull/122055/)
-   [Stabilize importing `main` from other modules or crates.](https://togithub.com/rust-lang/rust/pull/122060/)
-   [Check return types of function types for well-formedness](https://togithub.com/rust-lang/rust/pull/115538)
-   [Rework `impl Trait` lifetime inference](https://togithub.com/rust-lang/rust/pull/116891/)
-   [Change inductive trait solver cycles to be ambiguous](https://togithub.com/rust-lang/rust/pull/122791)

<a id="1.79.0-Compiler"></a>

## Compiler

-   [Define `-C strip` to only affect binaries, not artifacts like `.pdb`.](https://togithub.com/rust-lang/rust/pull/115120/)
-   [Stabilize `-Crelro-level` for controlling runtime link hardening.](https://togithub.com/rust-lang/rust/pull/121694/)
-   [Stabilize checking of `cfg` names and values at compile-time with `--check-cfg`.](https://togithub.com/rust-lang/rust/pull/123501/)
    *Note that this only stabilizes the compiler part, the Cargo part is still unstable in this release.*
-   [Add `aarch64-apple-visionos` and `aarch64-apple-visionos-sim` tier 3 targets.](https://togithub.com/rust-lang/rust/pull/121419/)
-   [Add `riscv32ima-unknown-none-elf` tier 3 target.](https://togithub.com/rust-lang/rust/pull/122696/)
-   [Promote several Windows targets to tier 2](https://togithub.com/rust-lang/rust/pull/121712): `aarch64-pc-windows-gnullvm`, `i686-pc-windows-gnullvm`, and `x86_64-pc-windows-gnullvm`.

Refer to Rust's \[platform support page]\[platform-support-doc]
for more information on Rust's tiered platform support.

<a id="1.79.0-Libraries"></a>

## Libraries

-   [Implement `FromIterator` for `(impl Default + Extend, impl Default + Extend)`.](https://togithub.com/rust-lang/rust/pull/107462/)
-   [Implement `{Div,Rem}Assign<NonZero<X>>` on `X`.](https://togithub.com/rust-lang/rust/pull/121952/)
-   [Document overrides of `clone_from()` in core/std.](https://togithub.com/rust-lang/rust/pull/122201/)
-   [Link MSVC default lib in core.](https://togithub.com/rust-lang/rust/pull/122268/)
-   [Caution against using `transmute` between pointers and integers.](https://togithub.com/rust-lang/rust/pull/122379/)
-   [Enable frame pointers for the standard library.](https://togithub.com/rust-lang/rust/pull/122646/)

<a id="1.79.0-Stabilized-APIs"></a>

## Stabilized APIs

-   [`{integer}::unchecked_add`](https://doc.rust-lang.org/stable/core/primitive.i32.html#method.unchecked_add)
-   [`{integer}::unchecked_mul`](https://doc.rust-lang.org/stable/core/primitive.i32.html#method.unchecked_mul)
-   [`{integer}::unchecked_sub`](https://doc.rust-lang.org/stable/core/primitive.i32.html#method.unchecked_sub)
-   [`<[T]>::split_at_unchecked`](https://doc.rust-lang.org/stable/core/primitive.slice.html#method.split_at_unchecked)
-   [`<[T]>::split_at_mut_unchecked`](https://doc.rust-lang.org/stable/core/primitive.slice.html#method.split_at_mut_unchecked)
-   [`<[u8]>::utf8_chunks`](https://doc.rust-lang.org/stable/core/primitive.slice.html#method.utf8\_chunks)
-   [`str::Utf8Chunks`](https://doc.rust-lang.org/stable/core/str/struct.Utf8Chunks.html)
-   [`str::Utf8Chunk`](https://doc.rust-lang.org/stable/core/str/struct.Utf8Chunk.html)
-   [`<*const T>::is_aligned`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_aligned)
-   [`<*mut T>::is_aligned`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_aligned-1)
-   [`NonNull::is_aligned`](https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.is_aligned)
-   [`<*const [T]>::len`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.len)
-   [`<*mut [T]>::len`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.len-1)
-   [`<*const [T]>::is_empty`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_empty)
-   [`<*mut [T]>::is_empty`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.is_empty-1)
-   [`NonNull::<[T]>::is_empty`](https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.is_empty)
-   [`CStr::count_bytes`](https://doc.rust-lang.org/stable/core/ffi/c_str/struct.CStr.html#method.count_bytes)
-   [`io::Error::downcast`](https://doc.rust-lang.org/stable/std/io/struct.Error.html#method.downcast)
-   [`num::NonZero<T>`](https://doc.rust-lang.org/stable/core/num/struct.NonZero.html)
-   [`path::absolute`](https://doc.rust-lang.org/stable/std/path/fn.absolute.html)
-   [`proc_macro::Literal::byte_character`](https://doc.rust-lang.org/stable/proc_macro/struct.Literal.html#method.byte_character)
-   [`proc_macro::Literal::c_string`](https://doc.rust-lang.org/stable/proc_macro/struct.Literal.html#method.c_string)

These APIs are now stable in const contexts:

-   [`Atomic*::into_inner`](https://doc.rust-lang.org/stable/core/sync/atomic/struct.AtomicUsize.html#method.into_inner)
-   [`io::Cursor::new`](https://doc.rust-lang.org/stable/std/io/struct.Cursor.html#method.new)
-   [`io::Cursor::get_ref`](https://doc.rust-lang.org/stable/std/io/struct.Cursor.html#method.get_ref)
-   [`io::Cursor::position`](https://doc.rust-lang.org/stable/std/io/struct.Cursor.html#method.position)
-   [`io::empty`](https://doc.rust-lang.org/stable/std/io/fn.empty.html)
-   [`io::repeat`](https://doc.rust-lang.org/stable/std/io/fn.repeat.html)
-   [`io::sink`](https://doc.rust-lang.org/stable/std/io/fn.sink.html)
-   [`panic::Location::caller`](https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.caller)
-   [`panic::Location::file`](https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.file)
-   [`panic::Location::line`](https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.line)
-   [`panic::Location::column`](https://doc.rust-lang.org/stable/std/panic/struct.Location.html#method.column)

<a id="1.79.0-Cargo"></a>

## Cargo

-   [Prevent dashes in `lib.name`, always normalizing to `_`.](https://togithub.com/rust-lang/cargo/pull/12783/)
-   [Stabilize MSRV-aware version requirement selection in `cargo add`.](https://togithub.com/rust-lang/cargo/pull/13608/)
-   [Switch to using `gitoxide` by default for listing files.](https://togithub.com/rust-lang/cargo/pull/13696/)
-   [Error on `[project]` in Edition 2024; `cargo fix --edition` will change it to `[package]`.](https://togithub.com/rust-lang/cargo/pull/13747/)

<a id="1.79.0-Rustdoc"></a>

## Rustdoc

-   [Always display stability version even if it's the same as the containing item.](https://togithub.com/rust-lang/rust/pull/118441/)
-   [Show a single search result for items with multiple paths.](https://togithub.com/rust-lang/rust/pull/119912/)
-   [Support typing `/` in docs to begin a search.](https://togithub.com/rust-lang/rust/pull/123355/)

<a id="1.79.0-Misc"></a>

## Misc

<a id="1.79.0-Compatibility-Notes"></a>

## Compatibility Notes

-   [Update the minimum external LLVM to 17.](https://togithub.com/rust-lang/rust/pull/122649/)
-   [`RustcEncodable` and `RustcDecodable` are soft-destabilized, to be removed
    from the prelude in next edition.](https://togithub.com/rust-lang/rust/pull/116016/)
-   [The `wasm_c_abi` future-incompatibility lint will warn about use of the
    non-spec-compliant C ABI.](https://togithub.com/rust-lang/rust/pull/117918/)
    Use `wasm-bindgen v0.2.88` to generate forward-compatible bindings.
-   [Check return types of function types for well-formedness](https://togithub.com/rust-lang/rust/pull/115538)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-14 08:30:11 +00:00
renovate
7e8c33a897
chore: bump up oxlint version to v0.4.4 (#7226)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.4.3` -> `0.4.4`](https://renovatebot.com/diffs/npm/oxlint/0.4.3/0.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.4.3/0.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.4.3/0.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>oxc-project/oxc (oxlint)</summary>

### [`v0.4.4`](4b9a36512e...2173f23d9c)

[Compare Source](4b9a36512e...2173f23d9c)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-14 08:17:51 +00:00
donteatfriedrice
22ec26440b
feat: add block action bar control for event tracker (#7210) 2024-06-14 03:09:07 +00:00
fundon
729631ea72
refactor(core): image preview toolbar UI (#7207)
Closes: [AFF-1257](https://linear.app/affine-design/issue/AFF-1257/image-preview-toolbar)

* refactor logic
* update UI style

<img width="617" alt="Screenshot 2024-06-13 at 07 21 52" src="https://github.com/toeverything/AFFiNE/assets/27926/1edc6476-0103-4214-8ef2-41b37d95287b">
<img width="760" alt="Screenshot 2024-06-13 at 07 21 33" src="https://github.com/toeverything/AFFiNE/assets/27926/83d27ab2-143f-4bdd-a932-396289c598ec">
2024-06-14 02:02:46 +00:00
pengx17
33762423bb
fix: page reference should wrap (#7218) 2024-06-13 13:15:47 +00:00
pengx17
3189f42e76
chore: bump blocksuite (#7217)
## Features
- https://github.com/toeverything/BlockSuite/pull/7281 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7280 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7282 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7306 @doouding

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7301 @fundon
- https://github.com/toeverything/BlockSuite/pull/7311 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7310 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7302 @fundon
- https://github.com/toeverything/BlockSuite/pull/7309 @doouding
- https://github.com/toeverything/BlockSuite/pull/7308 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7294 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7299 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7296 @L-Sun

## Misc
- https://github.com/toeverything/BlockSuite/pull/7300 @fundon
- https://github.com/toeverything/BlockSuite/pull/7307 @Saul-Mirone
2024-06-13 13:15:43 +00:00
Brooooooklyn
19dd724f50
fix(electron): downgrade electron version (#7215)
![image](https://github.com/toeverything/AFFiNE/assets/3468483/c13fe4ba-e68e-423c-982b-19fdafd33345)
2024-06-13 09:19:37 +00:00
akumatus
24cb0d3757
refactor: add docsService for blocksuite to change and observe doc mode (#7200)
This PR provide `DocModeService` to manage document mode, which is used by blocksuite.

### What Changed?
- Add document mode apis from `DocService` and `DocsService`
- Remove useless `pageService.getEditorMode` and `pageService.slots.editorModeSwitch` api

[Related PR in blocksuite](https://github.com/toeverything/blocksuite/pull/7288)

[Bump Blocksuite](https://github.com/toeverything/AFFiNE/pull/7209)
> ## Features
> * [feat(presets): support different tracker control for actions blocksuite#7285](https://github.com/toeverything/blocksuite/pull/7285) @donteatfriedrice
> * [feat(edgeless): add default color and editing border for edgeless text blocksuite#7278](https://github.com/toeverything/blocksuite/pull/7278) @Flrande
> * [feat(blocks): center peek entries blocksuite#7275](https://github.com/toeverything/blocksuite/pull/7275) @pengx17
>
> ## Bugfix
> * [fix(blocks): affine-embed-synced-doc-block peek on dblclick blocksuite#7284](https://github.com/toeverything/blocksuite/pull/7284) @pengx17
> * [fix(edgeless): edgeless text rect should automatically update when changing font blocksuite#7292](https://github.com/toeverything/blocksuite/pull/7292) @Flrande
> * [fix(edgeless): align panel not work blocksuite#7293](https://github.com/toeverything/blocksuite/pull/7293) @Flrande
> * [fix(blocks): filterable list unexpected hover style blocksuite#7291](https://github.com/toeverything/blocksuite/pull/7291) @golok727
> * [fix(blocks): slash menu unexpected hover style blocksuite#7290](https://github.com/toeverything/blocksuite/pull/7290) @golok727
> * [fix(blocks): bookmark block error on undo or delete while loading blocksuite#7276](https://github.com/toeverything/blocksuite/pull/7276) @golok727
> * [fix(presets): chat input max-height blocksuite#7283](https://github.com/toeverything/blocksuite/pull/7283) @fundon
> * [fix(presets): get image blob from selection blocksuite#7286](https://github.com/toeverything/blocksuite/pull/7286) @donteatfriedrice
> * [fix(blocks): connectors resize and rotate blocksuite#7256](https://github.com/toeverything/blocksuite/pull/7256) @fundon
>
> ## Refactor
> * [refactor: add DocModeService for doc mode get, set, toogle and observe change blocksuite#7288](https://github.com/toeverything/blocksuite/pull/7288) @akumatus
> * [refactor(edgeless): rewrite auto-connect component as a widget blocksuite#7287](https://github.com/toeverything/blocksuite/pull/7287) @doouding
>
> ## Misc
> * [test: fix flaky blocksuite#7295](https://github.com/toeverything/blocksuite/pull/7295) @L-Sun
> * [style(page): adjust heading font-weight and letter-spacing blocksuite#7277](https://github.com/toeverything/blocksuite/pull/7277) @CatsJuice
> * [chore: apply member ordering rule blocksuite#7279](https://github.com/toeverything/blocksuite/pull/7279) @Saul-Mirone

---
2024-06-13 16:53:42 +08:00
doouding
a3ca41fd6a
fix: surface-ref peek view (#7208)
### Change
Add ref to `SurfaceRefPeekView`. It provide `fitViewportToTarget` method to fit the `surface-ref` content.

Related to [AFF-1200](https://linear.app/affine-design/issue/AFF-1200/center-peek-frame-rendering-issue).
2024-06-13 07:05:14 +00:00
renovate
3bf80d86d8
chore: bump up @blocksuite/icons version to v2.1.55 (#7202)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.54` -> `2.1.55`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.54/2.1.55) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.54/2.1.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.54/2.1.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.55`](baef47745e...6013339ba9)

[Compare Source](baef47745e...6013339ba9)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-13 03:39:03 +00:00
renovate
e6a2843ddf
chore: bump up all non-major dependencies (#7196)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.592.0` -> `3.596.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.592.0/3.596.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.596.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.596.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.592.0/3.596.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.592.0/3.596.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@fal-ai/serverless-client](https://togithub.com/fal-ai/fal-js) ([source](https://togithub.com/fal-ai/fal-js/tree/HEAD/libs/client)) | [`^0.10.2` -> `^0.11.0`](https://renovatebot.com/diffs/npm/@fal-ai%2fserverless-client/0.10.4/0.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@fal-ai%2fserverless-client/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@fal-ai%2fserverless-client/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@fal-ai%2fserverless-client/0.10.4/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@fal-ai%2fserverless-client/0.10.4/0.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`8.8.0` -> `8.9.2`](https://renovatebot.com/diffs/npm/@sentry%2freact/8.8.0/8.9.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2freact/8.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2freact/8.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2freact/8.8.0/8.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2freact/8.8.0/8.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@swc/core](https://swc.rs) ([source](https://togithub.com/swc-project/swc)) | [`1.5.28` -> `1.5.29`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.5.28/1.5.29) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.5.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.5.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.5.28/1.5.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.5.28/1.5.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [c8](https://togithub.com/bcoe/c8) | [`10.0.0` -> `10.1.2`](https://renovatebot.com/diffs/npm/c8/10.0.0/10.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/c8/10.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/c8/10.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/c8/10.0.0/10.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/c8/10.0.0/10.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [electron](https://togithub.com/electron/electron) | [`31.0.0` -> `31.0.1`](https://renovatebot.com/diffs/npm/electron/31.0.0/31.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron/31.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron/31.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron/31.0.0/31.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron/31.0.0/31.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [graphql](https://togithub.com/graphql/graphql-js) | [`16.8.1` -> `16.8.2`](https://renovatebot.com/diffs/npm/graphql/16.8.1/16.8.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/graphql/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/graphql/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/graphql/16.8.1/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/graphql/16.8.1/16.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [lint-staged](https://togithub.com/okonet/lint-staged) | [`15.2.5` -> `15.2.7`](https://renovatebot.com/diffs/npm/lint-staged/15.2.5/15.2.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.5/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.5/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [openai](https://togithub.com/openai/openai-node) | [`4.50.0` -> `4.51.0`](https://renovatebot.com/diffs/npm/openai/4.50.0/4.51.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.50.0/4.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.50.0/4.51.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [webpack](https://togithub.com/webpack/webpack) | [`5.91.0` -> `5.92.0`](https://renovatebot.com/diffs/npm/webpack/5.91.0/5.92.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/webpack/5.92.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/webpack/5.92.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/webpack/5.91.0/5.92.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/webpack/5.91.0/5.92.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [wrangler](https://togithub.com/cloudflare/workers-sdk) ([source](https://togithub.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.60.1` -> `3.60.2`](https://renovatebot.com/diffs/npm/wrangler/3.60.1/3.60.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/wrangler/3.60.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/wrangler/3.60.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/wrangler/3.60.1/3.60.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/wrangler/3.60.1/3.60.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-s3)</summary>

### [`v3.596.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35960-2024-06-12)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.592.0...v3.596.0)

**Note:** Version bump only for package [@&#8203;aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3)

</details>

<details>
<summary>fal-ai/fal-js (@&#8203;fal-ai/serverless-client)</summary>

### [`v0.11.0`](f7d9dec1aa...c7910163a7)

[Compare Source](f7d9dec1aa...c7910163a7)

</details>

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/react)</summary>

### [`v8.9.2`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#892)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.9.1...8.9.2)

-   fix(profiling): Update exports so types generate properly ([#&#8203;12469](https://togithub.com/getsentry/sentry-javascript/issues/12469))

### [`v8.9.1`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#891)

##### Important changes

-   **feat(solid): Add Solid SDK**

    This release adds a dedicated SDK for [Solid JS](https://www.solidjs.com/) in alpha state with instrumentation for
    [Solid Router](https://docs.solidjs.com/solid-router) and a custom `ErrorBoundary`. See the
    [package README](https://togithub.com/getsentry/sentry-javascript/blob/develop/packages/solid/README.md) for how to use
    the SDK.

##### Other changes

-   feat(deps): bump [@&#8203;opentelemetry/instrumentation-express](https://togithub.com/opentelemetry/instrumentation-express) from 0.40.0 to 0.40.1 ([#&#8203;12438](https://togithub.com/getsentry/sentry-javascript/issues/12438))
-   feat(deps): bump [@&#8203;opentelemetry/instrumentation-mongodb](https://togithub.com/opentelemetry/instrumentation-mongodb) from 0.44.0 to 0.45.0 ([#&#8203;12439](https://togithub.com/getsentry/sentry-javascript/issues/12439))
-   feat(deps): bump [@&#8203;opentelemetry/propagator-aws-xray](https://togithub.com/opentelemetry/propagator-aws-xray) from 1.24.1 to 1.25.0 ([#&#8203;12437](https://togithub.com/getsentry/sentry-javascript/issues/12437))
-   feat(nextjs): Allow for suppressing warning about missing global error handler file ([#&#8203;12369](https://togithub.com/getsentry/sentry-javascript/issues/12369))
-   feat(redis): Add cache logic for redis-4 ([#&#8203;12429](https://togithub.com/getsentry/sentry-javascript/issues/12429))
-   feat(replay): Replay Web Vital Breadcrumbs ([#&#8203;12296](https://togithub.com/getsentry/sentry-javascript/issues/12296))
-   fix: Fix types export order ([#&#8203;12404](https://togithub.com/getsentry/sentry-javascript/issues/12404))
-   fix(astro): Ensure server-side exports work correctly ([#&#8203;12453](https://togithub.com/getsentry/sentry-javascript/issues/12453))
-   fix(aws-serverless): Add `op` to Otel-generated lambda function root span ([#&#8203;12430](https://togithub.com/getsentry/sentry-javascript/issues/12430))
-   fix(aws-serverless): Only auto-patch handler in CJS when loading `awslambda-auto` ([#&#8203;12392](https://togithub.com/getsentry/sentry-javascript/issues/12392))
-   fix(aws-serverless): Only start root span in Sentry wrapper if Otel didn't wrap handler ([#&#8203;12407](https://togithub.com/getsentry/sentry-javascript/issues/12407))
-   fix(browser): Fix INP span creation & transaction tagging ([#&#8203;12372](https://togithub.com/getsentry/sentry-javascript/issues/12372))
-   fix(nextjs): correct types conditional export ordering ([#&#8203;12355](https://togithub.com/getsentry/sentry-javascript/issues/12355))
-   fix(replay): Fix guard for exception event ([#&#8203;12441](https://togithub.com/getsentry/sentry-javascript/issues/12441))
-   fix(vue): Handle span name assignment for nested routes in VueRouter ([#&#8203;12398](https://togithub.com/getsentry/sentry-javascript/issues/12398))

Work in this release was contributed by [@&#8203;soch4n](https://togithub.com/soch4n). Thank you for your contribution!

### [`v8.9.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#890)

This release failed to publish correctly, please use `8.9.1` instead.

</details>

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

### [`v1.5.29`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1529---2024-06-13)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.28...v1.5.29)

##### Bug Fixes

-   **(ci)** Make publish action upload cli artifacts ([#&#8203;9040](https://togithub.com/swc-project/swc/issues/9040)) ([3337bb2](3337bb26f9))

-   **(es)** Make `output` field optional ([#&#8203;9033](https://togithub.com/swc-project/swc/issues/9033)) ([39654bf](39654bf1e7))

-   **(es/codegen)** Emit named type in mapped types ([#&#8203;9038](https://togithub.com/swc-project/swc/issues/9038)) ([91e92ec](91e92ececa))

-   **(es/minifier)** Visit RHS while hoisting properties ([#&#8203;9032](https://togithub.com/swc-project/swc/issues/9032)) ([cb16994](cb16994a8d))

-   **(xtask)** Fix `nightly` action ([#&#8203;9042](https://togithub.com/swc-project/swc/issues/9042)) ([733dcc6](733dcc6b83))

##### Performance

-   **(es/minifier)** Do not visit var init multiple times ([#&#8203;9039](https://togithub.com/swc-project/swc/issues/9039)) ([675916c](675916ccbd))

-   **(es/parser)** Optimize lexing of template literals ([#&#8203;9036](https://togithub.com/swc-project/swc/issues/9036)) ([6ab19a1](6ab19a1b5f))

-   **(es/parser)** Optimize lexing of template literals, again ([#&#8203;9037](https://togithub.com/swc-project/swc/issues/9037)) ([5bffd0f](5bffd0ff9b))

</details>

<details>
<summary>bcoe/c8 (c8)</summary>

### [`v10.1.2`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1012-2024-06-13)

[Compare Source](https://togithub.com/bcoe/c8/compare/v10.1.1...v10.1.2)

##### Bug Fixes

-   **deps:** make monocart-coverage-reports an optional with meta defined ([3b91fda](3b91fdaa0e))

### [`v10.1.1`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1011-2024-06-11)

[Compare Source](https://togithub.com/bcoe/c8/compare/v10.1.0...v10.1.1)

##### Bug Fixes

-   stop installing monocart-coverage-reports ([#&#8203;535](https://togithub.com/bcoe/c8/issues/535)) ([13979a7](13979a76b5))

### [`v10.1.0`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#1010-2024-06-11)

[Compare Source](https://togithub.com/bcoe/c8/compare/v10.0.0...v10.1.0)

##### Features

-   add experimental monocart reports ([#&#8203;521](https://togithub.com/bcoe/c8/issues/521)) ([2e5e297](2e5e297ac0))

</details>

<details>
<summary>electron/electron (electron)</summary>

### [`v31.0.1`](https://togithub.com/electron/electron/releases/tag/v31.0.1): electron v31.0.1

[Compare Source](https://togithub.com/electron/electron/compare/v31.0.0...v31.0.1)

### Release Notes for v31.0.1

#### Fixes

-   Fixed an issue where `fetch` dependent interfaces in Node.js were not defined when `nodeIntegration` was enabled in some circumstances. [#&#8203;42453](https://togithub.com/electron/electron/pull/42453) <span style="font-size:small;">(Also in [30](https://togithub.com/electron/electron/pull/42454))</span>
-   Fixed an issue where bad flags passed via `--js-flags` could cause a crash. [#&#8203;42441](https://togithub.com/electron/electron/pull/42441) <span style="font-size:small;">(Also in [29](https://togithub.com/electron/electron/pull/42442), [30](https://togithub.com/electron/electron/pull/42440))</span>

</details>

<details>
<summary>graphql/graphql-js (graphql)</summary>

### [`v16.8.2`](https://togithub.com/graphql/graphql-js/releases/tag/v16.8.2)

[Compare Source](https://togithub.com/graphql/graphql-js/compare/v16.8.1...v16.8.2)

#### v16.8.2 (2024-06-12)

##### Bug Fix 🐞\* [#&#8203;4022](https://togithub.com/graphql/graphql-js/pull/4022) fix: remove `globalThis` check and align with what bundlers can accept ([@&#8203;JoviDeCroock](https://togithub.com/JoviDeCroock))

##### Internal 🏠\* [#&#8203;4104](https://togithub.com/graphql/graphql-js/pull/4104) Fix publish scripts ([@&#8203;benjie](https://togithub.com/benjie))

##### Committers: 2

-   Benjie([@&#8203;benjie](https://togithub.com/benjie))
-   Jovi De Croock([@&#8203;JoviDeCroock](https://togithub.com/JoviDeCroock))

</details>

<details>
<summary>okonet/lint-staged (lint-staged)</summary>

### [`v15.2.7`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1527)

[Compare Source](https://togithub.com/okonet/lint-staged/compare/v15.2.6...v15.2.7)

##### Patch Changes

-   [#&#8203;1440](https://togithub.com/lint-staged/lint-staged/pull/1440) [`a51be80`](a51be804b6) Thanks [@&#8203;iiroj](https://togithub.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version drops the `--path-format=absolute` option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading `git` to the latest version.

### [`v15.2.6`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1526)

[Compare Source](https://togithub.com/okonet/lint-staged/compare/v15.2.5...v15.2.6)

##### Patch Changes

-   [#&#8203;1433](https://togithub.com/lint-staged/lint-staged/pull/1433) [`119adb2`](119adb2985) Thanks [@&#8203;iiroj](https://togithub.com/iiroj)! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.

</details>

<details>
<summary>openai/openai-node (openai)</summary>

### [`v4.51.0`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4510-2024-06-12)

[Compare Source](https://togithub.com/openai/openai-node/compare/v4.50.0...v4.51.0)

Full Changelog: [v4.50.0...v4.51.0](https://togithub.com/openai/openai-node/compare/v4.50.0...v4.51.0)

##### Features

-   **api:** updates ([#&#8203;894](https://togithub.com/openai/openai-node/issues/894)) ([b58f5a1](b58f5a1344))

</details>

<details>
<summary>webpack/webpack (webpack)</summary>

### [`v5.92.0`](https://togithub.com/webpack/webpack/compare/v5.91.0...34e2561addb0f65a7a6fb0ce7ae1aea4cd1d599f)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.91.0...v5.92.0)

</details>

<details>
<summary>cloudflare/workers-sdk (wrangler)</summary>

### [`v3.60.2`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3602)

[Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.60.1...wrangler@3.60.2)

##### Patch Changes

-   [#&#8203;5307](https://togithub.com/cloudflare/workers-sdk/pull/5307) [`e6a3d24`](e6a3d243a7) Thanks [@&#8203;achanda](https://togithub.com/achanda)! - fix: add more timePeriods to `wrangler d1 insights`

    This PR updates `wrangler d1 insights` to accept arbitrary timePeriod values up to 31 days.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-13 03:26:11 +00:00
doouding
ec8b2cc32a
feat: bump bs (#7198)
## Features
- https://github.com/toeverything/BlockSuite/pull/7264 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7182 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7181 @CatsJuice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7273 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7272 @doouding
- https://github.com/toeverything/BlockSuite/pull/7263 @doouding
- https://github.com/toeverything/BlockSuite/pull/7252 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7261 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7271 @golok727

## Misc
- https://github.com/toeverything/BlockSuite/pull/7274 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7266 @Saul-Mirone
2024-06-12 05:50:58 +00:00
renovate
a7427a4f8d
chore: Lock file maintenance (#7129)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-11 09:07:25 +00:00