Now you can use v-model directive, :model-value prop, and @update:model-value (@update:modelValue) event in all data input components to have compatibility with v9 in the future.
<!-- Only v8 (Vue 2) -->
<NcTextField :value.sync="username" />
<!-- Compatible with both v8 (Vue 2) and v9 (Vue 3) -->
<NcTextField v-model="username" />
<!-- same as -->
<NcTextField :model-value="username" @update:model-value="username = $event" />
If you already use v-model with a custom writable computed on :value.sync components before, it might not work as expected anymore. Make sure to remove or adjust it before update.
See the full list in v9 breaking changes.
🚀 Enhancements
feat: add v-model support for input-like components #5418 (kyteinsky)
feat: forward compatibility with v9 on v-model props/events #6172 (ShGKme)
feat(NcRichText): add styles to mount point for custom picker and custom widget elements #6108 (julien-nc)
feat(NcRichText): make interactive widgets opt-in #6151 (Antreesy)
feat: add isDarkTheme functions and composables #5698 (ShGKme)
Now you can use v-model directive, :model-value prop, and @update:model-value (@update:modelValue) event in all data input components to have compatibility with v9 in the future.
<!-- Only v8 (Vue 2) -->
<NcTextField :value.sync="username" />
<!-- Compatible with both v8 (Vue 2) and v9 (Vue 3) -->
<NcTextField v-model="username" />
<!-- same as -->
<NcTextField :model-value="username" @update:model-value="username = $event" />
If you already use v-model with a custom writable computed on :value.sync components before, it might not work as expected anymore. Make sure to remove or adjust it before update.
See the full list in v9 breaking changes.
🚀 Enhancements
feat: add v-model support for input-like components #5418 (kyteinsky)
feat: forward compatibility with v9 on v-model props/events #6172 (ShGKme)
feat(NcRichText): add styles to mount point for custom picker and custom widget elements #6108 (julien-nc)
feat(NcRichText): make interactive widgets opt-in #6151 (Antreesy)
feat: add isDarkTheme functions and composables #5698 (ShGKme)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will merge this PR once CI passes on it, as requested by @nextcloud-command.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @nextcloud/vue from 8.17.0 to 8.21.0.
Release notes
Sourced from
@nextcloud/vue
's releases.... (truncated)
Changelog
Sourced from
@nextcloud/vue
's changelog.... (truncated)
Commits
fe04dfd
Merge pull request #6255 from nextcloud-libraries/chore/v8.21.0973319b
Merge pull request #6242 from nextcloud-libraries/automated/noid/server-styli...eed0252
chore: release 8.21.01ecb2f8
Merge pull request #6251 from nextcloud-libraries/dependabot/github_actions/c...437cb26
chore(deps): Bump codecov/codecov-action from 5.0.4 to 5.0.7b95380b
Merge pull request #6250 from nextcloud-libraries/dependabot/npm_and_yarn/dom...c8d98f3
chore(deps): Bump dompurify from 3.2.0 to 3.2.112ffeb3
chore(assets): Update styling from servercfb90f4
Merge pull request #6244 from nextcloud-libraries/dependabot/github_actions/x...3756762
Merge pull request #6241 from nextcloud-libraries/fix/4821/pasted-textDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @nextcloud-command.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show