Giter Site home page Giter Site logo

Version Number issue about brolog HOT 7 CLOSED

huan avatar huan commented on August 18, 2024
Version Number issue

from brolog.

Comments (7)

huan avatar huan commented on August 18, 2024

Thanks for the report.

Please feel free to submit a PR to fix it and I'd like to merge & publish it to NPM.

from brolog.

hcfw007 avatar hcfw007 commented on August 18, 2024

As far as I know, you can nolonger unpublish a package in NPM. So it's not possible to changed 1.15 into 2.0 etc.
What I'm suggesting is that node version requirements changes should be regarded as breaking change and main version number change is due.

from brolog.

huan avatar huan commented on August 18, 2024

I have checked the version change history and found that:

  1. The v1.12 has not required Node.js 16
  2. The v1.14 has been added to the Node.js 16 requirement.

See:

f300ab5#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L3

I think the versioning is no problem because the minor version has been bumped.

You can lock your dependencies in the package.json so that you can always use a specific version of the brolog, for example:

  'brolog': '~1.12'

You can learn how to specify a selective version format at https://semver.npmjs.com/

For example:

image

from brolog.

hcfw007 avatar hcfw007 commented on August 18, 2024

I am aware of locking minor version with tilde mark.
The reason I raised this issue is [email protected] has a dependency of brolog with ^ mark so that a recent build of node 10 wechaty app failed. I have solved the problem, however I thought it was something you overlooked.
If you found it OK, it's also fine with me. You have my complete support.

from brolog.

huan avatar huan commented on August 18, 2024

We can fix this problem by publishing a new version of [email protected] and locking the brolog by changing the ^ to ~.

However, we are working on the wechaty v1.x recently, and upgrading to the latest version of Wechaty with Node.js v16 is recommended.

Feel free to send PR if you believe there's anything that needs to be fixed, thank you very much.

from brolog.

huan avatar huan commented on August 18, 2024

@hcfw007 Is there anything that needs to be discussed/solved with this issue?

Could you please help me to close it if it has already been solved? Thanks!

from brolog.

hcfw007 avatar hcfw007 commented on August 18, 2024

Question answered, so the issue should be closed. Thank.

from brolog.

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.