fengmk2
afa984da54
feat(server): handle workspace doc updates ( #11937 )
2025-05-14 14:52:41 +00:00
fengmk2
a1bcf77447
feat(server): add cloud indexer with Elasticsearch and Manticoresearch providers ( #11835 )
...
close CLOUD-137
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced advanced workspace-scoped search and aggregation capabilities with support for complex queries, highlights, and pagination.
- Added pluggable search providers: Elasticsearch and Manticoresearch.
- New GraphQL queries, schema types, and resolver support for search and aggregation.
- Enhanced configuration options for search providers in self-hosted and cloud deployments.
- Added Docker Compose services and environment variables for Elasticsearch and Manticoresearch.
- Integrated indexer service into deployment and CI workflows.
- **Bug Fixes**
- Improved error handling with new user-friendly error messages for search provider and indexer issues.
- **Documentation**
- Updated configuration examples and environment variable references for indexer and search providers.
- **Tests**
- Added extensive end-to-end and provider-specific tests covering indexing, searching, aggregation, deletion, and error cases.
- Included snapshot tests and test fixtures for search providers.
- **Chores**
- Updated deployment scripts, Helm charts, and Kubernetes manifests to include indexer-related environment variables and secrets.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-14 14:52:41 +00:00
fengmk2
62fe906f04
chore(server): add server genconfig git status check ( #12202 )
2025-05-12 02:42:00 +00:00
forehalo
93e01b4442
feat(server): support installable license ( #12181 )
...
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added support for installing self-hosted team licenses via encrypted license files.
- Introduced a new "Onetime" license variant for self-hosted environments.
- Added a GraphQL mutation to upload and install license files.
- License details now display the license variant.
- **Bug Fixes**
- Improved error messages for license activation and expiration, including dynamic reasons.
- **Localization**
- Updated and improved license-related error messages for better clarity.
- **Tests**
- Added comprehensive end-to-end tests for license installation scenarios.
- **Chores**
- Enhanced environment variable handling and public key management for license verification.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-09 04:16:05 +00:00
fengmk2
f9e003d220
chore(server): typo fix on cpu.doc ( #12189 )
...
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Bug Fixes**
- Corrected CPU resource allocation for the documentation service to ensure accurate deployment configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-08 08:08:13 +00:00
Saul-Mirone
95b9e4b3d0
refactor(editor): rename model.doc to store ( #12172 )
2025-05-07 09:17:01 +00:00
renovate
b3b78335ad
chore: bump up all non-major npm dependencies ( #12157 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [@ai-sdk/google](https://ai-sdk.dev/docs ) ([source](https://redirect.github.com/vercel/ai )) | [`1.2.15` -> `1.2.16`](https://renovatebot.com/diffs/npm/@ai-sdk%2fgoogle/1.2.15/1.2.16 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [@aws-sdk/client-s3](https://redirect.github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3 ) ([source](https://redirect.github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3 )) | [`3.803.0` -> `3.804.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.803.0/3.804.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/ ) | dependencies | minor |
| [@aws-sdk/s3-request-presigner](https://redirect.github.com/aws/aws-sdk-js-v3/tree/main/packages/s3-request-presigner ) ([source](https://redirect.github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/s3-request-presigner )) | [`3.803.0` -> `3.804.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fs3-request-presigner/3.803.0/3.804.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/ ) | dependencies | minor |
| [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node ) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node )) | [`22.15.12` -> `22.15.14`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.12/22.15.14 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node ) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node )) | [`22.15.12` -> `22.15.14`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.12/22.15.14 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | devDependencies | patch |
| [ai](https://ai-sdk.dev/docs ) ([source](https://redirect.github.com/vercel/ai )) | [`4.3.13` -> `4.3.14`](https://renovatebot.com/diffs/npm/ai/4.3.13/4.3.14 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [slackapi/slack-github-action](https://redirect.github.com/slackapi/slack-github-action ) | `v2.0.0` -> `v2.1.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/ ) | action | minor |
| [com.android.tools.build:gradle](https://developer.android.com/studio/build ) ([source](https://android.googlesource.com/platform/tools/base )) | `8.9.2` -> `8.10.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/ ) | dependencies | minor |
| [com.android.library](https://developer.android.com/studio/build ) ([source](https://android.googlesource.com/platform/tools/base )) | `8.9.2` -> `8.10.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/ ) | plugin | minor |
| [com.android.application](https://developer.android.com/studio/build ) ([source](https://android.googlesource.com/platform/tools/base )) | `8.9.2` -> `8.10.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/ ) | plugin | minor |
---
### Release Notes
<details>
<summary>vercel/ai (@​ai-sdk/google)</summary>
### [`v1.2.16`](https://redirect.github.com/vercel/ai/releases/tag/%40ai-sdk/google%401.2.16 )
[Compare Source](https://redirect.github.com/vercel/ai/compare/@ai-sdk/google@1.2.15...@ai-sdk/google@1.2.16 )
##### Patch Changes
- [`0ca6f2f`](https://redirect.github.com/vercel/ai/commit/0ca6f2f ): feat(providers/google): add gemini-2.5-pro-preview-05-06
</details>
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.804.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#38040-2025-05-06 )
[Compare Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.803.0...v3.804.0 )
**Note:** Version bump only for package [@​aws-sdk/client-s3](https://redirect.github.com/aws-sdk/client-s3 )
</details>
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/s3-request-presigner)</summary>
### [`v3.804.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/packages/s3-request-presigner/CHANGELOG.md#38040-2025-05-06 )
[Compare Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.803.0...v3.804.0 )
**Note:** Version bump only for package [@​aws-sdk/s3-request-presigner](https://redirect.github.com/aws-sdk/s3-request-presigner )
</details>
<details>
<summary>slackapi/slack-github-action (slackapi/slack-github-action)</summary>
### [`v2.1.0`](https://redirect.github.com/slackapi/slack-github-action/compare/v2.0.0...v2.1.0 )
[Compare Source](https://redirect.github.com/slackapi/slack-github-action/compare/v2.0.0...v2.1.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://redirect.github.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-05-07 00:49:11 +00:00
forehalo
0ffa6fbe89
chore(server): hoist deps ( #12145 )
...
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Chores**
- Updated workflow to move the node_modules directory during the build process.
- Adjusted Prisma client output directory for improved file organization.
- Removed unused properties from backend server package configuration.
- **Refactor**
- Simplified type annotations for improved code clarity in test utilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-06 11:36:31 +00:00
akumatus
c555cca6a1
feat(core): use claude-3-7-sonnet as basic chat model ( #12036 )
...
Close [AI-59](https://linear.app/affine-design/issue/AI-59 )
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added support for two new providers, Anthropic and Exa, in test environments and configurations.
- **Chores**
- Updated workflow and test environment setup to include API keys for Anthropic and Exa providers.
- **Refactor**
- Changed the AI model used for the "Chat With AFFiNE AI" prompt to "claude-3-7-sonnet-20250219".
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-28 21:28:34 +08:00
forehalo
f4ffdb9995
build: allow node package depends on workspace packages ( #11963 )
...
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added a unified CLI entry point for server operations and introduced a new CLI executable alias.
- Centralized and simplified server startup, allowing selection between CLI and server modes.
- Added static migration module aggregation for easier migration management.
- **Bug Fixes**
- Improved platform-specific native module loading for better compatibility and reliability.
- **Refactor**
- Streamlined server build, startup, and artifact management processes.
- Reorganized and simplified workflow and configuration files for backend services.
- Transitioned export styles and import mechanisms for native modules to enhance maintainability.
- **Chores**
- Removed unused dependencies and configuration files.
- Updated test cases to reflect refined server flavor logic.
- Adjusted package and build configurations for consistency and clarity.
- **Revert**
- Removed legacy scripts and loaders no longer needed after refactor.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-24 10:36:52 +00:00
liuyi
5d9a3aac5b
Revert "build: allow node package depends on workspace packages ( #11892 )"
...
This reverts commit c00671dd84 .
2025-04-23 19:24:51 +08:00
forehalo
c00671dd84
build: allow node package depends on workspace packages ( #11892 )
2025-04-23 10:04:59 +00:00
aki-chang-dev
25d17af0ed
chore(android): set version name from pipeline ( #11897 )
2025-04-22 13:52:03 +00:00
LongYinan
a1e338efc1
ci: group all others deps update
2025-04-22 10:28:11 +08:00
LongYinan
b8bea62a10
ci: group all others deps update
2025-04-22 10:02:32 +08:00
Brooooooklyn
95dbda24fc
feat(y-octo): import y-octo monorepo ( #11750 )
2025-04-21 02:51:15 +00:00
Aki Chang
e3973538e8
chore(android): integrate firebase-crashlytics ( #11808 )
2025-04-21 10:37:31 +08:00
LongYinan
41597479bb
ci: split npm and rust dependencies update
2025-04-21 09:10:11 +08:00
Aki Chang
793d084077
chore(android): only status draft may be created on draft app ( #11701 )
2025-04-15 15:51:12 +08:00
aki-chang-dev
a8cb48da5d
chore(android): fix google play action ( #11686 )
2025-04-15 06:35:24 +00:00
Saul-Mirone
efecce9bf2
test(editor): enable basic test for cross platform ( #11667 )
2025-04-14 07:36:56 +00:00
Aki Chang
00bd05897e
feat(android): ai chat scaffold ( #11124 )
...
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: eyhn <cneyhn@gmail.com >
2025-04-14 06:05:47 +00:00
Saul-Mirone
a2f879066f
ci(editor): enable cross platform test ( #11566 )
2025-04-10 16:52:15 +00:00
darkskygit
2822146a4d
ci(server): update copilot ci condition ( #11601 )
2025-04-10 09:19:26 +00:00
DarkSky
d70588f5b7
ci(server): increase test parallelism ( #11583 )
2025-04-10 11:24:28 +08:00
forehalo
40f218c898
chore: set base version to 0.21
2025-04-07 16:10:32 +08:00
LongYinan
eed26b1601
ci: pick blaze/macos-14 and namespace runner randomly ( #11465 )
2025-04-04 18:38:05 +08:00
Brooooooklyn
3b13affa58
docs: add blaze sponsor info ( #11377 )
2025-04-02 11:35:12 +00:00
forehalo
b21a0b4520
chore: release with config.schema.json ( #11391 )
2025-04-02 09:48:45 +00:00
forehalo
6833c2a2dd
chore: missing env
2025-04-02 11:03:10 +08:00
forehalo
5a955d9f70
chore: fix beta deployment
2025-04-02 10:47:01 +08:00
Brooooooklyn
c94f782da2
ci: increase Node.js rss memory limits during desktop clients building ( #11345 )
2025-04-01 07:13:38 +00:00
forehalo
8c582122a8
chore: fix copilot cron test ( #11262 )
2025-03-28 08:42:22 +00:00
liuyi
e22f66f1cc
fix(server): auto import config.json ( #11255 )
2025-03-28 06:12:56 +00:00
fengmk2
bfa7e9a007
ci: install @types/affine__env on server build ( #11252 )
2025-03-28 05:01:47 +00:00
Brooooooklyn
554a8d9fb8
ci: split jobs to speed ( #11249 )
2025-03-27 15:56:24 +00:00
forehalo
0ea38680fa
refactor(server): config system ( #11081 )
2025-03-27 12:32:28 +00:00
darkskygit
3b9d64d74d
feat(server): update trascript endpoint ( #11196 )
2025-03-27 10:18:49 +00:00
fengmk2
a189421360
ci: increase cloud E2E test shards from 3 to 6 ( #11236 )
...
Before 10m

After 8m

2025-03-27 09:29:40 +00:00
renovate
abe67d86f5
chore: bump up apple-actions/import-codesign-certs action to v5 ( #11216 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [apple-actions/import-codesign-certs](https://redirect.github.com/apple-actions/import-codesign-certs ) | action | major | `v3` -> `v5` |
---
### Release Notes
<details>
<summary>apple-actions/import-codesign-certs (apple-actions/import-codesign-certs)</summary>
### [`v5`](https://redirect.github.com/apple-actions/import-codesign-certs/compare/v4...v5 )
[Compare Source](https://redirect.github.com/apple-actions/import-codesign-certs/compare/v4...v5 )
### [`v4`](https://redirect.github.com/apple-actions/import-codesign-certs/compare/v3...v4 )
[Compare Source](https://redirect.github.com/apple-actions/import-codesign-certs/compare/v3...v4 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-03-26 16:13:52 +00:00
darkskygit
4bf9161e57
chore(server): ignore non-exists doc embedding ( #11153 )
2025-03-25 15:10:56 +00:00
darkskygit
1bb324eeed
feat(server): update gql endpoint & workspace doc match test ( #11104 )
2025-03-25 10:09:22 +00:00
EYHN
c1b3e25fc7
chore(ios): optimize build workflow ( #11132 )
2025-03-24 14:32:45 +00:00
darkskygit
9c1123be8b
fix(server): add missing env for ci ( #11101 )
2025-03-23 14:12:08 +00:00
Saul-Mirone
dc5a9ed4a2
ci: speed up e2e ( #11053 )
2025-03-21 04:53:31 +00:00
fengmk2
f6132ad818
test(server): increase test parallelization from 3 to 8 nodes ( #11043 )
2025-03-21 01:07:22 +00:00
forehalo
21c4a29f55
refactor(server): mail service ( #10934 )
2025-03-19 17:00:19 +00:00
forehalo
dd31ef95db
chore: bump otel packages in a group ( #11001 )
2025-03-19 14:17:02 +00:00
darkskygit
e09b5fee12
feat(server): init gemini provider & transcript action ( #10731 )
2025-03-18 04:28:18 +00:00
Saul-Mirone
1d04438049
docs(editor): scaffolding docs generator ( #10925 )
2025-03-17 12:51:08 +00:00