Comments (3)
Perhaps we need to establish a deprecation policy for functionality? It would be a pretty bad surprise if a certain piece of functionality just disappeared without notice. Do you think one minor release number between notice of deprecation and removal of functionality is enough?
Additionally, I think the documentation for the deprecated feature should stay up, but only to explain how to update code or to work around the missing feature.
What do you think?
from momentjs.com.
Yeah, I think 1 minor release should be enough time. It tends to be about a month and a half or so between releases. Do you think it's too late now to deprecate for 1.6? 1.5 released March 19, so if we get the docs up now, it will be about month until the 1.6 release.
I think we should also make upgrade path notes either on the changelog on the github readme, or in the docs themselves. The only communication we have are those and the twitter account, but the twitter account has very few followers, so that's not really reliable.
You can see an example of the upgrade notes I added in the past on the readme here https://github.com/timrwood/moment/tree/0.6.0
from momentjs.com.
I think that since we've already removed some functionality, let's go ahead and leave it removed in 1.6, but I think if we remove any more functionality, that it should still work until 1.7. Does that sound good?
I would probably look at the changelog for upgrade paths actually. I don't think Twitter is a viable place to put upgrade paths, especially because I'm in China right now. :)
from momentjs.com.
Related Issues (20)
- Broken link HOT 2
- Please don't advertise your politics on the main website.
- Google Analytics HOT 2
- Typescript error TS2345: Type withSuffixOrOptions is not assignable to type boolean (Duration.humanize) HOT 1
- isValid returns true on non date string in chrome. HOT 1
- Improve accessibility color contrast of BLM banner. HOT 1
- Request Project Status Authorization HOT 3
- [Docs] Adding multi language support to documentation HOT 5
- [Docs] Adding multi language support to documentation HOT 1
- Broken link on website HOT 2
- isSameOrAfter does not work with hours and minutes HOT 1
- IPv6 support HOT 5
- Support Ukraine? HOT 4
- Duplication of 'Malay' locale on the website HOT 1
- Links from Moment docs to Luxon docs broken HOT 2
- test js / tes js fun
- draft to client
- parseZone doesn't do what is expected HOT 3
- Wrong UTF characters in two JS files distributed with WP or WP plugins HOT 1
- how to get the city timezone name if I know the city name and the country?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from momentjs.com.