Git Product home page Git Product logo

Comments (8)

MareoRaft avatar MareoRaft commented on June 8, 2024 1

btw, this repo just became helpful for something i was doing at work, wohoo!

from js-set-extension.

jankapunkt avatar jankapunkt commented on June 8, 2024

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.

MareoRaft avatar MareoRaft commented on June 8, 2024

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.

MareoRaft avatar MareoRaft commented on June 8, 2024

See 2.x.x branch

from js-set-extension.

jankapunkt avatar jankapunkt commented on June 8, 2024

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.

jankapunkt avatar jankapunkt commented on June 8, 2024

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.

MareoRaft avatar MareoRaft commented on June 8, 2024

@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.

jankapunkt avatar jankapunkt commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.