renovate
d898dae280
chore: bump up fake-indexeddb version to v6 ( #6998 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fake-indexeddb](https://togithub.com/dumbmatter/fakeIndexedDB ) | [`^5.0.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/fake-indexeddb/5.0.2/6.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fake-indexeddb/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fake-indexeddb/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fake-indexeddb/5.0.2/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fake-indexeddb/5.0.2/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [fake-indexeddb](https://togithub.com/dumbmatter/fakeIndexedDB ) | [`5.0.2` -> `6.0.0`](https://renovatebot.com/diffs/npm/fake-indexeddb/5.0.2/6.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fake-indexeddb/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fake-indexeddb/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fake-indexeddb/5.0.2/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fake-indexeddb/5.0.2/6.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>dumbmatter/fakeIndexedDB (fake-indexeddb)</summary>
### [`v6.0.0`](https://togithub.com/dumbmatter/fakeIndexedDB/blob/HEAD/CHANGELOG.md#600-2024-05-20 )
[Compare Source](https://togithub.com/dumbmatter/fakeIndexedDB/compare/v5.0.2...v6.0.0 )
I made this a new major version because it includes a few changes that could in theory break something in some weird situations. But I think the vast majority of users (possibly all users?) won't have any issue upgrading.
- [#​48](https://togithub.com/dumbmatter/fakeIndexedDB/issues/48 ) - Switched to using `DOMException` errors rather than normal errors, since that's what the IndexedDB spec says to use, and Node.js now has a built-in DOMException in all supported versions.
- [#​93](https://togithub.com/dumbmatter/fakeIndexedDB/issues/93 ) - [@​bryan-codaio](https://togithub.com/bryan-codaio ) made the latest tweak to event scheduling, this time improving how `setImmediate` is used in some situations where people are mocking timers.
- [#​99](https://togithub.com/dumbmatter/fakeIndexedDB/issues/99 ) - [@​sjnho](https://togithub.com/sjnho ) fixed handling of `Date` objects to account for some edge cases, including jsdom overriding the native `Date` constructor.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-21 03:53:30 +00:00
EYHN
d5c93f10ac
fix(core): cant leave workspace ( #6999 )
2024-05-21 03:41:03 +00:00
EYHN
7fddd14f72
fix(core): fix active view with mouse ( #6994 )
2024-05-20 08:19:53 +00:00
darkskygit
df73b6ddc7
feat: revoke token after sensitive operations ( #6993 )
...
fix #6914
2024-05-20 06:38:48 +00:00
Brooooooklyn
4c77ffd469
ci: setup version before build graphql Docker image ( #6992 )
2024-05-20 06:26:29 +00:00
darkskygit
f2866f57c9
feat: add lora support ( #6977 )
2024-05-20 05:05:34 +00:00
renovate
53ee1801e6
chore: bump up @blocksuite/icons version to v2.1.51 ( #6973 )
...
[![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.50` -> `2.1.51`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.50/2.1.51 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.51?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.51?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.50/2.1.51?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.50/2.1.51?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.51`](937b436274...6390fb2163
)
[Compare Source](937b436274...6390fb2163
)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-20 04:25:25 +00:00
regischen
01eff4ff20
chore: bump blocksuite ( #6975 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7085 @regischen
- https://github.com/toeverything/BlockSuite/pull/7077 @fourdim
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7087 @Mirone
- https://github.com/toeverything/BlockSuite/pull/7076 @donteatfriedrice
2024-05-20 01:38:18 +00:00
CatsJuice
03104cd8b1
fix(component): ui storybook's doc page can not scroll ( #6909 )
2024-05-20 01:26:37 +00:00
Ikko Eltociear Ashimine
b5fee274b1
docs: update README.md ( #6855 )
2024-05-20 01:25:29 +00:00
renovate
4156b3ae89
chore: bump up blocksuite-canary to v0.15.0-canary-202405161332-f0fb4ad ( #6932 )
...
[![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/block-std](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true )](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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-17 07:53:02 +00:00
Brooooooklyn
b89e088153
fix: download selfhost fonts script ( #6970 )
2024-05-17 05:27:43 +00:00
Flrande
35a6cf655b
feat(core): bump blocksuite ( #6965 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7052 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7072 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7073 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7062 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7066 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7061 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7058 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7060 @doouding
- https://github.com/toeverything/BlockSuite/pull/7051 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7054 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7023 @golok727
- https://github.com/toeverything/BlockSuite/pull/7022 @golok727
- https://github.com/toeverything/BlockSuite/pull/7047 @fundon
- https://github.com/toeverything/BlockSuite/pull/7043 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7041 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7038 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7040 @regischen
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7068 @doouding
- https://github.com/toeverything/BlockSuite/pull/7069 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7065 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7048 @fundon
- https://github.com/toeverything/BlockSuite/pull/7045 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7046 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7039 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7036 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7032 @Saul-Mirone
## Misc
- https://github.com/toeverything/BlockSuite/pull/7063 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7050 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7044 @doouding
- https://github.com/toeverything/BlockSuite/pull/7042 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6992 @doouding
2024-05-17 03:44:11 +00:00
pengx17
bd5023d4ab
fix(electron): remove all migration code in electron ( #6969 )
...
The migration code import blocksuite in the dependency tree and prevent affine from running because electron's helper process tries to run browser only code that is part of the side effect of `@blocksuite/blocks`.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/53da3972-7433-4631-b8c2-d3e322066c7d.png )
[The side effect free trick in esbuild config](https://github.com/toeverything/AFFiNE/pull/6415 ) does not clean up these - not sure why.
It has been already 6 month since we introduced the migration code in DB.
Instead of finding out the real root cause, I think may be better to remove the migration code completely so that no blocksuite code will be in the import paths in helper.js.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/3b03522a-2a25-4bdb-8287-86a6b94623e1.png )
2024-05-17 03:01:14 +00:00
JimmFly
10015c59b7
feat(core): add private anchor link for sharing ( #6966 )
...
close AFF-1085
2024-05-16 13:35:02 +00:00
renovate
3799b65f73
chore: bump up @sentry/integrations version to v7.114.0 ( #6963 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@sentry/integrations](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/integrations ) ([source](https://togithub.com/getsentry/sentry-javascript )) | [`7.111.0` -> `7.114.0`](https://renovatebot.com/diffs/npm/@sentry%2fintegrations/7.111.0/7.114.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fintegrations/7.114.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fintegrations/7.114.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fintegrations/7.111.0/7.114.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fintegrations/7.111.0/7.114.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>getsentry/sentry-javascript (@​sentry/integrations)</summary>
### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0 )
##### Important Changes
- **fix(browser/v7): Continuously record CLS ([#​11935](https://togithub.com/getsentry/sentry-javascript/issues/11935 ))**
This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.
**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**
##### Other Changes
- build(aws-lambda/v7): Turn off lambda layer publishing ([#​11875](https://togithub.com/getsentry/sentry-javascript/issues/11875 ))
- feat(v7): Add `tunnel` support to multiplexed transport ([#​11851](https://togithub.com/getsentry/sentry-javascript/issues/11851 ))
- fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#​11929](https://togithub.com/getsentry/sentry-javascript/issues/11929 ))
- fix(react/v7): Fix react router v4/v5 span names ([#​11940](https://togithub.com/getsentry/sentry-javascript/issues/11940 ))
### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0 )
##### Important Changes
- **feat(node): Support Node 22 ([#​11754](https://togithub.com/getsentry/sentry-javascript/issues/11754 ))**
This release adds support for Node 22! 🎉
It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.
##### Other Changes
- feat(feedback): \[v7] New feedback button design ([#​11841](https://togithub.com/getsentry/sentry-javascript/issues/11841 ))
- feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#​11752](https://togithub.com/getsentry/sentry-javascript/issues/11752 ))
- fix(ember/v7): Ensure unnecessary spans are avoided ([#​11848](https://togithub.com/getsentry/sentry-javascript/issues/11848 ))
### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2 )
- fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#​11765](https://togithub.com/getsentry/sentry-javascript/issues/11765 ))
### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1 )
- fix(ember/v7): Do not create rendering spans without transaction ([#​11750](https://togithub.com/getsentry/sentry-javascript/issues/11750 ))
### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0 )
##### Important Changes
- **feat: Export pluggable integrations from SDK packages ([#​11723](https://togithub.com/getsentry/sentry-javascript/issues/11723 ))**
Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:
```js
// Before
import * as Sentry fromv '@​sentry/browser';
import { dedupeIntegration } from '@​sentry/integrations';
Sentry.init({
integrations: [dedupeIntegration()],
});
// After
import * as Sentry from '@​sentry/browser';
Sentry.init({
integrations: [Sentry.dedupeIntegration()],
});
```
Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.
##### Other Changes
- feat(replay): Add "maxCanvasSize" option for replay canvases ([#​11732](https://togithub.com/getsentry/sentry-javascript/issues/11732 ))
- fix(serverless): \[v7] Check if cloud event callback is a function ([#​11734](https://togithub.com/getsentry/sentry-javascript/issues/11734 ))
#### Bundle size 📦
| Path | Size |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.72 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - Webpack (gzipped) | 71.69 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.91 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - Webpack (gzipped) | 35.62 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. browserTracingIntegration) - Webpack (gzipped) | 35.5 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - Webpack (gzipped) | 22.78 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.9 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.27 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.02 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - ES6 CDN Bundle (gzipped) | 25.28 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.01 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.3 KB |
| [@​sentry/react](https://togithub.com/sentry/react ) (incl. Tracing, Replay) - Webpack (gzipped) | 72.18 KB |
| [@​sentry/react](https://togithub.com/sentry/react ) - Webpack (gzipped) | 22.81 KB |
| [@​sentry/nextjs](https://togithub.com/sentry/nextjs ) Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.01 KB |
| [@​sentry/nextjs](https://togithub.com/sentry/nextjs ) Client - Webpack (gzipped) | 54.15 KB |
| [@​sentry-internal/feedback](https://togithub.com/sentry-internal/feedback ) - Webpack (gzipped) | 17.32 KB |
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 13:21:05 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover ( #6967 )
2024-05-16 11:09:34 +00:00
renovate
f37bbb0784
chore: bump up @sentry/react version to v8 ( #6919 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](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 )) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2freact/8.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2freact/8.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2freact/7.111.0/8.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2freact/7.111.0/8.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>getsentry/sentry-javascript (@​sentry/react)</summary>
### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0 )
##### Important Changes
- **feat(bun): Add Bun Global Unhandled Handlers ([#​11960](https://togithub.com/getsentry/sentry-javascript/issues/11960 ))**
The Bun SDK will now capture global unhandled errors.
##### Other Changes
- feat(node): Log process and thread info on initialisation ([#​11972](https://togithub.com/getsentry/sentry-javascript/issues/11972 ))
- fix(aws-serverless): Include ESM artifacts in package ([#​11973](https://togithub.com/getsentry/sentry-javascript/issues/11973 ))
- fix(browser): Only start `http.client` spans if there is an active parent span ([#​11974](https://togithub.com/getsentry/sentry-javascript/issues/11974 ))
- fix(feedback): Improve CSS theme variable names and layout ([#​11964](https://togithub.com/getsentry/sentry-javascript/issues/11964 ))
- fix(node): Ensure `execArgv` are not sent to worker threads ([#​11963](https://togithub.com/getsentry/sentry-javascript/issues/11963 ))
- ref(feedback): Simplify feedback function params ([#​11957](https://togithub.com/getsentry/sentry-javascript/issues/11957 ))
### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0 )
##### Important Changes
- **fix(browser/v7): Continuously record CLS ([#​11935](https://togithub.com/getsentry/sentry-javascript/issues/11935 ))**
This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.
**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**
##### Other Changes
- build(aws-lambda/v7): Turn off lambda layer publishing ([#​11875](https://togithub.com/getsentry/sentry-javascript/issues/11875 ))
- feat(v7): Add `tunnel` support to multiplexed transport ([#​11851](https://togithub.com/getsentry/sentry-javascript/issues/11851 ))
- fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#​11929](https://togithub.com/getsentry/sentry-javascript/issues/11929 ))
- fix(react/v7): Fix react router v4/v5 span names ([#​11940](https://togithub.com/getsentry/sentry-javascript/issues/11940 ))
### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0 )
##### Important Changes
- **feat(node): Support Node 22 ([#​11754](https://togithub.com/getsentry/sentry-javascript/issues/11754 ))**
This release adds support for Node 22! 🎉
It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.
##### Other Changes
- feat(feedback): \[v7] New feedback button design ([#​11841](https://togithub.com/getsentry/sentry-javascript/issues/11841 ))
- feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#​11752](https://togithub.com/getsentry/sentry-javascript/issues/11752 ))
- fix(ember/v7): Ensure unnecessary spans are avoided ([#​11848](https://togithub.com/getsentry/sentry-javascript/issues/11848 ))
### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2 )
- fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#​11765](https://togithub.com/getsentry/sentry-javascript/issues/11765 ))
### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1 )
- fix(ember/v7): Do not create rendering spans without transaction ([#​11750](https://togithub.com/getsentry/sentry-javascript/issues/11750 ))
### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0 )
##### Important Changes
- **feat: Export pluggable integrations from SDK packages ([#​11723](https://togithub.com/getsentry/sentry-javascript/issues/11723 ))**
Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:
```js
// Before
import * as Sentry fromv '@​sentry/browser';
import { dedupeIntegration } from '@​sentry/integrations';
Sentry.init({
integrations: [dedupeIntegration()],
});
// After
import * as Sentry from '@​sentry/browser';
Sentry.init({
integrations: [Sentry.dedupeIntegration()],
});
```
Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.
##### Other Changes
- feat(replay): Add "maxCanvasSize" option for replay canvases ([#​11732](https://togithub.com/getsentry/sentry-javascript/issues/11732 ))
- fix(serverless): \[v7] Check if cloud event callback is a function ([#​11734](https://togithub.com/getsentry/sentry-javascript/issues/11734 ))
#### Bundle size 📦
| Path | Size |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.72 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - Webpack (gzipped) | 71.69 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.91 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - Webpack (gzipped) | 35.62 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. browserTracingIntegration) - Webpack (gzipped) | 35.5 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - Webpack (gzipped) | 22.78 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.9 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.27 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.02 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - ES6 CDN Bundle (gzipped) | 25.28 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.01 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.3 KB |
| [@​sentry/react](https://togithub.com/sentry/react ) (incl. Tracing, Replay) - Webpack (gzipped) | 72.18 KB |
| [@​sentry/react](https://togithub.com/sentry/react ) - Webpack (gzipped) | 22.81 KB |
| [@​sentry/nextjs](https://togithub.com/sentry/nextjs ) Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.01 KB |
| [@​sentry/nextjs](https://togithub.com/sentry/nextjs ) Client - Webpack (gzipped) | 54.15 KB |
| [@​sentry-internal/feedback](https://togithub.com/sentry-internal/feedback ) - Webpack (gzipped) | 17.32 KB |
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 10:06:35 +00:00
Brooooooklyn
6d5d09bb74
chore: use workspace dependencies ( #6964 )
2024-05-16 09:49:23 +00:00
renovate
bf43ba3d6b
chore: Lock file maintenance ( #6647 )
...
[![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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 09:15:58 +00:00
Brooooooklyn
94af2caba8
chore: simplify renovate config and upgrade msw ( #6961 )
2024-05-16 08:40:00 +00:00
JimmFly
b8612f3071
refactor(core): replace the loading state written in useState with useDebouncedValue ( #6925 )
...
close TOV-856
refactor(core): replace the loading state written in useState with useDebouncedState
fix(core): cloudSvg obscures toggle button
2024-05-16 08:11:31 +00:00
Brooooooklyn
c7ddd679fd
feat(server): use native tokenizer impl ( #6960 )
...
### Benchmark
`yarn workspace @affine/server-native bench`
```
┌─────────┬────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'tiktoken' │ '5' │ 176932518.76000002 │ '±4.71%' │ 100 │
│ 1 │ 'native' │ '16' │ 61041597.51000003 │ '±0.60%' │ 100 │
└─────────┴────────────┴─────────┴────────────────────┴──────────┴─────────┘
```
2024-05-16 07:55:10 +00:00
CatsJuice
46140039d9
fix(core): local onboarding should dismiss after clicking learn more ( #6942 )
2024-05-16 07:41:49 +00:00
CatsJuice
6cef03c4c3
fix(core): adjust ai onboarding trigger logic, launch by auth status ( #6941 )
...
- if signed in, show ai-onboarding dialog
- if not signed in, show ai onboarding toast
2024-05-16 07:41:39 +00:00
renovate
ad09bb6cd9
chore: bump up sinon version to v18 ( #6950 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sinon](https://sinonjs.org/ ) ([source](https://togithub.com/sinonjs/sinon )) | [`^17.0.1` -> `^18.0.0`](https://renovatebot.com/diffs/npm/sinon/17.0.1/18.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/18.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon/18.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon/17.0.1/18.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/17.0.1/18.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>sinonjs/sinon (sinon)</summary>
### [`v18.0.0`](https://togithub.com/sinonjs/sinon/compare/v17.0.2...v18.0.0 )
[Compare Source](https://togithub.com/sinonjs/sinon/compare/v17.0.2...v18.0.0 )
### [`v17.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1702 )
[Compare Source](https://togithub.com/sinonjs/sinon/compare/v17.0.1...v17.0.2 )
- [`f6dca0ba`](f6dca0bac3
)
upgrade packages ([#​2595](https://togithub.com/sinonjs/sinon/issues/2595 )) (Carl-Erik Kopseng)
- [`5025d001`](5025d00140
)
Avoid return and callArg\* clearing each other's state ([#​2593](https://togithub.com/sinonjs/sinon/issues/2593 )) (Carl-Erik Kopseng)
> - Partially revert "fix returns does not override call through ([#​2567](https://togithub.com/sinonjs/sinon/issues/2567 ))"
>
> <!---->
>
> - revert to the old manual clearing of props
- [`ed068a88`](ed068a886f
)
Bump ip from 1.1.8 to 1.1.9 ([#​2587](https://togithub.com/sinonjs/sinon/issues/2587 )) (dependabot\[bot])
- [`ec4d592e`](ec4d592ee4
)
fix [#​2589](https://togithub.com/sinonjs/sinon/issues/2589 ): avoid invoking getter as side-effect ([#​2592](https://togithub.com/sinonjs/sinon/issues/2592 )) (Carl-Erik Kopseng)
- [`9972e1e3`](9972e1e399
)
Fix typo in mocks documentation ([#​2591](https://togithub.com/sinonjs/sinon/issues/2591 )) (Eduardo de la Cruz Palacios)
- [`52e6e4c5`](52e6e4c540
)
chore: prefer cache option of setup-node (Morgan Roderick)
- [`08da1235`](08da123555
)
Bump actions/cache from 3 to 4 (dependabot\[bot])
- [`404ef47e`](404ef47e11
)
Bump nokogiri from 1.14.3 to 1.16.2 (dependabot\[bot])
- [`fd79612c`](fd79612c33
)
Update Bug_report.md (Carl-Erik Kopseng)
- [`1fbc812a`](1fbc812a9f
)
Re-add about (Carl-Erik Kopseng)
- [`fc8f6c3e`](fc8f6c3e11
)
Fix formatting :clown: (Carl-Erik Kopseng)
- [`c57e38ae`](c57e38ae2e
)
Remove old template (Carl-Erik Kopseng)
- [`754bf7a9`](754bf7a98b
)
Update Bug_report.md (Carl-Erik Kopseng)
- [`87eed9d2`](87eed9d255
)
Fix some typos at code comments ([#​2581](https://togithub.com/sinonjs/sinon/issues/2581 )) (EliyahuMachluf)
- [`cbae6997`](cbae69978c
)
Link to createStubInstance util.md docs in stubs.md ([#​2577](https://togithub.com/sinonjs/sinon/issues/2577 )) (Daniel Kaplan)
- [`adcf936d`](adcf936de0
)
Fix Mocha watch task by delegating to Node ([#​2573](https://togithub.com/sinonjs/sinon/issues/2573 )) (Carl-Erik Kopseng)
- [`30ad2372`](30ad237295
)
prettier:write (Carl-Erik Kopseng)
- [`45c4d6b9`](45c4d6b9b8
)
Remove outdated info from README ([#​2571](https://togithub.com/sinonjs/sinon/issues/2571 )) (Carl-Erik Kopseng)
- [`6c9f5c2a`](6c9f5c2ade
)
Add a notice that the Fake Timers API doc is incomplete ([#​2570](https://togithub.com/sinonjs/sinon/issues/2570 )) (Carl-Erik Kopseng)
- [`93db3ef3`](93db3ef3b0
)
breaking: Remove sinon.defaultConfig and related modules ([#​2565](https://togithub.com/sinonjs/sinon/issues/2565 )) (Carl-Erik Kopseng)
> - breaking: Remove sinon.defaultConfig and related modules
>
> default-config and get-config are leftovers from when Sinon
>
> shipped with sinon.test (now the independent NPM module
>
> 'sinon-test').
*Released by [Carl-Erik Kopseng](https://togithub.com/fatso83 ) on 2024-05-07.*
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 07:24:24 +00:00
renovate
b478518ee3
chore: bump up oxlint version to v0.3.5 ( #6908 )
...
[![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-project.github.io ) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.3.2` -> `0.3.5`](https://renovatebot.com/diffs/npm/oxlint/0.3.2/0.3.5 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.3.2/0.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.3.2/0.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.3.5`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.3.5 ): oxlint v0.3.5
[Compare Source](7193d75e94...754d9f4c98
)
#### What's Changed
- feat(linter): add use-isnan fixer for (in)equality operations by [@​DonIsaac](https://togithub.com/DonIsaac ) in [https://github.com/oxc-project/oxc/pull/3284 ](https://togithub.com/oxc-project/oxc/pull/3284 )
- feat(linter/eslint): Implement fixer for unicode-bom rule by [@​jelly](https://togithub.com/jelly ) in [https://github.com/oxc-project/oxc/pull/3259 ](https://togithub.com/oxc-project/oxc/pull/3259 )
- fix(linter/no-direct-mutation-state): false positive when class is declared inside a `CallExpression` by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3294 ](https://togithub.com/oxc-project/oxc/pull/3294 )
- fix(parser): parse `DecoratorCallExpression` when `Arguments` contains `MemberExpression` by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3265 ](https://togithub.com/oxc-project/oxc/pull/3265 )
- perf(ast): inline all `ASTBuilder` methods by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3295 ](https://togithub.com/oxc-project/oxc/pull/3295 )
- perf(lexer): dedupe numeric separator check by [@​DonIsaac](https://togithub.com/DonIsaac ) in [https://github.com/oxc-project/oxc/pull/3283 ](https://togithub.com/oxc-project/oxc/pull/3283 )
- perf(linter): rewrite react/require-render-return by [@​mysteryven](https://togithub.com/mysteryven ) in [https://github.com/oxc-project/oxc/pull/3276 ](https://togithub.com/oxc-project/oxc/pull/3276 )
#### New Contributors
- [@​g-plane](https://togithub.com/g-plane ) made their first contribution in [https://github.com/oxc-project/oxc/pull/3268 ](https://togithub.com/oxc-project/oxc/pull/3268 )
**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.3.4...oxlint_v0.3.5
### [`v0.3.4`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.3.4 ): oxlint v0.3.4
[Compare Source](6149e49ef7...7193d75e94
)
#### What's Changed
- [feat(linter): move react/rules_of_hooks to nursery](6edcae86cd
)
- feat(linter/eslint): Implement max-classes-per-file by [@​jelly](https://togithub.com/jelly ) in [https://github.com/oxc-project/oxc/pull/3241 ](https://togithub.com/oxc-project/oxc/pull/3241 )
-
**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.3.3...oxlint_v0.3.4
***
### From v0.3.3
#### What's Changed
##### Features
- add `--symlinks` to allow symbolic walking by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3244 ](https://togithub.com/oxc-project/oxc/pull/3244 )
- add `--format github` for github check annotation by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3191 ](https://togithub.com/oxc-project/oxc/pull/3191 )
- change the category of all react-perf rules to perf by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3243 ](https://togithub.com/oxc-project/oxc/pull/3243 )
- remove deprecated eslint v9 rules `no-return-await` and `no-mixed-operators` by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3188 ](https://togithub.com/oxc-project/oxc/pull/3188 )
- move prefer-node-protocol to restriction by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3171 ](https://togithub.com/oxc-project/oxc/pull/3171 )
##### New Rules
- react/rules-of-hooks by [@​rzvxa](https://togithub.com/rzvxa ) in [https://github.com/oxc-project/oxc/pull/3071 ](https://togithub.com/oxc-project/oxc/pull/3071 )
- eslint/radix by [@​KubaJastrz](https://togithub.com/KubaJastrz ) in [https://github.com/oxc-project/oxc/pull/3167 ](https://togithub.com/oxc-project/oxc/pull/3167 )
- eslint/no-new-native-nonconstructor by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3187 ](https://togithub.com/oxc-project/oxc/pull/3187 )
- eslint/unicode-bom by [@​jelly](https://togithub.com/jelly ) in [https://github.com/oxc-project/oxc/pull/3239 ](https://togithub.com/oxc-project/oxc/pull/3239 )
- eslint/no-empty-function rule by [@​jelly](https://togithub.com/jelly ) in [https://github.com/oxc-project/oxc/pull/3181 ](https://togithub.com/oxc-project/oxc/pull/3181 )
- eslint-plugin-next/no-duplicate-head by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3174 ](https://togithub.com/oxc-project/oxc/pull/3174 )
- eslint-plugin-next/no-page-custom-font by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3185 ](https://togithub.com/oxc-project/oxc/pull/3185 )
- eslint-plugin-next/no-styled-jsx-in-document by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3184 ](https://togithub.com/oxc-project/oxc/pull/3184 )
- unicorn/no-anonymous-default-export by [@​1zumii](https://togithub.com/1zumii ) in [https://github.com/oxc-project/oxc/pull/3220 ](https://togithub.com/oxc-project/oxc/pull/3220 )
##### Bug Fixes
- improve `prefer-string-starts-ends-with` rule by [@​camc314](https://togithub.com/camc314 ) in [https://github.com/oxc-project/oxc/pull/3176 ](https://togithub.com/oxc-project/oxc/pull/3176 )
- import/export: improve multiple exports error message by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3160 ](https://togithub.com/oxc-project/oxc/pull/3160 )
- import/named: handle `import { default as foo }` by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3255 ](https://togithub.com/oxc-project/oxc/pull/3255 )
- shorten eslint/eqeqeq rule error message's span by [@​mysteryven](https://togithub.com/mysteryven ) in [https://github.com/oxc-project/oxc/pull/3193 ](https://togithub.com/oxc-project/oxc/pull/3193 )
- fix(parser): correctly parse cls.fn<C> = x by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3208 ](https://togithub.com/oxc-project/oxc/pull/3208 )
#### New Contributors
- [@​KubaJastrz](https://togithub.com/KubaJastrz ) made their first contribution in [https://github.com/oxc-project/oxc/pull/3167 ](https://togithub.com/oxc-project/oxc/pull/3167 )
- [@​1zumii](https://togithub.com/1zumii ) made their first contribution in [https://github.com/oxc-project/oxc/pull/3220 ](https://togithub.com/oxc-project/oxc/pull/3220 )
**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.3.2...oxlint_v0.3.3
### [`v0.3.3`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.3.3 ): oxlint v0.3.3
[Compare Source](a7940868c6...6149e49ef7
)
#### What's Changed
##### Features
- add `--symlinks` to allow symbolic walking by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3244 ](https://togithub.com/oxc-project/oxc/pull/3244 )
- add `--format github` for github check annotation by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3191 ](https://togithub.com/oxc-project/oxc/pull/3191 )
- change the category of all react-perf rules to perf by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3243 ](https://togithub.com/oxc-project/oxc/pull/3243 )
- remove deprecated eslint v9 rules `no-return-await` and `no-mixed-operators` by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3188 ](https://togithub.com/oxc-project/oxc/pull/3188 )
- move prefer-node-protocol to restriction by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3171 ](https://togithub.com/oxc-project/oxc/pull/3171 )
##### New Rules
- react/rules-of-hooks by [@​rzvxa](https://togithub.com/rzvxa ) in [https://github.com/oxc-project/oxc/pull/3071 ](https://togithub.com/oxc-project/oxc/pull/3071 )
- eslint/radix by [@​KubaJastrz](https://togithub.com/KubaJastrz ) in [https://github.com/oxc-project/oxc/pull/3167 ](https://togithub.com/oxc-project/oxc/pull/3167 )
- eslint/no-new-native-nonconstructor by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3187 ](https://togithub.com/oxc-project/oxc/pull/3187 )
- eslint/unicode-bom by [@​jelly](https://togithub.com/jelly ) in [https://github.com/oxc-project/oxc/pull/3239 ](https://togithub.com/oxc-project/oxc/pull/3239 )
- eslint/no-empty-function rule by [@​jelly](https://togithub.com/jelly ) in [https://github.com/oxc-project/oxc/pull/3181 ](https://togithub.com/oxc-project/oxc/pull/3181 )
- eslint-plugin-next/no-duplicate-head by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3174 ](https://togithub.com/oxc-project/oxc/pull/3174 )
- eslint-plugin-next/no-page-custom-font by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3185 ](https://togithub.com/oxc-project/oxc/pull/3185 )
- eslint-plugin-next/no-styled-jsx-in-document by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3184 ](https://togithub.com/oxc-project/oxc/pull/3184 )
- unicorn/no-anonymous-default-export by [@​1zumii](https://togithub.com/1zumii ) in [https://github.com/oxc-project/oxc/pull/3220 ](https://togithub.com/oxc-project/oxc/pull/3220 )
##### Bug Fixes
- improve `prefer-string-starts-ends-with` rule by [@​camc314](https://togithub.com/camc314 ) in [https://github.com/oxc-project/oxc/pull/3176 ](https://togithub.com/oxc-project/oxc/pull/3176 )
- import/export: improve multiple exports error message by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3160 ](https://togithub.com/oxc-project/oxc/pull/3160 )
- import/named: handle `import { default as foo }` by [@​Boshen](https://togithub.com/Boshen ) in [https://github.com/oxc-project/oxc/pull/3255 ](https://togithub.com/oxc-project/oxc/pull/3255 )
- shorten eslint/eqeqeq rule error message's span by [@​mysteryven](https://togithub.com/mysteryven ) in [https://github.com/oxc-project/oxc/pull/3193 ](https://togithub.com/oxc-project/oxc/pull/3193 )
- fix(parser): correctly parse cls.fn<C> = x by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/oxc-project/oxc/pull/3208 ](https://togithub.com/oxc-project/oxc/pull/3208 )
#### New Contributors
- [@​KubaJastrz](https://togithub.com/KubaJastrz ) made their first contribution in [https://github.com/oxc-project/oxc/pull/3167 ](https://togithub.com/oxc-project/oxc/pull/3167 )
- [@​1zumii](https://togithub.com/1zumii ) made their first contribution in [https://github.com/oxc-project/oxc/pull/3220 ](https://togithub.com/oxc-project/oxc/pull/3220 )
**Full Changelog**: https://github.com/oxc-project/oxc/compare/oxlint_v0.3.2...oxlint_v0.3.3
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 07:08:31 +00:00
renovate
1f7ecab2ff
chore: bump up all non-major dependencies ( #6955 )
...
[![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.576.0` -> `3.577.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.576.0/3.577.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.577.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.577.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.576.0/3.577.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.576.0/3.577.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nx/vite](https://nx.dev ) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite )) | [`19.0.3` -> `19.0.4`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.3/19.0.4 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.0.3/19.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.0.3/19.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.577.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35770-2024-05-15 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.576.0...v3.577.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.4`](https://togithub.com/nrwl/nx/releases/tag/19.0.4 )
[Compare Source](https://togithub.com/nrwl/nx/compare/19.0.3...19.0.4 )
##### 19.0.4 (2024-05-15)
##### 🚀 Features
- **core:** support finding matching projects with only negative patterns ([#​22743](https://togithub.com/nrwl/nx/pull/22743 ))
- **react-native:** add optional syncDeps param to storybook executor ([#​22032](https://togithub.com/nrwl/nx/pull/22032 ))
##### 🩹 Fixes
- **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 ))
- **graph:** properly remove <base> tag when generating static graph file ([#​23399](https://togithub.com/nrwl/nx/pull/23399 ))
- **js:** copy assets handler should correctly handle assets on windows ([#​23351](https://togithub.com/nrwl/nx/pull/23351 ))
- **misc:** guard against failure to decode file in migration ([#​23069](https://togithub.com/nrwl/nx/pull/23069 ))
- **nextjs:** Moving a library using [@​nx/workspace](https://togithub.com/nx/workspace ):move should update … ([#​23311](https://togithub.com/nrwl/nx/pull/23311 ))
- **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 ))
- **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 ))
- **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 ))
##### ❤️ Thank You
- arekkubaczkowski [@​arekkubaczkowski](https://togithub.com/arekkubaczkowski )
- Colum Ferry [@​Coly010](https://togithub.com/Coly010 )
- Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder )
- Denis Bendrikov
- Emily Xiong [@​xiongemi](https://togithub.com/xiongemi )
- Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz )
- Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez )
- MaxKless [@​MaxKless](https://togithub.com/MaxKless )
- Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 06:54:28 +00:00
CatsJuice
301586c0f4
fix(component): avoid close button of the notification being invisible in dark mode and bright bg ( #6946 )
2024-05-16 06:43:47 +00:00
pengx17
3cca879a83
refactor(electron): use sqlite to store server clock & sync meta ( #6957 )
...
After this PR, IDB should not be used in desktop any longer.
2024-05-16 06:31:05 +00:00
pengx17
27af9b4d1a
perf(electron): add index for updates ( #6951 )
...
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd2e982a-f78a-4cc3-b090-ee4c0090e19d.png )
Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved.
After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/45ea4389-1833-4dc5-bd64-84d8c99cd647.png )
fix TOV-866
2024-05-16 06:30:53 +00:00
darkskygit
37cb5b86f4
fix: migrate typo ( #6948 )
2024-05-15 14:03:09 +00:00
darkskygit
0076359d6a
feat: add retry support for copilot ( #6947 )
2024-05-15 11:02:37 +00:00
darkskygit
7e7a4120aa
feat: renew models ( #6934 )
2024-05-15 09:13:05 +00:00
JimmFly
a61ded3f25
fix(core): add affine.pro to trustedDomain ( #6943 )
2024-05-15 09:00:15 +00:00
JimmFly
f48cd0dfef
fix(core): unexpected history preview style ( #6944 )
...
close TOV-865
https://github.com/toeverything/AFFiNE/assets/102217452/3ca12496-b4d9-4caf-a30b-981b52a2f42f
2024-05-15 08:48:37 +00:00
renovate
486044f0fb
chore: bump up @aws-sdk/client-s3 version to v3.576.0 ( #6936 )
...
[![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.575.0` -> `3.576.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.575.0/3.576.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.576.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.576.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.575.0/3.576.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.575.0/3.576.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.576.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35760-2024-05-14 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.575.0...v3.576.0 )
##### Features
- **client-s3:** Updated a few x-id in the http uri traits ([dcde25a](dcde25ac4c
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-15 08:32:11 +00:00
renovate
6da566c5f6
chore: bump up nx-cloud version to v19 ( #6937 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nx-cloud](https://nx.app ) | [`^18.0.0` -> `^19.0.0`](https://renovatebot.com/diffs/npm/nx-cloud/18.0.0/19.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx-cloud/19.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nx-cloud/19.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nx-cloud/18.0.0/19.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nx-cloud/18.0.0/19.0.0?slim=true )](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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-15 08:21:22 +00:00
darkskygit
98e218af93
feat: allow undefined new model ( #6933 )
2024-05-14 13:05:07 +00:00
LongYinan
b036f1b5c9
Revert "feat: renew models ( #6926 )"
...
This reverts commit 5bf9351be4
.
2024-05-14 18:46:32 +08:00
darkskygit
8881286025
chore: adjust log level ( #6913 )
2024-05-14 09:32:29 +00:00
darkskygit
b8333de119
fix: blob test flaky ( #6929 )
2024-05-14 09:20:58 +00:00
renovate
0d3180fd94
chore: bump up all non-major dependencies ( #6918 )
...
[![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.574.0` -> `3.575.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nx/vite](https://nx.dev ) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite )) | [`19.0.2` -> `19.0.3`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.2/19.0.3 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.0.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.0.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.0.2/19.0.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.0.2/19.0.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [electron-squirrel-startup](https://togithub.com/mongodb-js/electron-squirrel-startup ) | [`1.0.0` -> `1.0.1`](https://renovatebot.com/diffs/npm/electron-squirrel-startup/1.0.0/1.0.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron-squirrel-startup/1.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron-squirrel-startup/1.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.575.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35750-2024-05-13 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.574.0...v3.575.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.3`](https://togithub.com/nrwl/nx/releases/tag/19.0.3 )
[Compare Source](https://togithub.com/nrwl/nx/compare/19.0.2...19.0.3 )
##### 19.0.3 (2024-05-13)
##### 🚀 Features
- **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 ))
- **react:** Add SvgOptions for NxReactWebpackPlugin and WithNx ([#​23283](https://togithub.com/nrwl/nx/pull/23283 ))
##### 🩹 Fixes
- **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 ))
- **js:** Adds mjs files to prettierrcNameOptions ([#​21796](https://togithub.com/nrwl/nx/pull/21796 ))
- **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 ))
- **misc:** move e2e-ci to a separate parallel 1 command ([#​23305](https://togithub.com/nrwl/nx/pull/23305 ))
- **module-federation:** Throw an error if remote is invalid ([#​23100](https://togithub.com/nrwl/nx/pull/23100 ))
- **nx-cloud:** ensure generated ci workflows use dlx for nx-cloud ([#​23333](https://togithub.com/nrwl/nx/pull/23333 ))
- **nx-dev:** move table of contents down ([#​23350](https://togithub.com/nrwl/nx/pull/23350 ))
- **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 ))
- **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 ))
##### ❤️ Thank You
- Colum Ferry [@​Coly010](https://togithub.com/Coly010 )
- Denis Bendrikov
- Dmitry Zakharov [@​pumano](https://togithub.com/pumano )
- Isaac Mann [@​isaacplmann](https://togithub.com/isaacplmann )
- James Henry [@​JamesHenry](https://togithub.com/JamesHenry )
- Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz )
- Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez )
- Mehrad Rafigh [@​mehrad-rafigh](https://togithub.com/mehrad-rafigh )
- Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham )
- Patrick P [@​ppfenning92](https://togithub.com/ppfenning92 )
</details>
<details>
<summary>mongodb-js/electron-squirrel-startup (electron-squirrel-startup)</summary>
### [`v1.0.1`](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1 )
[Compare Source](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-14 09:07:15 +00:00
darkskygit
5bf9351be4
feat: renew models ( #6926 )
2024-05-14 08:54:58 +00:00
JimmFly
419f1b34b3
fix(core): unexpected toast style in editor ( #6924 )
...
<img width="1327" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/16115440-5265-44d6-9f05-b5621436cd59 ">
2024-05-14 07:39:24 +00:00
JimmFly
1b91ffa6a5
chore: adjust quick search style ( #6906 )
...
close TOV-854
<img width="651" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/f281eb82-852c-411d-b3dd-4bf7d7ce74e8 ">
2024-05-14 07:28:25 +00:00
renovate
431ed770fa
chore: bump up blocksuite-canary to v0.15.0-canary-202405131108-aa6f0b7 ( #6921 )
...
[![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/block-std](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite ) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true )](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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-14 05:48:09 +00:00
pengx17
dd45c80cc4
chore: track doc create action in bs editor ( #6915 )
...
fix TOV-855
added shape element create & doc create event tracking in blocksuite editor.
What's still missing:
the control (source) that triggered whiteboard element creation, i.e., from canvas dbclick, dnd or pasting.
2024-05-14 05:35:08 +00:00
Boshen
48de982a6b
chore: configure oxlint using .oxlint.json ( #6916 )
2024-05-14 13:34:18 +08:00
akumatus
261d413607
feat: history timeline shows relative time, such as today and yesterday ( #6864 )
...
### TL;DR
First, fixed an i18n issue in history panel. When the browser language is set to Chinese, and the AFFiNE application language is set to English, the language supposed to be English global. But now the language is a mixture of Chinese and English, which is obviously wrong.
![截屏2024-05-08 18.23.21.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/93d8218a-3b26-4b0c-9f15-71a8996556db.png )
Second, design a time formatter to convert timestamp into relative calendar date, such today and yesterday and so on. Long-ago edits will show the exact date like before.
![截屏2024-05-10 15.30.57.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/dbc59e80-9504-40b1-b712-5c155cb6fa63.png )
### What changed?
- `new Intl.DateTimeFormat` with language option form `document.documentElement.lang`
- Added `timestampToCalendarDate` function to convert timestamp into relative calendar date
- Updated unit tests
- Updated i18n copywriting
### How to test?
1. Open view history version
2. Check edit timeline
2024-05-13 11:59:48 +00:00