akumatus
2e37ee0e33
feat(core): add actions to editor settings ( #8030 )
...
# What Changed?
- Add actions of following edgeless-elements editor settings:
- note
- connector
- edgeless text
- pen
2024-09-02 14:23:04 +00:00
pengx17
e1310b65cd
fix(mobile): change how slider height is calculated ( #8049 )
2024-09-02 14:10:37 +00:00
Brooooooklyn
87da792c4c
ci: deploy the mobile entry ( #8028 )
2024-09-02 12:59:41 +00:00
Saul-Mirone
56f4634c1f
chore: bump bs with new extension api ( #8042 )
2024-09-02 10:32:22 +00:00
pengx17
61e37d8873
test(mobile): basic e2e tests ( #8031 )
...
fix AF-1289
1. tested on 'webkit'
2. a few baseline test cases
2024-09-02 10:20:24 +00:00
Brooooooklyn
41d35fdafd
ci: skip generating changelog if prev commit is not found ( #8045 )
2024-09-02 10:08:16 +00:00
JimmFly
a992376053
chore: modify the text content of share menu ( #8026 )
...
![CleanShot 2024-08-30 at 12 18 27@2x](https://github.com/user-attachments/assets/f43a6d31-1bdb-491c-95f6-4609973b84a6 )
![CleanShot 2024-08-30 at 12 18 40@2x](https://github.com/user-attachments/assets/387d4523-d5fb-41d4-8b46-c278432db05e )
2024-09-02 09:56:17 +00:00
darkskygit
d93d39e29d
feat: add editor record ( #7938 )
...
fix CLOUD-58, CLOUD-61, CLOUD-62, PD-1607, PD-1608
2024-09-02 09:37:39 +00:00
forehalo
d9cedf89e1
fix(electron): app updater ( #8043 )
2024-09-02 07:53:17 +00:00
JimmFly
a802dc4fd6
chore: adjust experimental features text ( #8044 )
...
close AF-1313 AF-1312 AF-1311 AF-1310
2024-09-02 07:40:55 +00:00
pengx17
4caf32629a
fix(core): slider thumb offset ( #8041 )
...
fix AF-1307
2024-09-02 07:19:16 +00:00
pengx17
697f2c6520
fix(core): remove modal default overlay onclick ( #8035 )
...
fix AF-1300
overlay click is already handled in `handlePointerDownOutSide`. adding onclick to overlay will cause issues on closing nested menus.
2024-09-02 02:59:18 +00:00
pengx17
df34e2cdf7
fix(mobile): close menu when detail page navigate away ( #8027 )
2024-08-31 04:42:32 +00:00
renovate
592997b65b
chore: bump up oxlint version to v0.9.1 ( #7974 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs ) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.8.0` -> `0.9.1`](https://renovatebot.com/diffs/npm/oxlint/0.8.0/0.9.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.9.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.9.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.8.0/0.9.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.8.0/0.9.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.9.1`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.9.1 ): oxlint v0.9.1
[Compare Source](https://togithub.com/oxc-project/oxc/compare/oxlint_v0.9.0...oxlint_v0.9.1 )
#### \[0.9.1] - 2024-08-29
##### Features
- [`6633972`](https://togithub.com/oxc-project/oxc/commit/6633972 ) linter: Add fixer for `no-empty` ([#​5276](https://togithub.com/oxc-project/oxc/issues/5276 )) (camc314)
- [`a58e448`](https://togithub.com/oxc-project/oxc/commit/a58e448 ) linter/eslint: Add fixer to `no-var` ([#​5144](https://togithub.com/oxc-project/oxc/issues/5144 )) (camc314)
- [`a6e9769`](https://togithub.com/oxc-project/oxc/commit/a6e9769 ) linter/jsx-a11y: Add `label-has-associated-control` ([#​5163](https://togithub.com/oxc-project/oxc/issues/5163 )) (Billy Levin)
- [`c8e8532`](https://togithub.com/oxc-project/oxc/commit/c8e8532 ) linter/unicorn: Add fixer to `throw-new-error` ([#​5275](https://togithub.com/oxc-project/oxc/issues/5275 )) (camc314)
- [`7ccde4b`](https://togithub.com/oxc-project/oxc/commit/7ccde4b ) linter/unicorn: Add fixer to `prefer-date-now` ([#​5147](https://togithub.com/oxc-project/oxc/issues/5147 )) (camc314)
##### Bug Fixes
- [`fdef8ae`](https://togithub.com/oxc-project/oxc/commit/fdef8ae ) linter: Jest/vitest rule compat ([#​4797](https://togithub.com/oxc-project/oxc/issues/4797 )) (cinchen)
- [`76e86f8`](https://togithub.com/oxc-project/oxc/commit/76e86f8 ) linter: Eslint-plugin-unicorn prefer-spread wrong linter suggestion on variables of type string ([#​5265](https://togithub.com/oxc-project/oxc/issues/5265 )) (Arian94)
- [`b39544e`](https://togithub.com/oxc-project/oxc/commit/b39544e ) linter/jest: Fixer for `prefer-jest-mocked` creates invalid LHS expressions ([#​5243](https://togithub.com/oxc-project/oxc/issues/5243 )) (camc314)
- [`9953fa5`](https://togithub.com/oxc-project/oxc/commit/9953fa5 ) linter/no-null: Incorrect fixer for `NullLiteral` within `ReturnStatement` ([#​5247](https://togithub.com/oxc-project/oxc/issues/5247 )) (Dunqing)
- [`318479e`](https://togithub.com/oxc-project/oxc/commit/318479e ) linter/no-unused-vars: Mark the class/function in the new expression as used ([#​5306](https://togithub.com/oxc-project/oxc/issues/5306 )) (magic-akari)
##### Refactor
- [`fa1d460`](https://togithub.com/oxc-project/oxc/commit/fa1d460 ) linter: Clean up Fixer and Message ([#​5308](https://togithub.com/oxc-project/oxc/issues/5308 )) (DonIsaac)
### [`v0.9.0`](https://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.9.0 ): oxlint v0.9.0
[Compare Source](https://togithub.com/oxc-project/oxc/compare/oxlint_v0.8.0...oxlint_v0.9.0 )
#### \[0.9.0] - 2024-08-26
This release introduces `no-unused-vars` as a `correctness` rule and parsing regular expressions for syntax errors, both may produce false positives. Feel free to submit an issue.
- [`5946748`](https://togithub.com/oxc-project/oxc/commit/5946748 ) linter: \[**BREAKING**] Parse and display syntax errors for regular expressions ([#​5214](https://togithub.com/oxc-project/oxc/issues/5214 )) (Boshen)
![image](https://togithub.com/user-attachments/assets/7d68ccde-9e04-4ea8-8d0a-edf20e028259 )
- [`b894d3b`](https://togithub.com/oxc-project/oxc/commit/b894d3b ) linter: \[**BREAKING**] Make `no-unused-vars` correctness ([#​5081](https://togithub.com/oxc-project/oxc/issues/5081 )) (DonIsaac)
##### Features
- [`1ce9630`](https://togithub.com/oxc-project/oxc/commit/1ce9630 ) linter/config: Implement FromIterator for LintPluginOptions ([#​5102](https://togithub.com/oxc-project/oxc/issues/5102 )) (DonIsaac)
- [`34bfaf6`](https://togithub.com/oxc-project/oxc/commit/34bfaf6 ) linter/react: Add fixer to `jsx-props-no-spread-multi` ([#​5145](https://togithub.com/oxc-project/oxc/issues/5145 )) (camc314)
- [`982bd6e`](https://togithub.com/oxc-project/oxc/commit/982bd6e ) linter/unicorn: Add fixer to `require-array-join-separator` ([#​5152](https://togithub.com/oxc-project/oxc/issues/5152 )) (camc314)
- [`a6704bd`](https://togithub.com/oxc-project/oxc/commit/a6704bd ) linter/unicorn: Add fixer to `prefer-set-size` ([#​5149](https://togithub.com/oxc-project/oxc/issues/5149 )) (camc314)
- [`ac7edcc`](https://togithub.com/oxc-project/oxc/commit/ac7edcc ) linter/unicorn: Add fixer to `prefer-array-some` ([#​5153](https://togithub.com/oxc-project/oxc/issues/5153 )) (camc314)
- [`1d01aa3`](https://togithub.com/oxc-project/oxc/commit/1d01aa3 ) linter/unicorn: Add partial fixer for `prefer-array-flat` ([#​5143](https://togithub.com/oxc-project/oxc/issues/5143 )) (camc314)
- [`22d57f9`](https://togithub.com/oxc-project/oxc/commit/22d57f9 ) linter/unicorn: Add fixer to `prefer-string-slice` ([#​5150](https://togithub.com/oxc-project/oxc/issues/5150 )) (Cameron)
- [`2fe4415`](https://togithub.com/oxc-project/oxc/commit/2fe4415 ) linter/unicorn: Add fixer to `no-redundant-roles` ([#​5146](https://togithub.com/oxc-project/oxc/issues/5146 )) (Cameron)
- [`d35c6f5`](https://togithub.com/oxc-project/oxc/commit/d35c6f5 ) linter/unicorn: Add fixer to `prefer-regexp-test` ([#​5151](https://togithub.com/oxc-project/oxc/issues/5151 )) (Cameron)
- [`27db769`](https://togithub.com/oxc-project/oxc/commit/27db769 ) linter/unicorn: Add fixer to `text-encoding-identifier-case` ([#​5154](https://togithub.com/oxc-project/oxc/issues/5154 )) (Cameron)
- [`f7958c4`](https://togithub.com/oxc-project/oxc/commit/f7958c4 ) linter/unicorn: Add prefer-structured-clone ([#​5095](https://togithub.com/oxc-project/oxc/issues/5095 )) (Jelle van der Waa)
- [`004ffa0`](https://togithub.com/oxc-project/oxc/commit/004ffa0 ) linter/vitest: Implement `prefer-each` ([#​5203](https://togithub.com/oxc-project/oxc/issues/5203 )) (dalaoshu)
##### Bug Fixes
- [`aaaf26c`](https://togithub.com/oxc-project/oxc/commit/aaaf26c ) linter: Error in fixer for prefer-to-have-length ([#​5197](https://togithub.com/oxc-project/oxc/issues/5197 )) (dalaoshu)
- [`1f5b6b6`](https://togithub.com/oxc-project/oxc/commit/1f5b6b6 ) linter: Bug in fixer for prefer-to-have-length ([#​5164](https://togithub.com/oxc-project/oxc/issues/5164 )) (dalaoshu)
- [`7eb052e`](https://togithub.com/oxc-project/oxc/commit/7eb052e ) linter: `no-hex-escape` fixer removing regex flags ([#​5137](https://togithub.com/oxc-project/oxc/issues/5137 )) (Cameron)
- [`76c66b4`](https://togithub.com/oxc-project/oxc/commit/76c66b4 ) linter/max-lines: Point span to end of file for disable directive to work ([#​5117](https://togithub.com/oxc-project/oxc/issues/5117 )) (Boshen)
- [`8ff6f2c`](https://togithub.com/oxc-project/oxc/commit/8ff6f2c ) linter/no-unused-vars: Panic on UsingDeclarations ([#​5206](https://togithub.com/oxc-project/oxc/issues/5206 )) (DonIsaac)
- [`d29042e`](https://togithub.com/oxc-project/oxc/commit/d29042e ) linter/no-unused-vars: Function expression in implicit arrow function return ([#​5155](https://togithub.com/oxc-project/oxc/issues/5155 )) (DonIsaac)
- [`36e4a28`](https://togithub.com/oxc-project/oxc/commit/36e4a28 ) linter/no-unused-vars: Panic in variable declarator usage checks ([#​5160](https://togithub.com/oxc-project/oxc/issues/5160 )) (DonIsaac)
- [`ba62a71`](https://togithub.com/oxc-project/oxc/commit/ba62a71 ) linter/react: Fixed false positive with missing key inside React.Children.toArray() for fragments ([#​5133](https://togithub.com/oxc-project/oxc/issues/5133 )) (Earl Chase)
- [`fd1031a`](https://togithub.com/oxc-project/oxc/commit/fd1031a ) linter/unicorn: Breaking fixer in case statements for `no-null` ([#​5176](https://togithub.com/oxc-project/oxc/issues/5176 )) (DonIsaac)
- [`7b86ed6`](https://togithub.com/oxc-project/oxc/commit/7b86ed6 ) linter/unicorn: Handle type casts and parens in `no-null` ([#​5175](https://togithub.com/oxc-project/oxc/issues/5175 )) (Don Isaac)
- [`b629e16`](https://togithub.com/oxc-project/oxc/commit/b629e16 ) linter/unicorn: Improve diagnostic message for `no-null` ([#​5172](https://togithub.com/oxc-project/oxc/issues/5172 )) (DonIsaac)
##### Performance
- [`ce454cf`](https://togithub.com/oxc-project/oxc/commit/ce454cf ) Use simdutf8 to validate UTF-8 when reading files ([#​5196](https://togithub.com/oxc-project/oxc/issues/5196 )) (dalaoshu)
##### Refactor
- [`543cad6`](https://togithub.com/oxc-project/oxc/commit/543cad6 ) codegen: Remove some pub APIs (Boshen)
- [`0d3661a`](https://togithub.com/oxc-project/oxc/commit/0d3661a ) linter: Remove meaningless `span0` ([#​5209](https://togithub.com/oxc-project/oxc/issues/5209 )) (dalaoshu)
- [`2a91ef1`](https://togithub.com/oxc-project/oxc/commit/2a91ef1 ) linter: `eslint/no_redeclare` rule use `run_on_symbol` not `run_once` ([#​5201](https://togithub.com/oxc-project/oxc/issues/5201 )) (overlookmotel)
- [`33599b0`](https://togithub.com/oxc-project/oxc/commit/33599b0 ) linter: Split options into multiple files ([#​5101](https://togithub.com/oxc-project/oxc/issues/5101 )) (DonIsaac)
- [`7ab6152`](https://togithub.com/oxc-project/oxc/commit/7ab6152 ) linter/unicorn: Clean up `no-null` ([#​5174](https://togithub.com/oxc-project/oxc/issues/5174 )) (DonIsaac)
##### Testing
- [`a877e5a`](https://togithub.com/oxc-project/oxc/commit/a877e5a ) linter/no-unused-vars: Ensure type annotations on property accessors are considered used ([#​5183](https://togithub.com/oxc-project/oxc/issues/5183 )) (DonIsaac)
- [`7886618`](https://togithub.com/oxc-project/oxc/commit/7886618 ) linter/unicorn: Add fixer tests for `no-null` ([#​5173](https://togithub.com/oxc-project/oxc/issues/5173 )) (DonIsaac)
</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-30 04:46:09 +00:00
renovate
69892655a1
chore: bump up valtio version to v2 ( #8025 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [valtio](https://togithub.com/pmndrs/valtio ) | [`^1.13.2` -> `^2.0.0`](https://renovatebot.com/diffs/npm/valtio/1.13.2/2.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/valtio/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/valtio/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/valtio/1.13.2/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/valtio/1.13.2/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>pmndrs/valtio (valtio)</summary>
### [`v2.0.0`](https://togithub.com/pmndrs/valtio/releases/tag/v2.0.0 )
[Compare Source](https://togithub.com/pmndrs/valtio/compare/v1.13.2...v2.0.0 )
### 🎉 🎉 🎉 Valtio v2 is Here! 🍾 🍾 🍾
#### Small Breaking Changes
Most users won't even notice the differences, but we recommend checking out the [migration guide](https://togithub.com/pmndrs/valtio/blob/main/docs/guides/migrating-to-v2.mdx ) to ensure a smooth transition.
#### New Emoji
💊 -> 🧙
Say hello to our new emoji! This change symbolizes the magic of Valtio.
#### Let’s Grow the Ecosystem Together!
We are entering a new era of Valtio development, and we need your help to grow the ecosystem. Whether you are an experienced contributor or just getting started, now is the perfect time to join us!
#### What's Changed
- v2 by [@​dai-shi](https://togithub.com/dai-shi ) in [https://github.com/pmndrs/valtio/pull/810 ](https://togithub.com/pmndrs/valtio/pull/810 )
- feat(core): expose internal states and functions by [@​dai-shi](https://togithub.com/dai-shi ) in [https://github.com/pmndrs/valtio/pull/931 ](https://togithub.com/pmndrs/valtio/pull/931 )
- breaking(vanilla): do not handle promises by [@​dai-shi](https://togithub.com/dai-shi ) in [https://github.com/pmndrs/valtio/pull/934 ](https://togithub.com/pmndrs/valtio/pull/934 )
#### New Contributors
- [@​AmirSa12](https://togithub.com/AmirSa12 ) made their first contribution in [https://github.com/pmndrs/valtio/pull/898 ](https://togithub.com/pmndrs/valtio/pull/898 )
- [@​TotallyBiased](https://togithub.com/TotallyBiased ) made their first contribution in [https://github.com/pmndrs/valtio/pull/901 ](https://togithub.com/pmndrs/valtio/pull/901 )
- [@​L-Qun](https://togithub.com/L-Qun ) made their first contribution in [https://github.com/pmndrs/valtio/pull/908 ](https://togithub.com/pmndrs/valtio/pull/908 )
- [@​himself65](https://togithub.com/himself65 ) made their first contribution in [https://github.com/pmndrs/valtio/pull/920 ](https://togithub.com/pmndrs/valtio/pull/920 )
- [@​kciter](https://togithub.com/kciter ) made their first contribution in [https://github.com/pmndrs/valtio/pull/922 ](https://togithub.com/pmndrs/valtio/pull/922 )
**Full Changelog**: https://github.com/pmndrs/valtio/compare/v1.13.2...v2.0.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.
🔕 **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:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-30 04:34:04 +00:00
JimmFly
f99988afa6
feat(core): bump blocksuite/icons ( #8024 )
2024-08-30 03:42:52 +00:00
pengx17
4ff6fbd052
fix(core): hairline boarders for divider ( #8021 )
2024-08-30 02:31:28 +00:00
pengx17
f544e69d02
fix(mobile): modal styles on mobile ( #8023 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/92c0cc55-1f75-42b7-a83f-4ffa6cf205ad.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/92c0cc55-1f75-42b7-a83f-4ffa6cf205ad.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/92c0cc55-1f75-42b7-a83f-4ffa6cf205ad.mp4 ">20240829-1420-07.7370936.mp4</video>
2024-08-29 16:45:23 +00:00
pengx17
adf314d594
fix(mobile): adjust peek view style for mobile ( #8003 )
...
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/c3a04128-0309-4df6-ab6d-0a5129483c73.png )
2024-08-29 16:45:22 +00:00
pengx17
7ae141bd9e
feat(mobile): add mobile detail page ( #7993 )
...
fix AF-1241
2024-08-29 16:45:22 +00:00
pengx17
f8e6f1f2b5
chore: add mobile scope ( #8020 )
2024-08-29 16:45:21 +00:00
CatsJuice
f1bb1fc9b8
feat(mobile): search page ui ( #8012 )
...
feat(mobile): search page ui
fix(core): quick search tags performance issue
2024-08-29 09:05:23 +00:00
JimmFly
5e8683c9be
feat(core): add outgoing links to doc info ( #7955 )
...
close AF-1270
![CleanShot 2024-08-23 at 13 22 38@2x](https://github.com/user-attachments/assets/7eb21db5-ab33-41ad-a51a-fd2cf46a0e30 )
2024-08-29 06:41:41 +00:00
CatsJuice
3ce92f2abc
feat(mobile): all docs page ui impl ( #7976 )
2024-08-29 06:09:48 +00:00
CatsJuice
db76780bc9
feat(mobile): mobile index page UI ( #7959 )
2024-08-29 06:09:47 +00:00
CatsJuice
f37051dc87
feat(core): mobile renderer for explorer ( #7942 )
2024-08-29 06:09:45 +00:00
EYHN
b96ad57568
feat(core): import template ( #8000 )
2024-08-29 04:01:35 +00:00
JimmFly
4ec45a247e
feat(core): add sign in button to shared doc ( #7952 )
...
![CleanShot 2024-08-23 at 12 05 12@2x](https://github.com/user-attachments/assets/2c146707-9551-4044-b289-0904653f30f2 )
2024-08-29 02:44:06 +00:00
darkskygit
dde45748d9
feat: filter out empty workpace in sidebar list ( #7960 )
...
fix PD-1567
2024-08-28 08:43:44 +00:00
L-Sun
06685683ae
fix(core): add mobile edit button ( #7996 )
2024-08-28 06:38:45 +00:00
JimmFly
65a87196d5
feat(core): impl the Doc Info and Bi-Directional Links display settings ( #7991 )
...
https://github.com/user-attachments/assets/a469254c-a2ea-4cf4-837e-f9a8bbe5b378
2024-08-28 02:35:29 +00:00
JimmFly
09ab922572
feat(core): add new doc default mode setting ( #7990 )
...
https://github.com/user-attachments/assets/523b14f3-ee42-4061-8ca2-221e071d5cc9
2024-08-28 02:35:28 +00:00
JimmFly
c53adbc7e8
chore: adjust font menu and slider style ( #7989 )
...
![CleanShot 2024-08-27 at 15 52 09@2x](https://github.com/user-attachments/assets/69c8a340-0d59-4d8d-846e-73dc81f2800a )
![CleanShot 2024-08-27 at 15 52 39@2x](https://github.com/user-attachments/assets/2177f267-bdc1-459b-b043-868642b08d9a )
2024-08-28 02:35:26 +00:00
JimmFly
03b2cda845
refactor(core): move fontFamily and fullWidthLayout to editor settings ( #7988 )
2024-08-28 02:35:24 +00:00
EYHN
3e810eb043
fix(core): no share page in desktop ( #7983 )
2024-08-27 12:37:30 +00:00
JimmFly
b8f07ce3fc
chore(core): disable expand database block ( #7984 )
...
close AF-1271
2024-08-27 12:24:48 +00:00
darkskygit
10a066a52a
fix(native): return type casts ( #7986 )
2024-08-27 05:53:05 +00:00
DarkSky
6557b5d4b6
fix: native binding ( #7985 )
2024-08-27 12:31:25 +08:00
Brooooooklyn
67c9c7bcc5
ci: send slack message to channel after deploy ( #7889 )
2024-08-27 03:01:55 +00:00
renovate
e44a9483c2
chore: bump up @marsidev/react-turnstile version to v1 ( #7940 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@marsidev/react-turnstile](https://togithub.com/marsidev/react-turnstile ) | [`^0.7.0` -> `^1.0.0`](https://renovatebot.com/diffs/npm/@marsidev%2freact-turnstile/0.7.2/1.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@marsidev%2freact-turnstile/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@marsidev%2freact-turnstile/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@marsidev%2freact-turnstile/0.7.2/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@marsidev%2freact-turnstile/0.7.2/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>marsidev/react-turnstile (@​marsidev/react-turnstile)</summary>
### [`v1.0.0`](https://togithub.com/marsidev/react-turnstile/releases/tag/v1.0.0 )
[Compare Source](https://togithub.com/marsidev/react-turnstile/compare/v0.7.2...v1.0.0 )
##### 🚨 Breaking Changes
- Now we ship ESM-only code, this will decrease the bundle size significantly.
If you are a CommonJS user, I suggest you to keep using the version `0.7.2` or upgrade your project to ESM.
- Removed "auto" widget size due to is not even a valid size for Cloudflare Turnstile.
We have been sending `undefined` when the size was "auto", so if you were using this size, then you can simply remove it.
- Peer dependencies for `react` and `react-dom` have been updated to 17.x and above.
##### 🚀 Features
- Added callback `onTimeout`
- Added render options `refreshTimeout` and `feedbackEnabled` (Closes [#​82](https://togithub.com/marsidev/react-turnstile/issues/82 ))
- Added new "flexible" widget size (Closes [#​82](https://togithub.com/marsidev/react-turnstile/issues/82 ))
##### 🐛 Fixes
- Updated "compact" widget size to 150x140 (Closes [#​85](https://togithub.com/marsidev/react-turnstile/issues/85 ))
##### 🛠 Misc
##### Build
- We migrated from [unbuild](https://togithub.com/unjs/unbuild ) to [tsup](https://togithub.com/egoist/tsup )
- The generated build is now minified, this will decrease the bundle size significantly.
##### TypeScript
- Improved type definitions. Now we expose these types: `AppearanceMode`, `ExecutionMode`, `FailureRetryMode`, `RefreshExpiredMode`, `RefreshTimeoutMode`, `WidgetSize`. Inspired by [@​types/cloudflare-turnstile](https://www.npmjs.com/package/@​types/cloudflare-turnstile )
##### Other
- Updated dependencies
- Updated docs
- Added issue templates and policies
##### [View changes on GitHub](https://togithub.com/marsidev/react-turnstile/compare/v0.7.2...v1.0.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.
🔕 **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://www.mend.io/free-developer-tools/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-27 02:50:53 +00:00
renovate
ecf50a4dad
chore: bump up happy-dom version to v15 ( #7941 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [happy-dom](https://togithub.com/capricorn86/happy-dom ) | [`^14.7.1` -> `^15.0.0`](https://renovatebot.com/diffs/npm/happy-dom/14.12.3/15.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/15.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/15.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/14.12.3/15.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/14.12.3/15.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>
### [`v15.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v15.0.0 )
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.12.3...v15.0.0 )
##### 💣 Breaking Changes
- Implements remaining HTML elements - By **[@​betterqualityassuranceuser](https://togithub.com/betterqualityassuranceuser )** in task [#​1332](https://togithub.com/capricorn86/happy-dom/issues/1332 )
</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://www.mend.io/free-developer-tools/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-27 02:40:19 +00:00
forehalo
0209e3fa76
fix(core): avoid expand runtime config everywhere used ( #7972 )
2024-08-26 12:22:52 +00:00
EYHN
9ea4aaaf37
refactor(infra): remove setimmediate ( #7975 )
2024-08-26 11:57:24 +00:00
pengx17
611925fa10
fix(electron): adjust app-tabs-header styles ( #7961 )
...
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/6dc54c24-e90f-4c3f-a743-ce7f4512e616.png )
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/3cbfe8f8-d4b8-4167-b557-89184bdcce9c.png )
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/28ba3ad1-22a7-487a-a9a4-d53a658457f9.png )
also fix PD-1631
2024-08-26 09:34:27 +00:00
EYHN
bc86f0a672
feat(core): editor setting service ( #7956 )
...
define editor setting schema in `packages/frontend/core/src/modules/editor-settting/schema.ts`
e.g.
```ts
const BSEditorSettingSchema = z.object({
connector: z.object({
stroke: z
.union([
z.string(),
z.object({
dark: z.string(),
light: z.string(),
}),
])
.default('#000000 '), // default is necessary
}),
});
```
schema can be defined in a nested way. EditorSetting api is in flat way:
editorSetting api:
```ts
editorSetting.settings$ === {
'connector.stroke': '#000000 '
}
editorSetting.set('connector.stroke', '#000 ')
```
and use `expandFlattenObject` function can restore the flattened structure to a nested structure. nested structure is required by blocksuite
```ts
editorSetting.settings$.map(expandFlattenObject) === {
connector: {
stroke: '#000000 '
}
}
```
2024-08-26 08:19:24 +00:00
JimmFly
3c37006657
chore(core): add Display bi-directional links setting row ui ( #7954 )
...
close AF-1269
![CleanShot 2024-08-23 at 12 59 50@2x](https://github.com/user-attachments/assets/bcdc70c4-029e-4254-8367-a390a244e30b )
2024-08-26 06:25:32 +00:00
Don Isaac
dbcfd24ed8
fix: remove unused variables ( #7968 )
2024-08-26 14:23:56 +08:00
forehalo
14066965fa
fix(server): wrong table used for userspace data ( #7969 )
2024-08-26 06:11:22 +00:00
renovate
01c9d1758e
chore: bump up Rust crate sqlx to 0.8 [SECURITY] ( #7965 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [sqlx](https://togithub.com/launchbadge/sqlx ) | workspace.dependencies | minor | `0.7` -> `0.8` |
### GitHub Vulnerability Alerts
#### [GHSA-xmrp-424f-vfpx](https://togithub.com/launchbadge/sqlx/issues/3440 )
The following presentation at this year's DEF CON was brought to our attention on the SQLx Discord:
> SQL Injection isn't Dead: Smuggling Queries at the Protocol Level
> <http://web.archive.org/web/20240812130923/https://media.defcon.org/DEF%20CON%2032/DEF%20CON%2032%20presentations/DEF%20CON%2032%20-%20Paul%20Gerste%20-%20SQL%20Injection%20Isn't%20Dead%20Smuggling%20Queries%20at%20the%20Protocol%20Level.pdf >
> (Archive link for posterity.)
Essentially, encoding a value larger than 4GiB can cause the length prefix in the protocol to overflow,
causing the server to interpret the rest of the string as binary protocol commands or other data.
It appears SQLx _does_ perform truncating casts in a way that could be problematic,
for example: <6f2905695b/sqlx-postgres/src/arguments.rs (L163)
>
This code has existed essentially since the beginning,
so it is reasonable to assume that all published versions `<= 0.8.0` are affected.
## Mitigation
As always, you should make sure your application is validating untrustworthy user input.
Reject any input over 4 GiB, or any input that could _encode_ to a string longer than 4 GiB.
Dynamically built queries are also potentially problematic if it pushes the message size over this 4 GiB bound.
[`Encode::size_hint()`](https://docs.rs/sqlx/latest/sqlx/trait.Encode.html#method.size_hint )
can be used for sanity checks, but do not assume that the size returned is accurate.
For example, the `Json<T>` and `Text<T>` adapters have no reasonable way to predict or estimate the final encoded size,
so they just return `size_of::<T>()` instead.
For web application backends, consider adding some middleware that limits the size of request bodies by default.
## Resolution
Work has started on a branch to add `#[deny]` directives for the following Clippy lints:
* [`cast_possible_truncation`](https://rust-lang.github.io/rust-clippy/master/#/cast_possible_truncation )
* [`cast_possible_wrap`](https://rust-lang.github.io/rust-clippy/master/#/cast_possible_wrap )
* [`cast_sign_loss`](https://rust-lang.github.io/rust-clippy/master/#/cast_sign_loss )
and to manually audit the code that they flag.
A fix is expected to be included in the `0.8.1` release (still WIP as of writing).
---
### Release Notes
<details>
<summary>launchbadge/sqlx (sqlx)</summary>
### [`v0.8.1`](https://togithub.com/launchbadge/sqlx/blob/HEAD/CHANGELOG.md#081---2024-08-23 )
[Compare Source](https://togithub.com/launchbadge/sqlx/compare/v0.8.0...v0.8.1 )
16 pull requests were merged this release cycle.
This release contains a fix for [RUSTSEC-2024-0363].
Postgres users are advised to upgrade ASAP as a possible exploit has been demonstrated:
[#​3440 (comment)](https://togithub.com/launchbadge/sqlx/issues/3440#issuecomment-2307956901 )
MySQL and SQLite do not *appear* to be exploitable, but upgrading is recommended nonetheless.
##### Added
- \[[#​3421]]: correct spelling of `MySqlConnectOptions::no_engine_substitution()` \[\[[@​kolinfluence](https://togithub.com/kolinfluence )]]
- Deprecates `MySqlConnectOptions::no_engine_subsitution()` (oops) in favor of the correctly spelled version.
##### Changed
- \[[#​3376]]: doc: hide `spec_error` module \[\[[@​abonander](https://togithub.com/abonander )]]
- This is a helper module for the macros and was not meant to be exposed.
- It is not expected to receive any breaking changes for the 0.8.x release, but is not designed as a public API.
Use at your own risk.
- \[[#​3382]]: feat: bumped to `libsqlite3-sys=0.30.1` to support sqlite 3.46 \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3385]]: chore(examples):Migrated the pg-chat example to ratatui \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3399]]: Upgrade to rustls 0.23 \[\[[@​djc](https://togithub.com/djc )]]
- RusTLS now has pluggable cryptography providers: `ring` (the existing implementation),
and `aws-lc-rs` which has optional FIPS certification.
- The existing features activating RusTLS (`runtime-tokio-rustls`, `runtime-async-std-rustls`, `tls-rustls`)
enable the `ring` provider of RusTLS to match the existing behavior so this *should not* be a breaking change.
- Switch to the `tls-rustls-aws-lc-rs` feature to use the `aws-lc-rs` provider.
- If using `runtime-tokio-rustls` or `runtime-async-std-rustls`,
this will necessitate switching to the appropriate non-legacy runtime feature:
`runtime-tokio` or `runtime-async-std`
- See the RusTLS README for more details: <https://github.com/rustls/rustls?tab=readme-ov-file#cryptography-providers >
##### Fixed
- \[[#​2786]]: fix(sqlx-cli): do not clean sqlx during prepare \[\[[@​cycraig](https://togithub.com/cycraig )]]
- \[[#​3354]]: sqlite: fix inconsistent read-after-write \[\[[@​ckampfe](https://togithub.com/ckampfe )]]
- \[[#​3371]]: Fix encoding and decoding of MySQL enums in `sqlx::Type` \[\[[@​alu](https://togithub.com/alu )]]
- \[[#​3374]]: fix: usage of `node12` in `SQLx` action \[\[[@​hamirmahal](https://togithub.com/hamirmahal )]]
- \[[#​3380]]: chore: replace structopt with clap in examples \[\[[@​tottoto](https://togithub.com/tottoto )]]
- \[[#​3381]]: Fix CI after Rust 1.80, remove dead feature references \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3384]]: chore(tests): fixed deprecation warnings \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3386]]: fix(dependencys):bumped cargo_metadata to `v0.18.1` to avoid yanked `v0.14.3` \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3389]]: fix(cli): typo in error for required DB URL \[\[[@​ods](https://togithub.com/ods )]]
- \[[#​3417]]: Update version to 0.8 in README \[\[[@​soucosmo](https://togithub.com/soucosmo )]]
- \[[#​3441]]: fix: audit protocol handling \[\[[@​abonander](https://togithub.com/abonander )]]
- This addresses [RUSTSEC-2024-0363] and includes regression tests for MySQL, Postgres and SQLite.
[#​2786]: https://togithub.com/launchbadge/sqlx/pull/2786
[#​3354]: https://togithub.com/launchbadge/sqlx/pull/3354
[#​3371]: https://togithub.com/launchbadge/sqlx/pull/3371
[#​3374]: https://togithub.com/launchbadge/sqlx/pull/3374
[#​3376]: https://togithub.com/launchbadge/sqlx/pull/3376
[#​3380]: https://togithub.com/launchbadge/sqlx/pull/3380
[#​3381]: https://togithub.com/launchbadge/sqlx/pull/3381
[#​3382]: https://togithub.com/launchbadge/sqlx/pull/3382
[#​3384]: https://togithub.com/launchbadge/sqlx/pull/3384
[#​3385]: https://togithub.com/launchbadge/sqlx/pull/3385
[#​3386]: https://togithub.com/launchbadge/sqlx/pull/3386
[#​3389]: https://togithub.com/launchbadge/sqlx/pull/3389
[#​3399]: https://togithub.com/launchbadge/sqlx/pull/3399
[#​3417]: https://togithub.com/launchbadge/sqlx/pull/3417
[#​3421]: https://togithub.com/launchbadge/sqlx/pull/3421
[#​3441]: https://togithub.com/launchbadge/sqlx/pull/3441
[RUSTSEC-2024-0363]: https://rustsec.org/advisories/RUSTSEC-2024-0363.html
### [`v0.8.0`](https://togithub.com/launchbadge/sqlx/blob/HEAD/CHANGELOG.md#080---2024-07-22 )
[Compare Source](https://togithub.com/launchbadge/sqlx/compare/v0.7.4...v0.8.0 )
70 pull requests were merged this release cycle.
[#​2697] was merged the same day as release 0.7.4 and so was missed by the automatic CHANGELOG generation.
##### Breaking
- \[[#​2697]]: fix(macros): only enable chrono when time is disabled \[\[[@​saiintbrisson](https://togithub.com/saiintbrisson )]]
- \[[#​2973]]: Generic Associated Types in Database, replacing HasValueRef, HasArguments, HasStatement \[\[[@​nitn3lav](https://togithub.com/nitn3lav )]]
- \[[#​2482]]: chore: bump syn to 2.0 \[\[[@​saiintbrisson](https://togithub.com/saiintbrisson )]]
- Deprecated type ascription syntax in the query macros was removed.
- \[[#​2736]]: Fix describe on PostgreSQL views with rules \[\[[@​tsing](https://togithub.com/tsing )]]
- Potentially breaking: nullability inference changes for Postgres.
- \[[#​2869]]: Implement PgHasArrayType for all references \[\[[@​tylerhawkes](https://togithub.com/tylerhawkes )]]
- Conflicts with existing manual implementations.
- \[[#​2940]]: fix: Decode and Encode derives ([#​1031](https://togithub.com/launchbadge/sqlx/issues/1031 )) \[\[[@​benluelo](https://togithub.com/benluelo )]]
- Changes lifetime obligations for field types.
- \[[#​3064]]: Sqlite explain graph \[\[[@​tyrelr](https://togithub.com/tyrelr )]]
- Potentially breaking: nullability inference changes for SQLite.
- \[[#​3123]]: Reorder attrs in sqlx::test macro \[\[[@​bobozaur](https://togithub.com/bobozaur )]]
- Potentially breaking: attributes on `#[sqlx::test]` usages are applied in the correct order now.
- \[[#​3126]]: Make Encode return a result \[\[[@​FSMaxB](https://togithub.com/FSMaxB )]]
- \[[#​3130]]: Add version information for failed cli migration ([#​3129](https://togithub.com/launchbadge/sqlx/issues/3129 )) \[\[[@​FlakM](https://togithub.com/FlakM )]]
- Breaking changes to `MigrateError`.
- \[[#​3181]]: feat: no tx migration \[\[[@​cleverjam](https://togithub.com/cleverjam )]]
- (Postgres only) migrations that should not run in a transaction can be flagged by adding `-- no-transaction` to the beginning.
- Breaking change: added field to `Migration`
- \[[#​3184]]: \[BREAKING} fix(sqlite): always use `i64` as intermediate when decoding \[\[[@​abonander](https://togithub.com/abonander )]]
- integer decoding will now loudly error on overflow instead of silently truncating.
- some usages of the query!() macros might change an i32 to an i64.
- \[[#​3252]]: fix `#[derive(sqlx::Type)]` in Postgres \[\[[@​abonander](https://togithub.com/abonander )]]
- Manual implementations of PgHasArrayType for enums will conflict with the generated one. Delete the manual impl or add `#[sqlx(no_pg_array)]` where conflicts occur.
- Type equality for PgTypeInfo is now schema-aware.
- \[[#​3329]]: fix: correct handling of arrays of custom types in Postgres \[\[[@​abonander](https://togithub.com/abonander )]]
- Potential breaking change: `PgTypeInfo::with_name()` infers types that start with `_` to be arrays of the un-prefixed type. Wrap type names in quotes to bypass this behavior.
- \[[#​3356]]: breaking: fix name collision in `FromRow`, return `Error::ColumnDecode` for `TryFrom` errors \[\[[@​abonander](https://togithub.com/abonander )]]
- Breaking behavior change: errors with `#[sqlx(try_from = "T")]` now return `Error::ColumnDecode` instead of `Error::ColumnNotFound`.
- Breaking because `#[sqlx(default)]` on an individual field or the struct itself would have previously suppressed the error.
This doesn't seem like good behavior as it could result in some potentially very difficult bugs.
- Instead, create a wrapper implementing `From` and apply the default explicitly.
- \[[#​3337]]: allow rename with rename_all (close [#​2896](https://togithub.com/launchbadge/sqlx/issues/2896 )) \[\[[@​DirectorX](https://togithub.com/DirectorX )]]
- Changes the precedence of `#[sqlx(rename)]` and `#[sqlx(rename_all)]` to match the expected behavior (`rename` wins).
- \[[#​3285]]: fix: use correct names for sslmode options \[\[[@​lily-mosquitoes](https://togithub.com/lily-mosquitoes )]]
- Changes the output of `ConnectOptions::to_url_lossy()` to match what parsing expects.
##### Added
- \[[#​2917]]: Add Debug impl for PgRow \[\[[@​g-bartoszek](https://togithub.com/g-bartoszek )]]
- \[[#​3113]]: feat: new derive feature flag \[\[[@​saiintbrisson](https://togithub.com/saiintbrisson )]]
- \[[#​3154]]: feat: add `MySqlTime`, audit `mysql::types` for panics \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3188]]: feat(cube): support postgres cube \[\[[@​jayy-lmao](https://togithub.com/jayy-lmao )]]
- \[[#​3244]]: feat: support `NonZero*` scalar types \[\[[@​AlphaKeks](https://togithub.com/AlphaKeks )]]
- \[[#​3260]]: feat: Add set_update_hook on SqliteConnection \[\[[@​gridbox](https://togithub.com/gridbox )]]
- \[[#​3291]]: feat: support the Postgres Bool type for the Any driver \[\[[@​etorreborre](https://togithub.com/etorreborre )]]
- \[[#​3293]]: Add LICENSE-\* files to crates \[\[[@​LecrisUT](https://togithub.com/LecrisUT )]]
- \[[#​3303]]: add array support for NonZeroI\* in postgres \[\[[@​JohannesIBK](https://togithub.com/JohannesIBK )]]
- \[[#​3311]]: Add example on how to use Transaction as Executor \[\[[@​Lachstec](https://togithub.com/Lachstec )]]
- \[[#​3343]]: Add support for PostgreSQL HSTORE data type \[\[[@​KobusEllis](https://togithub.com/KobusEllis )]]
##### Changed
- \[[#​2652]]: MySQL: Remove collation compatibility check for strings \[\[[@​alu](https://togithub.com/alu )]]
- \[[#​2960]]: Removed `Send` trait bound from argument binding \[\[[@​bobozaur](https://togithub.com/bobozaur )]]
- \[[#​2970]]: refactor: lift type mappings into driver crates \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3148]]: Bump libsqlite3-sys to v0.28 \[\[[@​NfNitLoop](https://togithub.com/NfNitLoop )]]
- Note: version bumps to `libsqlite3-sys` are not considered breaking changes as per our semver guarantees.
- \[[#​3265]]: perf: box `MySqlConnection` to reduce sizes of futures \[\[[@​stepantubanov](https://togithub.com/stepantubanov )]]
- \[[#​3352]]: chore:added a testcase for `sqlx migrate add ...` \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3340]]: ci: Add job to check that sqlx builds with its declared minimum dependencies \[\[[@​iamjpotts](https://togithub.com/iamjpotts )]]
##### Fixed
- \[[#​2702]]: Constrain cyclic associated types to themselves \[\[[@​BadBastion](https://togithub.com/BadBastion )]]
- \[[#​2954]]: Fix several inter doc links \[\[[@​ralpha](https://togithub.com/ralpha )]]
- \[[#​3073]]: feat(logging): Log slow acquires from connection pool \[\[[@​iamjpotts](https://togithub.com/iamjpotts )]]
- \[[#​3137]]: SqliteConnectOptions::filename() memory fix ([#​3136](https://togithub.com/launchbadge/sqlx/issues/3136 )) \[\[[@​hoxxep](https://togithub.com/hoxxep )]]
- \[[#​3138]]: PostgreSQL Bugfix: Ensure connection is usable after failed COPY inside a transaction \[\[[@​feikesteenbergen](https://togithub.com/feikesteenbergen )]]
- \[[#​3146]]: fix(sqlite): delete unused `ConnectionHandleRaw` type \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3162]]: Drop urlencoding dependency \[\[[@​paolobarbolini](https://togithub.com/paolobarbolini )]]
- \[[#​3165]]: Bump deps that do not need code changes \[\[[@​GnomedDev](https://togithub.com/GnomedDev )]]
- \[[#​3167]]: fix(ci): use `docker compose` instead of `docker-compose` \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3172]]: fix: Option decoding in any driver \[\[[@​pxp9](https://togithub.com/pxp9 )]]
- \[[#​3173]]: fix(postgres) : int type conversion while decoding \[\[[@​RaghavRox](https://togithub.com/RaghavRox )]]
- \[[#​3190]]: Update time to 0.3.36 \[\[[@​BlackSoulHub](https://togithub.com/BlackSoulHub )]]
- \[[#​3191]]: Fix unclean TLS shutdown \[\[[@​levkk](https://togithub.com/levkk )]]
- \[[#​3194]]: Fix leaking connections in fetch_optional ([#​2647](https://togithub.com/launchbadge/sqlx/issues/2647 )) \[\[[@​danjpgriffin](https://togithub.com/danjpgriffin )]]
- \[[#​3216]]: security: bump rustls to 0.21.11 \[\[[@​toxeus](https://togithub.com/toxeus )]]
- \[[#​3230]]: fix: sqlite pragma order for auto_vacuum \[\[[@​jasonish](https://togithub.com/jasonish )]]
- \[[#​3233]]: fix: get_filename should not consume self \[\[[@​jasonish](https://togithub.com/jasonish )]]
- \[[#​3234]]: fix(ci): pin Rust version, ditch unmaintained actions \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3236]]: fix: resolve `path` ownership problems when using `sqlx_macros_unstable` \[\[[@​lily-mosquitoes](https://togithub.com/lily-mosquitoes )]]
- \[[#​3254]]: fix: hide `sqlx_postgres::any` \[\[[@​Zarathustra2](https://togithub.com/Zarathustra2 )]]
- \[[#​3266]]: ci: MariaDB - add back 11.4 and add 11.5 \[\[[@​grooverdan](https://togithub.com/grooverdan )]]
- \[[#​3267]]: ci: syntax fix \[\[[@​grooverdan](https://togithub.com/grooverdan )]]
- \[[#​3271]]: docs(sqlite): fix typo - unixtime() -> unixepoch() \[\[[@​joelkoen](https://togithub.com/joelkoen )]]
- \[[#​3276]]: Invert boolean for `migrate` error message. ([#​3275](https://togithub.com/launchbadge/sqlx/issues/3275 )) \[\[[@​nk9](https://togithub.com/nk9 )]]
- \[[#​3279]]: fix Clippy errors \[\[[@​abonander](https://togithub.com/abonander )]]
- \[[#​3288]]: fix: sqlite update_hook char types \[\[[@​jasonish](https://togithub.com/jasonish )]]
- \[[#​3297]]: Pass the `persistent` query setting when preparing queries with the `Any` driver \[\[[@​etorreborre](https://togithub.com/etorreborre )]]
- \[[#​3298]]: Track null arguments in order to provide the appropriate type when converting them. \[\[[@​etorreborre](https://togithub.com/etorreborre )]]
- \[[#​3312]]: doc: Minor rust docs fixes \[\[[@​SrGesus](https://togithub.com/SrGesus )]]
- \[[#​3327]]: chore: fixed one usage of `select_input_type!()` being unhygenic \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3328]]: fix(ci): comment not separated from other characters \[\[[@​hamirmahal](https://togithub.com/hamirmahal )]]
- \[[#​3341]]: refactor: Resolve cargo check warnings in postgres examples \[\[[@​iamjpotts](https://togithub.com/iamjpotts )]]
- \[[#​3346]]: fix(postgres): don't panic if `M` or `C` Notice fields are not UTF-8 \[\[[@​YgorSouza](https://togithub.com/YgorSouza )]]
- \[[#​3350]]: fix:the `json`-feature should activate `sqlx-postgres?/json` as well \[\[[@​CommanderStorm](https://togithub.com/CommanderStorm )]]
- \[[#​3353]]: fix: build script new line at eof \[\[[@​Zarthus](https://togithub.com/Zarthus )]]
- (no PR): activate `clock` and `std` features of `workspace.dependencies.chrono`.
[#​2482]: https://togithub.com/launchbadge/sqlx/pull/2482
[#​2652]: https://togithub.com/launchbadge/sqlx/pull/2652
[#​2697]: https://togithub.com/launchbadge/sqlx/pull/2697
[#​2702]: https://togithub.com/launchbadge/sqlx/pull/2702
[#​2736]: https://togithub.com/launchbadge/sqlx/pull/2736
[#​2869]: https://togithub.com/launchbadge/sqlx/pull/2869
[#​2917]: https://togithub.com/launchbadge/sqlx/pull/2917
[#​2940]: https://togithub.com/launchbadge/sqlx/pull/2940
[#​2954]: https://togithub.com/launchbadge/sqlx/pull/2954
[#​2960]: https://togithub.com/launchbadge/sqlx/pull/2960
[#​2970]: https://togithub.com/launchbadge/sqlx/pull/2970
[#​2973]: https://togithub.com/launchbadge/sqlx/pull/2973
[#​3064]: https://togithub.com/launchbadge/sqlx/pull/3064
[#​3073]: https://togithub.com/launchbadge/sqlx/pull/3073
[#​3113]: https://togithub.com/launchbadge/sqlx/pull/3113
[#​3123]: https://togithub.com/launchbadge/sqlx/pull/3123
[#​3126]: https://togithub.com/launchbadge/sqlx/pull/3126
[#​3130]: https://togithub.com/launchbadge/sqlx/pull/3130
[#​3137]: https://togithub.com/launchbadge/sqlx/pull/3137
[#​3138]: https://togithub.com/launchbadge/sqlx/pull/3138
[#​3146]: https://togithub.com/launchbadge/sqlx/pull/3146
[#​3148]: https://togithub.com/launchbadge/sqlx/pull/3148
[#​3154]: https://togithub.com/launchbadge/sqlx/pull/3154
[#​3162]: https://togithub.com/launchbadge/sqlx/pull/3162
[#​3165]: https://togithub.com/launchbadge/sqlx/pull/3165
[#​3167]: https://togithub.com/launchbadge/sqlx/pull/3167
[#​3172]: https://togithub.com/launchbadge/sqlx/pull/3172
[#​3173]: https://togithub.com/launchbadge/sqlx/pull/3173
[#​3181]: https://togithub.com/launchbadge/sqlx/pull/3181
[#​3184]: https://togithub.com/launchbadge/sqlx/pull/3184
[#​3188]: https://togithub.com/launchbadge/sqlx/pull/3188
[#​3190]: https://togithub.com/launchbadge/sqlx/pull/3190
[#​3191]: https://togithub.com/launchbadge/sqlx/pull/3191
[#​3194]: https://togithub.com/launchbadge/sqlx/pull/3194
[#​3216]: https://togithub.com/launchbadge/sqlx/pull/3216
[#​3230]: https://togithub.com/launchbadge/sqlx/pull/3230
[#​3233]: https://togithub.com/launchbadge/sqlx/pull/3233
[#​3234]: https://togithub.com/launchbadge/sqlx/pull/3234
[#​3236]: https://togithub.com/launchbadge/sqlx/pull/3236
[#​3244]: https://togithub.com/launchbadge/sqlx/pull/3244
[#​3252]: https://togithub.com/launchbadge/sqlx/pull/3252
[#​3254]: https://togithub.com/launchbadge/sqlx/pull/3254
[#​3260]: https://togithub.com/launchbadge/sqlx/pull/3260
[#​3265]: https://togithub.com/launchbadge/sqlx/pull/3265
[#​3266]: https://togithub.com/launchbadge/sqlx/pull/3266
[#​3267]: https://togithub.com/launchbadge/sqlx/pull/3267
[#​3271]: https://togithub.com/launchbadge/sqlx/pull/3271
[#​3276]: https://togithub.com/launchbadge/sqlx/pull/3276
[#​3279]: https://togithub.com/launchbadge/sqlx/pull/3279
[#​3285]: https://togithub.com/launchbadge/sqlx/pull/3285
[#​3288]: https://togithub.com/launchbadge/sqlx/pull/3288
[#​3291]: https://togithub.com/launchbadge/sqlx/pull/3291
[#​3293]: https://togithub.com/launchbadge/sqlx/pull/3293
[#​3297]: https://togithub.com/launchbadge/sqlx/pull/3297
[#​3298]: https://togithub.com/launchbadge/sqlx/pull/3298
[#​3303]: https://togithub.com/launchbadge/sqlx/pull/3303
[#​3311]: https://togithub.com/launchbadge/sqlx/pull/3311
[#​3312]: https://togithub.com/launchbadge/sqlx/pull/3312
[#​3327]: https://togithub.com/launchbadge/sqlx/pull/3327
[#​3328]: https://togithub.com/launchbadge/sqlx/pull/3328
[#​3329]: https://togithub.com/launchbadge/sqlx/pull/3329
[#​3337]: https://togithub.com/launchbadge/sqlx/pull/3337
[#​3340]: https://togithub.com/launchbadge/sqlx/pull/3340
[#​3341]: https://togithub.com/launchbadge/sqlx/pull/3341
[#​3343]: https://togithub.com/launchbadge/sqlx/pull/3343
[#​3346]: https://togithub.com/launchbadge/sqlx/pull/3346
[#​3350]: https://togithub.com/launchbadge/sqlx/pull/3350
[#​3352]: https://togithub.com/launchbadge/sqlx/pull/3352
[#​3353]: https://togithub.com/launchbadge/sqlx/pull/3353
[#​3356]: https://togithub.com/launchbadge/sqlx/pull/3356
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **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://www.mend.io/free-developer-tools/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-24 12:47:32 +00:00
renovate
130dc2bd8b
chore: bump up oxlint version to v0.8.0 ( #7962 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs ) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.7.2` -> `0.8.0`](https://renovatebot.com/diffs/npm/oxlint/0.7.2/0.8.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.7.2/0.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.7.2/0.8.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.8.0`](https://togithub.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#080---2024-08-23 )
[Compare Source](b3e189764f...8ef85a43c0
)
##### Features
- [`a0effab`](https://togithub.com/oxc-project/oxc/commit/a0effab ) linter: Support more flexible config.globals values ([#​4990](https://togithub.com/oxc-project/oxc/issues/4990 )) (Don Isaac)
</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://www.mend.io/free-developer-tools/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-08-23 16:19:40 +00:00