mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
f41d587d6533bac32cc24a18e9752a2f3edbd880
717 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f41d587d65 |
chore: upgrade cmdk to 1.0.0 (#6401)
Also include the command score into our own repo for some tweaks. Might fix https://github.com/toeverything/AFFiNE/issues/6322 |
||
|
|
c1eb7b657a | fix(templates): missing deps (#6396) | ||
|
|
c7e10c2283 | feat(core): fav item reordering (#6302) | ||
|
|
0abd24654d |
fix(electron): appimage wayland support (#6371)
Turns out the only solution for now is to patch the AppRun script in the AppImage using https://github.com/toeverything/electron-forge-maker-appimage/blob/master/scripts/patch-apprun.sh fix #6340, fix #6252 Some references: - https://github.com/audacity/audacity/issues/2498 - https://github.com/develar/app-builder/issues/104 |
||
|
|
7cd75824a4 |
fix(core): use ResizeObserver polyfill (#6360)
- Close https://github.com/toeverything/AFFiNE/issues/6359 |
||
|
|
c2847e2082 | chore(core): split sentry and setup into web/electron (#6357) | ||
|
|
5dcb3d69e5 | fix(core): opt out telemetry if it was set to false (#6335) | ||
|
|
8ee9f6ec05 |
chore: improve password error message (#6255)
chore: improve error message chore: add password minlength & maxlength i18n chore: check max length fix: i18n variables feat: add CredentialsRequirementType |
||
|
|
d8a3cd5ce2 | chore: bump oxlint and rules (#6314) | ||
|
|
2662ba763c |
chore: bump up express version to v4.19.2 [SECURITY] (#6308)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [express](http://expressjs.com/) ([source](https://togithub.com/expressjs/express)) | [`4.18.2` -> `4.19.2`](https://renovatebot.com/diffs/npm/express/4.18.2/4.19.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | ### GitHub Vulnerability Alerts #### [CVE-2024-29041](https://togithub.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vc) ### Impact Versions of Express.js prior to 4.19.2 and pre-release alpha and beta versions before 5.0.0-beta.3 are affected by an open redirect vulnerability using malformed URLs. When a user of Express performs a redirect using a user-provided URL Express performs an encode [using `encodeurl`](https://togithub.com/pillarjs/encodeurl) on the contents before passing it to the `location` header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list. The main method impacted is `res.location()` but this is also called from within `res.redirect()`. ### Patches |
||
|
|
2a019d4fae | fix(core): storybook stability for date (#6300) | ||
|
|
48abc52e85 |
feat: bump blocksuite (#6294)
## Features - https://github.com/toeverything/BlockSuite/pull/6544 @golok727 - https://github.com/toeverything/BlockSuite/pull/6543 @golok727 - https://github.com/toeverything/BlockSuite/pull/6536 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6497 @doouding - https://github.com/toeverything/BlockSuite/pull/6514 @regischen - https://github.com/toeverything/BlockSuite/pull/6523 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6530 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6526 @fourdim - https://github.com/toeverything/BlockSuite/pull/6532 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6493 @golok727 - https://github.com/toeverything/BlockSuite/pull/6529 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6528 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6509 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6525 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6502 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6489 @Flrande ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6558 @fourdim - https://github.com/toeverything/BlockSuite/pull/6556 @fourdim - https://github.com/toeverything/BlockSuite/pull/6547 @fundon - https://github.com/toeverything/BlockSuite/pull/6537 @golok727 - https://github.com/toeverything/BlockSuite/pull/6531 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6524 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6519 @regischen - https://github.com/toeverything/BlockSuite/pull/6517 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6516 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6510 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6511 @congzhou09 - https://github.com/toeverything/BlockSuite/pull/6507 @doouding - https://github.com/toeverything/BlockSuite/pull/6500 @fourdim - https://github.com/toeverything/BlockSuite/pull/6486 @congzhou09 - https://github.com/toeverything/BlockSuite/pull/6495 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6488 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6482 @Flrande - https://github.com/toeverything/BlockSuite/pull/6558 @fourdim ## Refactor - https://github.com/toeverything/BlockSuite/pull/6548 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6522 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6518 @regischen - https://github.com/toeverything/BlockSuite/pull/6521 @Saul-Mirone ## Misc - https://github.com/toeverything/BlockSuite/pull/6557 @fourdim - https://github.com/toeverything/BlockSuite/pull/6546 @Flrande - docs: update package desc - https://github.com/toeverything/BlockSuite/pull/6527 @fourdim - https://github.com/toeverything/BlockSuite/pull/6505 @Brooooooklyn - https://github.com/toeverything/BlockSuite/pull/6503 @fourdim - v0.13.0 - https://github.com/toeverything/BlockSuite/pull/6496 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6562 @donteatfriedrice |
||
|
|
6467e10690 | ci: fix lint oom (#6295) | ||
|
|
f2adbdaba4 | style: enable import-x/no-duplicates (#6279) | ||
|
|
d59e1389ec | chore(electron): config vitest swc (#6282) | ||
|
|
2b42a75e5a |
style: enable rxjs/finnish (#6276)
chore(infra): use finnish notation for observables do rename |
||
|
|
c6676fd074 |
build(deps): bump webpack-dev-middleware from 7.0.0 to 7.1.1 (#6275)
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 7.0.0 to 7.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack/webpack-dev-middleware/releases">webpack-dev-middleware's releases</a>.</em></p> <blockquote> <h2>v7.1.1</h2> <h3><a href="https://github.com/webpack/webpack-dev-middleware/compare/v7.1.0...v7.1.1">7.1.1</a> (2024-03-21)</h3> <h3>Bug Fixes</h3> <ul> <li><code>ContentLength</code> incorrectly set for empty files (<a href="https://redirect.github.com/webpack/webpack-dev-middleware/issues/1785">#1785</a>) (<a href=" |
||
|
|
3c6983ee49 |
fix(core): storybook build issue (#6274)
1. es2022 is required and should be set separately in storybook. 2. @blocksuite/icons versions are not consistent across packages. |
||
|
|
34703a3b7d |
feat(infra): new doc sync engine (#6205)
https://github.com/toeverything/AFFiNE/blob/eyhn/feat/new-sync/packages/common/infra/src/workspace/engine/doc/README.md |
||
|
|
05c44db5a9 | chore(core): remove unused dependencies (#6203) | ||
|
|
150c22936d | chore(core): add mixpanel track (#6202) | ||
|
|
85ee22329c |
fix(electron): add icon for AppImage build (#6257)
1. the icon is fixed in `/Applications`:
|
||
|
|
18224a83d1 |
chore(electron): bump @napi-rs/macos-alias (#6240)
fix dmg background missing issue https://github.com/Brooooooklyn/macos-alias/pull/3 |
||
|
|
483f957583 |
chore: bump up @aws-sdk/client-s3 version to v3.537.0 (#6210)
[](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.536.0` -> `3.537.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.536.0/3.537.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.537.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35370-2024-03-19) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.536.0...v3.537.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
32ab0693e2 | feat(core): update split view icons and texts (#6193) | ||
|
|
332cd3b380 |
refactor(core): split web entry from core (#6082)
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that. |
||
|
|
26925c96e4 |
chore: bump up happy-dom version to v14 (#6187)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`^13.4.1` -> `^14.0.0`](https://renovatebot.com/diffs/npm/happy-dom/13.4.1/14.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v14.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.10.1...v14.0.0) ##### 💣 Breaking Changes - Removes interfaces for Node's, as they are no longer needed as newer versions of Typescript can handle circular dependencies - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1330](https://togithub.com/capricorn86/happy-dom/issues/1330) ### [`v13.10.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.10.0...a6debf50e909766e0e5442b9e4c5ebe8dadb1cd1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.10.0...v13.10.1) ### [`v13.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.9.0...v13.10.0) ##### 🎨 Features - Adds support for the Headers.getSetCookie - By **[@​betterqualityassuranceuser](https://togithub.com/betterqualityassuranceuser)** in task [#​1315](https://togithub.com/capricorn86/happy-dom/issues/1315) ### [`v13.9.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.6...9d6d1f39aeb2cbfce914277ce22264ee88290582) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.6...v13.9.0) ### [`v13.8.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.5...v13.8.6) ##### 👷♂️ Patch fixes - Fixes bug related to multiple fallbacks to CSS variables being set incorrectly - By **[@​odanado](https://togithub.com/odanado)** in task [#​1308](https://togithub.com/capricorn86/happy-dom/issues/1308) ### [`v13.8.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.4...v13.8.5) ##### 👷♂️ Patch fixes - Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Fixes minor typo in `HTMLElementConfig` - By **[@​danbentley](https://togithub.com/danbentley)** in task [#​1306](https://togithub.com/capricorn86/happy-dom/issues/1306) ### [`v13.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.3...v13.8.4) ##### 👷♂️ Patch fixes - Adds support for returning URL relative to window location in `HTMLLinkElement.href`, `HTMLImageElement.src` and `HTMLScriptElement.src` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1135](https://togithub.com/capricorn86/happy-dom/issues/1135) ### [`v13.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.2...v13.8.3) ##### 👷♂️ Patch fixes - Fixes problem where some elements (e.g. `<li>`, `<h1>` or `<table>`) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1039](https://togithub.com/capricorn86/happy-dom/issues/1039) ### [`v13.8.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...4970c699d07d97c4a9839e25c831eef230445abf) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...v13.8.2) ### [`v13.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...08cd42601d62f39d42d01d902a56d2441f7128e0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...v13.8.1) ### [`v13.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.8...v13.8.0) ##### 🎨 Features - Adds support for Element.scrollIntoView - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1051](https://togithub.com/capricorn86/happy-dom/issues/1051) ### [`v13.7.8`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...0dfe51d6006c09b2f12ec2ec4f15858ae6450060) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...v13.7.8) ### [`v13.7.7`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) ### [`v13.7.6`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...54d1ae080f4e91ae09bb586ad01f82050cf5db15) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...v13.7.6) ### [`v13.7.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.4...v13.7.5) ##### 👷♂️ Patch fixes - Modify option node to return empty string even if the value is empty string - In task [#​1138](https://togithub.com/capricorn86/happy-dom/issues/1138) ### [`v13.7.4`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...16396f9d1f114ad70c926f56da40a31382aeabcb) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...v13.7.4) ### [`v13.7.3`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...1bd90205d67aa78de52ea5d1ebb3c8f8db2364af) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...v13.7.3) ### [`v13.7.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...3b4339d709bb9b097a8302996dc4af356f496e1a) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...v13.7.2) ### [`v13.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.0...v13.7.1) ##### 👷♂️ Patch fixes - Adds support for cloning body in `Response.clone()` - By **[@​cprecioso](https://togithub.com/cprecioso)** in task [#​1216](https://togithub.com/capricorn86/happy-dom/issues/1216) ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) ### [`v13.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.1...v13.6.2) ##### 🎨 Features - Add support for the ":target" pseudo query selector - By **[@​Schleuse](https://togithub.com/Schleuse)** in task [#​1221](https://togithub.com/capricorn86/happy-dom/issues/1221) ##### 👷♂️ Patch fixes - The Event listener method `handleEvent()` should be called within the listener scope - By **[@​titouanmathis](https://togithub.com/titouanmathis)** in task [#​1182](https://togithub.com/capricorn86/happy-dom/issues/1182) ### [`v13.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.0...v13.6.1) ##### 👷♂️ Patch fixes - Improves validation for the options argument in `MutationsObserver.observe()` - By **[@​romansp](https://togithub.com/romansp)** in task [#​1223](https://togithub.com/capricorn86/happy-dom/issues/1223) ### [`v13.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.3...v13.6.0) ##### 🎨 Features - Adds support for `Node.isEqualNode()` - By **[@​aralroca](https://togithub.com/aralroca)** in task [#​1263](https://togithub.com/capricorn86/happy-dom/issues/1263) ##### 👷♂️ Patch fixes - Adds support for the property `Document.forms` - By **[@​juandiegombr](https://togithub.com/juandiegombr)** in task [#​1260](https://togithub.com/capricorn86/happy-dom/issues/1260) - Adds check for if `MutationObserver` options are null, which most likely happens for code that is executed after the Window instance has been closed - By **[@​zachlankton](https://togithub.com/zachlankton)** in task [#​1217](https://togithub.com/capricorn86/happy-dom/issues/1217) ### [`v13.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.2...v13.5.3) ##### 👷♂️ Patch fixes - Improves check for invalid query selectors - By **[@​btea](https://togithub.com/btea)** in task #​0 ### [`v13.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.1...v13.5.2) ##### 👷♂️ Patch fixes - Adds unit test for Vue component with SVG - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1271](https://togithub.com/capricorn86/happy-dom/issues/1271) ### [`v13.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.0...v13.5.1) ##### 👷♂️ Patch fixes - Fixes problem with query selectors not finding SVG elements after the v13.4.0 release - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1274](https://togithub.com/capricorn86/happy-dom/issues/1274) ### [`v13.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.4.1...v13.5.0) ##### 🎨 Features - Use the Node.js `ReadableStream` class for the properties `Response.body` and `Request.body` - By **[@​diego-toro](https://togithub.com/diego-toro)** and **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1180](https://togithub.com/capricorn86/happy-dom/issues/1180) - The previous implementation used the Node.js `Stream.Readable` class, which is not fully spec compliant </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
398d66fac1 |
chore: bump up all non-major dependencies (#6107)
[](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.529.1` -> `3.536.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.529.1/3.536.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.8` -> `18.1.2`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.8/18.1.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.3.1/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.3.1/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.536.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35360-2024-03-18) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.535.0...v3.536.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.535.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35350-2024-03-15) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.534.0...v3.535.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.534.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35340-2024-03-14) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.533.0...v3.534.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.533.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35330-2024-03-13) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.1...v3.533.0) ##### Features - **client-s3:** This release makes the default option for S3 on Outposts request signing to use the SigV4A algorithm when using AWS Common Runtime (CRT). ([2ddd8ec]( |
||
|
|
0b0b3e0ae9 |
build(deps): bump follow-redirects from 1.15.5 to 1.15.6 (#6164)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
58c81dd1ac |
chore: bump up get-stream version to v9 (#6139)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [get-stream](https://togithub.com/sindresorhus/get-stream) | [`^8.0.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/get-stream/8.0.1/9.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/get-stream (get-stream)</summary> ### [`v9.0.0`](https://togithub.com/sindresorhus/get-stream/releases/tag/v9.0.0) [Compare Source](https://togithub.com/sindresorhus/get-stream/compare/v8.0.1...v9.0.0) ##### Breaking - Require Node.js 18 ([#​111](https://togithub.com/sindresorhus/get-stream/issues/111)) [`7ccab70`](https://togithub.com/sindresorhus/get-stream/commit/7ccab70) ##### Improvements - Fix browser support ([#​122](https://togithub.com/sindresorhus/get-stream/issues/122)) [`4d233d3`](https://togithub.com/sindresorhus/get-stream/commit/4d233d3) - Allow multiple readers at once ([#​121](https://togithub.com/sindresorhus/get-stream/issues/121)) [`a51d085`](https://togithub.com/sindresorhus/get-stream/commit/a51d085) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
a24320da68 | feat: bump blocksuite (#6123) | ||
|
|
05583dbe98 | feat: bump blocksuite (#6112) | ||
|
|
c1f5e848b4 | feat: blocksuite bump (#6104) | ||
|
|
fddbb426a6 | feat: bump blocksuite (#6078) | ||
|
|
9e1adfed81 |
chore: bump up all non-major dependencies (#6069)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@storybook/test-runner](https://togithub.com/storybookjs/test-runner) | [`^0.16.0` -> `^0.17.0`](https://renovatebot.com/diffs/npm/@storybook%2ftest-runner/0.16.0/0.17.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [next-themes](https://togithub.com/pacocoursey/next-themes) | [`^0.2.1` -> `^0.3.0`](https://renovatebot.com/diffs/npm/next-themes/0.2.1/0.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>storybookjs/test-runner (@​storybook/test-runner)</summary> ### [`v0.17.0`](https://togithub.com/storybookjs/test-runner/releases/tag/v0.17.0) [Compare Source](https://togithub.com/storybookjs/test-runner/compare/v0.16.0...v0.17.0) ##### 🚀 Enhancement - Release 0.17.0 [#​438](https://togithub.com/storybookjs/test-runner/pull/438) ([@​JReinhold](https://togithub.com/JReinhold) [@​shilman](https://togithub.com/shilman) [@​valentinpalkovic](https://togithub.com/valentinpalkovic) [@​yannbf](https://togithub.com/yannbf) [@​ndelangen](https://togithub.com/ndelangen)) - Support Storybook 8 [#​429](https://togithub.com/storybookjs/test-runner/pull/429) ([@​yannbf](https://togithub.com/yannbf)) - Support unhandled rendering errors [#​421](https://togithub.com/storybookjs/test-runner/pull/421) ([@​yannbf](https://togithub.com/yannbf)) ##### 🐛 Bug Fix - Prebundle dependencies [#​431](https://togithub.com/storybookjs/test-runner/pull/431) ([@​yannbf](https://togithub.com/yannbf)) - Update internal example to Storybook 8 [#​430](https://togithub.com/storybookjs/test-runner/pull/430) ([@​yannbf](https://togithub.com/yannbf)) - swap storybook/jest to storybook/test [#​427](https://togithub.com/storybookjs/test-runner/pull/427) ([@​ndelangen](https://togithub.com/ndelangen)) - Add PR template [#​428](https://togithub.com/storybookjs/test-runner/pull/428) ([@​yannbf](https://togithub.com/yannbf)) - Fix build step [#​425](https://togithub.com/storybookjs/test-runner/pull/425) ([@​valentinpalkovic](https://togithub.com/valentinpalkovic)) - Remove --prerelease from sb upgrade CI [#​423](https://togithub.com/storybookjs/test-runner/pull/423) ([@​JReinhold](https://togithub.com/JReinhold)) - Support stories with meta id for permalinking [#​419](https://togithub.com/storybookjs/test-runner/pull/419) ([@​yannbf](https://togithub.com/yannbf)) ##### 📝 Documentation - Docs: Add remark regarding pnp support [#​432](https://togithub.com/storybookjs/test-runner/pull/432) ([@​yannbf](https://togithub.com/yannbf)) - docs: replace postRender(deprecated) with postVisit [#​418](https://togithub.com/storybookjs/test-runner/pull/418) ([@​junkisai](https://togithub.com/junkisai)) ##### Authors: 6 - Jeppe Reinhold ([@​JReinhold](https://togithub.com/JReinhold)) - Junki Saito ([@​junkisai](https://togithub.com/junkisai)) - Michael Shilman ([@​shilman](https://togithub.com/shilman)) - Norbert de Langen ([@​ndelangen](https://togithub.com/ndelangen)) - Valentin Palkovic ([@​valentinpalkovic](https://togithub.com/valentinpalkovic)) - Yann Braga ([@​yannbf](https://togithub.com/yannbf)) </details> <details> <summary>pacocoursey/next-themes (next-themes)</summary> ### [`v0.3.0`](https://togithub.com/pacocoursey/next-themes/releases/tag/v0.3.0) #### What's - `"use client"` was added to the library output so that you can use it as a React Client component without creating a wrapper. #### New Contributors - [@​MaxLeiter](https://togithub.com/MaxLeiter) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/120](https://togithub.com/pacocoursey/next-themes/pull/120) - [@​gnoff](https://togithub.com/gnoff) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/135](https://togithub.com/pacocoursey/next-themes/pull/135) - [@​WITS](https://togithub.com/WITS) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/168](https://togithub.com/pacocoursey/next-themes/pull/168) - [@​dimaMachina](https://togithub.com/dimaMachina) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/186](https://togithub.com/pacocoursey/next-themes/pull/186) - [@​amrhassab](https://togithub.com/amrhassab) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/192](https://togithub.com/pacocoursey/next-themes/pull/192) - [@​BekzodIsakov](https://togithub.com/BekzodIsakov) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/241](https://togithub.com/pacocoursey/next-themes/pull/241) - [@​BlankParticle](https://togithub.com/BlankParticle) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/253](https://togithub.com/pacocoursey/next-themes/pull/253) **Full Changelog**: https://github.com/pacocoursey/next-themes/compare/v0.2.0...v0.3.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
fb3a0e7b8f |
refactor(server): auth (#5895)
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
|
||
|
|
cb96d7de43 |
chore: bump up @blocksuite/icons version to v2.1.45 (#6061)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.44` -> `2.1.45`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.44/2.1.45) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>toeverything/icons (@​blocksuite/icons)</summary> ### [`v2.1.45`]( |
||
|
|
d81c017224 |
chore: bump up all non-major dependencies (#6037)
[](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.525.0` -> `3.529.1`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.525.0/3.529.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.7` -> `18.0.8`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.7/18.0.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-graphql](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-graphql#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.37.0` -> `^0.38.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-graphql/0.37.0/0.38.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-ioredis](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-ioredis#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.37.0` -> `^0.38.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-ioredis/0.37.0/0.38.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-nestjs-core](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-nestjs-core#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.34.0` -> `^0.35.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-nestjs-core/0.34.0/0.35.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-socket.io](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io#readme) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.36.0` -> `^0.37.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-socket.io/0.36.0/0.37.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.529.1`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35291-2024-03-08) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.529.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35290-2024-03-07) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.525.0...v3.529.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> ### [`v18.0.8`](https://togithub.com/nrwl/nx/releases/tag/18.0.8) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.7...18.0.8) ##### 18.0.8 (2024-03-08) ##### 🩹 Fixes - **angular:** log message about unsupported ng cache command ([#​22154](https://togithub.com/nrwl/nx/pull/22154)) - **angular:** fix message logged for unsupported ng cache ([#​22211](https://togithub.com/nrwl/nx/pull/22211)) - **angular:** Module federation with Crystal enabled. ([#​22224](https://togithub.com/nrwl/nx/pull/22224)) - **angular:** install jsonc-eslint-parser only when [@​nx/dependency-checks](https://togithub.com/nx/dependency-checks) is used ([#​22231](https://togithub.com/nrwl/nx/pull/22231)) - **core:** setting up .nx inside gradle shouldn't throw ([#​21957](https://togithub.com/nrwl/nx/pull/21957)) - **core:** add outputs to nx.json for nx init in monorepo ([#​22061](https://togithub.com/nrwl/nx/pull/22061)) - **core:** fix no such file or directory, open 'package-lock.json' ([#​21835](https://togithub.com/nrwl/nx/pull/21835)) - **core:** fix terminal message alignment on errors ([#​22189](https://togithub.com/nrwl/nx/pull/22189)) - **graph:** show command property as monospace ([#​21997](https://togithub.com/nrwl/nx/pull/21997)) - **linter:** add v7 of typescript-eslint to peerDeps ([#​21853](https://togithub.com/nrwl/nx/pull/21853)) - **misc:** improve package.json scripts handling when running "nx init" and "nx add" ([#​22168](https://togithub.com/nrwl/nx/pull/22168)) - **misc:** do not add includedScripts unless really needed when running nx add ([#​22180](https://togithub.com/nrwl/nx/pull/22180)) - **nextjs:** avoid path error on dev server creation ([#​21998](https://togithub.com/nrwl/nx/pull/21998)) - **nextjs:** Surface error codes when build is interrupted by signals SIGINT, SIGTERM etc... ([#​22190](https://togithub.com/nrwl/nx/pull/22190)) - **nx-plugin:** do not print duplicated warning about derived format when generating plugin ([#​22230](https://togithub.com/nrwl/nx/pull/22230)) - **react:** pass correct argument to rspack configuration generator ([#​22241](https://togithub.com/nrwl/nx/pull/22241)) - **release:** store rawVersionSpec on versionData ([#​22071](https://togithub.com/nrwl/nx/pull/22071)) - **testing:** close cypress web server correctly on windows ([#​22125](https://togithub.com/nrwl/nx/pull/22125)) - **testing:** resolve cypress config glob pattern correctly to handle root projects ([#​22165](https://togithub.com/nrwl/nx/pull/22165)) - **testing:** fix project config might not be defined ([#​22174](https://togithub.com/nrwl/nx/pull/22174)) - **vue:** small typo in CNW description ([#​21888](https://togithub.com/nrwl/nx/pull/21888)) ##### ❤️ Thank You - Alon Valadji [@​alonronin](https://togithub.com/alonronin) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Emily Xiong [@​xiongemi](https://togithub.com/xiongemi) - James Henry [@​JamesHenry](https://togithub.com/JamesHenry) - Javier Abia [@​weberjavi](https://togithub.com/weberjavi) - Juri Strumpflohner [@​juristr](https://togithub.com/juristr) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - MaxKless [@​MaxKless](https://togithub.com/MaxKless) - Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) - Victor Login [@​batazor](https://togithub.com/batazor) </details> <details> <summary>open-telemetry/opentelemetry-js-contrib (@​opentelemetry/instrumentation-graphql)</summary> ### [`v0.38.0`]( |
||
|
|
08fa157ce4 |
chore: bump up vite-plugin-istanbul version to v6 (#6054)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite-plugin-istanbul](https://togithub.com/ifaxity/vite-plugin-istanbul) | [`^5.0.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/vite-plugin-istanbul/5.0.0/6.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ifaxity/vite-plugin-istanbul (vite-plugin-istanbul)</summary> ### [`v6.0.0`](https://togithub.com/iFaxity/vite-plugin-istanbul/releases/tag/v6.0.0) [Compare Source](https://togithub.com/ifaxity/vite-plugin-istanbul/compare/v5.0.0...v6.0.0) ##### Bug Fixes - add regex for vue SFC to prevent instrumenting style and templates ([#​180](https://togithub.com/ifaxity/vite-plugin-istanbul/issues/180)) ([c8a7ca7]( |
||
|
|
5bebcec2eb |
feat: bump blocksuite (#6015)
## Features - https://github.com/toeverything/BlockSuite/pull/6379 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6375 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6370 @donteatfriedrice ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6380 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6377 @doouding - https://github.com/toeverything/BlockSuite/pull/6376 @fourdim - https://github.com/toeverything/BlockSuite/pull/6374 @regischen ## Misc - docs: update examples desc - ci: start publishing 0.13 canary |
||
|
|
ebf7a74387 | feat: bump blocksuite (#6010) | ||
|
|
9a3ae9302e |
chore: bump up all non-major dependencies (#5964)
[](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.523.0` -> `3.525.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.523.0/3.525.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@node-rs/jsonwebtoken](https://togithub.com/napi-rs/node-rs) | [`^0.4.0` -> `^0.5.0`](https://renovatebot.com/diffs/npm/@node-rs%2fjsonwebtoken/0.4.0/0.5.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.5` -> `18.0.7`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.5/18.0.7) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/exporter-prometheus](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fexporter-prometheus/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-http](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-http/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/sdk-node](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fsdk-node/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [jotai-effect](https://togithub.com/jotaijs/jotai-effect) | [`^0.5.0` -> `^0.6.0`](https://renovatebot.com/diffs/npm/jotai-effect/0.5.0/0.6.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [yarn](https://togithub.com/yarnpkg/berry) ([source](https://togithub.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli)) | [`4.1.0` -> `4.1.1`](https://renovatebot.com/diffs/npm/yarn/4.1.0/4.1.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.525.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35250-2024-02-29) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.523.0...v3.525.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> <details> <summary>napi-rs/node-rs (@​node-rs/jsonwebtoken)</summary> ### [`v0.5.1`](https://togithub.com/napi-rs/node-rs/releases/tag/%40node-rs/jsonwebtoken%400.5.1) [Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.5.0...@node-rs/jsonwebtoken@0.5.1) #### What's Changed - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/node-rs/pull/800](https://togithub.com/napi-rs/node-rs/pull/800) - fix(jsonwebtoken): handle error in decodeHeader by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/node-rs/pull/801](https://togithub.com/napi-rs/node-rs/pull/801) **Full Changelog**: https://github.com/napi-rs/node-rs/compare/[@​node-rs/crc32](https://togithub.com/node-rs/crc32)[@​1](https://togithub.com/1).10.0...[@​node-rs/jsonwebtoken](https://togithub.com/node-rs/jsonwebtoken)[@​0](https://togithub.com/0).5.1 ### [`v0.5.0`](https://togithub.com/napi-rs/node-rs/releases/tag/%40node-rs/jsonwebtoken%400.5.0) [Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.4.0...@node-rs/jsonwebtoken@0.5.0) #### What's Changed - fix(jsonwebtoken): num typings by [@​tada5hi](https://togithub.com/tada5hi) in [https://github.com/napi-rs/node-rs/pull/777](https://togithub.com/napi-rs/node-rs/pull/777) - feat(jsonwebtoken): flatten claims to align with rfc by [@​tada5hi](https://togithub.com/tada5hi) in [https://github.com/napi-rs/node-rs/pull/780](https://togithub.com/napi-rs/node-rs/pull/780) - feat(jsonwebtoken): expose decode header utility by [@​tada5hi](https://togithub.com/tada5hi) in [https://github.com/napi-rs/node-rs/pull/795](https://togithub.com/napi-rs/node-rs/pull/795) - chore(\*): upgrade NAPI-RS cli and bindings by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/node-rs/pull/797](https://togithub.com/napi-rs/node-rs/pull/797) - feat(jsonwebtoken): support wasm32-wasi target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/node-rs/pull/798](https://togithub.com/napi-rs/node-rs/pull/798) #### New Contributors - [@​tada5hi](https://togithub.com/tada5hi) made their first contribution in [https://github.com/napi-rs/node-rs/pull/777](https://togithub.com/napi-rs/node-rs/pull/777) **Full Changelog**: https://github.com/napi-rs/node-rs/compare/[@​node-rs/argon2](https://togithub.com/node-rs/argon2)[@​1](https://togithub.com/1).7.0...[@​node-rs/jsonwebtoken](https://togithub.com/node-rs/jsonwebtoken)[@​0](https://togithub.com/0).5.0 </details> <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v18.0.7`](https://togithub.com/nrwl/nx/releases/tag/18.0.7) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.6...18.0.7) #### 18.0.7 (2024-03-04) ##### 🩹 Fixes - **core:** target defaults should represent nx.json in source info ([#​22080](https://togithub.com/nrwl/nx/pull/22080)) - **nextjs:** Add spec files when creating a next app ([#​22079](https://togithub.com/nrwl/nx/pull/22079)) - **release:** skip lock file update if workspaces are not enabled ([#​22055](https://togithub.com/nrwl/nx/pull/22055)) - **remix:** ensure component-testing is exported correctly [#​22091](https://togithub.com/nrwl/nx/issues/22091) ([#​22095](https://togithub.com/nrwl/nx/pull/22095), [#​22091](https://togithub.com/nrwl/nx/issues/22091)) - **storybook:** handle main.js file correctly in storybook plugin ([#​22081](https://togithub.com/nrwl/nx/pull/22081)) - **testing:** calculate correct support file path in cypress e2e preset ([#​22096](https://togithub.com/nrwl/nx/pull/22096)) ##### ❤️ Thank You - Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) ### [`v18.0.6`](https://togithub.com/nrwl/nx/releases/tag/18.0.6) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.5...18.0.6) ##### 18.0.6 (2024-02-29) ##### 🩹 Fixes - **core:** nextjs-standalone generates package scripts consistent with create-next-app ([#​21996](https://togithub.com/nrwl/nx/pull/21996)) - **misc:** make sure to add e2e crystal plugin ([#​22041](https://togithub.com/nrwl/nx/pull/22041)) - **misc:** fix buildable libs utils calculating dependent projects from task graph ([#​22015](https://togithub.com/nrwl/nx/pull/22015)) - **node:** Increase timeout for CI ([#​22003](https://togithub.com/nrwl/nx/pull/22003)) - **nuxt:** fix storybook preview config path ([#​22020](https://togithub.com/nrwl/nx/pull/22020)) - **nuxt:** Add e2e-ci and serve-static targets ([#​22056](https://togithub.com/nrwl/nx/pull/22056)) - **release:** currentVersionResolver git-tag should prefer merged tags ([#​22082](https://togithub.com/nrwl/nx/pull/22082)) ##### ❤️ Thank You - Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj) - Jack Hsu [@​jaysoo](https://togithub.com/jaysoo) - Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) </details> <details> <summary>open-telemetry/opentelemetry-js (@​opentelemetry/exporter-prometheus)</summary> ### [`v0.49.1`]( |
||
|
|
752c8580ae |
fix: remove vite-tsconfig-paths (#5960)
It will cause storybook from running. related to https://github.com/aleclarson/vite-tsconfig-paths/issues/132 We are not actually using `vite-tsconfig-paths` now because we rely on package.json's export field to do path mapping. |
||
|
|
6f8a4d7bd5 |
chore: bump up all non-major dependencies (#5897)
[](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.515.0` -> `3.523.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.515.0/3.523.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs) | [`3.0.0-alpha.41` -> `3.0.0-alpha.43`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.41/3.0.0-alpha.43) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.4` -> `18.0.5`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.4/18.0.5) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.523.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35230-2024-02-27)
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.521.0...v3.523.0)
**Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3)
### [`v3.521.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35210-2024-02-23)
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.515.0...v3.521.0)
##### Features
- requestHandler ctor param pass-through ([#​5820](https://togithub.com/aws/aws-sdk-js-v3/issues/5820)) ([9fec71d](
|
||
|
|
d1e6b23e1a | feat: bump blocksuite (#5953) | ||
|
|
931c29fd31 |
chore: bump up commitlint monorepo to v19 (major) (#5928)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | [`^18.6.2` -> `^19.0.0`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/18.6.2/19.0.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [commitlint](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@alias/commitlint)) | [`^18.6.1` -> `^19.0.0`](https://renovatebot.com/diffs/npm/commitlint/18.6.1/19.0.3) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/config-conventional)</summary> ### [`v19.0.3`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1903-2024-02-28) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v19.0.0...v19.0.3) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) ### [`v19.0.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1900-2024-02-27) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.2...v19.0.0) - feat!: migrate to pure ESM ([#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850)) ([3423735]( |
||
|
|
35454c3bfc |
fix(core): polyfill resize-observer for development to avoid error overlay (#5943)
Brought a temporary solution from https://github.com/petyosi/react-virtuoso/issues/875#issuecomment-1962897033 |
||
|
|
148807879b |
refactor(component): use react-transition-state to simplify exit animation (#5923)
## **User description**
use react-transition-state to simplify exit animation
___
## **Type**
enhancement
___
## **Description**
- Integrated `react-transition-state` for managing animations in `ResizePanel` and `CMDKModal` components, simplifying the code and improving maintainability.
- Introduced a shared animation timeout variable to standardize animation durations across components.
- Added `react-transition-state` to dependencies to enable the new animation handling.
___
## **Changes walkthrough**
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>resize-panel.tsx</strong><dd><code>Integrate `react-transition-state` for Resize Panel Animations</code></dd></summary>
<hr>
packages/frontend/component/src/components/resize-panel/resize-panel.tsx
<li>Introduced <code>useTransition</code> hook from <code>react-transition-state</code> for managing <br>animations.<br> <li> Added a constant for animation timeout and applied it to the <br>transition.<br> <li> Utilized the transition state to toggle the open state of the resize <br>panel.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-a4d6e633862f63f97c167ff41ba62aff8aebf3e3b2f6e7ce13d5a0e22e8ff287">+12/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>modal.css.ts</strong><dd><code>Use Variable for Animation Timeout in Modal CSS</code> </dd></summary>
<hr>
packages/frontend/core/src/components/pure/cmdk/modal.css.ts
<li>Created a variable for animation timeout.<br> <li> Updated animation durations to use the new timeout variable.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-ba8935611b9c1695153d92d08ecb0f7dac73a6197f54ccda5a6e791902cd651d">+6/-3</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>modal.tsx</strong><dd><code>Simplify CMDK Modal Animation with `react-transition-state`</code></dd></summary>
<hr>
packages/frontend/core/src/components/pure/cmdk/modal.tsx
<li>Replaced custom animation state management with <code>useTransition</code> hook.<br> <li> Removed old animation state logic and simplified the component.<br> <li> Added animation timeout variable and applied it to the transition.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-ab3fe66c9b1d3a691fafd1aebc9988e840fedfcd09b5b89570838a5a2a9469c9">+13/-33</a> </td>
</tr>
</table></td></tr><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Add `react-transition-state` Dependency</code> </dd></summary>
<hr>
packages/frontend/core/package.json
- Added `react-transition-state` as a dependency.
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-23e0e5dc0ceb004a0a5d3d13e7d00545de7487535ca0e5eab4c5047f1e24eff0">+1/-0</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
___
> ✨ **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
|
||
|
|
c724b3fece |
build(electron): fix dmg maker (#5922)
## **Type**
enhancement
___
## **Description**
- Introduced a custom DMG packaging solution `@affine/appdmg-patch` for Electron applications.
- Implemented a new TypeScript class `MakerDmg` to handle the custom packaging logic, including support for custom backgrounds, icons, and app positioning within the DMG.
- Updated Electron Forge configuration to use the new `@affine/appdmg-patch` package instead of `@electron-forge/maker-dmg`.
- Adjusted package dependencies in `packages/frontend/electron/package.json`, adding `@affine/appdmg-patch` and removing `@electron-forge/maker-dmg`.
___
## **Changes walkthrough**
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement
</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>index.ts</strong><dd><code>Implement Custom DMG Packaging Logic</code> </dd></summary>
<hr>
tools/appdmg-patch/index.ts
<li>Introduced a new class <code>MakerDmg</code> extending <code>MakerBase</code> with support for <br>custom DMG packaging.<br> <li> Implemented custom DMG packaging logic including background, icon, and <br>app positioning.<br> <li> Added support for custom <code>contents</code> configuration to define the DMG <br>layout.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5922/files#diff-96a537c04a2a740dca542688b3e6a65c67e6cf339b146bf0a9c49008ad58ea77">+80/-0</a> </td>
</tr>
</table></td></tr><tr><td><strong>Configuration changes
</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>forge.config.mjs</strong><dd><code>Update Electron Forge Configuration for Custom DMG Packaging</code></dd></summary>
<hr>
packages/frontend/electron/forge.config.mjs
<li>Replaced <code>@electron-forge/maker-dmg</code> with <code>@affine/appdmg-patch</code> in the <br>makers configuration.<br> <li> Adjusted DMG icon size and background configuration.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5922/files#diff-bd3343a702deabb8f5f6f77e34fbc215615538875f59b68d82612c0f5ed532a3">+2/-3</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Introduce Package Configuration for Custom DMG Packaging</code> </dd></summary>
<hr>
tools/appdmg-patch/package.json
<li>Created a new package <code>@affine/appdmg-patch</code> with necessary dependencies <br>for custom DMG packaging.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5922/files#diff-395b189951512e67d55b0abc55a167f014f239f608ec5b180f9c7d48e1ea9e8b">+16/-0</a> </td>
</tr>
</table></td></tr><tr><td><strong>Dependencies
</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Update Package Dependencies for Electron Frontend</code> </dd></summary>
<hr>
packages/frontend/electron/package.json
<li>Added <code>@affine/appdmg-patch</code> to <code>devDependencies</code>.<br> <li> Removed <code>@electron-forge/maker-dmg</code> from <code>devDependencies</code>.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5922/files#diff-37323e9da5e4b1606abb6eb8e5ff1516ae5fce925bceaafeeade61bd80c0b62d">+1/-1</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
___
> ✨ **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
|
||
|
|
571b20d082 |
chore: bump up @commitlint/cli version to v19 (#5926)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`^18.6.1` -> `^19.0.0`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/18.6.1/19.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v19.0.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1900-2024-02-27) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.6.1...f1ff12159d627ee63bf8982ab02e6cca8f10b09f) - feat!: migrate to pure ESM ([#​3850](https://togithub.com/conventional-changelog/commitlint/issues/3850)) ([3423735]( |