Git Product home page Git Product logo

Comments (3)

erikgeiser avatar erikgeiser commented on August 23, 2024

Yes, that's why the go.mod specifies the dependency versions that are actually supported. Jokes aside, thank you for reporting this. I'm sure you know this and I do some distro packaging myself, so I am quite painfully aware that the distro packaging model often heavily conflicts with how software development usually works.

I've tagged and released a new version which supportes termenv v0.13.0. However, this version also includes a breaking API change in promptkit's selection prompt (it now uses generics). I hope you can still use this release without breaking other packages, but if you previously built straight from main rather than v0.7.0 you should be fine. The changes have been on main for quite some time.

Lastly, the disclaimer in the README.md clearly states that "The API of library is not yet stable. Expect significant changes in minor versions before v1.0.0". This means that packaging this library is quite dangerous as different projects that depend on promptkit may only work against certain minor versions.

from promptkit.

mikelolasagasti avatar mikelolasagasti commented on August 23, 2024

Thanks Eric for your fast reply.

Yes, that's why the go.mod specifies the dependency versions that are actually supported. Jokes aside, thank you for reporting this. I'm sure you know this and I do some distro packaging myself, so I am quite painfully aware that the distro packaging model often heavily conflicts with how software development usually works.

Distro packaging vs new software building methods clash with the classical/old model of how packages were built & delivered. I'm just trying to get tools I use in Fedora so it's easier for me and hopefully others to use them. Great you didn't kill the messenger ;-)

I've tagged and released a new version which supportes termenv v0.13.0. However, this version also includes a breaking API change in promptkit's selection prompt (it now uses generics). I hope you can still use this release without breaking other packages, but if you previously built straight from main rather than v0.7.0 you should be fine. The changes have been on main for quite some time.

Nice!

Lastly, the disclaimer in the README.md clearly states that "The API of library is not yet stable. Expect significant changes in minor versions before v1.0.0". This means that packaging this library is quite dangerous as different projects that depend on promptkit may only work against certain minor versions.

I'll check if dependent package works fine before pushing this new release. For now there is just one package in Fedora depending on promptkit, doctl, so any API break issue would have very limited impact.

from promptkit.

erikgeiser avatar erikgeiser commented on August 23, 2024

The release page for v0.8.0 also contains a migration guide you can point people to if something breaks.

from promptkit.

Related Issues (15)

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.