11672 Commits

Author SHA1 Message Date
Brainslug
9aa4e703b2 v10.10.6 v10.10.6 2024-04-17 17:37:11 +02:00
Brainslug
c260ff08b2 Add changeset for #22199 (#22222)
* Fix race condition in handling of default values in image interface

* Add enabled flag to useRelationSingle

* Disable related item fetching while root item is still being loaded

* Added changeset

---------

Co-authored-by: Hannes Küttner <kuettner.hannes@gmail.com>
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
2024-04-17 14:19:50 +02:00
Hannes Küttner
7a7e2b8bc0 Fix race condition in loading of default values in relational M2O interfaces (#22199)
* Fix race condition in handling of default values in image interface

* Add enabled flag to useRelationSingle

* Disable related item fetching while root item is still being loaded
2024-04-17 13:44:08 +02:00
dependabot[bot]
549bfb641e Bump openapi3-ts from 4.2.2 to 4.3.1 (#22217)
Bumps [openapi3-ts](https://github.com/metadevpro/openapi3-ts) from 4.2.2 to 4.3.1.
- [Release notes](https://github.com/metadevpro/openapi3-ts/releases)
- [Changelog](https://github.com/metadevpro/openapi3-ts/blob/master/Changelog.md)
- [Commits](https://github.com/metadevpro/openapi3-ts/commits)

---
updated-dependencies:
- dependency-name: openapi3-ts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 08:10:44 +02:00
dependabot[bot]
37b053e174 Bump vue from 3.4.22 to 3.4.23 (#22218)
Bumps [vue](https://github.com/vuejs/core) from 3.4.22 to 3.4.23.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.4.22...v3.4.23)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 08:09:10 +02:00
Hannes Küttner
3f4d5a1b96 Fix visual inconsistency in filter interface (#22209) 2024-04-16 15:31:15 +02:00
Hannes Küttner
132d22dd7a Fix pagination alignment in M2A builder interface (#22208) 2024-04-16 13:45:23 +02:00
Florian C. Wachmann
f6d1aba3e2 Fix issue where background color of the search input did not match the navigation bar (#22204) 2024-04-16 12:07:52 +02:00
Hannes Küttner
12fb7719fe Don't influence Cache-Control through CACHE_AUTO_PURGE (#22203)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-16 09:55:41 +00:00
Rijk van Zanten
577f08e5f5 Remove nested transactions (#22023)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2024-04-16 10:13:33 +02:00
dependabot[bot]
509fed7c4d Bump vue from 3.3.8 to 3.4.22 (#22202)
Bumps [vue](https://github.com/vuejs/core) from 3.3.8 to 3.4.22.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.3.8...v3.4.22)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 09:46:12 +02:00
dependabot[bot]
ed3d708ad5 Bump @google-cloud/storage from 7.8.0 to 7.10.0 (#22200)
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 7.8.0 to 7.10.0.
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-storage/compare/v7.8.0...v7.10.0)

---
updated-dependencies:
- dependency-name: "@google-cloud/storage"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 09:35:58 +02:00
Pascal Jufer
6c35f43460 Fix nested queries with unlimited default limit (#22049)
* Fix nested queries with unlimited default limit

* Add changeset
2024-04-15 11:52:41 +02:00
José Varela
dfe6cca40b Api / Assets: Prevent backpressure on sending big files (#22175)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-15 08:29:57 +00:00
José Varela
75c03bdd99 Api / Graphql : Allow version as singleton argument on singleton (#22184)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-12 10:50:32 +00:00
dependabot[bot]
39d218845c Bump sass from 1.74.1 to 1.75.0 (#22181)
Bumps [sass](https://github.com/sass/dart-sass) from 1.74.1 to 1.75.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.74.1...1.75.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 11:13:15 +02:00
Bryant Gillespie
4638147591 Update reusable-components.md (#22170) 2024-04-11 13:04:51 +00:00
dependabot[bot]
f2b2f469f4 Bump @sinclair/typebox from 0.32.15 to 0.32.20 (#22166)
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.32.15 to 0.32.20.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.32.15...0.32.20)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 14:44:44 +02:00
Rijk van Zanten
58c1e308fc Tweak default email in init cli command email_from config (#22162)
* Change default email from in init .env to example.com

Directus's domain has a strict dmarc quarantine, so this will never work. Changing it to example should make it super obvious it's just an example.

* Add changeset
2024-04-10 11:45:17 -04:00
Nico
b983d1fcf0 Add env variables to configure PM2 log paths + documentation (#22155)
* Add env variables to configure PM2 log paths + documentation

* Sign Contributor License Agreement

* Run prettier fix

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-04-10 11:01:45 -04:00
Pascal Jufer
bf9b95a5c3 Fix "Save As Copy" to include existing values of relational items (#22028) 2024-04-10 16:44:43 +02:00
dependabot[bot]
990d4d8e0b Bump editorjs-toggle-block from 0.3.14 to 0.3.15 (#22151)
Bumps [editorjs-toggle-block](https://github.com/kommitters/editorjs-toggle-block) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/kommitters/editorjs-toggle-block/releases)
- [Changelog](https://github.com/kommitters/editorjs-toggle-block/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kommitters/editorjs-toggle-block/compare/v0.3.14...v0.3.15)

---
updated-dependencies:
- dependency-name: editorjs-toggle-block
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 10:13:58 +02:00
dependabot[bot]
070d1e1469 Bump listr2 from 8.0.2 to 8.2.1 (#22152)
Bumps [listr2](https://github.com/listr2/listr2) from 8.0.2 to 8.2.1.
- [Release notes](https://github.com/listr2/listr2/releases)
- [Changelog](https://github.com/listr2/listr2/blob/master/release.config.cjs)
- [Commits](https://github.com/listr2/listr2/compare/listr2@8.0.2...listr2@8.2.1)

---
updated-dependencies:
- dependency-name: listr2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 01:17:03 +00:00
dependabot[bot]
91a029e893 Bump @aws-sdk/client-ses from 3.533.0 to 3.552.0 (#22150)
Bumps [@aws-sdk/client-ses](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-ses) from 3.533.0 to 3.552.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-ses/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.552.0/clients/client-ses)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-ses"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 01:13:26 +00:00
dependabot[bot]
2581718f7b Bump nanoid from 5.0.6 to 5.0.7 (#22147)
Bumps [nanoid](https://github.com/ai/nanoid) from 5.0.6 to 5.0.7.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.6...5.0.7)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 03:07:23 +02:00
dependabot[bot]
1ce1744895 Bump @editorjs/embed from 2.7.0 to 2.7.1 (#22149)
Bumps [@editorjs/embed](https://github.com/editor-js/embed) from 2.7.0 to 2.7.1.
- [Commits](https://github.com/editor-js/embed/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/embed"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 03:06:47 +02:00
Jonas Kohl
2950e655dd Omit target attribute when newTab is false (#22134)
* Omit `target` attribute when `newTab` is `false`

* Update contributors.yml

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-04-09 14:25:05 -04:00
Rijk van Zanten
c5b884ffdf Move durus out of monorepo
Easier to project manage that way!
2024-04-09 13:59:53 -04:00
Kimia Abtahi
80187aef13 Fix wrong trigger type hook to correct event in flows.md (#22141) 2024-04-09 16:31:13 +02:00
Pascal Jufer
ce0da9cd76 Update Editor.js (used for Block Interface) to 2.29 (#22112) 2024-04-09 09:15:26 +00:00
Pascal Jufer
b031a73725 Update TinyMCE (used for WYSIWYG) to v7 (#22123)
Co-authored-by: ian <licitdev@gmail.com>
2024-04-09 11:07:19 +02:00
dependabot[bot]
7ce870ced4 Bump vue-tsc from 2.0.7 to 2.0.11 (#22127)
Bumps [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) from 2.0.7 to 2.0.11.
- [Release notes](https://github.com/vuejs/language-tools/releases)
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/language-tools/commits/v2.0.11/packages/tsc)

---
updated-dependencies:
- dependency-name: vue-tsc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 09:27:11 +02:00
dependabot[bot]
420e0377a8 Bump sass from 1.72.0 to 1.74.1 (#22126)
Bumps [sass](https://github.com/sass/dart-sass) from 1.72.0 to 1.74.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.72.0...1.74.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 09:26:40 +02:00
dependabot[bot]
107ae55a4d Bump axios from 1.6.7 to 1.6.8 (#22128)
Bumps [axios](https://github.com/axios/axios) from 1.6.7 to 1.6.8.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.7...v1.6.8)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 08:54:03 +02:00
Pascal Jufer
c9105eaead Use Item/PrimaryKey from and move Alterations to @directus/types (#22027)
Co-authored-by: ian <licitdev@gmail.com>
2024-04-08 10:12:26 +02:00
ian
cea3ea9bc6 Remove v-image deprecation notice (#22106) 2024-04-05 16:17:45 +02:00
José Varela
148d1b9577 Fix issues with field creation and updates via Data Studio (#22090)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-05 15:45:58 +02:00
ian
4a5b630982 Fix extensions breaking change in blackbox tests (#22096)
* Fix extensions breaking change in blackbox tests

* Remove non-required props

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-04 17:30:03 +00:00
Rijk van Zanten
bd4b8b5949 v10.10.5 v10.10.5 2024-04-03 15:47:12 -04:00
Rijk van Zanten
8eba57d149 New Crowdin updates (#21787)
* Update source file en-US.yaml

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Afrikaans)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Catalan)

* New translations en-us.yaml (Czech)

* New translations en-us.yaml (Danish)

* New translations en-us.yaml (German)

* New translations en-us.yaml (Greek)

* New translations en-us.yaml (Finnish)

* New translations en-us.yaml (Hebrew)

* New translations en-us.yaml (Hungarian)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Japanese)

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Norwegian)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Portuguese)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovenian)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Serbian (Cyrillic))

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Ukrainian)

* New translations en-us.yaml (Chinese Simplified)

* New translations en-us.yaml (Chinese Traditional)

* New translations en-us.yaml (Vietnamese)

* New translations en-us.yaml (Icelandic)

* New translations en-us.yaml (Portuguese, Brazilian)

* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (Persian)

* New translations en-us.yaml (Spanish, Chile)

* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Thai)

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Estonian)

* New translations en-us.yaml (Hindi)

* New translations en-us.yaml (Malay)

* New translations en-us.yaml (English, Canada)

* New translations en-us.yaml (English, United Kingdom)

* New translations en-us.yaml (French, Canada)

* New translations en-us.yaml (Faroese)

* New translations en-us.yaml (Esperanto)

* New translations en-us.yaml (Breton)

* New translations en-us.yaml (Bosnian)

* New translations en-us.yaml (Serbian (Latin))

* New translations en-us.yaml (Bengali, India)

* New translations en-us.yaml (Nepali)

* New translations en-us.yaml (Sorani (Kurdish))

* New translations en-us.yaml (Spanish, Latin America)

* Update source file en-US.yaml

* New translations en-us.yaml (Vietnamese)

* New translations en-us.yaml (Vietnamese)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (French, Canada)

* Update source file en-US.yaml

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Portuguese, Brazilian)

* New translations en-us.yaml (Catalan)

* New translations en-us.yaml (Portuguese, Brazilian)

* New translations en-us.yaml (German)

* New translations en-us.yaml (Sorani (Kurdish))

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Croatian)

* Update source file en-US.yaml

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Bulgarian)

* Update source file en-US.yaml

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Telugu)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (French, Canada)

* New translations en-us.yaml (Albanian)
2024-04-03 15:43:54 -04:00
Rijk van Zanten
1ff4bf3330 Improve schema retrieval by caching the schema cache creation (#21824)
* Don't await non-async function

* Add process lock to system schema cache generation

* Add changeset

* Publish message on failure as well to release waiting process

* Update api/src/utils/get-schema.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update api/src/utils/get-schema.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Unsubscribe on callback

* Optimize db init

* Add timeout and infinite loop protection

* Reduce max attempts

* Clear timeout on callback

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-03 14:51:22 -04:00
Pascal Jufer
bd417ed679 Override default label for dependabot PRs (#22071) 2024-04-03 16:51:53 +00:00
Pascal Jufer
75e45f66ce Remove label for dependabot PRs (#22064) 2024-04-03 12:35:24 -04:00
Pascal Jufer
582b060e43 Fix active state of Collections in navigation with Content Versions and Bookmarks (#21786) 2024-04-03 16:08:55 +02:00
Pascal Jufer
a288cc9f5d Fix redact log blackbox test (#22061) 2024-04-03 15:29:31 +02:00
Daniel Biegler
9ab4e8ba32 Fix issue when duplicating an item (Save as Copy) with many relational items (#22053)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-03 11:54:03 +00:00
dependabot[bot]
aaaf509188 Bump typedoc from 0.25.10 to 0.25.12 (#22058)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.10 to 0.25.12.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.10...v0.25.12)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 08:16:18 +02:00
dependabot[bot]
3852555d4f Bump swagger-ui-watcher from 2.1.13 to 2.1.14 (#22056)
Bumps [swagger-ui-watcher](https://github.com/moon0326/swagger-ui-watcher) from 2.1.13 to 2.1.14.
- [Release notes](https://github.com/moon0326/swagger-ui-watcher/releases)
- [Commits](https://github.com/moon0326/swagger-ui-watcher/commits)

---
updated-dependencies:
- dependency-name: swagger-ui-watcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 08:15:11 +02:00
dependabot[bot]
682afa0068 Bump nodemailer from 6.9.12 to 6.9.13 (#22057)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.12 to 6.9.13.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.9.12...v6.9.13)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 08:11:51 +02:00
Pascal Jufer
ab812c2dd7 Fix initial values for boolean filter operators in search interface (#22050)
* Fix initial value for boolean filter types in search interface

* Clean-up comments in getFilterOperatorsForType

* Add changeset

* Use operator for comparition

Co-authored-by: ian <licitdev@gmail.com>

* Adjust changeset

---------

Co-authored-by: ian <licitdev@gmail.com>
2024-04-03 01:01:39 +08:00