Coder Social home page Coder Social logo

SemVer compliance about pluralize HOT 4 CLOSED

plurals avatar plurals commented on June 30, 2024 1
SemVer compliance

from pluralize.

Comments (4)

blakeembrey avatar blakeembrey commented on June 30, 2024 2

Major version X (X.y.z | X > 0) MUST be incremented if any backwards incompatible changes are introduced to the public API

The words are part of the public API, and the word changes are backward incompatible.

from pluralize.

blakeembrey avatar blakeembrey commented on June 30, 2024

Any change to a pluralization is most definitely a major change. If this is used by a database and happens to use a word that has now change, it has broken their project. I'm going to keep using major versions for this reason, I'm not sure that I should do minor or patches lest it be used in a situation where it's assumed the change won't break for anyone.

from pluralize.

blakeembrey avatar blakeembrey commented on June 30, 2024

I'm going to close the issue, but feel free to continue the discussion. I would love to have more data. Since the words are part of the public API and any pluralization change can break a dependency (imagine deploying an update to your server and because of a plural change your app is broken - in the case of ORMs or auto-generated servers) I'm going to continue with major version changes (as defined by semver). If you disagree, feel free to lay out your arguments here - it's definitely not the end of the conversation.

Even things as innocuous as TypeScript interface generation that may be using a word that was changed in a major release, resulting in application compilation breaking.

from pluralize.

maschwenk avatar maschwenk commented on June 30, 2024

After I opened issue I thought about it more and came to a similar conclusion.

The most obvious comparison I can think of is ActiveSupport in Rails. If pluralization rules changed there, your application could start referencing differently named tables and therefore it is definitely a breaking change. I'll circle around if I find a good example in the ActiveSupport changelogs.

Thank you for your thoughtful response.

from pluralize.

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.