Giter VIP home page Giter VIP logo

Comments (8)

B3none avatar B3none commented on September 16, 2024 2

Use release version 1.1.0 in the meantime as the author recently removed the function you're asking about.

from sm-json.

mrc4tt avatar mrc4tt commented on September 16, 2024

@clugg Do you have some idea?

from sm-json.

clugg avatar clugg commented on September 16, 2024

Hi @MikkelDK,

GetIndexString was removed in v1.1.1 as per the release notes. I didn't make this release a major bump because I didn't expect anyone to be using the internal helper, and also because I had other major breaking changes in the pipeline that I didn't want to release simultaneously. That was a mistake on my part, so apologies for that. As of v2.0.0 an equivalent method is available on the JSON_Array methodmap: GetIndexAsString, but not available for JSON_Objects.

I will do my best to ensure I don't release breaking changes outside of major version bumps in the future, but I also recommend that you compile against a pinned version that you know works with your code.

from sm-json.

B3none avatar B3none commented on September 16, 2024

@clugg pretty sure it’s used in Splewis’ Pugsetup.

from sm-json.

mrc4tt avatar mrc4tt commented on September 16, 2024

@clugg pretty sure it’s used in Splewis’ Pugsetup.

Correct as @B3none say. it's used in Splewis's Pugsetup! ;)

from sm-json.

clugg avatar clugg commented on September 16, 2024

That is rather unfortunate! I will look into submitting a PR which moves the project to v2.0.0 if I have any spare time over the next few days.

from sm-json.

B3none avatar B3none commented on September 16, 2024

Have you thought about adding the old functionality back in and then releasing 1.2.1? You can branch off the old version 1 release and go from there 🙂 In future any removal of functions which could be accessed by other people would be considered a breaking change.

from sm-json.

clugg avatar clugg commented on September 16, 2024

While I don't like the idea of encouraging continued use of v1 since I have no intentions of supporting it long term, I can appreciate the fact that v1 has unnecessary breaking changes. Thanks for your suggestion - I have released v1.2.0 with the breaking change reverted.

from sm-json.

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.