Skip to content
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

Antd should follow Semantic Versioning 'strictly' #12970

Closed
1 task
darylsze opened this issue Nov 6, 2018 · 13 comments
Closed
1 task

Antd should follow Semantic Versioning 'strictly' #12970

darylsze opened this issue Nov 6, 2018 · 13 comments
Assignees

Comments

@darylsze
Copy link

darylsze commented Nov 6, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

For the changes in 3.7.0, it discards 'filedNames' which causes backward incompatibility, while having breaking changes should pumps one major version following Semantic Versioning standards. Also, in 3.9.0, it discards icon 'cross' without major version upgrade.

What does the proposed API look like?

...

@afc163
Copy link
Member

afc163 commented Nov 6, 2018

https://github.com/react-component/cascader/blob/1997960bb37c461895baa88338f73fdf824529da/src/Cascader.jsx#L87-L101

We preserved the typo filedNames usage after 3.7.x and add warning message, so it won't break the original usage and Semantic Versioning too.

@darylsze
Copy link
Author

darylsze commented Nov 6, 2018

@afc163 ic. But the icon 'cross' from 3.6.5 is not exist anymore when i upgraded to 3.9.0

@afc163
Copy link
Member

afc163 commented Nov 6, 2018

That is our mistake, we will add it back. ant-design/ant-design-icons#26 (comment)

@darylsze
Copy link
Author

darylsze commented Nov 6, 2018

Thanks. Its hoping that Antd will follow Semantic Versioning more carefully next time.

@darylsze darylsze closed this as completed Nov 6, 2018
@afc163
Copy link
Member

afc163 commented Nov 6, 2018

We will, please give more feedbacks like this so that we can do better.

@darylsze
Copy link
Author

darylsze commented Nov 6, 2018

@afc163 yes will do.
Btw, could you provide more known breaking changes made between 3.6.6 and 3.9.0 ? i am investigating the affected area after upgrade, and not sure my mentioned above are the only 2 breaking changes.

@darylsze darylsze reopened this Nov 6, 2018
@afc163
Copy link
Member

afc163 commented Nov 6, 2018

We don't know any breaking changes more, we thought it is compatible 100% and maybe something missing now.

@afc163
Copy link
Member

afc163 commented Nov 6, 2018

Just let me know if you find more, I will fix them.

@darylsze
Copy link
Author

darylsze commented Nov 6, 2018

thanks!

@darylsze darylsze closed this as completed Nov 6, 2018
@afc163 afc163 reopened this Nov 6, 2018
@afc163
Copy link
Member

afc163 commented Nov 6, 2018

filedNames had been broken in antd's code. 😢

0f77949#diff-3141ae7cf791cd0b5edcad2c51dd6dddR130

@afc163 afc163 closed this as completed in e6d9a77 Nov 6, 2018
@afc163
Copy link
Member

afc163 commented Nov 6, 2018

The two problems above has been fixed in master, we will release a patch in this weekend. @darylsze

@darylsze
Copy link
Author

darylsze commented Nov 6, 2018

@afc163 i have left comment e6d9a77#diff-284bc7ec180dee42b223a16bfa8819edR271 fyi

afc163 added a commit that referenced this issue Nov 6, 2018
ardok pushed a commit to ardok/ant-design that referenced this issue Nov 8, 2018
@NavidMitchell
Copy link

I have just upgraded from 4.21.6 to 4.23.0 and my tab's no longer function. According to the docs this seems intentional. https://ant.design/components/tabs/

This is not really following semantic versioning strictly..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants