|
7 | 7 |
|
8 | 8 | All notable changes to this project will be documented in this file.
|
9 | 9 |
|
10 |
| -## [v9.0.0](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v9.0.0-alpha.6) (unreleased) |
11 |
| -[Full Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.22.0...v9.0.0-alpha.6) |
| 10 | +## [v9.0.0](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v9.0.0-alpha.7) (unreleased) |
| 11 | +[Full Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.23.1...v9.0.0-alpha.7) |
12 | 12 |
|
13 | 13 | ### 💥 Breaking Changes
|
14 | 14 | * The package now uses Vue 3 instead of Vue 2.7
|
@@ -145,6 +145,7 @@ Especially the following are now provided as composables:
|
145 | 145 | * fix(NcAppSidebar): apply toggle offset transition only on sidebar transition [\#6154](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6154) \([ShGKme](https://github.com/ShGKme)\)
|
146 | 146 | * fix(NcAvatar): attributes order [\#6377](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6377) \([raimund-schluessler](https://github.com/raimund-schluessler)\)
|
147 | 147 | * fix!: make 'box-sizing: border-box' a default behaviour for all containers [\#6390](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6390) \([Antreesy](https://github.com/Antreesy)\)
|
| 148 | +* fix(NcSelect): `required` doesn't work [\#6458](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6458) \([ShGKme](https://github.com/ShGKme)\) |
148 | 149 |
|
149 | 150 | ### Changed
|
150 | 151 | * ci: Migrate component tests to Playwright [\#5818](https://github.com/nextcloud-libraries/nextcloud-vue/pull/5818) \([susnux](https://github.com/susnux)\)
|
@@ -194,8 +195,81 @@ Especially the following are now provided as composables:
|
194 | 195 | * chore(deps): Update dependencies for `next` branch [\#6007](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6007) \([susnux](https://github.com/susnux)\)
|
195 | 196 | * chore: Update styles from server for styleguide [\#6025](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6025) \([susnux](https://github.com/susnux)\)
|
196 | 197 | * docs: add missing `useIsDarkTheme` import [\#6215](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6215) \([ShGKme](https://github.com/ShGKme)\)
|
197 |
| -* fix(NcCounterBubble): small typo in docs [\#6378](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6378) \([raimund-schluessler](https://github.com/raimund-schluessler)\) |
198 |
| -* fix(NcActionButton): order in components [\#6375](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6375) \([raimund-schluessler](https://github.com/raimund-schluessler)\) |
| 198 | +* docs(NcCounterBubble): small typo in docs [\#6378](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6378) \([raimund-schluessler](https://github.com/raimund-schluessler)\) |
| 199 | +* docs(NcActionButton): order in components [\#6375](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6375) \([raimund-schluessler](https://github.com/raimund-schluessler)\) |
| 200 | +* refactor(useHotKey): migrate code to Typescript [\#6430](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6430) \([susnux](https://github.com/susnux)\) |
| 201 | +* chore: restructure `package.json` [\#6405](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6405) \([susnux](https://github.com/susnux)\) |
| 202 | +* chore: Refactor changelog to make breaking changes better readable [\#6428](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6428) \([susnux](https://github.com/susnux)\) |
| 203 | + |
| 204 | +## [v8.23.1](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v8.23.1) (2025-02-13) |
| 205 | +### 🐛 Fixed bugs |
| 206 | +* fix(l10n): fix build error after `@nextcloud/l10n` bump [\#6521](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6521) \([ShGKme](https://github.com/ShGKme)\) |
| 207 | + |
| 208 | + |
| 209 | +## [v8.23.0](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v8.23.0) (2025-02-13) |
| 210 | +### 📝 Notes |
| 211 | +* The individual import path of components, composables, directives, and functions was changed. |
| 212 | + The type of import is (e.g. `components`) is now lowercase and the `dist` will be omitted. |
| 213 | + For example to import the `NcButton` component the path has changed: |
| 214 | + |
| 215 | + ```ts |
| 216 | + // Old import |
| 217 | + import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' |
| 218 | + // New way to import |
| 219 | + import NcButton from '@nextcloud/vue/components/NcButton' |
| 220 | + ``` |
| 221 | + |
| 222 | + The old import paths are still valid, but deprecated and will be removed in version 9. |
| 223 | +* `#default` slot for leading icon is now deprecated in components `NcInputField`, `NcTextField`, `NcPasswordField`. Use `#icon` slot instead. |
| 224 | +* `NcActionRadio` is now expecting String|Number in `v-model` directive (to compare with passed `value`) instead of Boolean. Consider it for migration. |
| 225 | +* Some boolean props have been deprecated in favor of alternatives with default value `false`. |
| 226 | + This allows to use shorthand notation on the template, as a prop with a default value of `false` |
| 227 | + will be set to `true` if it is set (without any value) in the template, |
| 228 | + similar to native HTML boolean attributes. |
| 229 | + Following components have been adjusted: |
| 230 | + |
| 231 | + | Component | Deprecated prop | New alternative | |
| 232 | + |---------------|------------------------|-----------------| |
| 233 | + | `NcModal` | `enableSwipe` | `disableSwipe` | |
| 234 | + |`NcAppContent` | `allowSwipeNavigation` | `disabledSwipe` | |
| 235 | + |
| 236 | +### 🚀 Enhancements |
| 237 | +* feat: Allow to import without `dist` [\#6385](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6385) \([susnux](https://github.com/susnux)\) |
| 238 | +* feat: Use boolean props with default value false [\#6452](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6452) \([susnux](https://github.com/susnux)\) |
| 239 | +* feat(Nc*Field): add `#icon` slot for forward compatibility with v9, `#default` slot is deprecated [\#6399](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6399) \([ShGKme](https://github.com/ShGKme)\) |
| 240 | +* fix(NcActionRadio): change `modelValue` to behave like NcCheckboxRadioSwitch [\#6264](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6264) [\#6470](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6470) \([Antreesy](https://github.com/Antreesy)\) |
| 241 | + |
| 242 | +### 🐛 Fixed bugs |
| 243 | +* fix(NcAction*): Fix RTL support for component [\#6507](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6507) \([Antreesy](https://github.com/Antreesy)\) |
| 244 | +* fix(NcActions): Remove on `mousemove` listener for auto focus elements [\#6475](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6475) \([susnux](https://github.com/susnux)\) |
| 245 | +* fix(NcActionCheckbox): Fix padding in RTL mode [\#6354](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6354) \([falghamdi125](https://github.com/falghamdi125)\) |
| 246 | +* fix(NcAppNavigation + NcUserBubble + NcRichContenteditable): RTL support [\#6455](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6455) \([DorraJaouad](https://github.com/DorraJaouad)\) |
| 247 | +* fix(NcAvatar): title not shown when component used without menu [\#6297](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6297) \([Koc](https://github.com/Koc)\) |
| 248 | +* fix(NcAvatar): user status and interactivity toggle button Bidi support [\#6407](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6407) \([DorraJaouad](https://github.com/DorraJaouad)\) |
| 249 | +* fix(NcColorPicker): close popover on submit event [\#6336](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6336) \([Antreesy](https://github.com/Antreesy)\) |
| 250 | +* fix(NcCounterBubble): show original count in title when shortened [\#6395](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6395) \([ShGKme](https://github.com/ShGKme)\) |
| 251 | +* fix(NcDateTimePicker): selected and hover time is not readable [\#6492](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6492) \([ShGKme](https://github.com/ShGKme)\) |
| 252 | +* fix(NcDateTimePickerNative): do not set invalid value on clear event [\#6387](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6387) \([Antreesy](https://github.com/Antreesy)\) |
| 253 | +* fix(NcDateTimePickerNative): style alignment with other input components [\#6454](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6454) \([Antreesy](https://github.com/Antreesy)\) |
| 254 | +* fix(NcEmojiPicker): add arrow navigation [\#6466](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6466) \([ShGKme](https://github.com/ShGKme)\) |
| 255 | +* fix(NcEmojiPicker): adjust styles to correctly fit emojis [\#6465](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6465) \([ShGKme](https://github.com/ShGKme)\) |
| 256 | +* fix(NcListItem): Fix padding in RTL mode [\#6359](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6359) \([falghamdi125](https://github.com/falghamdi125)\) |
| 257 | +* fix(NcModal): Enforce opaque backdrop if needed [\#6434](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6434) \([susnux](https://github.com/susnux)\) |
| 258 | +* fix(NcPopover): emit `after-show` after `focus-trap` init to correctly return focus [\#6342](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6342) \([ShGKme](https://github.com/ShGKme)\) |
| 259 | +* fix(NcPopover): blurry content on scaled page in Chromium [\#6512](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6512) \([ShGKme](https://github.com/ShGKme)\) |
| 260 | +* fix(NcRich*): style fixes and RTL support [\#6474](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6474) \([Antreesy](https://github.com/Antreesy)\) |
| 261 | +* fix(NcRichContenteditable): remove value linkify [\#6372](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6372) \([ShGKme](https://github.com/ShGKme)\) |
| 262 | +* fix(NcRichText): adjust conditions for highlight syntax [\#6259](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6259) \([Antreesy](https://github.com/Antreesy)\) |
| 263 | +* fix(NcRichText): extract un-escaping of text/code nodes with XML-like content [\#6499](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6499) [\#6501](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6501) \([Antreesy](https://github.com/Antreesy)\) |
| 264 | +* fix(NcTeamResources): Do not make extraneous requests for resources [\#6379](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6379) \([Pytal](https://github.com/Pytal)\) |
| 265 | + |
| 266 | +### Changed |
| 267 | +* chore(stylelint): `csstools/use-logical` [\#6419](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6419) \([ShGKme](https://github.com/ShGKme)\) |
| 268 | +* chore(stylelint): fix scripts to be unix-compatible [\#6418](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6418) \([ShGKme](https://github.com/ShGKme)\) |
| 269 | +* chore(docs): Do not override assets while building the styleguide [\#6408](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6408) \([susnux](https://github.com/susnux)\) |
| 270 | +* chore(docs): update documentation [\#6460](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6460) \([ShGKme](https://github.com/ShGKme)\) |
| 271 | +* Updated workflows and dependencies |
| 272 | +* Updated translations |
199 | 273 |
|
200 | 274 | ## [v8.22.0](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v8.22.0) (2024-12-20)
|
201 | 275 | [Full Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.21.0...v8.22.0)
|
|
0 commit comments