Comments (8)
btw, this repo just became helpful for something i was doing at work, wohoo!
from js-set-extension.
I might suggest that we start a new branch (called "version2" or similar) and make our PR's to that branch instead. In a month or so when all of our desired changes are done, you may choose to "release" version 2 to the master branch
That would require to PR into another branch than master
.
Breaking changes usually warrant an increment of the major version number.
Agree. Would be then 2.x.x
To make the transition easier, you can make the old function names aliases to the new function names, for backwards compatibility. That could be accompanied with a warning and deprecation message. Whatever you prefer.
It would be a good practice but I think there aren't so many package users right now that this would have a bigger impact. Maybe just displaying a warning / info message if someone installs 2.x.x on the console would be sufficient?
from js-set-extension.
Okay, I think I want to move forward with making a "version2" branch then. That way I don't need to worry about disrupting users so much. I will assume you are okay with this unless I hear otherwise.
Maybe just displaying a warning / info message if someone installs 2.x.x on the console would be sufficient?
Yes, I think that would be sufficient.
In addition, when a user calls isProperSubsetOf
, for example, they will get an error message that says "isProperSubsetOf has been changed to isProperSubset. Please use that function instead
".
from js-set-extension.
See 2.x.x
branch
from js-set-extension.
BTW I think you don't have to close the PRs but just re-adjust the destination branch in the PR from master to version2
from js-set-extension.
Okay I just saw you added the changes already to the 2.x.x
branch, which is okay but I would go for per-feature-PRs in the future, so we can still review with a more narrow set of files/features to discuss.
from js-set-extension.
@jankapunkt Is there anything left to be done before releasing version 2? I would like to wrap up v2 if possible. I think a lot of the tickets about adding new functions/features can be put on hold until after the release of v2.
from js-set-extension.
I just opened a PR for merging v2 into master. We need to resolve all other PRs first an can then finally merge
from js-set-extension.
Related Issues (20)
- Union HOT 3
- intersections HOT 2
- differences HOT 2
- products HOT 2
- power set HOT 1
- Keep orinal constructor name and add a flag instead to indicate the polyfill is present HOT 1
- more meta tags so people can find repo HOT 3
- Suggested properties HOT 5
- suggested function list HOT 7
- isEmpty method HOT 4
- create randomElement method HOT 3
- better whitespace in docs HOT 10
- Split into modules as file will soon exceed 1000 lines HOT 3
- Code coverage broken? HOT 1
- suggested Set implementation for JS 5 HOT 4
- Why can we use global variable? HOT 3
- Update CI Environment HOT 3
- Power sets are broken for ES6 HOT 5
- Replace global with globalThis for browser HOT 3
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 js-set-extension.