darkskygit
6b76037e39
fix(server): better copilot error handle ( #10509 )
2025-02-28 11:01:58 +00:00
renovate
7227b7f8f6
chore: bump up oxlint version to v0.15.12 ( #10206 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs ) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.15.10` -> `0.15.12`](https://renovatebot.com/diffs/npm/oxlint/0.15.10/0.15.12 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.15.12`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.12 ): oxlint v0.15.12
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.11...oxlint_v0.15.12 )
#### \[0.15.12] - 2025-02-24
##### Features
- [`914dd46`](https://redirect.github.com/oxc-project/oxc/commit/914dd46 ) linter: Add eslint/max-depth ([#​9173](https://redirect.github.com/oxc-project/oxc/issues/9173 )) (ikkz)
- [`0b08159`](https://redirect.github.com/oxc-project/oxc/commit/0b08159 ) linter: Add eslint/max-lines-per-function ([#​9161](https://redirect.github.com/oxc-project/oxc/issues/9161 )) (ikkz)
- [`cc8dd48`](https://redirect.github.com/oxc-project/oxc/commit/cc8dd48 ) linter: Add unicorn/no-invalid-fetch-options rule ([#​9212](https://redirect.github.com/oxc-project/oxc/issues/9212 )) (Mikhail Baev)
- [`af13b1b`](https://redirect.github.com/oxc-project/oxc/commit/af13b1b ) linter: Promote `eslint/no-eval` to `correctness` ([#​9231](https://redirect.github.com/oxc-project/oxc/issues/9231 )) (dalaoshu)
- [`542bbd7`](https://redirect.github.com/oxc-project/oxc/commit/542bbd7 ) linter: Support `import-x` plugin name ([#​9074](https://redirect.github.com/oxc-project/oxc/issues/9074 )) (Sysix)
- [`d266c29`](https://redirect.github.com/oxc-project/oxc/commit/d266c29 ) linter: Add eslint/max-nested-callbacks ([#​9172](https://redirect.github.com/oxc-project/oxc/issues/9172 )) (ikkz)
- [`86795d0`](https://redirect.github.com/oxc-project/oxc/commit/86795d0 ) linter: Implement grouped-accessor-pairs ([#​9065](https://redirect.github.com/oxc-project/oxc/issues/9065 )) (yefan)
- [`d70bad3`](https://redirect.github.com/oxc-project/oxc/commit/d70bad3 ) linter: Add eslint/no-unneeded-ternary rule ([#​9160](https://redirect.github.com/oxc-project/oxc/issues/9160 )) (Cédric DIRAND)
- [`4bd86e6`](https://redirect.github.com/oxc-project/oxc/commit/4bd86e6 ) linter: Add `fixer` for `unicorn/catch-error-name` ([#​9165](https://redirect.github.com/oxc-project/oxc/issues/9165 )) (dalaoshu)
##### Bug Fixes
- [`94bd2d8`](https://redirect.github.com/oxc-project/oxc/commit/94bd2d8 ) language_server: Fix `clippy::significant_drop_in_scrutinee` warning ([#​9234](https://redirect.github.com/oxc-project/oxc/issues/9234 )) (Boshen)
- [`69091c0`](https://redirect.github.com/oxc-project/oxc/commit/69091c0 ) linter: Correct default for `eslint/no-eval` ([#​9312](https://redirect.github.com/oxc-project/oxc/issues/9312 )) (dalaoshu)
- [`3031845`](https://redirect.github.com/oxc-project/oxc/commit/3031845 ) linter: Add option "allowTypeImports" for rule "no-restricted-imports" ([#​7894](https://redirect.github.com/oxc-project/oxc/issues/7894 )) (Alexander S.)
##### Documentation
- [`6c0f006`](https://redirect.github.com/oxc-project/oxc/commit/6c0f006 ) linter: Improve the documentation of eslint/no-useless-concat ([#​9179](https://redirect.github.com/oxc-project/oxc/issues/9179 )) (Tom)
- [`3414824`](https://redirect.github.com/oxc-project/oxc/commit/3414824 ) oxc: Enable `clippy::too_long_first_doc_paragraph` ([#​9237](https://redirect.github.com/oxc-project/oxc/issues/9237 )) (Boshen)
##### Refactor
- [`fb7df52`](https://redirect.github.com/oxc-project/oxc/commit/fb7df52 ) linter: Allow indirect `eval` by default for `eslint/no-eval` ([#​9302](https://redirect.github.com/oxc-project/oxc/issues/9302 )) (dalaoshu)
- [`b6fc0f6`](https://redirect.github.com/oxc-project/oxc/commit/b6fc0f6 ) linter: Improve `unicorn/consistent-function-scoping` ([#​9163](https://redirect.github.com/oxc-project/oxc/issues/9163 )) (dalaoshu)
### [`v0.15.11`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#01511---2025-02-16 )
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.10...oxlint_v0.15.11 )
##### Features
- [`5d508a4`](https://redirect.github.com/oxc-project/oxc/commit/5d508a4 ) linter: Support `env` and `globals` in `overrides` configuration ([#​8915](https://redirect.github.com/oxc-project/oxc/issues/8915 )) (Sysix)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-02-28 10:43:57 +00:00
darkskygit
985906aa13
feat(server): copilot session prompt query ( #10479 )
2025-02-27 11:25:52 +00:00
forehalo
d50860eee2
fix(server): use updowncounter by default ( #10482 )
2025-02-27 10:15:13 +00:00
darkskygit
1fd3d618be
feat(server): update search model ( #10475 )
...
fix AF-2283
2025-02-27 07:24:53 +00:00
liuyi
b3821ad619
fix(server): avoid global rejection when event handler errors ( #10467 )
2025-02-27 06:25:46 +00:00
akumatus
f43a848e18
feat(core): convert ai think tag to markdown divider ( #10459 )
...
Support issue [AF-2282](https://linear.app/affine-design/issue/AF-2282 ).
2025-02-27 04:43:11 +00:00
forehalo
b9e3fc54fd
fix(server): include check of prerelease versions ( #10386 )
2025-02-24 04:44:44 +00:00
forehalo
b71fe291d1
fix(core): version control session ( #10384 )
2025-02-24 04:44:43 +00:00
forehalo
f02b57d58b
fix(server): too much redundant updates events ( #10383 )
2025-02-24 04:44:43 +00:00
forehalo
2e0f0c624a
chore: set base version to 0.20 ( #10382 )
2025-02-24 04:44:42 +00:00
liuyi
7d68aa5b2f
chore(server): ignore erorr when join joint room ( #10354 )
2025-02-21 10:48:53 +00:00
DarkSky
24fa58df52
fix: quota switch ( #10347 )
2025-02-21 17:18:30 +08:00
darkskygit
296d88f721
fix: ignore unknown charset ( #10346 )
2025-02-21 08:36:27 +00:00
fengmk2
7f833f8c15
fix(server): don't sync blob meta on workspace deleted event ( #10334 )
...
close CLOUD-128
2025-02-21 04:11:57 +00:00
fengmk2
0ff7c5f897
fix(server): gen new request id on websocket event request ( #10330 )
...
After

2025-02-21 02:00:58 +00:00
DarkSky
fa86f71853
feat(server): client version check ( #9205 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2025-02-20 15:50:22 +08:00
fengmk2
b4097aef8e
refactor(server): move bin content parser to doc reader ( #10302 )
2025-02-20 07:19:48 +00:00
darkskygit
13f1859cdf
feat: allow retry with new message ( #10307 )
...
fix AF-1630
2025-02-20 06:07:53 +00:00
forehalo
ec67d30b27
chore(server): race condition during fixing doc owner ( #10303 )
2025-02-20 05:34:55 +00:00
forehalo
fd5897dbe6
chore(server): disable nightly subscriptions expirasion check ( #10298 )
2025-02-20 05:34:54 +00:00
liuyi
d490e767eb
fix(server): wrong previous subscription check ( #10306 )
2025-02-20 13:33:49 +08:00
fengmk2
ff0ce1a962
fix(server): remove job on complete ( #10305 )
2025-02-20 04:39:05 +00:00
fengmk2
e0b2b2b33c
fix(server): convert error type to lower case ( #10301 )
2025-02-20 03:04:21 +00:00
forehalo
02f567f2c0
chore(core): better doc action error message ( #10288 )
2025-02-19 10:38:38 +00:00
liuyi
521ee9d374
fix(server): doc owner and default role permission ( #10281 )
2025-02-19 08:29:46 +00:00
liuyi
294002101d
fix(server): wrong queue options for worker executor ( #10267 )
2025-02-19 04:44:23 +00:00
darkskygit
176e0a1950
fix: raw body limit ( #10254 )
2025-02-18 11:34:58 +00:00
liuyi
4c7eedb920
fix(server): body parser limit ( #10260 )
2025-02-18 10:48:29 +00:00
forehalo
51e842000a
fix(server): pagination input parser ( #10245 )
2025-02-18 07:15:51 +00:00
forehalo
da67c78152
feat(server): use job system ( #10218 )
2025-02-18 05:41:57 +00:00
forehalo
cb895d4cb0
feat(server): job system ( #10134 )
2025-02-18 05:41:57 +00:00
forehalo
31f8e92a4b
test(server): fix flaky cache tests ( #10238 )
2025-02-18 04:25:23 +00:00
forehalo
a303455ded
fix(server): default workspace avatar size ( #10229 )
2025-02-18 03:53:59 +00:00
fengmk2
bae1a7f2ac
fix(server): log error on gcloud ( #10235 )
2025-02-18 03:21:31 +00:00
fengmk2
57213781a8
refactor(server): dont convert graphql bad request into internal server error ( #10203 )
2025-02-17 06:17:00 +00:00
forehalo
3dde47dd08
fix(server): event handler bindings ( #10165 )
2025-02-14 11:29:03 +00:00
darkskygit
42e0563d2e
feat: filter out session create request for root doc ( #10187 )
2025-02-14 11:14:57 +00:00
darkskygit
981b4efecf
feat(server): worker improve ( #10176 )
...
fix AF-2225
2025-02-14 09:47:57 +00:00
akumatus
1bf1832211
refactor(core): get copilot sessions api ( #10168 )
...
Fix issue [BS-2575](https://linear.app/affine-design/issue/BS-2575 ).
### What Changed?
- Refactor `getCopilotSessions` api.
- Add `docId` parameter.
- Add `action` parameter.
2025-02-14 06:57:58 +00:00
forehalo
dcc9c9a7ec
fix(server): should fallback to doc role permission if not specified ( #10166 )
2025-02-14 03:00:56 +00:00
Brooooooklyn
96bde3ceaf
chore(server): enhance log context and messages ( #10151 )
2025-02-13 12:24:12 +00:00
akumatus
79d5f55471
feat(core): move context docs to user prompt ( #10162 )
...
Fix issue [BS-2522](https://linear.app/affine-design/issue/BS-2522 ).
### Why make this change?
If the user data contains illegal content, carrying the user data in the system prompt will run the risk of having the account banned.
### What Changed?
- Move the `Context Documents` to the user prompt.
- Add `withPrompt` in `QueryChatHistoriesInput` options.
- Get chat histories without prompt messages.
- Omit document context when saving messages to the `aiSessionMessage` db.
2025-02-13 12:08:13 +00:00
fengmk2
3ff721abe8
refactor(server): auto print full stack on logger.error ( #10161 )
2025-02-13 11:49:41 +00:00
darkskygit
899b1d60e0
feat: better error handle for sse endpoint ( #10155 )
...
fix CLOUD-123
2025-02-13 10:10:13 +00:00
forehalo
ab538ef9bb
fix(server): selfhost subscription customer portal creation ( #10149 )
2025-02-13 08:23:28 +00:00
forehalo
3f97203623
fix(server): wrong affine pro endpoint ( #10144 )
2025-02-13 07:41:08 +00:00
Brooooooklyn
01b9aa91b2
chore(server): migrate depracated opentelemetry usage ( #10140 )
2025-02-13 04:02:07 +00:00
fengmk2
0ce4cc8609
refactor(server): add debug info on global exception log ( #10118 )
...
before

after

2025-02-13 02:20:02 +00:00
forehalo
8129434a2e
fix(server): allow to checkout selfhost team in canary ( #10130 )
2025-02-12 12:19:28 +00:00