-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last call for @nextcloud/vue v9
breaking changes
#6384
Comments
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Yes but not now I think, there is too much old stuff that simply would break.
Would love to see all of that, but it does not have to be breaking, we can support both without any new files (just add an alias to the exports in the package json).
💯 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
Proposal: get rid of other mixins:
|
This comment has been minimized.
This comment has been minimized.
One thing that annoys for probably as long as I work with nc-vue, but maybe I just have to live with it:
The problem here is:
But as said if you do not agree with me here, then I can live with it ;) |
Yes. It breaks the rule of not naming component's interface same as native, when it has different meaning.
Or
It's also a change for
Maybe it's not so complex. Values for If the value is |
Question: shall we add more runtime warnings for deprecated stuff? |
This comment has been minimized.
This comment has been minimized.
I'd still vote for And to keep wording simpler ( |
I would vote for |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
One thing that I worked on last year but not 100% finished was migrating the |
I mentioned it in It binds component too much on externals... |
Proposal: make sure exports are consistent, e.g.:
|
Proposal: check is all the functions are still actual, e.g.:
|
Proposal: decompose "super" components.
WhySuch components often have tens of props, complex implementation and 1000-2000+ lines of code, while 200-400 is a limit for a good component. Examples
What to do
|
Proposal: remove or rework |
Before releasing the final v9.0.0 and making it the
main
branch we should make sure that all required breaking changes are applied.When possible, migration should be simple:
Current breaking changes
dist
and.js
extension dropped from import path@nextcloud/vue/components/NcButton
.NcSettingsSection
:limitWidth
prop was removedNcAppSidebar
:closing
andopening
events were removedupdate:open
v-model
related changesv-model
props/events #6172#default
slot changed to#icon
for the leading icon inNc*Field
#icon
slot for forward compatibility with v9,#default
slot is deprecated #6399isFullscreen
andisMobile
are removedexact
prop removed from VueRouter-related componentsProposals with breaking changes
dist
#6385dist
#6385clickOutsideOptions
mixin and refactor using components #6429The text was updated successfully, but these errors were encountered: